From 58ac82fceff96784dd9e16872d1e2316fa2cfdec Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期五, 24 十一月 2023 14:36:12 +0800
Subject: [PATCH] 入库明细报表修改状态进度展示

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