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 |   54 ++++++++++++++++++++++++++++++++++++++++++------------
 1 files changed, 42 insertions(+), 12 deletions(-)

diff --git a/src/api/data.js b/src/api/data.js
index ccf6bac..37e68c5 100644
--- a/src/api/data.js
+++ b/src/api/data.js
@@ -100,10 +100,6 @@
 // 寮哄埗涓嬫灦绛栫暐
 const forceRemovalStrategy = [
   {
-    name: "璇烽�夋嫨",
-    id: 0
-  },
-  {
     name: "鍏堣繘鍏堝嚭",
     id: 1
   },
@@ -119,10 +115,6 @@
 //鎴愭湰鏂规硶
 const costingMethod = [
   {
-    name: "璇烽�夋嫨",
-    id: 0
-  },
-  {
     name: "鏍囧噯浠锋牸",
     id: 1
   },
@@ -137,10 +129,6 @@
 ]
 // 搴撳瓨璁′环
 const inventoryValuation = [
-  {
-    name: "璇烽�夋嫨",
-    id: 0
-  },
   {
     name: "鎵嬪姩",
     id: 1
@@ -190,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
@@ -211,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