From 3b93fa8aec1d963f1e652de32a69b9d6c27bf865 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Tue, 14 Mar 2023 18:42:26 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=81=E8=B4=A7=E5=8D=95=EF=BC=8C=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=8D=95=E6=8D=AE=E7=BB=91=E5=AE=9A=E4=BA=A7=E5=93=81?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=B8=8E=E7=95=8C=E9=9D=A2=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/invSubWarehouse.js | 8 - src/views/inout/DialogCreateOrder.vue | 4 +- src/views/inout/DialogSelectRl.vue | 4 +- src/views/inout/IOFinishCode.vue | 1 - src/views/inout/PanelCreateOrderCodes.vue | 5 +- src/views/purchase/purArrival/purArrival.vue | 9 +- .../purArrival/purArrivalEditDialog.vue | 34 +- .../purDelivery/DialogSelectDeliveryList.vue | 294 +++++++++++- .../purchase/purDelivery/purDelivery.vue | 6 +- .../purDelivery/purDeliveryEditDialog.vue | 187 ++++---- .../purDelivery/purDeliveryInvoice.vue | 418 ------------------ .../purDelivery/purDeliverySelectProduct.vue | 4 + src/views/supplier/company/basicCompany.vue | 1 - src/views/system/dept/invRelBusType.vue | 1 - 14 files changed, 436 insertions(+), 540 deletions(-) delete mode 100644 src/views/purchase/purDelivery/purDeliveryInvoice.vue diff --git a/src/api/system/invSubWarehouse.js b/src/api/system/invSubWarehouse.js index 9b28217..3540137 100644 --- a/src/api/system/invSubWarehouse.js +++ b/src/api/system/invSubWarehouse.js @@ -29,14 +29,6 @@ export function findByFrom(query) { } -export function filterSubByInv(query) { - return axios({ - url: "/spms/sub/inv/warehouse/findByInv", - method: "get", - params: query - }); -} - export function findByDeptUser(query) { return axios({ diff --git a/src/views/inout/DialogCreateOrder.vue b/src/views/inout/DialogCreateOrder.vue index 06a10de..a396511 100644 --- a/src/views/inout/DialogCreateOrder.vue +++ b/src/views/inout/DialogCreateOrder.vue @@ -556,17 +556,15 @@ export default { this.curRow = response.data; this.orderFormData.billNo = this.curRow.orderId; this.refreshCodesPanel(); + this.$message.error(response.message); this.selectRlTitle = response.message; - this.bindRl(response.data); } else if (response.code == 503) { this.curRow = response.data; this.orderFormData.billNo = this.curRow.orderId; this.refreshCodesPanel(); this.selectUnitTitle = response.message; this.$message.error(response.message); - this.handleUnitClick(response.data); } else if (response.code == 504) { - this.$confirm(response.message, "提示", { confirmButtonText: "确定", cancelButtonText: "忽略", diff --git a/src/views/inout/DialogSelectRl.vue b/src/views/inout/DialogSelectRl.vue index a967488..91569cb 100644 --- a/src/views/inout/DialogSelectRl.vue +++ b/src/views/inout/DialogSelectRl.vue @@ -710,10 +710,10 @@ export default { } , bindId(val) { - + debugger if (this.curRow.code != null || this.type == 1) { this.$emit("selectBindRl", val); - this.$emit("closeBindDialog", true); + // this.$emit("closeBindDialog", true); } else { let query = { id: this.curRow.id, diff --git a/src/views/inout/IOFinishCode.vue b/src/views/inout/IOFinishCode.vue index 11f59a8..511d039 100644 --- a/src/views/inout/IOFinishCode.vue +++ b/src/views/inout/IOFinishCode.vue @@ -138,7 +138,6 @@ export default { }, getCodeList() { - debugger this.loading = true; this.query.orderId = this.idQuery.billNo; findByOrderId(this.query) //查找该单号下的所有条码 diff --git a/src/views/inout/PanelCreateOrderCodes.vue b/src/views/inout/PanelCreateOrderCodes.vue index 1305669..8a3fd24 100644 --- a/src/views/inout/PanelCreateOrderCodes.vue +++ b/src/views/inout/PanelCreateOrderCodes.vue @@ -272,7 +272,7 @@ export default { rowStyle({row, rowIndex}) { let rowBackground = {}; - if (!this.$isNotBlank(row.supId) || !this.$isNotBlank(row.relId) ) { + if (!this.$isNotBlank(row.supId) || !this.$isNotBlank(row.relId)) { rowBackground.color = '#f60303'; } return rowBackground; @@ -288,6 +288,7 @@ export default { if (response.code == 20000) { this.$message.success("绑定成功"); this.orderFormData.id = this.curRow.orderId; + this.closeBindDialog(); this.getCodeList(); } else { if (response.code == 503) { @@ -326,7 +327,7 @@ export default { closeBindDialog() { this.selectRlVisible = false; this.dialogTableVisible = false; - // this.refreshPanel(); + this.refreshPanel(); }, closeCodeDialog() { diff --git a/src/views/purchase/purArrival/purArrival.vue b/src/views/purchase/purArrival/purArrival.vue index 4acec13..428bd6d 100644 --- a/src/views/purchase/purArrival/purArrival.vue +++ b/src/views/purchase/purArrival/purArrival.vue @@ -32,7 +32,7 @@ 显示/隐藏搜索栏 重置 查询 - 新增送货单据 + 新增到货单据 @@ -86,6 +86,9 @@ + + + @@ -135,8 +138,8 @@ export default { }, formName: null, formMap: { - add: "新增送货单", - update: "编辑送货单", + add: "新增到货单", + update: "编辑到货单", }, statusMap: { 1: "草稿", diff --git a/src/views/purchase/purArrival/purArrivalEditDialog.vue b/src/views/purchase/purArrival/purArrivalEditDialog.vue index 44f10d1..cea86ce 100644 --- a/src/views/purchase/purArrival/purArrivalEditDialog.vue +++ b/src/views/purchase/purArrival/purArrivalEditDialog.vue @@ -32,7 +32,7 @@ - + + + + + + + + + + + - - - + + +