From 48c0ea97ca8748ffa02b60f68ad1e4f7d02ffea4 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Thu, 18 May 2023 18:23:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E8=AE=A2=E5=8D=95=E7=AD=89?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/DialogcChangeNewOrder.vue | 54 +- src/views/inout/IoAuditedOrder.vue | 7 - src/views/purchase/purOrder/purOrder.vue | 1 + src/views/purchase/purOrder/purOrderAudit.vue | 1 + .../purOrder/purOrderDetailDialog.vue | 930 +++++++++--------- .../purchase/purOrder/purOrderEditDialog.vue | 3 +- .../purchase/purOrder/purOrderSearch.vue | 1 + .../purOrder/purOrderSearchDetails.vue | 22 +- .../purOrder/purOrderSelectProduct.vue | 61 +- 9 files changed, 557 insertions(+), 523 deletions(-) diff --git a/src/views/inout/DialogcChangeNewOrder.vue b/src/views/inout/DialogcChangeNewOrder.vue index 7ea1240b..54684fbe 100644 --- a/src/views/inout/DialogcChangeNewOrder.vue +++ b/src/views/inout/DialogcChangeNewOrder.vue @@ -33,38 +33,33 @@ - - - + + + :value="item.code"> {{ item.name }} - - - - + + + :value="item.action"> {{ item.name }} - - @@ -125,10 +120,7 @@ > - - - { let product = { - relId: item.relId, + relId: item.bindRlFk, batchNo: item.batchNo }; products.push(product); @@ -421,12 +417,12 @@ export default { this.curAction = this.getActionItem(item); if (this.curAction.corpType == 0 || this.curAction.corpType == 2 || (this.curAction.corpType == 1 && !this.curAction.genUnit)) { //1.切换往来单位 - this.orderFormData.fromCorp = null; + this.formData.fromCorp = null; this.findMethod(); } else if (this.curAction.corpType == 3) { //2. 切换往来仓库 - this.orderFormData.fromInvCode = null; + this.formData.fromInvCode = null; this.findFromInvList(); } }, @@ -438,6 +434,22 @@ export default { } }, + //获取往来仓库列表 + findFromInvList(val) { + let cQuery = { + locInvCode: this.formData.invCode, + }; + findByFrom(cQuery) + .then((response) => { + this.fromInvOptions = response.data || []; + if (val == 1) { + this.formData.fromInvCode = this.fromInvOptions[0].code; + } + }) + .catch(() => { + }); + }, + changeFun(row) { let _this = this; _this.multipId = []; //每次改动重置ID diff --git a/src/views/inout/IoAuditedOrder.vue b/src/views/inout/IoAuditedOrder.vue index caf5c948..0797bbbb 100644 --- a/src/views/inout/IoAuditedOrder.vue +++ b/src/views/inout/IoAuditedOrder.vue @@ -173,13 +173,6 @@ - - - - - - - diff --git a/src/views/purchase/purOrder/purOrder.vue b/src/views/purchase/purOrder/purOrder.vue index 84045529..d1dd98fd 100644 --- a/src/views/purchase/purOrder/purOrder.vue +++ b/src/views/purchase/purOrder/purOrder.vue @@ -126,6 +126,7 @@ + diff --git a/src/views/purchase/purOrder/purOrderAudit.vue b/src/views/purchase/purOrder/purOrderAudit.vue index 887dcc7e..5f1b8579 100644 --- a/src/views/purchase/purOrder/purOrderAudit.vue +++ b/src/views/purchase/purOrder/purOrderAudit.vue @@ -124,6 +124,7 @@ + diff --git a/src/views/purchase/purOrder/purOrderDetailDialog.vue b/src/views/purchase/purOrder/purOrderDetailDialog.vue index ed342193..b2fabf3e 100644 --- a/src/views/purchase/purOrder/purOrderDetailDialog.vue +++ b/src/views/purchase/purOrder/purOrderDetailDialog.vue @@ -1,505 +1,511 @@ diff --git a/src/views/purchase/purOrder/purOrderEditDialog.vue b/src/views/purchase/purOrder/purOrderEditDialog.vue index ff3060a9..c8b39e77 100644 --- a/src/views/purchase/purOrder/purOrderEditDialog.vue +++ b/src/views/purchase/purOrder/purOrderEditDialog.vue @@ -141,6 +141,7 @@ + - - - - - - - - - + + + + + + + + + @@ -161,6 +173,8 @@ export default { thrPiId: null, page: 1, limit: 10, + zczbhhzbapzbh: null, + manufactory: null, }, combineQuery: { thirdId: "", @@ -336,7 +350,8 @@ export default { count: 1, orderIdFk: this.pId, supId: this.multipleSelection.customerId, - zczbhhzbapzbh: this.multipleSelection.zczbhhzbapzbh + zczbhhzbapzbh: this.multipleSelection.zczbhhzbapzbh, + price:this.multipleSelection.price }; addOrderDetail(tQuery).then((response) => { this.loading = false; @@ -379,6 +394,8 @@ export default { } } + this.getList(); + }, };