From baf6557cdbf1fc9b49674ea33c427620cde4e88e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=90=20=E5=BC=A0?= <2366389513@qq.com> Date: Tue, 28 Dec 2021 15:40:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../InvoiceSettledDetailDiff/index.vue | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue index 0ee755bf..2edd2e49 100644 --- a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue +++ b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue @@ -905,13 +905,13 @@ export default { this.multipleSelection = val; }, handleConfirm(row){ - if (this.multipleSelection.length == 0) { - this.$message({ - message: "至少选择一行!", - type: "warning", - }); - return; - } + // if (this.multipleSelection.length == 0) { + // this.$message({ + // message: "至少选择一行!", + // type: "warning", + // }); + // return; + // } var params = []; let myalert = ""; //声明变量,其变量必须在此声明后使用 if (row) { @@ -933,7 +933,7 @@ export default { }) .then(() => { this.$axios - .posts("/api/settleaccount/wms/WmsJitOutPut", params) + .gets("/api/settleaccount/wmsjitoutput/WmsJitOutPutAudit", params) .then((response) => { const index = this.list.indexOf(row); this.$notify({ @@ -982,7 +982,7 @@ export default { }) .then(() => { this.$axios - .posts("/api/settleaccount/wms/WmsJitOutPut", params) + .gets("/api/settleaccount/wmsjitoutput/WmsJitOutPut", params) .then((response) => { const index = this.list.indexOf(row); this.$notify({ @@ -991,6 +991,7 @@ export default { type: "success", duration: 2000, }); + console.log(response); this.getList(); }); })