From 50093eaeb4b826ba107ea200c14ee547d60f53e3 Mon Sep 17 00:00:00 2001 From: chenjianan Date: Wed, 29 May 2019 08:33:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=BB=E7=BA=BF=E5=90=88=E5=90=8C=E6=A0=87?= =?UTF-8?q?=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OfflineContract/index.vue | 49 +++++++++++++++++-- 1 file changed, 46 insertions(+), 3 deletions(-) diff --git a/src/views/PurchasingCenter/OfflineContract/index.vue b/src/views/PurchasingCenter/OfflineContract/index.vue index ce2a1930..f69e947d 100644 --- a/src/views/PurchasingCenter/OfflineContract/index.vue +++ b/src/views/PurchasingCenter/OfflineContract/index.vue @@ -93,12 +93,12 @@ {{ scope.row.物料规格 }} - + - + @@ -108,11 +108,21 @@ {{ scope.row.待采购数量 = Number(scope.row.零件数量) - Number(scope.row.使用滞货数量) }} - + + + + + + +
{ this.tableData00 = response.data.rows this.total00 = response.data.total + const remark = [] + const supplier = [] + this.remarkFilters = [] + this.supplierFilters = [] + response.data.rows.map(v => { + if (!remark.includes(v.备注)) { + remark.push(v.备注) + supplier.push(v.供货商) + this.remarkFilters.push({ text: v.备注, value: v.备注 }) + this.supplierFilters.push({ text: v.供货商, value: v.供货商 }) + } + }) }) }, handleSizeChange00(val) { // 标准件和外购件列表分页