Explorar el Código

修改跟单应收订单-非车险列表数据,如果非车保费为0 ,就不显示0

@dongkboy hace 2 meses
padre
commit
00d2fbee2f
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      src/views/receivable/documentary/index.vue

+ 5 - 1
src/views/receivable/documentary/index.vue

@@ -347,7 +347,11 @@
           <el-table-column prop="otherCostsPremiums" label="应收跟单费" width="100"></el-table-column>
           <el-table-column prop="productName" label="险种" width="100"></el-table-column>
           <el-table-column prop="insuredPerson" label="被保人" width="100"></el-table-column>
-          <el-table-column prop="jyPremium" label="非车险保费" width="100"></el-table-column>
+          <el-table-column prop="jyPremium" label="非车险保费" width="100">
+            <template #default="scope">
+              {{ Number(scope.row.jyPremium) || '--' }}
+            </template>
+          </el-table-column>
           <!--                    <el-table-column prop="a" label="非车险不含税保费" width="100"></el-table-column>-->
           <el-table-column prop="jyOtherCostsProportion" label="非车险跟单费比例" width="100"></el-table-column>
           <el-table-column prop="jyPolicyNo" label="非车险保单号" width="100"></el-table-column>