|
@ -47,33 +47,27 @@ export const RepleinshRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从仓库代码', |
|
|
label: '状态', |
|
|
field: 'fromWarehouseCode', |
|
|
field: 'status', |
|
|
|
|
|
dictType: DICT_TYPE.REQUEST_STATUS, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isTable: true, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
value: '1', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
disabled: true |
|
|
searchListPlaceholder: '请选择仓库代码', // 输入框占位文本
|
|
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '仓库信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Warehouse.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: WarehouseApi.getWarehousePage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从库区类型范围', |
|
|
label: '从库区类型范围', |
|
|
field: 'fromAreaTypes', |
|
|
field: 'fromAreaTypes', |
|
|
dictType: DICT_TYPE.LOCATION_TYPE, |
|
|
dictType: DICT_TYPE.AREA_TYPE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
@ -83,32 +77,10 @@ export const RepleinshRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
label: '从库区代码范围', |
|
|
|
|
|
field: 'fromAreaCodes', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '到仓库代码', |
|
|
|
|
|
field: 'toWarehouseCode', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '到库区类型范围', |
|
|
label: '到库区类型范围', |
|
|
field: 'toAreaTypes', |
|
|
field: 'toAreaTypes', |
|
|
dictType: DICT_TYPE.LOCATION_TYPE, |
|
|
dictType: DICT_TYPE.AREA_TYPE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
@ -118,62 +90,17 @@ export const RepleinshRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到库区代码范围', |
|
|
label: '从库区代码范围', |
|
|
field: 'toAreaCodes', |
|
|
field: 'fromAreaCodes', |
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '业务类型', |
|
|
|
|
|
field: 'businessType', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
value: 'Repleinment', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '备注', |
|
|
|
|
|
field: 'remark', |
|
|
|
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '创建时间', |
|
|
|
|
|
field: 'createTime', |
|
|
|
|
|
formatter: dateFormatter, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 180 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
type: 'datetime', |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
|
|
valueFormat: 'x', |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '创建者', |
|
|
label: '到库区代码范围', |
|
|
field: 'creator', |
|
|
field: 'toAreaCodes', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
@ -247,53 +174,65 @@ export const RepleinshRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '状态', |
|
|
label: '业务类型', |
|
|
field: 'status', |
|
|
field: 'businessType', |
|
|
dictType: DICT_TYPE.REQUEST_STATUS, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
value: '1', |
|
|
value: 'Repleinment', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
disabled: true |
|
|
disabled: true |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '最后更新时间', |
|
|
label: '备注', |
|
|
field: 'updateTime', |
|
|
field: 'remark', |
|
|
formatter: dateFormatter, |
|
|
sort: 'custom', |
|
|
detail: { |
|
|
table: { |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '从仓库代码', |
|
|
|
|
|
field: 'fromWarehouseCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
style: { width:'100%'}, |
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
type: 'datetime', |
|
|
searchListPlaceholder: '请选择仓库代码', // 输入框占位文本
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
valueFormat: 'x', |
|
|
searchTitle: '仓库信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Warehouse.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: WarehouseApi.getWarehousePage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}] |
|
|
} |
|
|
} |
|
|
}, |
|
|
} |
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '最后更新者', |
|
|
label: '到仓库代码', |
|
|
field: 'updater', |
|
|
field: 'toWarehouseCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isForm: false, |
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '自动提交', |
|
|
label: '自动提交', |
|
@ -375,6 +314,67 @@ export const RepleinshRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '创建时间', |
|
|
|
|
|
field: 'createTime', |
|
|
|
|
|
formatter: dateFormatter, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 180 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
type: 'datetime', |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
|
|
valueFormat: 'x', |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '创建者', |
|
|
|
|
|
field: 'creator', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '最后更新时间', |
|
|
|
|
|
field: 'updateTime', |
|
|
|
|
|
formatter: dateFormatter, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 180 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
style: { width:'100%'}, |
|
|
|
|
|
type: 'datetime', |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
|
|
valueFormat: 'x', |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '最后更新者', |
|
|
|
|
|
field: 'updater', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '操作', |
|
|
label: '操作', |
|
|
field: 'action', |
|
|
field: 'action', |
|
|