ezhizao_zx 11 months ago
parent
commit
043e4d9444
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/outsourcedInspection/scan.vue

+ 4 - 0
pages/outsourcedInspection/scan.vue

@@ -100,6 +100,7 @@
 					//判断该箱是否绑定批次
 
 					result.processCode = store.outsourcedCode;
+					// console.log(result.processCode)
 					/************************ 根据扫码查询到的数据和需要检查的工序查询信息 ************************/
 					getCarrierInfo(result).then(response => {
 						if (response.code == 200) {
@@ -294,6 +295,8 @@
 				// ...lot.value
 				carrierCode: carrierCode.value
 			}
+			result.processCode = store.outsourcedCode;
+			// console.log(result.processCode)
 			getCarrierInfo(result).then(response => {
 				if (response.code == 200) {
 					// 判断是哪种返回值 假设是想信息则给lot附检查箱信息
@@ -308,6 +311,7 @@
 								title: '加载中'
 							});
 							// 此处根据拿到的箱子id, 获取到相对应的【 lot_id】,【 lot_code】, 以及该批次关联的其它箱号
+
 							// 需要定义一个请求方法, 从后端获取
 							getLotOutsourcedInfo(result).then(res => {
 								if (res.code == 200) {