From 8343a97e291269392da114ab96abdf2a3696fa36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Tue, 25 Apr 2023 11:15:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E5=93=81=E5=9F=BA=E7=A1=80=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E7=B1=BB=E5=9E=8B=E5=AD=97=E6=AE=B5=E6=9E=9A=E4=B8=BE?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/PC/src/filters/status.js | 18 +++++++++--------- fe/PC/src/utils/tabsDesTions/index.js | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) 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' },