zhangyuewww il y a 2 ans
Parent
commit
72526eaf5e
1 fichiers modifiés avec 8 ajouts et 8 suppressions
  1. 8 8
      pages/erpbusiness/edit_quality_testing.vue

+ 8 - 8
pages/erpbusiness/edit_quality_testing.vue

@@ -1340,7 +1340,7 @@
 				var kid=JSON.parse(JSON.stringify(this.gridList.warehouseInOutId))
 				var kid=JSON.parse(JSON.stringify(this.gridList.warehouseInOutId))
 				this.zjid=JSON.parse(JSON.stringify(this.gridList.id))
 				this.zjid=JSON.parse(JSON.stringify(this.gridList.id))
 				that.gridList.warehouseInOutDetail={
 				that.gridList.warehouseInOutDetail={
-					id:that.gridList.warehouseInOutId,
+					id:that.gridList.warehouseInOutDetailId,
 					grade:that.gridList.grade,
 					grade:that.gridList.grade,
 					reGrade:that.gridList.grade,
 					reGrade:that.gridList.grade,
 					waterContent:that.gridList.waterContent,
 					waterContent:that.gridList.waterContent,
@@ -1378,12 +1378,12 @@
 											'/qualityInspectionManagement/api/editQualityInspection', that.gridList)
 											'/qualityInspectionManagement/api/editQualityInspection', that.gridList)
 										.then(res => {
 										.then(res => {
 											uni.setStorageSync("quality_print", that.gridList)
 											uni.setStorageSync("quality_print", that.gridList)
-											that.gridList.id=kid
-											that.gridList.statusFlag=1
-											that.$api.doRequest('post',
-													'/warehouseInOutInfo/InOutWarehouse',
-													that.gridList)
-												.then(res => {
+											// that.gridList.id=kid
+											// that.gridList.statusFlag=1
+											// that.$api.doRequest('post',
+											// 		'/warehouseInOutInfo/InOutWarehouse',
+											// 		that.gridList)
+											// 	.then(res => {
 											if (res.data.code == 200) {
 											if (res.data.code == 200) {
 												that.$api.msg('编辑质检成功')
 												that.$api.msg('编辑质检成功')
 												that.gridList.warehouseId = that.cangid
 												that.gridList.warehouseId = that.cangid
@@ -1397,7 +1397,7 @@
 												// uni.getStorageSync("depotAcquisition_warehouseName")
 												// uni.getStorageSync("depotAcquisition_warehouseName")
 												// uni.navigateBack({})
 												// uni.navigateBack({})
 											}
 											}
-										})
+										// })
 									})
 									})
 								}
 								}
 							}
 							}