|
@@ -842,9 +842,24 @@
|
|
|
//根据签字注师1的人员id去查是否超过了100次
|
|
|
userService.getCount(this.inputForm.signatureAnnotator1).then((data) => {
|
|
|
if (data.accountantUserCount >= 100 && data.accountantUserFlag === 1) {
|
|
|
- this.$message.error(`请选择被选次数小于100次的签字注师人员`)
|
|
|
- this.loading = false
|
|
|
- throw new Error()
|
|
|
+ if(data.name === '王真' && data.accountantUserCount <= 120){
|
|
|
+
|
|
|
+ this.ReportNumberApplyService.reviewSave(this.inputForm).then((data) => {
|
|
|
+ this.inputForm.cwFileInfoList3 = this.$refs.enclosure.getDataList()
|
|
|
+ projectReportService.saveForm2(this.inputForm).then((da) => {
|
|
|
+ callback(data.businessTable, data.businessId, this.inputForm)
|
|
|
+ this.loading = false
|
|
|
+ }).catch(() => {
|
|
|
+ this.loading = false
|
|
|
+ })
|
|
|
+ }).catch(() => {
|
|
|
+ this.loading = false
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ this.$message.error(`请选择被选次数小于100次的签字注师人员`)
|
|
|
+ this.loading = false
|
|
|
+ throw new Error()
|
|
|
+ }
|
|
|
} else {
|
|
|
this.ReportNumberApplyService.reviewSave(this.inputForm).then((data) => {
|
|
|
this.inputForm.cwFileInfoList3 = this.$refs.enclosure.getDataList()
|
|
@@ -902,9 +917,25 @@
|
|
|
//根据签字注师1的人员id去查是否超过了100次
|
|
|
userService.getCount(this.inputForm.signatureAnnotator1).then((data) => {
|
|
|
if (data.accountantUserCount >= 100 && data.accountantUserFlag === 1) {
|
|
|
- this.$message.error(`请选择被选次数小于100次的签字注师人员`)
|
|
|
- this.loading = false
|
|
|
- throw new Error()
|
|
|
+ if(data.name === '王真' && data.accountantUserCount <= 120){
|
|
|
+
|
|
|
+ this.ReportNumberApplyService.reviewSave(this.inputForm).then((data) => {
|
|
|
+ this.inputForm.cwFileInfoList3 = this.$refs.enclosure.getDataList()
|
|
|
+ console.log('this.inputForm', this.inputForm)
|
|
|
+ projectReportService.saveForm2(this.inputForm).then((da) => {
|
|
|
+ callback(data.businessTable, data.businessId, this.inputForm)
|
|
|
+ this.loading = false
|
|
|
+ }).catch(() => {
|
|
|
+ this.loading = false
|
|
|
+ })
|
|
|
+ }).catch(() => {
|
|
|
+ this.loading = false
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ this.$message.error(`请选择被选次数小于100次的签字注师人员`)
|
|
|
+ this.loading = false
|
|
|
+ throw new Error()
|
|
|
+ }
|
|
|
} else {
|
|
|
this.ReportNumberApplyService.reviewSave(this.inputForm).then((data) => {
|
|
|
this.inputForm.cwFileInfoList3 = this.$refs.enclosure.getDataList()
|