Browse Source

供应商发货申请

master_hella_20240701
wangyufei 6 months ago
parent
commit
0a32b4f8c6
  1. 130
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

130
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

@ -68,16 +68,16 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
} }
} }
}, },
{ // {
label: '发货单号', // label: '发货单号',
field: 'asnNumber', // field: 'asnNumber',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
isSearch: true, // isSearch: true,
isForm: true // isForm: true
}, // },
{ {
label: '要货计划单号', label: '要货计划单号',
field: 'ppNumber', field: 'ppNumber',
@ -118,26 +118,58 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
} }
}, },
{ {
label: '联系人姓名', label: '要求到货时间',
field: 'contactName', field: 'planArriveTime1',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 180
},
isTable:false,
form: {
component: 'DatePicker',
componentProps: {
style: { width: '100%' },
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}, },
}, },
{ {
label: '联系人电话', label: '采购订单',
field: 'contactPhone', field: 'poNumber',
isForm:true,
isTableForm:false,
},
{
label: '计划到货时间',
field: 'planArriveTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 180
},
isTable:false,
form: {
component: 'DatePicker',
componentProps: {
style: { width: '100%' },
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}, },
}, },
{ {
label: '联系人电子邮件', label: '发货联系人姓名',
field: 'contactEmail', field: 'contactName',
sort: 'custom', sort: 'custom',
isTable:false, isTable:false,
table: { table: {
@ -145,20 +177,38 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '供应商发货仓库代码', label: '发货联系人电话',
field: 'fromWarehouseCode', field: 'contactPhone',
sort: 'custom', sort: 'custom',
isTable:false, isTable:false,
table: { table: {
width: 150 width: 150
}, },
form: {
componentProps: {
disbaled: true
}
},
isForm: true
}, },
// {
// label: '联系人电子邮件',
// field: 'contactEmail',
// sort: 'custom',
// isTable:false,
// table: {
// width: 150
// },
// },
// {
// label: '供应商发货仓库代码',
// field: 'fromWarehouseCode',
// sort: 'custom',
// isTable:false,
// table: {
// width: 150
// },
// form: {
// componentProps: {
// disbaled: true
// }
// },
// isForm: true
// },
{ {
label: '到仓库代码', label: '到仓库代码',
field: 'toWarehouseCode', field: 'toWarehouseCode',
@ -189,29 +239,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
}, },
isForm: false isForm: false
}, },
{
label: '计划到货时间',
field: 'planArriveTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isTable:false,
form: {
disabled:true,
component: 'DatePicker',
componentProps: {
style: { width: '100%' },
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{ {
label: '承运商', label: '承运商',
field: 'carrierCode', field: 'carrierCode',

Loading…
Cancel
Save