| | |
| | | } |
| | | }, |
| | | }, |
| | | rules: 'required', |
| | | dependencies: { |
| | | triggerFields: ['sourceDocId'], |
| | | componentProps: (values) => ({ |
| | |
| | | placeholder: '请选择出货日期', |
| | | valueFormat: 'YYYY-MM-DD', |
| | | }, |
| | | rules: 'required', |
| | | }, |
| | | { |
| | | fieldName: 'inspectDate', |
| | |
| | | component: 'Select', |
| | | componentProps: { |
| | | allowClear: true, |
| | | options: getDictOptions(DICT_TYPE.MES_QC_CHECK_RESULT, 'number'), |
| | | options: getDictOptions(DICT_TYPE.MES_OQC_CHECK_RESULT, 'number'), |
| | | placeholder: '请选择检测结果', |
| | | }, |
| | | rules: 'selectRequired', |
| | | }, |
| | | { |
| | | fieldName: 'remark', |
| | |
| | | component: 'Select', |
| | | componentProps: { |
| | | allowClear: true, |
| | | options: getDictOptions(DICT_TYPE.MES_QC_CHECK_RESULT, 'number'), |
| | | options: getDictOptions(DICT_TYPE.MES_OQC_CHECK_RESULT, 'number'), |
| | | placeholder: '请选择检测结果', |
| | | }, |
| | | }, |
| | |
| | | minWidth: 180, |
| | | }, |
| | | { |
| | | field: 'clientNickname', |
| | | title: '客户名称', |
| | | width: 120, |
| | | }, |
| | | { |
| | | field: 'batchCode', |
| | | title: '批次号', |
| | | width: 130, |
| | | }, |
| | | { |
| | | field: 'itemCode', |
| | | title: '产品物料编码', |
| | | width: 130, |
| | |
| | | width: 80, |
| | | }, |
| | | { |
| | | field: 'outQuantity', |
| | | title: '发货数量', |
| | | width: 100, |
| | | }, |
| | | { |
| | | field: 'checkQuantity', |
| | | title: '检测数量', |
| | | width: 100, |
| | |
| | | width: 110, |
| | | cellRender: { |
| | | name: 'CellDict', |
| | | props: { type: DICT_TYPE.MES_QC_CHECK_RESULT }, |
| | | props: { type: DICT_TYPE.MES_OQC_CHECK_RESULT }, |
| | | }, |
| | | }, |
| | | { |
| | | field: 'outDate', |
| | | title: '出货日期', |
| | | width: 120, |
| | | formatter: 'formatDate', |
| | | }, |
| | | { |
| | | field: 'inspectDate', |
| | |
| | | width: 100, |
| | | }, |
| | | { |
| | | field: 'auditNickname', |
| | | title: '复核人', |
| | | width: 100, |
| | | }, |
| | | { |
| | | field: 'approveNickname', |
| | | title: '审核人', |
| | | width: 100, |
| | | }, |
| | | { |
| | | field: 'status', |
| | | title: '单据状态', |
| | | width: 100, |
| | |
| | | }, |
| | | { |
| | | title: '操作', |
| | | width: 220, |
| | | width: 420, |
| | | fixed: 'right', |
| | | slots: { default: 'actions' }, |
| | | }, |