| | |
| | | fillTime, |
| | | deleteSchedul, |
| | | updateState, |
| | | checkTimeLines, |
| | | } from '@/api//plan/productionschedul' |
| | | import ttable from '@/views/common/ztt-table.vue' |
| | | import { mapGetters } from 'vuex' |
| | |
| | | this.$message.error("请至少选择一条数据") |
| | | return |
| | | } |
| | | this.scheduleEditList = JSON.parse(JSON.stringify(this.scheduleList)) |
| | | this.dialogVisible = true |
| | | let mIds = this.multipleSelection.map(ele=>{ |
| | | return ele.mid |
| | | }) |
| | | checkTimeLines(mIds).then(res=>{ |
| | | console.log(res); |
| | | if(res.data.code===200){ |
| | | this.scheduleEditList = JSON.parse(JSON.stringify(this.scheduleList)) |
| | | this.dialogVisible = true |
| | | } |
| | | }).catch(error=>{ |
| | | console.error(error); |
| | | }) |
| | | }, |
| | | confirmEditSchedul(){ |
| | | let data = this.scheduleEditList |