diff --git a/src/views/collect/DealOrderBlank.vue b/src/views/collect/DealOrderBlank.vue index f9aaaddd..772ab946 100644 --- a/src/views/collect/DealOrderBlank.vue +++ b/src/views/collect/DealOrderBlank.vue @@ -366,7 +366,7 @@ export default { let query = { key: val, status: 1, - invCode: this.formData.invCode, + // invCode: this.formData.invCode, page: 1, limit: 100, } diff --git a/src/views/collect/IoCreateOrder.vue b/src/views/collect/IoCreateOrder.vue index 55e904a2..c3d3d625 100644 --- a/src/views/collect/IoCreateOrder.vue +++ b/src/views/collect/IoCreateOrder.vue @@ -8,7 +8,7 @@ > - +
+ + - - - -
-
{{ msgTip }}
-
{ if (response.code === 20000) { - this.msgTip = response.data - } else { + this.msgTip = response.data + }else { } }) - .catch(() => { + .catch(() => { - }); + }); }, - successCloseData() { + successCloseData(){ let workPlaceCode = this.orderFormData.workPlaceCode - this.orderFormData = { + this.orderFormData ={ billNo: null, - corpOrderId: null, - action: null, - invCode: null, - fromCorp: null, - fromCorpName: null, - fromName: null, - fromInvCode: null, - remark: null, - fromType: 2, - errMsg: null, - checkPreInOrders: null, - checkPreInInvCode: null, - checkPreInSpaceCode: null, - curSpaceCode: null, - preSpaceCode: null, - preCurSpaceCode: null, //单据 - sickerAdNum: null, - workPlaceCode: null, - fifoSplit: 1, + corpOrderId: null, + action: null, + invCode: null, + fromCorp: null, + fromCorpName: null, + fromName: null, + fromInvCode: null, + remark: null, + fromType: 2, + errMsg: null, + checkPreInOrders: null, + checkPreInInvCode: null, + checkPreInSpaceCode: null, + curSpaceCode: null, + preSpaceCode: null, + preCurSpaceCode: null, //单据 + sickerAdNum: null, + workPlaceCode: null, + fifoSplit: 1, } this.orderFormData.workPlaceCode = workPlaceCode - this.scanCode = ""; + this.scanCode= ""; this.corpOrderIdDisabled = false; this.refreshCodesPanel() }, @@ -667,9 +663,9 @@ export default { if (response.code === 20000) { // this.$message.success("成功"); const codeDetailComponent = this.$refs.IoCreateOrderCodeDetail.getOrderDetails(); - if (this.closeDialog != undefined) { - this.closeDialog(); - } + if(this.closeDialog != undefined){ + this.closeDialog(); + } this.clearOrder(); } else { // this.$message.error(response.message); @@ -1213,9 +1209,9 @@ export default { this.retractLoading = false if (response.code == 20000) { this.$message.success("撤回成功!"); - if (this.closeDialog != undefined) { - this.closeDialog(); - } + if(this.closeDialog != undefined){ + this.closeDialog(); + } } else { this.$message.error(response.message); } @@ -1241,9 +1237,9 @@ export default { this.codeLoading = false if (response.code === 20000) { this.$message.success("提交成功"); - if (this.closeDialog != undefined) { - this.closeDialog(); - } + if(this.closeDialog != undefined){ + this.closeDialog(); + } } else { this.$message.error(response.message); } @@ -1256,9 +1252,9 @@ export default { this.checkLoading = false if (response.code === 20000) { this.$message.success("提交成功"); - if (this.closeDialog != undefined) { - this.closeDialog(); - } + if(this.closeDialog != undefined){ + this.closeDialog(); + } } else { this.$message.error(response.message); } @@ -1319,7 +1315,7 @@ export default { this.$message.success("提交成功,等待处理,请刷新后查看!"); this.successCloseData() console.log(this.closeDialog()) - if (this.closeDialog != undefined) { + if(this.closeDialog != undefined){ this.closeDialog(); } } else { @@ -1344,7 +1340,7 @@ export default { if (response.code === 20000) { this.$message.success("提交成功"); this.successCloseData() - if (this.closeDialog != undefined) { + if(this.closeDialog != undefined){ this.closeDialog(); } } else { @@ -1366,7 +1362,7 @@ export default { if (response.code === 20000) { this.$message.success("提交成功"); this.successCloseData() - if (this.closeDialog != undefined) { + if(this.closeDialog != undefined){ this.closeDialog(); } } else { @@ -1409,7 +1405,7 @@ export default { if (response.code === 20000) { this.$message.success("提交成功"); this.successCloseData() - if (this.closeDialog != undefined) { + if(this.closeDialog != undefined){ this.closeDialog(); } @@ -1434,9 +1430,9 @@ export default { saveOrderWeb(tQuery).then((response) => { this.saveLoading = false if (response.code === 20000) { - if (this.closeDialog != undefined) { - this.closeDialog(); - } + if(this.closeDialog != undefined){ + this.closeDialog(); + } } else { this.$message.error(response.message); } @@ -1755,7 +1751,7 @@ export default { }, created() { this.init(); - if (this.$route.query.workplaceId != null) { + if (this.$route.query.workplaceId != null){ this.corpOrderIdDisabled = true this.isLinkDisabled = true this.workplaceId = this.$route.query.workplaceId diff --git a/src/views/collect/IoCreateOrderBlank.vue b/src/views/collect/IoCreateOrderBlank.vue index 230e36fc..761ccaca 100644 --- a/src/views/collect/IoCreateOrderBlank.vue +++ b/src/views/collect/IoCreateOrderBlank.vue @@ -8,7 +8,7 @@ > - +
- -
-
{{ msgTip }}
-
{ if (response.code === 20000) { this.msgTip = response.data - } else { + }else { } }) @@ -518,9 +513,9 @@ export default { }); }, - successCloseData() { + successCloseData(){ let workPlaceCode = this.orderFormData.workPlaceCode - this.orderFormData = { + this.orderFormData ={ billNo: null, corpOrderId: null, action: null, @@ -543,7 +538,7 @@ export default { fifoSplit: 1, } this.orderFormData.workPlaceCode = workPlaceCode - this.scanCode = ""; + this.scanCode= ""; this.corpOrderIdDisabled = false; this.refreshCodesPanel() }, @@ -667,7 +662,7 @@ export default { if (response.code === 20000) { // this.$message.success("成功"); const codeDetailComponent = this.$refs.IoCreateOrderCodeDetail.getOrderDetails(); - if (this.closeDialog != undefined) { + if(this.closeDialog != undefined){ this.closeDialog(); } this.clearOrder(); @@ -911,7 +906,7 @@ export default { let query = { key: val, status: 1, - invCode: this.orderFormData.invCode, + // invCode: this.orderFormData.invCode, page: 1, limit: 100, } @@ -1213,7 +1208,7 @@ export default { this.retractLoading = false if (response.code == 20000) { this.$message.success("撤回成功!"); - if (this.closeDialog != undefined) { + if(this.closeDialog != undefined){ this.closeDialog(); } } else { @@ -1241,7 +1236,7 @@ export default { this.codeLoading = false if (response.code === 20000) { this.$message.success("提交成功"); - if (this.closeDialog != undefined) { + if(this.closeDialog != undefined){ this.closeDialog(); } } else { @@ -1256,7 +1251,7 @@ export default { this.checkLoading = false if (response.code === 20000) { this.$message.success("提交成功"); - if (this.closeDialog != undefined) { + if(this.closeDialog != undefined){ this.closeDialog(); } } else { @@ -1319,7 +1314,7 @@ export default { this.$message.success("提交成功,等待处理,请刷新后查看!"); this.successCloseData() console.log(this.closeDialog()) - if (this.closeDialog != undefined) { + if(this.closeDialog != undefined){ this.closeDialog(); } } else { @@ -1344,7 +1339,7 @@ export default { if (response.code === 20000) { this.$message.success("提交成功"); this.successCloseData() - if (this.closeDialog != undefined) { + if(this.closeDialog != undefined){ this.closeDialog(); } } else { @@ -1366,7 +1361,7 @@ export default { if (response.code === 20000) { this.$message.success("提交成功"); this.successCloseData() - if (this.closeDialog != undefined) { + if(this.closeDialog != undefined){ this.closeDialog(); } } else { @@ -1409,7 +1404,7 @@ export default { if (response.code === 20000) { this.$message.success("提交成功"); this.successCloseData() - if (this.closeDialog != undefined) { + if(this.closeDialog != undefined){ this.closeDialog(); } @@ -1434,7 +1429,7 @@ export default { saveOrderWeb(tQuery).then((response) => { this.saveLoading = false if (response.code === 20000) { - if (this.closeDialog != undefined) { + if(this.closeDialog != undefined){ this.closeDialog(); } } else { @@ -1755,7 +1750,7 @@ export default { }, created() { this.init(); - if (this.$route.query.workplaceId != null) { + if (this.$route.query.workplaceId != null){ this.corpOrderIdDisabled = true this.isLinkDisabled = true this.workplaceId = this.$route.query.workplaceId @@ -1767,31 +1762,31 @@ export default {