|
@ -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' |
|
|
import * as getRequestsettingApi from '@/api/wms/requestsetting/index' |
|
|
import * as getRequestsettingApi from '@/api/wms/requestsetting/index' |
|
|
|
|
|
|
|
|
import * as BalanceApi from '@/api/wms/balance' |
|
|
import * as BalanceApi from '@/api/wms/balance' |
|
@ -396,14 +396,18 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '批次', |
|
|
label: '生产日期', |
|
|
field: 'fromBatch', |
|
|
field: 'produceDate', |
|
|
|
|
|
formatter: dateFormatter2, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD' |
|
|
|
|
|
}, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
sortTableDefault:7, |
|
|
disabled: false, |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
style: {width: '100%'}, |
|
|
style: {width: '100%'}, |
|
@ -412,17 +416,25 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
valueFormat: 'x', |
|
|
valueFormat: 'x', |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'FormDate', |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD', |
|
|
|
|
|
valueFormat: 'x', |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '批次', |
|
|
|
|
|
field: 'fromBatch', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
disabled: true, |
|
|
|
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
disabled: false |
|
|
disabled: true |
|
|
, |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
style: {width: '100%'}, |
|
|
|
|
|
type: 'date', |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD', |
|
|
|
|
|
valueFormat: 'x', |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|