From a6f6b1918c6b030d6400aba177e3cc4ece22c0fe Mon Sep 17 00:00:00 2001
From: gyq <875626088@qq.com>
Date: Thu, 4 Jul 2024 11:55:48 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=BF=9B=E8=B4=A7=E8=B4=A6?=
=?UTF-8?q?=E7=9B=AE=E8=AF=A6=E6=83=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../invoicing/supplier_manage/purchase_detail.vue | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/src/views/invoicing/supplier_manage/purchase_detail.vue b/src/views/invoicing/supplier_manage/purchase_detail.vue
index bbac1bd..38e582c 100644
--- a/src/views/invoicing/supplier_manage/purchase_detail.vue
+++ b/src/views/invoicing/supplier_manage/purchase_detail.vue
@@ -87,7 +87,7 @@
- {{ scope.row.type == 'purveyor' ? '进货单' : '退货单' }}
+ {{ scope.row.type | typeFilter }}
@@ -273,6 +273,17 @@ export default {
}
}
},
+ filters: {
+ typeFilter(t) {
+ const m = {
+ purveyor: '进货单',
+ reject: '退货单',
+ cons_in: '耗材入库',
+ cons_out: '耗材出库'
+ }
+ return m[t]
+ }
+ },
mounted() {
this.getTableData()
},