| | |
| | | } |
| | | }, |
| | | }, |
| | | 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: '请选择检测结果', |
| | | }, |
| | | }, |
| | |
| | | width: 110, |
| | | cellRender: { |
| | | name: 'CellDict', |
| | | props: { type: DICT_TYPE.MES_QC_CHECK_RESULT }, |
| | | props: { type: DICT_TYPE.MES_OQC_CHECK_RESULT }, |
| | | }, |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | title: '操作', |
| | | width: 220, |
| | | width: 420, |
| | | fixed: 'right', |
| | | slots: { default: 'actions' }, |
| | | }, |