diff --git a/fe/PC/src/filters/status.js b/fe/PC/src/filters/status.js index 0fb7da88a..cc5c417ad 100644 --- a/fe/PC/src/filters/status.js +++ b/fe/PC/src/filters/status.js @@ -1584,20 +1584,20 @@ export function SupplierAsnCtypeStaBack(name){ */ export function ItemTypeBasic(index, prop) { let type = { - '成品': { - value: '成品', + '10C01': { + value: '10C01', label: '成品', }, - '原料': { - value: '原料', + '10C02': { + value: '10C02', label: '原料', }, - '物品': { - value: '物品', - label: '物品', + '10C03': { + value: '10C03', + label: '物料', }, - '半成品': { - value: '半成品', + '10C04': { + value: '10C04', label: '半成品', }, } diff --git a/fe/PC/src/utils/tabsDesTions/index.js b/fe/PC/src/utils/tabsDesTions/index.js index 9510309e0..0cee6f8c4 100644 --- a/fe/PC/src/utils/tabsDesTions/index.js +++ b/fe/PC/src/utils/tabsDesTions/index.js @@ -16,7 +16,7 @@ export const ItemBasic = [ { label: "有效期", prop: "validity" }, { label: "有效期单位", prop: "validityUnit", type: "filter", filters: "validityUnit" }, { label: "管理类型", prop: "manageType", type: "filter", filters: "manageType" }, - { label: "类型", prop: 'type' }, + { label: "类型", prop: 'type', type: "filter", filters: "ItemTypeBasic" }, { label: "种类", prop: 'category' }, { label: "分组", prop: 'group' }, { label: "颜色", prop: 'color' },