zhangyuewww 3 年之前
父节点
当前提交
7e39d0bebf
共有 1 个文件被更改,包括 6 次插入1 次删除
  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