Browse Source

是否允许超发

master_hella_20240701
wangyufei 4 months ago
parent
commit
de9e6c478b
  1. 1
      src/utils/dict.ts
  2. 19
      src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts

1
src/utils/dict.ts

@ -188,6 +188,7 @@ export enum DICT_TYPE {
UOM = 'uom', // 计量单位
ABC_CLASS = 'abc_class', // ABC类
TRUE_FALSE = 'true_false', // 是否
ALLOWOVERSHIPMENT = 'allow_over_shipment',//是否允许超发
FALSE_OR_TRUE = 'false_or_true', // 是否2
ITEM_GROUP = 'item_group', // 物料分组
ITEM_CATEGORY = 'Item_category', // 物料种类

19
src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts

@ -94,6 +94,25 @@ export const Supplieritem = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
}
},
{
label: '是否允许超发',
field: 'allowOverShipment',
dictType: DICT_TYPE.ALLOWOVERSHIPMENT,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
form: {
component: 'Switch',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
table: {
width: 150
}
},
{
label: '转换率',
field: 'convertRate',

Loading…
Cancel
Save