|
|
@@ -32,6 +32,7 @@
|
|
|
<!--<el-button type="primary" size="mini" style="margin-left: 8px" @click="profAudit()" v-if="auditBtn && AnnualStatus == '3'">提交专业审核</el-button> <!– 未用到 –>-->
|
|
|
<!--<el-button type="primary" size="mini" style="margin-left: 8px" @click="annualAudit()" v-if="auditBtn && AnnualStatus == '4'">专业审核</el-button><!– 未用到 –>-->
|
|
|
<el-button type="primary" size="mini" style="margin-left: 8px" @click="commonAuditClick()" v-if="auditBtn && AnnualStatus == '5'">审批</el-button><!-- 企业法规处 -->
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="commonAuditClick()" v-if="auditBtn && AnnualStatus == '7'">入库审批</el-button><!-- 企业法规处 -->
|
|
|
<el-button type="primary" style="margin-left: 8px;" size="mini" @click="secUnitSeparateAuditClick" v-if="auditBtn && AnnualStatus == '10'">提交</el-button>
|
|
|
<el-button type="primary" size="mini" style="margin-left: 8px;" onclick="window.history.go(-1)">返回</el-button>
|
|
|
</span>
|
|
|
@@ -1550,9 +1551,15 @@ export default {
|
|
|
// this.getorgtreelistbydeptid()
|
|
|
// this.orgtreeChange(this.majorDept)
|
|
|
this.getsubfile()
|
|
|
+ this.setStorageRemark()
|
|
|
},
|
|
|
methods: {
|
|
|
-
|
|
|
+ setStorageRemark () {
|
|
|
+ console.log('不锐深状态', this.AnnualStatus)
|
|
|
+ if (this.AnnualStatus === '7') {
|
|
|
+ this.shenheForm.AuditorRemark = '入库审批已通过。'
|
|
|
+ }
|
|
|
+ },
|
|
|
imgFormat (val, index) {
|
|
|
if (val != null && val != undefined && val != '') {
|
|
|
let fileurlall = val.split('$')[index]
|
|
|
@@ -1875,6 +1882,10 @@ export default {
|
|
|
this.auditstepcode = 'PROF_AUDIT'
|
|
|
} else if (this.anndata.Status === '5') {
|
|
|
this.auditstepcode = 'PROF_REGULATION'
|
|
|
+ } else if (this.anndata.Status === '6') {
|
|
|
+ this.auditstepcode = 'PAYING_FEE'
|
|
|
+ } else if (this.anndata.Status === '7') {
|
|
|
+ this.auditstepcode = 'PROF_REGULATION_STORAGE'
|
|
|
} else if (this.anndata.Status === '10') {
|
|
|
if (this.anndata.SupplierTypeName === '01') {
|
|
|
this.auditstepcode = 'SUB_OFFICE_WZ'
|
|
|
@@ -1913,6 +1924,11 @@ export default {
|
|
|
} else {
|
|
|
this.textplaceholder = '退回意见不能少于5个字'
|
|
|
}
|
|
|
+ if (this.AnnualStatus === '7' && this.shenheForm.SuccessStatus === 1) {
|
|
|
+ this.shenheForm.AuditorRemark = '入库审批已通过。'
|
|
|
+ } else {
|
|
|
+ this.shenheForm.AuditorRemark = ''
|
|
|
+ }
|
|
|
},
|
|
|
SetFormData (fdata) {
|
|
|
this.isCanUpdateSupplier(fdata.Id)
|
|
|
@@ -2507,7 +2523,7 @@ export default {
|
|
|
commonAuditParamsCheck () {
|
|
|
if (this.shenheForm.SuccessStatus === 1) {
|
|
|
if (this.shenheForm.AuditorRemark.trim().length < 20 && this.AnnualStatus && this.AnnualStatus !== '10') {
|
|
|
- if (this.AnnualStatus !== '5') {
|
|
|
+ if (this.AnnualStatus !== '5' && this.AnnualStatus !== '7') {
|
|
|
this.$message({
|
|
|
type: 'warning',
|
|
|
message: '审批意见不能低于20个字符!'
|