| | |
| | | rules: 'selectRequired', |
| | | }, |
| | | { |
| | | fieldName: 'samplingLocation', |
| | | label: '采样地点', |
| | | component: 'Input', |
| | | componentProps: { |
| | | maxlength: 100, |
| | | placeholder: '请输入采样地点', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'certificateNo', |
| | | label: '证书编号', |
| | | component: 'Input', |
| | | componentProps: { |
| | | maxlength: 50, |
| | | placeholder: '请输入证书编号', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'executeStandard', |
| | | label: '执行标准', |
| | | component: 'Input', |
| | | componentProps: { |
| | | maxlength: 50, |
| | | placeholder: '如 GB/T 6027,选择质检方案后自动带入', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'auditUserId', |
| | | label: '复核人', |
| | | component: 'ApiSelect', |
| | | componentProps: { |
| | | allowClear: true, |
| | | api: getSimpleUserList, |
| | | labelField: 'nickname', |
| | | placeholder: '请选择复核人', |
| | | valueField: 'id', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'approveUserId', |
| | | label: '审核人', |
| | | component: 'ApiSelect', |
| | | componentProps: { |
| | | allowClear: true, |
| | | api: getSimpleUserList, |
| | | labelField: 'nickname', |
| | | placeholder: '请选择审核人', |
| | | valueField: 'id', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'checkResult', |
| | | label: '检测结果', |
| | | component: 'Select', |
| | |
| | | minWidth: 180, |
| | | }, |
| | | { |
| | | field: 'sourceDocType', |
| | | title: '来源单据类型', |
| | | width: 120, |
| | | cellRender: { |
| | | name: 'CellDict', |
| | | props: { type: DICT_TYPE.MES_QC_SOURCE_DOC_TYPE }, |
| | | }, |
| | | }, |
| | | { |
| | | field: 'sourceDocCode', |
| | | title: '来源单据编码', |
| | | width: 160, |
| | | }, |
| | | { |
| | | field: 'itemCode', |
| | | title: '产品物料编码', |
| | | width: 130, |
| | |
| | | field: 'unitName', |
| | | title: '单位', |
| | | width: 80, |
| | | }, |
| | | { |
| | | field: 'batchCode', |
| | | title: '批次号', |
| | | width: 130, |
| | | }, |
| | | { |
| | | field: 'checkResult', |
| | |
| | | width: 100, |
| | | }, |
| | | { |
| | | field: 'auditNickname', |
| | | title: '复核人', |
| | | width: 100, |
| | | }, |
| | | { |
| | | field: 'approveNickname', |
| | | title: '审核人', |
| | | width: 100, |
| | | }, |
| | | { |
| | | field: 'status', |
| | | title: '单据状态', |
| | | width: 100, |
| | |
| | | }, |
| | | { |
| | | title: '操作', |
| | | width: 180, |
| | | width: 420, |
| | | fixed: 'right', |
| | | slots: { default: 'actions' }, |
| | | }, |