但部门check
parent
b276638aa8
commit
937396645f
|
@ -797,6 +797,21 @@ export default {
|
|||
// 保存
|
||||
confirm() {
|
||||
for (let i = 0; i < this.inspectorList.length; i++) {
|
||||
requestFN(
|
||||
'/outsourced/checkDepartment',
|
||||
{
|
||||
departmentId: this.form.JURISDICTION_UNIT
|
||||
}
|
||||
).then((data) => {
|
||||
if (data.data.errInfo === 'fail') {
|
||||
this.$message({
|
||||
message: '勿选其他公司部门!',
|
||||
type: 'error'
|
||||
})
|
||||
}
|
||||
resolve(true)
|
||||
}).catch((e) => {
|
||||
});
|
||||
if (this.inspectorList[i].INSPECTION_USER_ID == '') {
|
||||
this.$message.warning('第' + (i + 1) + '行必须添加处罚人')
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue