Browse Source

WMS的采购订单要和SCP一致 YT-560

intex_online20241111
YEJIAXING-PC\lenovo 4 weeks ago
parent
commit
4e647590ef
  1. 118
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMainWms/purchaseMain.data.ts

118
src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMainWms/purchaseMain.data.ts

@ -69,19 +69,14 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物料类型', label: '行类型',
field: 'itemTypeList', field: 'poLineType',
dictType: DICT_TYPE.ITEM_TYPE, isTable: true,
dictClass: 'string',
isTable: false,
isForm: false,
isSearch: true, isSearch: true,
sort: 'custom', sort: 'custom',
search: { table: {
componentProps: { width: 150
multiple: true,//多选 },
}
}
}, },
{ {
label: '状态', label: '状态',
@ -291,7 +286,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
isTable:true, isTable:false,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -554,6 +549,26 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
precision: 6 precision: 6
}, },
}, },
{
label: '默认收货库区',
field: 'defaultAreaCode',
table: {
width: 150
},
isTableForm: false,
isForm: false,
isTable: true,
},
{
label: '库区描述',
field: 'areaDescription',
table: {
width: 150
},
isTableForm: false,
isForm: false,
isTable: true,
},
// { // {
// label: 'ERP库位', // label: 'ERP库位',
// field: 'erpLocationCode', // field: 'erpLocationCode',
@ -821,16 +836,6 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
min: 0 min: 0
} }
}, },
{
label: '创建者',
field: 'creator',
isTableForm: false,
table: {
width: 150
},
hiddenInMain:true,
isForm: false,
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
@ -843,7 +848,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
hiddenInMain:true, hiddenInMain:false,
isForm: false, isForm: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
@ -856,14 +861,29 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '最后更新者', label: '创建者',
field: 'updater', field: 'creator',
isTableForm: false, isTableForm: false,
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true, hiddenInMain:false,
isForm: false, isForm: false,
},
// {
// label: '最后更新时间',
// field: 'updateTime',
// isTableForm: false,
// isTable: true,
// hiddenInMain:false,
// formatter: dateFormatter,
// detail: {
// dateFormat: 'YYYY-MM-DD HH:mm:ss'
// },
// table: {
// width: 150
// },
// isForm: false,
// form: { // form: {
// component: 'DatePicker', // component: 'DatePicker',
// componentProps: { // componentProps: {
@ -873,31 +893,26 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
// valueFormat: 'x', // valueFormat: 'x',
// } // }
// } // }
}, // },
{ // {
label: '最后更新时间', // label: '最后更新者',
field: 'updateTime', // field: 'updater',
isTableForm: false, // isTableForm: false,
isTable: true, // table: {
hiddenInMain:true, // width: 150
formatter: dateFormatter, // },
detail: { // hiddenInMain:false,
dateFormat: 'YYYY-MM-DD HH:mm:ss' // isForm: false,
}, // // form: {
table: { // // component: 'DatePicker',
width: 150 // // componentProps: {
}, // // style: {width:'100%'},
isForm: false, // // type: 'datetime',
form: { // // dateFormat: 'YYYY-MM-DD HH:mm:ss',
component: 'DatePicker', // // valueFormat: 'x',
componentProps: { // // }
style: {width:'100%'}, // // }
type: 'datetime', // },
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{ {
label: '备注', label: '备注',
hiddenInMain:true, hiddenInMain:true,
@ -912,6 +927,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
field: 'action', field: 'action',
isDetail: false, isDetail: false,
isForm: false , isForm: false ,
isTable: false ,
table: { table: {
width: 150, width: 150,
fixed: 'right' fixed: 'right'

Loading…
Cancel
Save