Explorar o código

如果报价返回的商业和驾意险价格是0 则不进行显示

祁鹏飞 hai 2 meses
pai
achega
d59a5aec67
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/views/insurancePolicy/index.vue

+ 2 - 2
src/views/insurancePolicy/index.vue

@@ -1210,10 +1210,10 @@
                       `¥${scope.row.quoteResult?.costs?.vvTax}` }}</span>
                   </div>
                   <div class="resultItem">
-                    <span v-if="scope.row.quoteResult?.costs?.biPremium && scope.row.quoteCode == 200"
+                    <span v-if="Number(scope.row.quoteResult?.costs?.biPremium) && scope.row.quoteCode == 200"
                       style="text-align: left; margin-right: 10px">商业险:{{ `¥${scope.row.quoteResult.costs?.biPremium}`
                       }}</span>
-                    <span v-if="scope.row.quoteResult?.costs?.niPremium"
+                    <span v-if="Number(scope.row.quoteResult?.costs?.niPremium)"
                       style="text-align: left; margin-right: 10px">驾意险:{{ `¥${scope.row.quoteResult?.costs?.niPremium}`
                       }}</span>
                   </div>