| | |
| | | type="dashed" |
| | | icon="plus" |
| | | @click="addMaterial" |
| | | :disabled="mainId.status=='4'" |
| | | :disabled="mainId.status=='4' || mainId.status=='2'" |
| | | >添加实际用料</a-button> |
| | | <div :style="{width: '100%',border: '1px solid #e9e9e9',padding: '10px 16px',background: '#fff',}"> |
| | | <a-row :style="{textAlign:'right'}"> |
| | |
| | | import pick from 'lodash.pick' |
| | | import JEllipsis from '@/components/jeecg/JEllipsis' |
| | | import JSelectSparePartModal from './select/JSelectSparePartModal' |
| | | import RepairOrderActualMaterialReportModel from './RepairOrderActualMaterialReportModel.vue' |
| | | import RepairOrderActualMaterialReportModel from './RepairOrderActualMaterialReportModel.vue' |
| | | export default { |
| | | name: 'RepairOrderActualMaterialReport', |
| | | mixins: [JeecgListMixin], |
| | |
| | | loading: false, |
| | | dataSource: [], |
| | | columns: [ |
| | | { |
| | | title: '#', |
| | | dataIndex: '', |
| | | key: 'rowIndex', |
| | | width: 60, |
| | | align: "center", |
| | | customRender: function (t, r, index) { |
| | | return parseInt(index) + 1; |
| | | } |
| | | }, |
| | | { |
| | | title: '领料出库单', |
| | | dataIndex: 'num', |
| | |
| | | // this.queryParam['maintenanceOrderId'] = this.dailyMaintenanceOrderId; |
| | | // this.queryParam['equipmentId'] = this.equipmentId |
| | | // this.loadData(1); |
| | | console.log("77777777",this.mainId) |
| | | console.log("77777777", this.mainId) |
| | | }, |
| | | methods: { |
| | | addMaterial() { |