From 061eaa9b3da4b4f17761c9a91d95a446b281d063 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=90=20=E5=BC=A0?= <2366389513@qq.com> Date: Wed, 12 Jan 2022 10:32:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=B6=E9=97=B4=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/ux/billManage/vwOutOrder/detail.vue | 13 ++- .../ux/vw/dataInput/hq_f_outorder/detail.vue | 21 +++-- .../hq_f_outorder_chickout/detail.vue | 21 +++-- .../ux/vw/dataInput/hq_h_checkout/detail.vue | 12 ++- .../ux/vw/dataInput/hq_h_outorder/detail.vue | 89 ++++++++++--------- .../ux/vw/dataInput/hq_m_checkout/detail.vue | 21 +++-- .../ux/vw/dataInput/hq_m_outorder/detail.vue | 23 +++-- .../ux/vw/dataInput/hq_y_outorder/detail.vue | 23 +++-- 8 files changed, 129 insertions(+), 94 deletions(-) diff --git a/vue/src/views/ux/billManage/vwOutOrder/detail.vue b/vue/src/views/ux/billManage/vwOutOrder/detail.vue index 1e248522..de461aef 100644 --- a/vue/src/views/ux/billManage/vwOutOrder/detail.vue +++ b/vue/src/views/ux/billManage/vwOutOrder/detail.vue @@ -111,24 +111,26 @@ :title="formTitle" width="700px" > - - + + @@ -173,12 +173,14 @@ export default { erpMaterialCode: [ { required: true, message: "必须输入!", trigger: "blur" }, ], + accountDate: [ + { required: true, message: "日期必须输入!", trigger: "blur" }, + ], }, searchContent: "", // 输入内容 customerInfo: { parentId: "", version: "", - accountDate: "", }, form: { dicDetailID: "", @@ -232,9 +234,9 @@ export default { showExcelImport: false, tableHeight: document.documentElement.clientHeight - 230, isEdit: false, - accountDatelist:{ - accountDate:"" - } + accountDatelist: { + accountDate: "", + }, }; }, mounted() { @@ -377,38 +379,37 @@ export default { //出库单 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/WmsHQHKanbanoutput/WmsHQHKanbanOutPut-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/WmsHQHKanbanoutput/WmsHQHKanbanOutPut-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) { diff --git a/vue/src/views/ux/vw/dataInput/hq_m_checkout/detail.vue b/vue/src/views/ux/vw/dataInput/hq_m_checkout/detail.vue index 66884b5f..0578a6e7 100644 --- a/vue/src/views/ux/vw/dataInput/hq_m_checkout/detail.vue +++ b/vue/src/views/ux/vw/dataInput/hq_m_checkout/detail.vue @@ -111,20 +111,22 @@ :title="formTitle" width="700px" > - - + - + v-model="accountDatelist.accountDate" + type="date" + clearable + placeholder="选择日期" + > + @@ -173,6 +175,9 @@ export default { erpMaterialCode: [ { required: true, message: "必须输入!", trigger: "blur" }, ], + accountDate: [ + { required: true, message: "日期必须输入!", trigger: "blur" }, + ], }, searchContent: "", // 输入内容 customerInfo: { diff --git a/vue/src/views/ux/vw/dataInput/hq_m_outorder/detail.vue b/vue/src/views/ux/vw/dataInput/hq_m_outorder/detail.vue index feef263d..638b0968 100644 --- a/vue/src/views/ux/vw/dataInput/hq_m_outorder/detail.vue +++ b/vue/src/views/ux/vw/dataInput/hq_m_outorder/detail.vue @@ -111,20 +111,22 @@ :title="formTitle" width="700px" > - - - - + + + @@ -173,6 +175,9 @@ export default { erpMaterialCode: [ { required: true, message: "必须输入!", trigger: "blur" }, ], + accountDate: [ + { required: true, message: "日期必须输入!", trigger: "blur" }, + ], }, searchContent: "", // 输入内容 customerInfo: { diff --git a/vue/src/views/ux/vw/dataInput/hq_y_outorder/detail.vue b/vue/src/views/ux/vw/dataInput/hq_y_outorder/detail.vue index 98254e74..a607c4d4 100644 --- a/vue/src/views/ux/vw/dataInput/hq_y_outorder/detail.vue +++ b/vue/src/views/ux/vw/dataInput/hq_y_outorder/detail.vue @@ -111,20 +111,22 @@ :title="formTitle" width="700px" > - - + - + v-model="accountDatelist.accountDate" + type="date" + clearable + placeholder="选择日期" + > + @@ -173,13 +175,16 @@ export default { erpMaterialCode: [ { required: true, message: "必须输入!", trigger: "blur" }, ], + accountDate: [ + { required: true, message: "日期必须输入!", trigger: "blur" }, + ], }, searchContent: "", // 输入内容 customerInfo: { parentId: "", version: "", - + }, form: { dicDetailID: "",