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