Преглед на файлове

跟单明细图片显示

yaoyao преди 2 години
родител
ревизия
d1a2296f8c

+ 1 - 1
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/DocumentaryFeesDetail.vue

@@ -14,7 +14,7 @@
           :options="ztreeNodes" :props="optionProps" clearable filterable></el-cascader>
       </template> -->
       <template slot="imageUrl" slot-scope="scope">
-        <img :src="`${process + scope.row.imageUrl}`" class="imageclass" />
+        <img v-if="scope.row.imageUrl" :src="`${process + scope.row.imageUrl}`" class="imageclass" />
       </template>
       <template slot="dockingPerson">
         <el-select v-model="pageData.dockingPerson" filterable clearable placeholder="请选择" size="small">

+ 1 - 1
src/views/FinancialManagement/CarInsurance/CompanySettlement/NoCarInsurance/DocumentaryFeesDetail.vue

@@ -10,7 +10,7 @@
       </el-upload>
     </template>
     <template slot="imageUrl" slot-scope="scope">
-        <img :src="`${process + scope.row.imageUrl}`" class="imageclass" />
+        <img v-if="scope.row.imageUrl" :src="`${process + scope.row.imageUrl}`" class="imageclass" />
       </template>
     <template slot="dockingPerson">
         <el-select v-model="pageData.dockingPerson" filterable clearable placeholder="请选择" size="small">