|
@ -681,6 +681,86 @@ export const UnplannedreceiptRequestMainRules = reactive({ |
|
|
], |
|
|
], |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
export const ItembasicShow = useCrudSchemas( |
|
|
|
|
|
reactive<CrudSchema[]>([ |
|
|
|
|
|
{ |
|
|
|
|
|
label: '品番', |
|
|
|
|
|
field: 'code', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
table: { |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
label: '品名', |
|
|
|
|
|
field: 'name', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
table: { |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '描述1', |
|
|
|
|
|
field: 'desc1', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
} , |
|
|
|
|
|
// isTableForm:false
|
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '描述2', |
|
|
|
|
|
field: 'desc2', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
} , |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '物料状态', |
|
|
|
|
|
field: 'status', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
dictType: DICT_TYPE.ITEM_STATUS, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
table: { |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '计量单位', |
|
|
|
|
|
field: 'uom', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
dictType: DICT_TYPE.UOM, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
table: { |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '种类', |
|
|
|
|
|
field: 'category', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
dictType: DICT_TYPE.ITEM_CATEGORY, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isDetail:false, |
|
|
|
|
|
table: { |
|
|
|
|
|
} , |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '类型', |
|
|
|
|
|
field: 'type', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
dictType: DICT_TYPE.ITEM_TYPE, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
table: { |
|
|
|
|
|
} , |
|
|
|
|
|
}, |
|
|
|
|
|
]) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @returns {Array} 计划外入库申请子表 |
|
|
* @returns {Array} 计划外入库申请子表 |
|
|
*/ |
|
|
*/ |
|
@ -713,7 +793,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[ |
|
|
searchListPlaceholder: '请选择物料代码',// 输入框占位文本
|
|
|
searchListPlaceholder: '请选择物料代码',// 输入框占位文本
|
|
|
searchField: 'code',// 查询弹窗赋值字段
|
|
|
searchField: 'code',// 查询弹窗赋值字段
|
|
|
searchTitle: '物料基础信息', |
|
|
searchTitle: '物料基础信息', |
|
|
searchAllSchemas: Itembasic.allSchemas, |
|
|
searchAllSchemas: ItembasicShow.allSchemas, |
|
|
searchPage: ItembasicApi.getItembasicPage, |
|
|
searchPage: ItembasicApi.getItembasicPage, |
|
|
searchCondition: [{ |
|
|
searchCondition: [{ |
|
|
key: 'available', |
|
|
key: 'available', |
|
|