haoxuan
2024-04-17 4708131e4e9e97ce280b9befbd57b7d405931a66
src/api/data.js
@@ -216,6 +216,25 @@
    id: 3,
  },
];
// 物料 毛重,净重的单位
const grossUnit=[
  {
    name: "g",
    id: 1,
  },
  {
    name: "kg",
    id: 2,
  },
  {
    name: "吨",
    id: 3,
  },
  {
    name: "斤",
    id: 4,
  },
]
export const getDataByType = (type) => {
  if (type == "purchaseStatus") {
    return purchaseStatus
@@ -241,5 +260,7 @@
    return baseOperationTypeTwo
  }else if(type=='purchaseType'){
    return purchaseType;
  }else if(type=='grossUnit'){
    return grossUnit;
  }
}