From 1177e0550f0e80e759664d98d83b2bcef5a6acc0 Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期一, 25 十二月 2023 17:24:09 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before --- src/views/plan/productionschedul/index.vue | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/views/plan/productionschedul/index.vue b/src/views/plan/productionschedul/index.vue index ecf9c7a..ea93866 100644 --- a/src/views/plan/productionschedul/index.vue +++ b/src/views/plan/productionschedul/index.vue @@ -185,6 +185,7 @@ fillTime, deleteSchedul, updateState, + checkTimeLines, } from '@/api//plan/productionschedul' import ttable from '@/views/common/ztt-table.vue' import { mapGetters } from 'vuex' @@ -547,8 +548,18 @@ 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 -- Gitblit v1.9.3