| | |
| | | cancelText="关闭" |
| | | @cancel="handleCancel" |
| | | :confirmLoading="confirmLoading" |
| | | title="附录4" |
| | | > |
| | | <!-- :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 |
| | |
| | | </div> |
| | | </template> |
| | | </a-table> |
| | | <!-- <div :style="{height: '140px',width: '100%',border: '1px solid #e9e9e9',padding: '10px 16px',background: '#fff',}"> |
| | | <a-row :gutter="24"> |
| | | <div :style="{height: '140px',width: '100%',border: '1px solid #e9e9e9',padding: '10px 16px',background: '#fff',}"> |
| | | <!-- <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-item |
| | | :labelCol="labelCol" |
| | |
| | | > |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-row> --> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="24"> |
| | | <a-form-item |
| | | :labelCol="{span:3}" |
| | | :wrapperCol="{span:21}" |
| | | label="备注" |
| | | label="验收未通过原因" |
| | | > |
| | | <a-textarea |
| | | allow-clear |
| | | :rows='5' |
| | | :disabled="disableSubmit" |
| | | :placeholder="disableSubmit?'':'请输入备注'" |
| | | v-decorator="['remark', {}]" |
| | | :placeholder="disableSubmit?'':'请输入验收未通过原因'" |
| | | v-decorator="['notPassReason', {}]" |
| | | /> |
| | | |
| | | |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | </div> --> |
| | | </div> |
| | | </a-form> |
| | | </a-spin> |
| | | |
| | |
| | | add: "/eam/maintenanceThreeAcceptance/add", |
| | | getMaintenance3Receipt: "/eam/maintenanceThreeAcceptance/getMaintenanceThreeAcceptanceList", |
| | | list: "/eam/dailyMaintenanceOrder/getMaintenanceCycleByStandardId", |
| | | getSysFileName: "/eam/sysFileName/getSysFileName", |
| | | }, |
| | | } |
| | | }, |
| | |
| | | |
| | | edit(record) { |
| | | let that = this; |
| | | debugger |
| | | if (record.receipts == "" || record.receipts == null) { |
| | | this.getSysFileName() |
| | | } |
| | | this.form.resetFields(); |
| | | this.model = Object.assign({}, record); |
| | | this.visible = true; |
| | | this.getMaintenance3Receipt() |
| | | that.$nextTick(() => { |
| | | // that.form.setFieldsValue(pick(that.model, 'num', 'teamId', 'remark')); |
| | | that.form.setFieldsValue(pick(that.model, 'notPassReason')); |
| | | }); |
| | | |
| | | }, |
| | |
| | | } |
| | | }, |
| | | |
| | | getSysFileName() { |
| | | getAction(this.url.getSysFileName, { name: '19' }).then((res) => { |
| | | if (res.success) { |
| | | this.model = Object.assign(this.model, res.result[0]); |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | }, |
| | | } |
| | | </script> |