diff --git a/src/api/wms/instockPrint/index.ts b/src/api/wms/instockPrint/index.ts index a8cb11f..0bb3558 100644 --- a/src/api/wms/instockPrint/index.ts +++ b/src/api/wms/instockPrint/index.ts @@ -73,3 +73,16 @@ export const printInstockPrint = (data: Array) => { data: data }); }; + +/** + * 批量发起质检任务 + * @param data 选中的打印记录列表 + * @returns Map<批次号, 质检单号或错误信息> + */ +export const createInspection = (data: InstockPrintForm[]): AxiosPromise> => { + return request({ + url: '/wms/instockPrint/createInspection', + method: 'post', + data: data + }); +}; diff --git a/src/views/qms/QcInspectionMain/index.vue b/src/views/qms/QcInspectionMain/index.vue index acc9933..bb89a33 100644 --- a/src/views/qms/QcInspectionMain/index.vue +++ b/src/views/qms/QcInspectionMain/index.vue @@ -671,18 +671,18 @@ const columns = ref([ { 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 }, ]);