|
|
@ -1,5 +1,5 @@ |
|
|
|
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' |
|
|
|
import { dateFormatter } from '@/utils/formatTime' |
|
|
|
import { dateFormatter,dateFormatter2 } from '@/utils/formatTime' |
|
|
|
|
|
|
|
/** |
|
|
|
* @returns {Array} 库存修改记录主表 |
|
|
@ -95,9 +95,9 @@ export const InventorychangeRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
{ |
|
|
|
label: '生效日期', |
|
|
|
field: 'activeDate', |
|
|
|
formatter: dateFormatter, |
|
|
|
formatter: dateFormatter2, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
dateFormat: 'YYYY-MM-DD' |
|
|
|
}, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
@ -106,8 +106,9 @@ export const InventorychangeRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
style: {width:'100%'}, |
|
|
|
type: 'datetime', |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
dateFormat: 'YYYY-MM-DD', |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
@ -465,9 +466,9 @@ export const InventorychangeRecordDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
{ |
|
|
|
label: '从到货日期', |
|
|
|
field: 'fromArriveDate', |
|
|
|
formatter: dateFormatter, |
|
|
|
formatter: dateFormatter2, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
dateFormat: 'YYYY-MM-DD' |
|
|
|
}, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
@ -476,8 +477,9 @@ export const InventorychangeRecordDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
style: {width:'100%'}, |
|
|
|
type: 'datetime', |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
dateFormat: 'YYYY-MM-DD', |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
@ -485,9 +487,9 @@ export const InventorychangeRecordDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
{ |
|
|
|
label: '到到货日期', |
|
|
|
field: 'toArriveDate', |
|
|
|
formatter: dateFormatter, |
|
|
|
formatter: dateFormatter2, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
dateFormat: 'YYYY-MM-DD' |
|
|
|
}, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
@ -496,8 +498,9 @@ export const InventorychangeRecordDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
style: {width:'100%'}, |
|
|
|
type: 'datetime', |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
dateFormat: 'YYYY-MM-DD', |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
@ -505,9 +508,9 @@ export const InventorychangeRecordDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
{ |
|
|
|
label: '从生产日期', |
|
|
|
field: 'fromProduceDate', |
|
|
|
formatter: dateFormatter, |
|
|
|
formatter: dateFormatter2, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
dateFormat: 'YYYY-MM-DD' |
|
|
|
}, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
@ -516,8 +519,9 @@ export const InventorychangeRecordDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
style: {width:'100%'}, |
|
|
|
type: 'datetime', |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
dateFormat: 'YYYY-MM-DD', |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
@ -525,9 +529,9 @@ export const InventorychangeRecordDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
{ |
|
|
|
label: '到生产日期', |
|
|
|
field: 'toProduceDate', |
|
|
|
formatter: dateFormatter, |
|
|
|
formatter: dateFormatter2, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
dateFormat: 'YYYY-MM-DD' |
|
|
|
}, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
@ -536,8 +540,9 @@ export const InventorychangeRecordDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
style: {width:'100%'}, |
|
|
|
type: 'datetime', |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
dateFormat: 'YYYY-MM-DD', |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
@ -545,9 +550,9 @@ export const InventorychangeRecordDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
{ |
|
|
|
label: '从过期日期', |
|
|
|
field: 'fromExpireDate', |
|
|
|
formatter: dateFormatter, |
|
|
|
formatter: dateFormatter2, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
dateFormat: 'YYYY-MM-DD' |
|
|
|
}, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
@ -556,8 +561,9 @@ export const InventorychangeRecordDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
style: {width:'100%'}, |
|
|
|
type: 'datetime', |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
dateFormat: 'YYYY-MM-DD', |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
@ -565,9 +571,9 @@ export const InventorychangeRecordDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
{ |
|
|
|
label: '到过期日期', |
|
|
|
field: 'toExpireDate', |
|
|
|
formatter: dateFormatter, |
|
|
|
formatter: dateFormatter2, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
dateFormat: 'YYYY-MM-DD' |
|
|
|
}, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
@ -576,8 +582,9 @@ export const InventorychangeRecordDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
style: {width:'100%'}, |
|
|
|
type: 'datetime', |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
dateFormat: 'YYYY-MM-DD', |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
|