| | |
| | | @cancel="handleCancel" |
| | | :confirmLoading="confirmLoading" |
| | | > |
| | | <!-- :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.receiptsNum}}</span> |
| | | <a-divider |
| | | orientation="center" |
| | | style="font-size: large;font-style: normal;font-size: 30px;color: #66aeed;" |
| | | > 生产设备二级保养完工移交单 </a-divider> |
| | | > {{this.model.receiptsName}} </a-divider> |
| | | <!-- 生产设备二级保养完工移交单 --> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-item |
| | |
| | | codeDisable: true, |
| | | dataSource: [], |
| | | model: {}, |
| | | departs: [], |
| | | // departs: [], |
| | | labelCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 6 }, |
| | |
| | | }, |
| | | }, |
| | | url: { |
| | | add: "/eam/dailyMaintenanceOrder/add", |
| | | // add: "/eam/dailyMaintenanceOrder/add", |
| | | edit: "/eam/dailyMaintenanceOrder/approve", |
| | | getSysDeparts: "/eam/dailyMaintenanceOrder/getSysDeparts", |
| | | getSysFileName: "/eam/sysFileName/getSysFileName", |
| | | list: "/eam/dailyMaintenanceOrder/getMaintenanceCycleByStandardId", |
| | | }, |
| | | |
| | |
| | | |
| | | edit(record) { |
| | | let that = this; |
| | | this.getSysDeparts() |
| | | if (record.receipts == "" || record.receipts == null) { |
| | | this.getSysFileName() |
| | | } |
| | | this.form.resetFields(); |
| | | this.model = Object.assign({}, record); |
| | | this.visible = true; |
| | |
| | | }, |
| | | |
| | | |
| | | getSysDeparts() { |
| | | getAction(this.url.getSysDeparts).then((res) => { |
| | | getSysFileName() { |
| | | getAction(this.url.getSysFileName, { name: '15' }).then((res) => { |
| | | if (res.success) { |
| | | this.departs = res.result |
| | | this.model = Object.assign(this.model, res.result[0]); |
| | | } |
| | | }) |
| | | }, |