Prechádzať zdrojové kódy

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

zishan-an 1 rok pred
rodič
commit
133f4986ce
1 zmenil súbory, kde vykonal 5 pridanie a 1 odobranie
  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=>