Commit 07ec32b7 authored by 康振飞's avatar 康振飞

任务列表bug处理

parent a0b117f8
......@@ -495,7 +495,7 @@ export default {
if (this.list[i].userIds.length < 1) {
this.$Message.error('有工序的人员未选!')
return
} else if (this.list[i].times.length < 1) {
} else if (this.list[i].times[0] == undefined) {
this.$Message.error('有工序的时间段未选!')
return
}
......@@ -510,8 +510,8 @@ export default {
.then((r) => {
this.disableFlag = true
this.$Message.success('派工成功!')
})
this.$router.push('/produce/scheduling')// 返回上一级
})
},
//多选处理--表格选择项变化方法
selectFunction(selection) {
......
......@@ -15,7 +15,8 @@
border class="tableCommon" :height="tbHeight"
ref="table" :columns="mColumn" :data="mDatas" >
<template slot-scope="{ row,index }" slot="status">
<state code="taskList.status" type="text" class="bold" :value="row.status"></state>
<state code="plan.order.status" type="text" class="bold" :value="row.status"></state>
<!-- taskList.status -->
</template>
</Table>
<!-- @on-row-click="(row,index)=>clickRow(row,index)" -->
......@@ -284,7 +285,7 @@ export default {
slot:"status",
filters:this.getArry(
this.$store.getters.dictionaryByKey(
'taskList.status'
'plan.order.status'//taskList.status
)
),
filterMultiple: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment