| | |
| | | hidden |
| | | :gutter="24" |
| | | > |
| | | |
| | | <a-col :span="12"> |
| | | <a-form-item |
| | | label="有效时长" |
| | |
| | | @click="handleOk()" |
| | | type="primary" |
| | | :loading="confirmLoading" |
| | | :disabled="disableSubmit || confirmLoading" |
| | | >确定</a-button> |
| | | </template> |
| | | |
| | |
| | | getInspectionCycles: "/eam/inspectionOrder/getInspectionCycles", |
| | | getInspectionProjectId: "/eam/inspectionOrder/getInspectionProjectId", |
| | | // getEquipmentIdById: "/eam/equipment/list", |
| | | getNum: '/eam/sysIdentity/getNumNew' |
| | | }, |
| | | |
| | | dataSource: [], |
| | |
| | | methods: { |
| | | add() { |
| | | this.edit({ startWorkCondition: "1", inspectionOrderDetails: [] }) |
| | | this.getSeq() |
| | | }, |
| | | |
| | | edit(record) { |
| | |
| | | }) |
| | | }, |
| | | |
| | | |
| | | getSeq() { |
| | | getAction(this.url.getNum, { type: 'DailylnspectionOrder', length: 4 }).then(res => { |
| | | if (res.success) { |
| | | this.form.setFieldsValue({ "num": res.result }) |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | // getEquipmentIdById(equipmentId) { |
| | | // if (equipmentId != null && equipmentId != "") { |
| | | // getAction(this.url.getEquipmentIdById, { id: equipmentId }).then((res) => { |