Browse Source

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

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

Loading…
Cancel
Save