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(); + }, };