Explorar o código

联系电话回显

seimin hai 11 meses
pai
achega
8cdadd6031
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages/buildIncident/buildIncident.vue

+ 1 - 1
pages/buildIncident/buildIncident.vue

@@ -423,7 +423,7 @@
423 423
       if(incidentBuildStore.incidentBuild.sign === 'department'){
424 424
         incidentData.place = incidentData.department.place || undefined;
425 425
         incidentData.houseNumber = incidentData.department.address || '';
426
-        incidentData.contactsInformation = incidentData.department.phone || '';
426
+        incidentData.contactsInformation = incidentData.department.phone ? incidentData.department.phone.split(',')[0] : '';
427 427
       }
428 428
     }
429 429
     getBranchs();