From e21eb0d87e6f046d4d4cadfe22e52e5e1ad942ff Mon Sep 17 00:00:00 2001 From: 44673626 <44673626@qq.com> Date: Wed, 12 Jan 2022 09:08:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=A2=E6=97=97H?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/ux/billManage/claimDemage/index.vue | 2 +- .../ux/businessdata/deliverGoods/index.vue | 2 +- .../ux/vw/dataInput/hq_h_checkout/detail.vue | 82 +++++++++---------- 3 files changed, 42 insertions(+), 44 deletions(-) diff --git a/vue/src/views/ux/billManage/claimDemage/index.vue b/vue/src/views/ux/billManage/claimDemage/index.vue index cec09806..cf8c98ef 100644 --- a/vue/src/views/ux/billManage/claimDemage/index.vue +++ b/vue/src/views/ux/billManage/claimDemage/index.vue @@ -251,7 +251,7 @@ export default { }, data() { return { - crmType: "settleAccount", + crmType: "settleAccount-bom", versionValue: "", customerInfos: [], versionList: [], //版本列表 diff --git a/vue/src/views/ux/businessdata/deliverGoods/index.vue b/vue/src/views/ux/businessdata/deliverGoods/index.vue index e24c7d0c..f4156ff2 100644 --- a/vue/src/views/ux/businessdata/deliverGoods/index.vue +++ b/vue/src/views/ux/businessdata/deliverGoods/index.vue @@ -178,7 +178,7 @@ export default { }, data() { return { - crmType: "settleAccount", + crmType: "settleAccount-goods", versionValue: "", versionList: [], //版本列表 rules: { diff --git a/vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue b/vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue index e6d074e4..927636ae 100644 --- a/vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue +++ b/vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue @@ -120,11 +120,12 @@ label-width="120px" > - - + + @@ -135,9 +136,7 @@ 确认 @@ -219,7 +218,7 @@ export default { version: "", guids: "", billNum: "", - accountDate:"" + accountDate: "", }, page: 1, JobversionValue: "", @@ -231,9 +230,9 @@ export default { showExcelImport: false, tableHeight: document.documentElement.clientHeight - 230, isEdit: false, - accountDatelist:{ - accountDate:"" - } + accountDatelist: { + accountDate: "", + }, }; }, mounted() { @@ -366,44 +365,43 @@ export default { }); }); }, - print() { + print() { this.dialogFormVisible = true; }, //出库单 handleCreateBills(row) { this.dialogFormVisible = true; - this.listLoading = true; - this.listOutPutQuery.guids = []; - this.listOutPutQuery.version = this.customerInfo.version; - this.listOutPutQuery.billNum = this.customerInfo.parentId; - if (this.accountDatelist != "") { - this.listOutPutQuery.accountDate = this.accountDatelist.accountDate; - } - //this.listOutPutQuery.accountDate = this.accountDatelist; - console.log( - "未选择时全部确认出库条件:" + JSON.stringify(this.listOutPutQuery) - ); + this.listLoading = true; + this.listOutPutQuery.guids = []; + this.listOutPutQuery.version = this.customerInfo.version; + this.listOutPutQuery.billNum = this.customerInfo.parentId; + if (this.accountDatelist != "") { + this.listOutPutQuery.accountDate = this.accountDatelist.accountDate; + } + //this.listOutPutQuery.accountDate = this.accountDatelist; + console.log( + "未选择时全部确认出库条件:" + JSON.stringify(this.listOutPutQuery) + ); - this.$axios - .posts( - "/api/settleaccount/WmsHQHSharePartoutput/WmsSharePartOutPut-Pass", - this.listOutPutQuery - ) - .then((response) => { - const index = this.list.indexOf(row); - this.$notify({ - title: "成功", - message: "生成成功", - type: "success", - duration: 2000, - }); - this.getList(); - this.listLoading = false; - }) - .catch(() => { - this.listLoading = false; + this.$axios + .posts( + "/api/settleaccount/wmsjitoutput/WmsJitOutPut-Pass", + this.listOutPutQuery + ) + .then((response) => { + const index = this.list.indexOf(row); + this.$notify({ + title: "成功", + message: "生成成功", + type: "success", + duration: 2000, }); - + this.getList(); + this.listLoading = false; + }) + .catch(() => { + this.listLoading = false; + }); }, /** 刷新列表 */ handleHandle(data) {