Browse Source

要货预测修改

master_hella_20240701
zhaoxuebing 6 months ago
parent
commit
e2b41b5e2b
  1. 46
      src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts

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

@ -132,6 +132,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable:false,
isForm: false,
form: {
value: 'PurchasePrediction',
@ -171,7 +172,6 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -180,6 +180,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable:false,
form: {
component: 'DatePicker',
componentProps: {
@ -198,6 +199,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable:false,
isForm: false,
},
{
@ -259,6 +261,7 @@ export const DemandforecastingDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 180
},
isTableForm: false,
hiddenInMain:true,
form: {
componentProps: {
disbaled: true
@ -431,6 +434,26 @@ export const DemandforecastingDetail = useCrudSchemas(reactive<CrudSchema[]>([
disabled: true
}
},
{
label: '计划数量',
field: 'planQty',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
componentProps: {
min: 1,
precision: 6
}
},
tableForm: {
type: 'InputNumber',
min: 1,
precision: 6
}
},
{
label: '备注',
field: 'remark',
@ -472,27 +495,6 @@ export const DemandforecastingDetail = useCrudSchemas(reactive<CrudSchema[]>([
isTableForm: false,
isForm: false,
},
{
label: '计划数量',
field: 'planQty',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
componentProps: {
min: 1,
precision: 6
}
},
tableForm: {
type: 'InputNumber',
min: 1,
precision: 6
}
},
{
label: '最后更新时间',
field: 'updateTime',

Loading…
Cancel
Save