Browse Source

要货计划字段修改

intex_online20241216
张立 2 months ago
parent
commit
94b8517e04
  1. 140
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

140
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

@ -268,7 +268,7 @@ export const PurchasePlanMain = useCrudSchemas(
width: 150 width: 150
}, },
isTable: false, isTable: false,
isForm: false isForm: false,
}, },
{ {
label: '仓库代码', label: '仓库代码',
@ -278,7 +278,7 @@ export const PurchasePlanMain = useCrudSchemas(
width: 150 width: 150
}, },
isTable: false, isTable: false,
isForm: false isForm: false,
}, },
{ {
label: '月台代码', label: '月台代码',
@ -288,7 +288,7 @@ export const PurchasePlanMain = useCrudSchemas(
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable: false isTable: false,
}, },
{ {
label: '业务类型', label: '业务类型',
@ -304,7 +304,7 @@ export const PurchasePlanMain = useCrudSchemas(
componentProps: { componentProps: {
disabled: true disabled: true
} }
} },
}, },
{ {
label: '班次', label: '班次',
@ -312,7 +312,6 @@ export const PurchasePlanMain = useCrudSchemas(
sort: 'custom', sort: 'custom',
isTable: false, isTable: false,
isForm: false, isForm: false,
sortTableDefault: 14,
table: { table: {
width: 150 width: 150
}, },
@ -644,8 +643,7 @@ export const PurchasePlanDetail = useCrudSchemas(
table: { table: {
width: 150 width: 150
}, },
sortTableDefault: 12, sortTableDefault: 16,
hiddenInMain: true,
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
@ -703,6 +701,7 @@ export const PurchasePlanDetail = useCrudSchemas(
width: 150 width: 150
}, },
sortSearchDefault: 5, sortSearchDefault: 5,
sortTableDefault: 17,
isSearch: true, isSearch: true,
form: { form: {
componentProps: { componentProps: {
@ -745,9 +744,10 @@ export const PurchasePlanDetail = useCrudSchemas(
table: { table: {
width: 150 width: 150
}, },
sortTableDefault: 18,
isTableForm: false, isTableForm: false,
isForm: false, isForm: false,
isTable: false, isTable: true,
isDetail:false isDetail:false
}, },
{ {
@ -758,6 +758,7 @@ export const PurchasePlanDetail = useCrudSchemas(
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
sortSearchDefault: 10, sortSearchDefault: 10,
sortTableDefault: 19,
hiddenInMain: true, hiddenInMain: true,
table: { table: {
width: 150 width: 150
@ -772,11 +773,31 @@ export const PurchasePlanDetail = useCrudSchemas(
disabled: true disabled: true
} }
}, },
{
label: '默认收货库区',
field: 'defaultAreaCode',
table: {
width: 150
},
form: {
componentProps: {
disabled: true
}
},
tableForm: {
disabled: true
},
isTableForm: true,
isForm: true,
isTable: true,
hiddenInMain: true,
},
{ {
label: '受入号', label: '受入号',
field: 'receivedNumber', field: 'receivedNumber',
sort: 'custom', sort: 'custom',
sortSearchDefault: 7, sortSearchDefault: 7,
sortTableDefault: 20,
table: { table: {
width: 150 width: 150
}, },
@ -793,11 +814,30 @@ export const PurchasePlanDetail = useCrudSchemas(
disabled: true disabled: true
} }
}, },
{
label: '订单数量',
field: 'orderQty',
sort: 'custom',
sortSearchDefault: 8,
sortTableDefault:23,
table: {
width: 150
},
form: {
componentProps: {
disabled: true
}
},
tableForm: {
disabled: true
}
},
{ {
label: '计划采购数量', label: '计划采购数量',
field: 'planQty', field: 'planQty',
sort: 'custom', sort: 'custom',
sortSearchDefault: 9, sortSearchDefault: 9,
sortTableDefault: 21,
table: { table: {
width: 150 width: 150
}, },
@ -813,34 +853,33 @@ export const PurchasePlanDetail = useCrudSchemas(
} }
} }
}, },
{ {
label: '计划采购计量单位', label: '采购标包数量',
field: 'uom', field: 'purchaseStdQty',
sort: 'custom', sort: 'custom',
dictType: DICT_TYPE.UOM, sortSearchDefault: 8,
dictClass: 'string', sortTableDefault:24,
isTable: false, isForm: false,
sortSearchDefault: 10, isSearch: false,
hiddenInMain: true, isTableForm: true,
table: { table: {
width: 150 width: 150
}, },
form: {
componentProps: {
disabled: true
}
},
tableForm: { tableForm: {
type: 'Select', disabled:true
disabled: true
} }
}, },
{ {
label: '订单数量', label: '计划采购计量单位',
field: 'orderQty', field: 'uom',
sort: 'custom', sort: 'custom',
sortSearchDefault: 8, dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: false,
isTableForm: false,
sortSearchDefault: 10,
sortTableDefault:22,
hiddenInMain: true,
table: { table: {
width: 150 width: 150
}, },
@ -850,35 +889,42 @@ export const PurchasePlanDetail = useCrudSchemas(
} }
}, },
tableForm: { tableForm: {
type: 'Select',
disabled: true disabled: true
} }
}, },
{
label: '采购标包数量',
field: 'purchaseStdQty',
sort: 'custom',
sortSearchDefault: 8,
isForm: false,
isSearch: false,
isTableForm: false,
},
{ {
label: '采购计量单位', label: '采购计量单位',
field: 'purchaseStdUom', field: 'purchaseStdUom',
dictType: DICT_TYPE.UOM, dictType: DICT_TYPE.UOM,
sort: 'custom', sort: 'custom',
sortSearchDefault: 9, sortSearchDefault: 9,
sortTableDefault:25,
isForm: false, isForm: false,
isSearch: false, isSearch: false,
isTableForm: false, isTableForm: true,
table: {
width: 150
},
tableForm: {
disabled: true
}
}, },
{ {
label: '转换率', label: '转换率',
field: 'conventRate', field: 'conventRate',
sort: 'custom', sort: 'custom',
sortSearchDefault: 9, sortSearchDefault: 9,
sortTableDefault: 26,
isForm: false, isForm: false,
isSearch: false, isSearch: false,
table: {
width: 150
},
tableForm: {
disabled: true
}
}, },
{ {
label: '已发货数量', label: '已发货数量',
@ -920,25 +966,7 @@ export const PurchasePlanDetail = useCrudSchemas(
isTable: true, isTable: true,
hiddenInMain: true, hiddenInMain: true,
}, },
{
label: '默认收货库区',
field: 'defaultAreaCode',
table: {
width: 150
},
form: {
componentProps: {
disabled: true
}
},
tableForm: {
disabled: true
},
isTableForm: true,
isForm: true,
isTable: true,
hiddenInMain: true,
},
{ {
label: '库区描述', label: '库区描述',
field: 'areaDescription', field: 'areaDescription',
@ -953,7 +981,7 @@ export const PurchasePlanDetail = useCrudSchemas(
tableForm: { tableForm: {
disabled: true disabled: true
}, },
isTableForm: true, isTableForm: false,
isForm: true, isForm: true,
isTable: false, isTable: false,
hiddenInMain: true, hiddenInMain: true,

Loading…
Cancel
Save