Selaa lähdekoodia

报告复核通过后生成报告流水号

lizhenhao 2 vuotta sitten
vanhempi
commit
bc2e5128bb

+ 2 - 2
src/views/modules/cw/reportManagement/reportReview/ReportReviewForm.vue

@@ -3,7 +3,7 @@
     <el-row>
       <el-col :span="24">
 
-        <el-form size="middle" :model="inputForm" ref="inputForm" v-loading="loading" :class="method==='view'?'readonly':''"  :disabled="status === 'audit' || status === 'taskFormDetail'"
+        <el-form size="middle" :model="inputForm" ref="inputForm2" v-loading="loading" :class="method==='view'?'readonly':''"  :disabled="status === 'audit' || status === 'taskFormDetail'"
                  label-width="135px" @submit.native.prevent>
           <el-divider content-position="left"><i class="el-icon-document"></i> 项目信息</el-divider>
           <el-row  :gutter="0">
@@ -972,7 +972,7 @@
           this.inputForm.reviewStatus = '2'
           this.inputForm.assignee = this.inputForm.reviewBy
         }
-        this.$refs['inputForm'].validate((valid) => {
+        this.$refs['inputForm2'].validate((valid) => {
           if (valid) {
             this.loading = true
             if (this.commonJS.isEmpty(this.inputForm.createDate)) {