ezhizao_zx 1 سال پیش
والد
کامیت
67ca05ecbf
1فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 4 2
      pages/batchReporting/index.vue

+ 4 - 2
pages/batchReporting/index.vue

@@ -67,7 +67,7 @@
 				<view class="item-info uni-row">
 					<text class="label">投入数</text>
 					<text
-						class="label right">{{item['processQualifiedNum'] == 0 ?  item['productionQuantity']  : item['processQualifiedNum']}}</text>
+						class="label right">{{ item.prevProcess != null ? item['productionQuantity']  : item['processQualifiedNum']}}</text>
 				</view>
 				<view class="item-info uni-row">
 					<text class="label">上道工序</text>
@@ -403,7 +403,9 @@
 						return;
 					}
 					*/
-					let vehicleObj = { carrierCode: ret.resp_result};
+					let vehicleObj = {
+						carrierCode: ret.resp_result
+					};
 					if (!vehicleObj.carrierCode || vehicleObj.carrierCode == "") {
 						uni.showToast({
 							icon: "none",