Commit 403f60cb authored by chenzj's avatar chenzj

补料和退料不能同事操作多个任务

parent 9dc392aa
......@@ -2936,6 +2936,10 @@ export default {
},
materialRequestShow() {
if(this.tableSelectData.length>1){
this.$u.toast("不允许同时操作多条数据");
return;
}
this.materialRequestVisible = true;
const taskInfo = this.tableSelectData[0];
this.curTaskInfo = this.tableSelectData[0];
......@@ -3012,6 +3016,10 @@ export default {
},
materialReturnShow() {
const t = this;
if(this.tableSelectData.length>1){
t.$u.toast("不允许同时操作多条数据");
return;
}
this.materialReturnVisible = true;
const taskInfo = this.tableSelectData[0];
this.curTaskInfo = this.tableSelectData[0];
......
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