From 7b540dbae5736257a9da468b29b8baf69b75eac9 Mon Sep 17 00:00:00 2001 From: 44673626 <44673626@qq.com> Date: Tue, 11 Jan 2022 17:38:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E4=BC=97=E5=87=86=E6=97=B6=E5=8C=96?= =?UTF-8?q?=E5=87=BA=E5=BA=93=E8=AF=A6=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/ux/billManage/vwOutOrder/detail.vue | 80 ++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/vue/src/views/ux/billManage/vwOutOrder/detail.vue b/vue/src/views/ux/billManage/vwOutOrder/detail.vue index b3bea7bf..1e248522 100644 --- a/vue/src/views/ux/billManage/vwOutOrder/detail.vue +++ b/vue/src/views/ux/billManage/vwOutOrder/detail.vue @@ -21,7 +21,7 @@ type="success" icon="el-icon-check" size="mini" - @click="handleCreateBills()" + @click="print()" >确认出库单(支持批量) +
+ + + + + + + + + + +
@@ -180,6 +218,7 @@ export default { version: "", guids: "", billNum: "", + accountDate: "", }, page: 1, JobversionValue: "", @@ -191,6 +230,9 @@ export default { showExcelImport: false, tableHeight: document.documentElement.clientHeight - 230, isEdit: false, + accountDatelist: { + accountDate: "", + }, }; }, mounted() { @@ -246,6 +288,9 @@ export default { }, }, methods: { + print() { + this.dialogFormVisible = true; + }, //版本下拉列表选择项 JobVersionValue(params) { //版本下拉选择 @@ -319,6 +364,39 @@ 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.$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; + }); + }, + //出库单 + handleCreateBills_old(row) { if (this.multipleSelection.length == 0) { this.listLoading = true; this.listOutPutQuery.guids = [];