| | |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <!-- <a-col :span="12"> |
| | | <a-form-item |
| | | label="开工条件" |
| | | :labelCol="labelCol" |
| | |
| | | @change="handle2Switch(model.startWorkCondition)" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-col> --> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | |
| | | { |
| | | title: '点检项目', |
| | | align: 'center', |
| | | dataIndex: 'inspectionProjectNum' |
| | | dataIndex: 'inspectionProjectName' |
| | | }, |
| | | { |
| | | title: '检测标准', |
| | | align: 'center', |
| | | dataIndex: 'detectionStandard' |
| | | }, |
| | | { |
| | | title: '合格范围', |
| | | align: 'center', |
| | | dataIndex: 'acceptabilityLimit' |
| | | }, |
| | | { |
| | | title: '方法', |
| | | align: 'center', |
| | | dataIndex: 'inspectionMethodName' |
| | | }, |
| | | { |
| | | title: '工具', |
| | | align: 'center', |
| | | dataIndex: 'inspectionTool' |
| | | }, |
| | | // { |
| | | // title: '合格范围', |
| | | // align: 'center', |
| | | // dataIndex: 'acceptabilityLimit' |
| | | // }, |
| | | // { |
| | | // title: '方法', |
| | | // align: 'center', |
| | | // dataIndex: 'inspectionMethodName' |
| | | // }, |
| | | // { |
| | | // title: '工具', |
| | | // align: 'center', |
| | | // dataIndex: 'inspectionTool' |
| | | // }, |
| | | { |
| | | title: '示意图', |
| | | align: "center", |
| | |
| | | validatorRules: { |
| | | num: { |
| | | rules: [ |
| | | { required: true, message: '请输入设备编码!' }, |
| | | { required: true, message: '请输入统一编码!' }, |
| | | ] |
| | | }, |
| | | equipmentId: { |
| | |
| | | |
| | | methods: { |
| | | add() { |
| | | this.edit({ startWorkCondition: "1", inspectionOrderDetails: [] }) |
| | | this.edit({ inspectionOrderDetails: [] }) |
| | | // this.edit({ startWorkCondition: "1", inspectionOrderDetails: [] }) |
| | | this.getSeq() |
| | | }, |
| | | |
| | |
| | | // } |
| | | // }, |
| | | |
| | | handle2Switch(startWorkCondition) { |
| | | if ('1' == startWorkCondition) { |
| | | this.model.startWorkCondition = '0' |
| | | } else { |
| | | this.model.startWorkCondition = '1' |
| | | } |
| | | }, |
| | | // handle2Switch(startWorkCondition) { |
| | | // if ('1' == startWorkCondition) { |
| | | // this.model.startWorkCondition = '0' |
| | | // } else { |
| | | // this.model.startWorkCondition = '1' |
| | | // } |
| | | // }, |
| | | |
| | | // handle2Change(val) { |
| | | // this.inspectionCycles = []; |