zhuzeyu 1 год назад
Родитель
Сommit
d8322d3bd0
1 измененных файлов с 8 добавлено и 15 удалено
  1. 8 15
      pages/fastProductionPlaan/index.vue

+ 8 - 15
pages/fastProductionPlaan/index.vue

@@ -3,10 +3,12 @@
 		<view v-if="form.length>0" style="margin-bottom: 20rpx;">
 			<view>
 				<view class="item-info uni-row">
-					<view style="flex: 3;">
+					<view style="flex: 2;">
 						<button :class="[checkAll ? 'active' : 'select' ]" @click="handleAll"
-							style="margin-left: 0px;;">全选</button>
+							style="margin-left: 0rpx; ">全选</button>
+
 					</view>
+					<button @click="handleSearch" style="margin-right: 20rpx ;">搜索</button>
 
 					<uni-data-select v-model=" workshopId" :localdata="workshopList" @change="handleChangeWorkshop"
 						:clear="false" class="label right"
@@ -76,19 +78,10 @@
 
 	//初始化
 	function init() {
-		uni.showLoading({
-			title: '加载中'
-		});
-		getPlanDetailsList({
-			deptId: Number(14),
-
-		}).then(res => {
-			if (res.code == 200) {
-				listData.value = res.data;
-				uni.hideLoading();
-			}
-			uni.hideLoading();
-		})
+		// uni.showLoading({
+		// 	title: '加载中'
+		// });
+
 		workshopList.value = [{
 				value: '1762872520725155842',
 				text: '一号车间'