Browse Source

要货预测字典项“预测时间类型”添加

master
chenfang 11 months ago
parent
commit
70cf72f8d0
  1. 1
      src/utils/dict.ts
  2. 7
      src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts

1
src/utils/dict.ts

@ -272,4 +272,5 @@ export enum DICT_TYPE {
LABEL_STATUS = 'label_status', // 标签状态
BIND_TYPE = 'bind_type', // 器具绑定类型
CONTAINER_STATUS = 'container_status', // 容器状态
PREDICT_TIME_TYPE = 'predict_time_type', // 预测时间类型
}

7
src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts

@ -254,10 +254,17 @@ export const DemandforecastingDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '预测时间类型',
field: 'predictTimeType',
dictType: DICT_TYPE.PREDICT_TIME_TYPE,
sort: 'custom',
dictClass: 'string',
isSearch: true,
isTable: true,
table: {
width: 150
},
tableForm: {
type: 'Select'
}
},
{
label: '预测日期',

Loading…
Cancel
Save