Browse Source

合作方证件类型显示为中文

zishan-an 1 year ago
parent
commit
133f4986ce
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/system/cooperatorDetailed.vue

+ 5 - 1
src/views/system/cooperatorDetailed.vue

@@ -32,7 +32,7 @@
               </el-col>
               <el-col span="12"  >
                 <el-form-item label="合作方证件类型: " width="100px">
-                <span>{{corpCertificateType}}</span>
+                <span>{{corp_certificate_type_name}}</span>
                 </el-form-item>
               </el-col>
             </el-row>
@@ -257,6 +257,10 @@ export default {
   beforeMount() {},
   mounted() 
   {
+    if(this.corpCertificateType == "20")
+      this.corp_certificate_type_name = "统一社会信用代码"
+    else
+      this.corp_certificate_type_name =  "组织机构代码"
     if(this.templateId){
     getTemplateById(this.templateId).then(
       res=>