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, // isTable: false,
// }, // },
{ // {
label: '到货日期', // label: '到货日期',
field: 'arriveDate', // field: 'arriveDate',
isTable: true, // isTable: true,
formatter: dateFormatter2, // formatter: dateFormatter2,
detail: { // detail: {
dateFormat: 'YYYY-MM-DD' // dateFormat: 'YYYY-MM-DD'
}, // },
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'DatePicker', // component: 'DatePicker',
componentProps: { // componentProps: {
style: { width: '100%' }, // style: { width: '100%' },
type: 'date', // type: 'date',
dateFormat: 'YYYY-MM-DD', // dateFormat: 'YYYY-MM-DD',
valueFormat: 'x' // valueFormat: 'x'
} // }
} // }
}, // },
{ {
label: '生产日期', label: '生产日期',
field: 'produceDate', field: 'produceDate',

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

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

Loading…
Cancel
Save