|
@ -141,19 +141,20 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isForm: false |
|
|
isForm: false, |
|
|
|
|
|
isTable:false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从库区类型范围', |
|
|
label: '从库区类型范围', |
|
|
field: 'fromAreaTypes', |
|
|
field: 'fromAreaTypes', |
|
|
dictType: DICT_TYPE.AREA_TYPE, |
|
|
dictType: DICT_TYPE.AREA_TYPE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable: false, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isForm: false |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从库区代码范围', |
|
|
label: '从库区代码范围', |
|
@ -162,7 +163,8 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isForm: false |
|
|
isForm: false, |
|
|
|
|
|
isTable: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '业务类型', |
|
|
label: '业务类型', |
|
@ -177,7 +179,8 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
disabled: true |
|
|
disabled: true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
isForm: false |
|
|
isForm: false, |
|
|
|
|
|
isTable:false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '备注', |
|
|
label: '备注', |
|
@ -208,6 +211,7 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
valueFormat: 'x', |
|
|
valueFormat: 'x', |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -217,6 +221,7 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -269,6 +274,7 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
isForm:false, |
|
|
isForm:false, |
|
|
formatter: (_: Recordable, __: TableColumn, cellValue: number) => { |
|
|
formatter: (_: Recordable, __: TableColumn, cellValue: number) => { |
|
|
return userDeptArray.find((account) => account.id == cellValue)?.name |
|
|
return userDeptArray.find((account) => account.id == cellValue)?.name |
|
@ -325,6 +331,7 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
valueFormat: 'x', |
|
|
valueFormat: 'x', |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
isForm: false |
|
|
isForm: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -334,6 +341,7 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
isForm: false |
|
|
isForm: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -341,7 +349,7 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
field: 'autoCommit', |
|
|
field: 'autoCommit', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable: false, |
|
|
isForm:false, |
|
|
isForm:false, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
@ -362,7 +370,7 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
field: 'autoAgree', |
|
|
field: 'autoAgree', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable: false, |
|
|
isForm:false, |
|
|
isForm:false, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
@ -383,7 +391,7 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
field: 'autoExecute', |
|
|
field: 'autoExecute', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable: false, |
|
|
isForm:false, |
|
|
isForm:false, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
@ -782,6 +790,7 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable:false, |
|
|
isTableForm: false, |
|
|
isTableForm: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
@ -790,11 +799,11 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema |
|
|
field: 'packUnit', |
|
|
field: 'packUnit', |
|
|
// dictType: DICT_TYPE.PACK_UNIT,
|
|
|
// dictType: DICT_TYPE.PACK_UNIT,
|
|
|
// dictClass: 'string',
|
|
|
// dictClass: 'string',
|
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable:false, |
|
|
isTableForm: false, |
|
|
isTableForm: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
@ -805,6 +814,7 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable:false, |
|
|
isTableForm: false, |
|
|
isTableForm: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
@ -815,6 +825,7 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
|
|
|
hiddenInMain:true, |
|
|
isTableForm: false, |
|
|
isTableForm: false, |
|
|
form: { |
|
|
form: { |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -888,6 +899,7 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema |
|
|
label: '备注', |
|
|
label: '备注', |
|
|
field: 'remark', |
|
|
field: 'remark', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
sortTableDefault:1002, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -895,6 +907,7 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema |
|
|
{ |
|
|
{ |
|
|
label: '创建时间', |
|
|
label: '创建时间', |
|
|
field: 'createTime', |
|
|
field: 'createTime', |
|
|
|
|
|
sortTableDefault:1000, |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
detail: { |
|
|
detail: { |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
@ -919,6 +932,7 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema |
|
|
label: '创建者', |
|
|
label: '创建者', |
|
|
field: 'creator', |
|
|
field: 'creator', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
sortTableDefault:1001, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -929,6 +943,7 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema |
|
|
label: '最后更新时间', |
|
|
label: '最后更新时间', |
|
|
field: 'updateTime', |
|
|
field: 'updateTime', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
|
|
|
isTable:false, |
|
|
detail: { |
|
|
detail: { |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
}, |
|
|
}, |
|
@ -952,6 +967,7 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema |
|
|
label: '最后更新者', |
|
|
label: '最后更新者', |
|
|
field: 'updater', |
|
|
field: 'updater', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
isTable:false, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -1014,6 +1030,7 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema |
|
|
width: 150, |
|
|
width: 150, |
|
|
fixed: 'right' |
|
|
fixed: 'right' |
|
|
}, |
|
|
}, |
|
|
|
|
|
hiddenInMain:true, |
|
|
isTableForm:true, |
|
|
isTableForm:true, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
type: 'action', |
|
|
type: 'action', |
|
|