Commit 1038959c authored by “lixuyan”'s avatar “lixuyan”

主操作手的校验

parent ff5da86c
......@@ -232,6 +232,13 @@ export default {
this.$utils.showMessageWarning('请选择执行派工人员')
return
}
const hasData = user.find(el => {
return el.isMasterOperator === true
})
if (!hasData) {
this.$utils.showMessageWarning('请选择主操作手')
return
}
this.$confirm('您确认执行该操作吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
......
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