From 3d78d6252a671a68de7b1140d54feee044679fa6 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Wed, 15 Mar 2023 16:18:14 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=81=E8=B4=A7=E5=8D=95=EF=BC=8C=E9=80=80?= =?UTF-8?q?=E8=B4=A7=E5=8D=95=EF=BC=8C=E5=88=B0=E8=B4=A7=E5=8D=95=E7=AD=89?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E4=BF=AE=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/purchase/purArrival/purArrival.vue | 5 +- .../purchase/purArrival/purArrivalAudit.vue | 10 +- .../purArrival/purArrivalDetailDialog.vue | 162 +++++-- .../purArrival/purArrivalEditDialog.vue | 104 ++++- .../purchase/purArrival/purArrivalSearch.vue | 1 + .../purArrival/purArrivalSelectProduct.vue | 394 ++++++++++++++++++ .../purDelivery/DialogSelectDeliveryList.vue | 12 +- .../purDelivery/purDeliveryDetailDialog.vue | 6 +- .../purDelivery/purDeliveryEditDialog.vue | 2 +- .../purDelivery/purDeliverySearch.vue | 2 - .../purDelivery/purDeliverySelectProduct.vue | 5 +- .../purOrder/purOrderDetailDialog.vue | 6 +- .../DialogSelectReturnedInvProduct.vue | 251 +++++++++++ .../purchase/purReturned/purReturned.vue | 8 +- .../purchase/purReturned/purReturnedAudit.vue | 8 +- .../purReturned/purReturnedDetailDialog.vue | 43 +- .../purReturned/purReturnedEditDialog.vue | 91 ++-- .../purReturned/purReturnedSearch.vue | 1 + 18 files changed, 980 insertions(+), 131 deletions(-) create mode 100644 src/views/purchase/purArrival/purArrivalSelectProduct.vue create mode 100644 src/views/purchase/purReturned/DialogSelectReturnedInvProduct.vue diff --git a/src/views/purchase/purArrival/purArrival.vue b/src/views/purchase/purArrival/purArrival.vue index 428bd6d..801e15f 100644 --- a/src/views/purchase/purArrival/purArrival.vue +++ b/src/views/purchase/purArrival/purArrival.vue @@ -46,7 +46,7 @@ {{ parseTime(scope.row.billDate, '{y}-{m}-{d}') }} - + @@ -85,7 +85,7 @@ - + @@ -251,6 +251,7 @@ export default { this.filterQuery.endDate = null; } this.loading = true; + this.filterQuery.status = 11; listOrder(this.filterQuery) .then((response) => { if (response.code == 20000) { diff --git a/src/views/purchase/purArrival/purArrivalAudit.vue b/src/views/purchase/purArrival/purArrivalAudit.vue index 7f3e474..e9dff42 100644 --- a/src/views/purchase/purArrival/purArrivalAudit.vue +++ b/src/views/purchase/purArrival/purArrivalAudit.vue @@ -45,7 +45,7 @@ {{ parseTime(scope.row.billDate, '{y}-{m}-{d}') }} - + @@ -60,7 +60,7 @@ @@ -106,12 +106,13 @@ :closeDialog="closeDialog" v-on:cancelDialog="getId" :idQuery="idQuery" + :edit-type="1" > + + diff --git a/src/views/purchase/purDelivery/DialogSelectDeliveryList.vue b/src/views/purchase/purDelivery/DialogSelectDeliveryList.vue index b46ab42..488b340 100644 --- a/src/views/purchase/purDelivery/DialogSelectDeliveryList.vue +++ b/src/views/purchase/purDelivery/DialogSelectDeliveryList.vue @@ -45,7 +45,7 @@ {{ parseTime(scope.row.billDate, '{y}-{m}-{d}') }} - + @@ -100,6 +100,10 @@ export default { type: Object, required: true, }, + customerId: { + type: Object, + required: true, + } }, data() { @@ -207,6 +211,8 @@ export default { } this.loading = true; this.filterQuery.status = 3; + debugger + this.filterQuery.supId = this.customerId; listOrder(this.filterQuery) .then((response) => { if (response.code == 20000) { @@ -247,9 +253,9 @@ export default { if (this.$isBlank(this.currentRow.id)) { this.$message.error("未选择申购单!"); } - var data = { + let data = { id: this.pId, - applyId: this.currentRow.id + purDeliveryId: this.currentRow.id } addPlanDetailAndOrder(data).then((res) => { this.closeDialog(res.data); diff --git a/src/views/purchase/purDelivery/purDeliveryDetailDialog.vue b/src/views/purchase/purDelivery/purDeliveryDetailDialog.vue index 3852496..11f04ed 100644 --- a/src/views/purchase/purDelivery/purDeliveryDetailDialog.vue +++ b/src/views/purchase/purDelivery/purDeliveryDetailDialog.vue @@ -60,9 +60,9 @@ - - 是否生成采购入库单 - + + + diff --git a/src/views/purchase/purDelivery/purDeliveryEditDialog.vue b/src/views/purchase/purDelivery/purDeliveryEditDialog.vue index 78cc9a3..5104a4f 100644 --- a/src/views/purchase/purDelivery/purDeliveryEditDialog.vue +++ b/src/views/purchase/purDelivery/purDeliveryEditDialog.vue @@ -4,7 +4,7 @@ 草稿保存 - 提交单据 + 提交单据 diff --git a/src/views/purchase/purDelivery/purDeliverySearch.vue b/src/views/purchase/purDelivery/purDeliverySearch.vue index 27d746f..1b8d606 100644 --- a/src/views/purchase/purDelivery/purDeliverySearch.vue +++ b/src/views/purchase/purDelivery/purDeliverySearch.vue @@ -60,8 +60,6 @@ diff --git a/src/views/purchase/purDelivery/purDeliverySelectProduct.vue b/src/views/purchase/purDelivery/purDeliverySelectProduct.vue index 9204f0d..0cd8d28 100644 --- a/src/views/purchase/purDelivery/purDeliverySelectProduct.vue +++ b/src/views/purchase/purDelivery/purDeliverySelectProduct.vue @@ -50,7 +50,8 @@ - + - + @@ -91,7 +91,6 @@ - { if (response.code == 20000) { diff --git a/src/views/purchase/purReturned/purReturnedAudit.vue b/src/views/purchase/purReturned/purReturnedAudit.vue index 741d487..462d78c 100644 --- a/src/views/purchase/purReturned/purReturnedAudit.vue +++ b/src/views/purchase/purReturned/purReturnedAudit.vue @@ -60,7 +60,7 @@ @@ -105,12 +105,13 @@ :closeDialog="closeDialog" v-on:cancelDialog="getId" :idQuery="idQuery" + :edit-type="1" >