haoxuan
2023-09-18 40fc2783a9c4b102ca298fb91aa1e04614405af8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 采购状态
const purchaseStatus = [
  {
    name: "已下单",
    id: 1
  },
  {
    name: "到货质检",
    id: 2
  },
  {
    name: "已入库",
    id: 3
  },
  {
    name: "已完成",
    id: 4
  }
]
 
export const getDataByType = (type) => {
  if (type == "purchaseStatus") {
    return purchaseStatus
  }
}