From e1a3c04432d808ca27e1158095d2564cd81ea379 Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期三, 15 十一月 2023 19:22:16 +0800
Subject: [PATCH] 表格公共组件修改合并
---
src/api/data.js | 42 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/src/api/data.js b/src/api/data.js
index afa04cb..37e68c5 100644
--- a/src/api/data.js
+++ b/src/api/data.js
@@ -178,6 +178,44 @@
id: 9
}
]
+// 鍑哄叆搴撴槑缁� 涓氬姟绫诲瀷
+const baseOperationTypeTwo=[
+ {
+ name: "鏀惰揣",
+ id: 1
+ },
+ {
+ name: "浜よ揣",
+ id: 2
+ },
+ {
+ name: "鍐呴儴璋冩嫧",
+ id: 3
+ },
+ {
+ name: "鎶ュ簾",
+ id: 4
+ },
+ {
+ name: "搴撳瓨鐩樼偣",
+ id: 5
+ },
+]
+//閲囪喘绫诲瀷
+const purchaseType = [
+ {
+ name: "閲囪喘",
+ id: 1,
+ },
+ {
+ name: "鑷埗",
+ id: 2,
+ },
+ {
+ name: "濮斿",
+ id: 3,
+ },
+];
export const getDataByType = (type) => {
if (type == "purchaseStatus") {
return purchaseStatus
@@ -199,5 +237,9 @@
return inventoryValuation
} else if (type == "positionType") {
return positionType
+ }else if(type=='baseOperationTypeTwo'){
+ return baseOperationTypeTwo
+ }else if(type=='purchaseType'){
+ return purchaseType;
}
}
--
Gitblit v1.8.0