ezhizao_zx 9 月之前
父节点
当前提交
70d939047b
共有 2 个文件被更改,包括 10 次插入4 次删除
  1. 1 1
      pages/auxiliaryDaywork/scan.vue
  2. 9 3
      pages/drawingMenu/index.vue

+ 1 - 1
pages/auxiliaryDaywork/scan.vue

@@ -328,7 +328,7 @@
 		if (lot.value.lotCode == '' || lot.value.lotCode == null) {
 			uni.showToast({
 				icon: 'none',
-				title: "请先扫外协箱码",
+				title: "请先扫载具码",
 				duration: 2000
 			})
 			return

+ 9 - 3
pages/drawingMenu/index.vue

@@ -7,9 +7,9 @@
 			<view class="margenTop"
 				style="font-size: 30rpx;font-weight: bold;    flex-direction: row; display: inline-block; line-height: 35px; height: 35px;">
 				<view>工艺版本:{{product.technologyVersion}}</view>
-				<view style="margin-left: 200rpx;">工序:</view>
+				<view style="margin-left: 10rpx;">工序:</view>
 				<uni-data-select v-model="curSelectedProcessCode" :localdata="selectedProcessList" :clear="false"
-					@change="handleSelectedChange"></uni-data-select>
+					@change="handleSelectedChange" style="font-size: 20rpx;"></uni-data-select>
 			</view>
 		</view>
 		<view class='middle'>
@@ -18,11 +18,13 @@
 			<view class='segment'></view>
 		</view>
 		<view style="overflow: auto;">
-			<view :class="{'list-container':true}" v-for="(item, index) in drawingList" :key="item.id">
+			<view v-if="drawingList.length > 0" :class="{'list-container':true}" v-for="(item, index) in drawingList"
+				:key="item.id">
 				<view><text style="text-align: center; font-size: 28rpx; padding: 48rpx 0 24rpx 0;color:  #1684fc;"
 						@click="handleOpenDrawing(item)">{{item.drawingName}}</text></view>
 
 			</view>
+			<view v-else style="width: 100%; text-align: center;margin-top: 12px;">暂无图纸</view>
 		</view>
 
 	</view>
@@ -74,6 +76,10 @@
 				text: v.processAlias,
 				value: v.processCode
 			}))
+			selectedProcessList.value.push({
+				text: '分选-直径Φ13.04(杠杆千',
+				value: '30492'
+			})
 			if (!selectedProcessList.value.some(v => v.value == processCode.value)) {
 				selectedProcessList.value.push({
 					text: processAlias.value,