feat(wms): 新增批量质检任务功能并调整质检主界面列显示

- 在入库打印模块新增批量发起质检任务API接口
- 添加createInspection方法用于批量创建质检任务
- 修改质检主界面默认隐藏车间、检测人员、班次、班组、供应商名称列
- 调整列配置以优化界面显示效果
master
zangch@mesnac.com 3 weeks ago
parent 3d4e7bb0c8
commit 5124dd7d8b

@ -73,3 +73,16 @@ export const printInstockPrint = (data: Array<InstockPrintVO>) => {
data: data
});
};
/**
*
* @param data
* @returns Map<, >
*/
export const createInspection = (data: InstockPrintForm[]): AxiosPromise<Record<string, string>> => {
return request({
url: '/wms/instockPrint/createInspection',
method: 'post',
data: data
});
};

@ -671,18 +671,18 @@ const columns = ref<FieldOption[]>([
{ key: 8, label: `合格数`, visible: true },
{ key: 9, label: `不合格数`, visible: true },
{ key: 10, label: `质检结果`, visible: true },
{ key: 11, label: `车间`, visible: true },
{ key: 11, label: `车间`, visible: false },
{ key: 12, label: `检测类型`, visible: true },
{ key: 13, label: `单据状态`, visible: true },
{ key: 14, label: `检测人员`, visible: true },
{ key: 15, label: `班次`, visible: true },
{ key: 16, label: `班组`, visible: true },
{ key: 14, label: `检测人员`, visible: false },
{ key: 15, label: `班次`, visible: false },
{ key: 16, label: `班组`, visible: false },
{ key: 17, label: `检验开始时间`, visible: true },
{ key: 18, label: `检验结束时间`, visible: true },
{ key: 19, label: `业务来源单号`, visible: true },
{ key: 20, label: `批次号`, visible: true },
{ key: 21, label: `条码号`, visible: true },
{ key: 22, label: `供应商名称`, visible: true },
{ key: 22, label: `供应商名称`, visible: false },
{ key: 23, label: `备注`, visible: true },
]);

Loading…
Cancel
Save