From b31ac5a319969c6f7ce45ebb261241be17f5a313 Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Thu, 2 Apr 2020 10:49:43 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E5=A4=96=E8=B4=AD=E5=A4=87=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CreatingPurchasingMaterials/index.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/WorkshopProcurement/CreatingPurchasingMaterials/index.vue b/src/views/WorkshopProcurement/CreatingPurchasingMaterials/index.vue index ad0429ce..e3adfb10 100644 --- a/src/views/WorkshopProcurement/CreatingPurchasingMaterials/index.vue +++ b/src/views/WorkshopProcurement/CreatingPurchasingMaterials/index.vue @@ -306,24 +306,24 @@ - + - + - + - + From 29cac182936aaa01099aa932d4915912eb2e387f Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Thu, 2 Apr 2020 10:50:11 +0800 Subject: [PATCH 2/7] a --- .../CreatingPurchasingMaterials/index.vue | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/views/WorkshopProcurement/CreatingPurchasingMaterials/index.vue b/src/views/WorkshopProcurement/CreatingPurchasingMaterials/index.vue index e3adfb10..ff243032 100644 --- a/src/views/WorkshopProcurement/CreatingPurchasingMaterials/index.vue +++ b/src/views/WorkshopProcurement/CreatingPurchasingMaterials/index.vue @@ -823,12 +823,16 @@ export default { } }, back() { - edit2(this.materielGroup).then(response => { - if (response.data[0].result === '1') { - this.$message.success('打回成功') - this.searchTable1() - } else { this.$message.error('打回失败') } - }) + if (this.materielGroup.length === 0) { + this.$message.warning('请勾选物料') + } else { + edit2(this.materielGroup).then(response => { + if (response.data[0].result === '1') { + this.$message.success('打回成功') + this.searchTable1() + } else { this.$message.error('打回失败') } + }) + } }, saveMateriel() { // 保存数据 this.partGroup = [] From c5fd68b17c7ced42e79def6053d507d104cec86e Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Thu, 2 Apr 2020 13:39:53 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E4=B8=A4=E4=BD=8D=E5=B0=8F=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FundApproval2/index.vue | 33 +++++++++++++++++-- .../FundApproval3/index.vue | 33 +++++++++++++++++-- .../RequestOutsourcingMaterials/index.vue | 5 --- 3 files changed, 60 insertions(+), 11 deletions(-) diff --git a/src/views/WorkshopProcurement/FundApproval2/index.vue b/src/views/WorkshopProcurement/FundApproval2/index.vue index 7cd4fdd2..3ea32627 100644 --- a/src/views/WorkshopProcurement/FundApproval2/index.vue +++ b/src/views/WorkshopProcurement/FundApproval2/index.vue @@ -15,7 +15,7 @@ @@ -31,7 +31,7 @@