修正
This commit is contained in:
@@ -24,8 +24,8 @@
|
|||||||
<el-divider></el-divider>
|
<el-divider></el-divider>
|
||||||
<el-tabs type="border-card">
|
<el-tabs type="border-card">
|
||||||
<el-tab-pane label="已经排程" class="mytable">
|
<el-tab-pane label="已经排程" class="mytable">
|
||||||
<el-button type="primary" size="mini" v-if="disabled_d" @click="setJY">开启拖拽</el-button>
|
<el-button type="primary" size="mini" v-if="disabled_d" @click="setJY">重新排序</el-button>
|
||||||
<el-button type="success" size="mini" v-if="!disabled_d" @click="SaveDragAndDropResults">结束并保存拖拽结果</el-button>
|
<el-button type="success" size="mini" v-if="!disabled_d" @click="SaveDragAndDropResults">保存排序结果</el-button>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-striped table-hover" style="table-layout: fixed">
|
<table class="table table-striped table-hover" style="table-layout: fixed">
|
||||||
<thead>
|
<thead>
|
||||||
@@ -362,10 +362,10 @@ export default {
|
|||||||
},
|
},
|
||||||
//todo 处理拖拽事件
|
//todo 处理拖拽事件
|
||||||
onMove(e, event) {
|
onMove(e, event) {
|
||||||
if (e.draggedContext.element.isproduction == 1) {
|
if (e.draggedContext.element.wrokerorder_status >1) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if (e.relatedContext.element.isproduction == 1) return false
|
if (e.relatedContext.element.wrokerorder_status > 1) return false
|
||||||
return true
|
return true
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user