| | |
| | | </div> |
| | | </a-tab-pane> |
| | | |
| | | <a-tab-pane |
| | | <!-- <a-tab-pane |
| | | tab='计划用料' |
| | | key="2" |
| | | > |
| | |
| | | :equipmentId="this.model.equipmentId" |
| | | ></actual-material-edit-table> |
| | | </div> |
| | | </a-tab-pane> |
| | | </a-tab-pane>--> |
| | | <a-tab-pane |
| | | tab='实际工时' |
| | | key="6" |
| | |
| | | :equipmentId="this.model.equipmentId" |
| | | :teamId="this.model.teamId" |
| | | ></actual-work-hours-edit-table> |
| | | </div> |
| | | </a-tab-pane> |
| | | <a-tab-pane |
| | | tab='炉类报告' |
| | | key="7" |
| | | > |
| | | <div |
| | | class="table-operator" |
| | | style="margin:-16px" |
| | | > |
| | | <stove-category-report-list :maintenanceStandardId='this.model.id' /> |
| | | </div> |
| | | </a-tab-pane> |
| | | </a-tabs> |
| | |
| | | import MaintenanceStandardWorkInstruction from '../dailyMaintenanceOrder/MaintenanceStandardWorkInstruction' |
| | | import ActualMaterialEditTable from '../dailyMaintenanceOrder/ActualMaterialEditTable.vue' |
| | | import ActualWorkHoursEditTable from '../dailyMaintenanceOrder/ActualWorkHoursEditTable.vue' |
| | | import StoveCategoryReportList from './StoveCategoryReportList.vue' |
| | | |
| | | export default { |
| | | name: 'DailyMaintenanceOrderExeDrawer', |
| | |
| | | MaintenanceStandardSafetyRequirement, |
| | | MaintenanceStandardWorkInstruction, |
| | | ActualMaterialEditTable, |
| | | ActualWorkHoursEditTable |
| | | ActualWorkHoursEditTable, |
| | | StoveCategoryReportList |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | revocationDistable: false, |
| | | currentNodeSelect: '', |
| | | maintenanceStandardId: '-1', |
| | | maintenanceOrderId: '-1', |
| | | loading: false, |
| | | dataSource: [], |
| | | model: {}, |
| | |
| | | wrapperCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 18 }, |
| | | }, |
| | | /* 分页参数 */ |
| | | ipagination: { |
| | | current: 1, |
| | | pageSize: 99, |
| | | pageSizeOptions: ['99'], |
| | | showTotal: (total, range) => { |
| | | return range[0] + "-" + range[1] + " 共" + total + "条" |
| | | }, |
| | | showQuickJumper: true, |
| | | showSizeChanger: true, |
| | | total: 0 |
| | | }, |
| | | validatorRules: { |
| | | // description: { |
| | |
| | | handleShow(record) { |
| | | this.model = Object.assign({}, record); |
| | | this.maintenanceStandardId = record.maintenanceStandardId |
| | | this.maintenanceOrderId = record.id |
| | | this.dataSource = [] |
| | | this.visible = true; |
| | | this.queryParam.dailyMaintenanceOrderId = record.id |
| | |
| | | // } |
| | | //update-begin---author:zhangyafei Date:20201118 for:适配不分页的数据列表------------ |
| | | this.dataSource = res.result.records || res.result; |
| | | if (res.result.total) { |
| | | this.ipagination.total = res.result.total; |
| | | } else { |
| | | this.ipagination.total = 0; |
| | | } |
| | | // if (res.result.total) { |
| | | // this.ipagination.total = res.result.total; |
| | | // } else { |
| | | // this.ipagination.total = 0; |
| | | // } |
| | | //update-end---author:zhangyafei Date:20201118 for:适配不分页的数据列表------------ |
| | | } else { |
| | | this.$message.warning(res.message) |
| | |
| | | return "background-color:rgba(127, 127, 127,0.08)"; |
| | | }, |
| | | handleCancel() { |
| | | debugger |
| | | this.maintenanceOrderId = '-1' |
| | | this.$emit('ok'); |
| | | this.alterFlag = new Date(); |
| | | this.close() |