Browse Source

YT-2524《库存事务》《库存余额》隐藏 “到货日期” 字段

intex_online20250427
张立 4 days ago
parent
commit
ae4e10d037
  1. 44
      src/views/wms/inventoryManage/balance/balance.data.ts
  2. 44
      src/views/wms/inventoryManage/transaction/transaction.data.ts

44
src/views/wms/inventoryManage/balance/balance.data.ts

@ -235,28 +235,28 @@ export const Balance = useCrudSchemas(
// },
// isTable: false,
// },
{
label: '到货日期',
field: 'arriveDate',
isTable: true,
formatter: dateFormatter2,
detail: {
dateFormat: 'YYYY-MM-DD'
},
sort: 'custom',
table: {
width: 150
},
form: {
component: 'DatePicker',
componentProps: {
style: { width: '100%' },
type: 'date',
dateFormat: 'YYYY-MM-DD',
valueFormat: 'x'
}
}
},
// {
// label: '到货日期',
// field: 'arriveDate',
// isTable: true,
// formatter: dateFormatter2,
// detail: {
// dateFormat: 'YYYY-MM-DD'
// },
// sort: 'custom',
// table: {
// width: 150
// },
// form: {
// component: 'DatePicker',
// componentProps: {
// style: { width: '100%' },
// type: 'date',
// dateFormat: 'YYYY-MM-DD',
// valueFormat: 'x'
// }
// }
// },
{
label: '生产日期',
field: 'produceDate',

44
src/views/wms/inventoryManage/transaction/transaction.data.ts

@ -205,28 +205,28 @@ export const Transaction = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
{
label: '到货日期',
field: 'arriveDate',
isTable: true,
formatter: dateFormatter2,
detail: {
dateFormat: 'YYYY-MM-DD'
},
sort: 'custom',
table: {
width: 150
},
form: {
component: 'DatePicker',
componentProps: {
style: {width: '100%'},
type: 'date',
dateFormat: 'YYYY-MM-DD',
valueFormat: 'x',
}
},
},
// {
// label: '到货日期',
// field: 'arriveDate',
// isTable: true,
// formatter: dateFormatter2,
// detail: {
// dateFormat: 'YYYY-MM-DD'
// },
// sort: 'custom',
// table: {
// width: 150
// },
// form: {
// component: 'DatePicker',
// componentProps: {
// style: {width: '100%'},
// type: 'date',
// dateFormat: 'YYYY-MM-DD',
// valueFormat: 'x',
// }
// },
// },
{
label: '生产日期',
field: 'produceDate',

Loading…
Cancel
Save