src/api/data.js
@@ -138,6 +138,38 @@ id: 2 } ] // 位置 // 位置类型 const positionType=[ { name: "供应商位置", id: 1 }, { name: "视图", id: 2 }, { name: "内部位置", id: 3 }, { name: "客户位置", id: 4 }, { name: "库存损失", id: 5 }, { name: "生产", id: 6 }, { name: "中转位置", id: 7 } ] export const getDataByType = (type) => { if (type == "purchaseStatus") { return purchaseStatus @@ -157,5 +189,7 @@ return costingMethod }else if(type=='inventoryValuation'){ return inventoryValuation }else if(type=='positionType'){ return positionType; } }