ysy 2 年之前
父节点
当前提交
8b353ab7f8
共有 2 个文件被更改,包括 7 次插入9 次删除
  1. 6 2
      pages/pda/feeding/components/instanceBom.vue
  2. 1 7
      pages/pda/jobBooking/index/index.vue

+ 6 - 2
pages/pda/feeding/components/instanceBom.vue

@@ -14,7 +14,11 @@
 				<view class="item" v-for="(itm, index) in tableH(mate.rootCategoryLevelId)" :key="index">
 					<view class="lable rx-cc">{{ itm.label }}</view>
 					<view class="content">{{ mate[itm.prop] }}</view>
-
+				</view>
+				
+				<view class="item"  >
+					<view class="lable rx-cc">包装库存数量</view>
+					<view class="content">{{ mate.availableCountBase }}/ {{ mate.minUnit}}</view>
 				</view>
 
 
@@ -23,7 +27,7 @@
 					<view class="content content_num">
 						<input class="uni-input" v-model="mate.feedQuantity"
 							type="digit"></input>
-						<view class="unit">/{{mate.unit}}</view>
+						<view class="unit">/{{mate.packingCountBase}}</view>
 					
 					</view>
 				</view>

+ 1 - 7
pages/pda/jobBooking/index/index.vue

@@ -453,13 +453,7 @@
 				// }
 
 
-				if (!this.objData.workReportInfo['formedWeight'] && this.objData.workReportInfo['formedWeight'] != 0) {
-					uni.showToast({
-						title: '请输入合格品重量',
-						icon: 'none'
-					})
-					return false
-				}
+			
 
 				if (this.objData.notFormedList[0].notFormedNum > 0 && !this.objData.notFormedList[0].warehouseId) {
 					uni.showToast({