|
|
@@ -431,7 +431,7 @@ import ChooseAuditor from '@/components/oilsupplier/chooseauditor'
|
|
|
} else if (this.formData.Status === '5') {
|
|
|
this.auditTitle = '集中评审'
|
|
|
this.auditstepcode = 'PROF_REGULATION'
|
|
|
- this.shenheForm.AuditorRemark = '集中评审通过'
|
|
|
+ this.shenheForm.AuditorRemark = '集中评审通过。'
|
|
|
}
|
|
|
this.inStyle = this.formData.InStyle
|
|
|
this.getFileList()
|
|
|
@@ -460,7 +460,11 @@ import ChooseAuditor from '@/components/oilsupplier/chooseauditor'
|
|
|
|
|
|
radioChange () {
|
|
|
if (this.shenheForm.SuccessStatus === 1) {
|
|
|
- this.textplaceholder = '审核意见须具体、明确(含企业资质、资信、能力等内容,不少于20字)'
|
|
|
+ if (this.formData.Status === '5') {
|
|
|
+ this.textplaceholder = '请填写审批意见'
|
|
|
+ }else{
|
|
|
+ this.textplaceholder = '审核意见须具体、明确(含企业资质、资信、能力等内容,不少于20字)'
|
|
|
+ }
|
|
|
} else {
|
|
|
if (this.formData.Status == '5') {
|
|
|
this.textplaceholder = ''
|
|
|
@@ -520,6 +524,7 @@ import ChooseAuditor from '@/components/oilsupplier/chooseauditor'
|
|
|
this.dialogVisible = true
|
|
|
} else {
|
|
|
this.dialogMakeSure = true
|
|
|
+ this.radioChange()
|
|
|
}
|
|
|
},
|
|
|
// 获取资质文件
|
|
|
@@ -695,18 +700,32 @@ import ChooseAuditor from '@/components/oilsupplier/chooseauditor'
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
+ if (this.shenheForm.AuditorRemark.trim().length < 1 && this.formData.Status === '5') {
|
|
|
+ this.$message({
|
|
|
+ type: 'warning',
|
|
|
+ message: '请填写审批意见!'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
} else {
|
|
|
if (this.formData.Status === '10') {
|
|
|
this.shenheForm.AuditorRemark = this.backRemark
|
|
|
}
|
|
|
if (this.shenheForm.AuditorRemark.trim().length < 5 && this.formData.Status !== '3' && this.formData
|
|
|
- .Status !== '5' && this.formData.Status !== '10') {
|
|
|
+ .Status !== '5') {
|
|
|
this.$message({
|
|
|
type: 'warning',
|
|
|
message: '退回意见不能低于5个字符!'
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
+ if (this.shenheForm.AuditorRemark.trim().length < 1 && this.formData.Status === '5') {
|
|
|
+ this.$message({
|
|
|
+ type: 'warning',
|
|
|
+ message: '请填写退回意见!'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
}
|
|
|
this.checkstatus()
|
|
|
},
|