From f4ed5ae8873f65c36b5cf37be264f6ec1e154647 Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期三, 20 三月 2024 19:36:58 +0800
Subject: [PATCH] 合并分支冲突解决

---
 src/api/data.js |   66 +++++++++++++++++++--------------
 1 files changed, 38 insertions(+), 28 deletions(-)

diff --git a/src/api/data.js b/src/api/data.js
index 9678b60..1909a6e 100644
--- a/src/api/data.js
+++ b/src/api/data.js
@@ -1,48 +1,58 @@
 // 閲囪喘鐘舵��
-const purchaseStatus=[
-  {id:1,name:"寰呯‘璁�"},
-  {id:2,name:"寰呭叆搴�"},
-  {id:3,name:"宸插叆搴�"},
-  {id:4,name:"宸插畬鎴�"},
-  {id:5,name:"宸插彇娑�"}
+const purchaseStatus = [
+  { id: 1, name: "寰呯‘璁�" },
+  { id: 2, name: "寰呭叆搴�" },
+  { id: 3, name: "宸插叆搴�" },
+  { id: 4, name: "宸插畬鎴�" },
+  { id: 5, name: "宸插彇娑�" }
+]
+// 鏀惰揣鐘舵��
+const receiveStatus = [
+  { id: 1, name: "寰呯‘璁�" },
+  { id: 2, name: "寰呭叆搴�" },
+  { id: 3, name: "灏辩华" },
+  { id: 4, name: "宸插畬鎴�" },
+  { id: 5, name: "宸插彇娑�" }
 ]
 // 璐ㄦ鍗曠姸鎬�
-const qualityStatus=[
+const qualityStatus = [
   {
-    name:'寰呰川妫�',
-    id:1,
+    name: "寰呰川妫�",
+    id: 1
   },
   {
-    name:'宸插畬鎴�',
-    id:2,
+    name: "宸插畬鎴�",
+    id: 2
   }
 ]
 // 閫�璐у崟鐘舵��
-const returnedStatus=[
+const returnedStatus = [
   {
-    name:'寰呭彂璐�',
-    id:1,
+    name: "寰呭彂璐�",
+    id: 1
   },
   {
-    name:'寰呯鏀�',
-    id:2,
+    name: "寰呯鏀�",
+    id: 2
   },
   {
-    name:'寰呭彂璐�',
-    id:3,
+    name: "寰呭彂璐�",
+    id: 3
   },
   {
-    name:'宸插畬鎴�',
-    id:4,
-  },
+    name: "宸插畬鎴�",
+    id: 4
+  }
 ]
 
-export const getDataByType = type => {
-  if(type =='purchaseStatus'){
-    return purchaseStatus;
-  }else if(type=='qualityStatus'){
-    return qualityStatus;
-  }else if(type=='returnedStatus'){
-    return returnedStatus;
+export const getDataByType = (type) => {
+  if (type == "purchaseStatus") {
+    return purchaseStatus
+  } else if (type == "qualityStatus") {
+    return qualityStatus
+  } else if (type == "returnedStatus") {
+    return returnedStatus
+  } else if (type == "receiveStatus") {
+    return receiveStatus
   }
 }

--
Gitblit v1.8.0