From adae2dbdbe8bfcc46df9699b99bf2ee47ff31114 Mon Sep 17 00:00:00 2001
From: yunuo970428 <405378304@qq.com>
Date: Sat, 11 May 2024 14:22:34 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=87=87=E8=B4=AD=E5=8D=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../purchase/procurement/procurement.vue | 23 ++++++++++++++-----
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/yxt-as-ui/src/views/purchase/procurement/procurement.vue b/yxt-as-ui/src/views/purchase/procurement/procurement.vue
index 019d21e9c6..d259feb8b6 100644
--- a/yxt-as-ui/src/views/purchase/procurement/procurement.vue
+++ b/yxt-as-ui/src/views/purchase/procurement/procurement.vue
@@ -33,17 +33,17 @@
-
+
-
+
-
+
@@ -171,7 +171,8 @@ export default {
tableKey: 0,
list: [],
sids: [], // 用于导出的时候保存已选择的SIDs
- supplier_list: [],
+ procurementType_list: [],
+ procurementReason_list: [],
state_list: [
{
dictKey: '1',
@@ -220,9 +221,19 @@ export default {
},
methods: {
init() {
- typeValues({ type: '' }).then((res) => {
+ typeValues({ type: 'procurementType' }).then((res) => {
if (res.success) {
- this.supplier_list = res.data
+ this.procurementType_list = res.data
+ }
+ })
+ typeValues({ type: 'procurementReason' }).then((res) => {
+ if (res.success) {
+ this.procurementReason_list = res.data
+ }
+ })
+ typeValues({ type: 'paymentMethod' }).then((res) => {
+ if (res.success) {
+ this.paymentMethod_list = res.data
}
})
},