zhangyuewww 3 năm trước cách đây
mục cha
commit
7e39d0bebf
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      src/views/statisticalReport/autoSettlementList.vue

+ 6 - 1
src/views/statisticalReport/autoSettlementList.vue

@@ -181,13 +181,18 @@
           ><template slot-scope="scope">
             <span v-if="scope.row.unloadingWeight == null">--</span>
             <span
-              v-if="
+              v-else-if="
                 scope.row.lossWeight > 0 &&
                 scope.row.lossWeight > scope.row.loadingWeight / 1000
               "
               style="color: #f10404; font-weight: 600"
               >{{ scope.row.lossWeight }}</span
             >
+           <span
+              v-else
+              style="font-weight: 600"
+              >{{ scope.row.lossWeight }}</span
+            >
           </template>
         </el-table-column>
         <el-table-column