From d68b036a3b3c67273b8effa3c9925ef3869a91ba Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期三, 07 二月 2024 13:56:50 +0800
Subject: [PATCH] wms项目 wms系统参数设置的页面开发+路由+是否显示表头配置

---
 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