diff --git a/src/pages/deliver/job/deliverDetailBatch.vue b/src/pages/deliver/job/deliverDetailBatch.vue index d3b89425..6e0b0731 100644 --- a/src/pages/deliver/job/deliverDetailBatch.vue +++ b/src/pages/deliver/job/deliverDetailBatch.vue @@ -203,8 +203,6 @@ that.subList = res.data.subList; // that.detailSource = res.data; that.detailSource = getThreeDataSource(that.jobContent) - console.log(999,that.detailSource) - that.toLocationCode = that.subList[0].toLocationCode that.allowBiggerQty = res.data.allowBiggerQty; that.resizeCollapse(); @@ -231,7 +229,6 @@ getScanResult(result, managementTypeParams) { - console.log(222,result) this.managementType = managementTypeParams if(managementTypeParams == "BY_BATCH" ||managementTypeParams == "BY_QUANTITY" ){ this.setDataBatch(result) @@ -253,7 +250,6 @@ this.showMessage("没有库存余额") return; } - console.log(9558,result) // var inventoryStatus = "OK"; var detail = this.detailSource.find(r => r.itemCode == itemCode); @@ -285,7 +281,6 @@ if (isExit == undefined) { // this.showErrorMessage("批次【" + batch + "】库位【" + result // .fromLocationCode + "】不在列表中") - console.log(222,this.fromLocationCode) detail.subList.push({ scaned:true, fromLocationCode:this.fromLocationCode, @@ -306,7 +301,6 @@ // toLocationCode : result.balance.toLocationCode, // }] }) - console.log(999,detail) detail.handleQty = 0 detail.qty = 0 detail.subList.forEach(item=>{ @@ -369,7 +363,6 @@ detail.handleQty = calc.add(detail.handleQty,item.handleQty) }) } else { - debugger itemDetail.scaned = true; this.detailSource[0].subList.sort(compareAsc('scaned')); //按扫描信息排序 itemDetail.handleQty = result.label.qty; @@ -432,13 +425,11 @@ this.detailSource.forEach(toLocation => { itemCodes.push(toLocation.itemCode) }) - console.log( this.detailSource) //获取管理模式,封装参数 getManagementPrecisions(itemCodes, locationCode, res => { if (res.success) { this.managementList = res.list; - console.log(res) this.managementType = this.managementList && this.managementList[0] ? this.managementList[0].ManagementPrecision : 'BY_PACKAGING' this.submitJob(); @@ -602,7 +593,6 @@ var subList = [] var createTime = getCurrDateTime(); var creator = this.$store.state.user.id - console.log(222,this.detailSource) this.detailSource.forEach(toLocationCode => { let obj = {...toLocationCode} delete obj.subList @@ -754,7 +744,6 @@ }) } this.fromLocationCode = fromLocationCode - console.log(this.fromLocationCode) this.$refs.scanPopup.openScanPopupForJob(fromLocationCode, fromlocationList, this.jobContent); }, diff --git a/src/pages/issue/job/issueDetailBatch.vue b/src/pages/issue/job/issueDetailBatch.vue index 9785b03b..df6ab80f 100644 --- a/src/pages/issue/job/issueDetailBatch.vue +++ b/src/pages/issue/job/issueDetailBatch.vue @@ -221,7 +221,6 @@ that.jobStatus = res.data.status that.subList = res.data.subList; that.detailSource = getThreeDataSource(that.jobContent) - console.log(455,that.detailSource) that.jobContent.detailToLocationCode = res.data.subList[0].toLocationCode that.fromLocationCode = that.subList[0].fromLocationCode //任务中已经扫描,模拟扫描赋值 @@ -261,7 +260,6 @@ }, getScanResult(result, managementTypeParams) { - console.log(222,result) this.managementType = managementTypeParams if(managementTypeParams == "BY_BATCH" ||managementTypeParams == "BY_QUANTITY" ){ this.setDataBatch(result) @@ -283,7 +281,6 @@ this.showMessage("没有库存余额") return; } - console.log(9558,result) // var inventoryStatus = "OK"; var detail = this.detailSource.find(r => r.itemCode == itemCode); @@ -335,7 +332,6 @@ // toLocationCode : result.balance.toLocationCode, // }] }) - console.log(999,detail) detail.handleQty = 0 detail.qty = 0 detail.subList.forEach(item=>{ @@ -592,7 +588,6 @@ let str1="" var totalQty =0; var taskQty =0; - console.log(this.detailSource) this.detailSource.forEach(detail => { detail.subList.forEach(item => { if(item.scaned){ @@ -611,7 +606,6 @@ if(str){ str = '任务明细未全部完成,是否提交?\n' + str } - console.log(333,str1) if(str1){ this.$refs.comMessage.showQuestionMessage1(str1, 'red', res => {