diff --git a/src/views/keyprojects/outsourced/components/edit.vue b/src/views/keyprojects/outsourced/components/edit.vue index 2fdf10c..eafb1a6 100644 --- a/src/views/keyprojects/outsourced/components/edit.vue +++ b/src/views/keyprojects/outsourced/components/edit.vue @@ -801,6 +801,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 diff --git a/src/views/risk/corpinfo/components/point.vue b/src/views/risk/corpinfo/components/point.vue index 148fe39..79554ae 100644 --- a/src/views/risk/corpinfo/components/point.vue +++ b/src/views/risk/corpinfo/components/point.vue @@ -67,7 +67,7 @@ - +