| | |
| | | <!-- :title="title" --> |
| | | <a-spin :spinning="confirmLoading"> |
| | | <a-form :form="form"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-size: 15px;float: right;" |
| | | >{{this.model.receiptsNum2}}</span> |
| | | <a-divider |
| | | orientation="center" |
| | | style="font-size: large;font-style: normal;font-size: 30px;color: #66aeed;" |
| | | > 生产设备精度检验单 </a-divider> |
| | | > {{this.model.receiptsName2}} </a-divider> |
| | | <!-- 生产设备精度检验单 --> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-item |
| | |
| | | add: "/eam/precisionInspection/precisionInspection", |
| | | getPrecisionInspection: "/eam/precisionInspection/getPrecisionInspectionList", |
| | | list: "/eam/dailyMaintenanceOrder/getMaintenanceCycleByStandardId", |
| | | getSysFileName: "/eam/sysFileName/getSysFileName", |
| | | }, |
| | | |
| | | } |
| | |
| | | |
| | | edit(record) { |
| | | let that = this; |
| | | |
| | | if (record.receipts2 == "" || record.receipts2 == null) { |
| | | this.getSysFileName() |
| | | } |
| | | this.form.resetFields(); |
| | | // record.eachTolerance = '0' |
| | | // record.partTolerance = '0' |
| | |
| | | getAction(this.url.getPrecisionInspection, { maintenanceOrderId: this.model.id }).then((res) => { |
| | | if (res.success) { |
| | | this.dataSource = res.result[0].precisionInspectionDetails |
| | | this.model = Object.assign({}, res.result[0]); |
| | | debugger |
| | | this.model = Object.assign(this.model, res.result[0]); |
| | | } |
| | | }) |
| | | }, |
| | |
| | | } |
| | | }, |
| | | |
| | | getSysFileName() { |
| | | getAction(this.url.getSysFileName, { name: '16' }).then((res) => { |
| | | if (res.success) { |
| | | this.model = Object.assign(this.model, res.result[0]); |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | }, |
| | | } |
| | | </script> |