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" >