|
|
@@ -2359,7 +2359,7 @@ import apiCert from '@/api/oilsupplier/suppliercert'
|
|
|
AuditRemark: this.entityForm.Remark
|
|
|
}
|
|
|
let _this = this
|
|
|
- annualapi.companyAuditEntity(this.AnnualId, params, this.$axios).then(res => {
|
|
|
+ annualapi.companyAuditEntity(this.annualId, params, this.$axios).then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
// 保存成功后,初始化数据,变成修改
|
|
|
this.$message({
|
|
|
@@ -2958,7 +2958,7 @@ import apiCert from '@/api/oilsupplier/suppliercert'
|
|
|
})
|
|
|
} else {
|
|
|
return false
|
|
|
- }
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
|
|
|
@@ -3005,24 +3005,24 @@ import apiCert from '@/api/oilsupplier/suppliercert'
|
|
|
if (res.data.code === 0) {
|
|
|
// 保存成功后,初始化数据,变成修改
|
|
|
this.entityForm.Id = res.data.item
|
|
|
- this.getstatus(this.annualId)
|
|
|
+ this.getstatus(this.annualId)
|
|
|
// this.initDatas();
|
|
|
this.addshow = false
|
|
|
this.$message({
|
|
|
type: 'success',
|
|
|
message: res.data.message
|
|
|
})
|
|
|
- } else {
|
|
|
+ } else {
|
|
|
this.$message({
|
|
|
type: 'warning',
|
|
|
message: res.data.message
|
|
|
})
|
|
|
- }
|
|
|
+ }
|
|
|
}).catch(err => {
|
|
|
this.loading = false
|
|
|
console.error(err)
|
|
|
})
|
|
|
- }
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
GradeChange (val) {
|