소스 검색

bug修复

chenrui 3 년 전
부모
커밋
57123d41aa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/financialManagement/inventoryCheckAudit/list.vue

+ 1 - 1
src/views/financialManagement/inventoryCheckAudit/list.vue

@@ -42,7 +42,7 @@
         </template>
         <!-- 盈亏数量 -->
         <template slot="totalLossQty" slot-scope="text, record">
-          <span :style="{ color: record.totalLossQty>0?'red':record.totalLossQty<0?'green':'', fontWeight: record.totalLossQty!=0?'bold':'' }">{{ (record.totalLossQty || record.totalLossQty==0) ? Math.abs(record.totalLossQty) : '--' }}</span>
+          <span>{{ (record.totalLossQty || record.totalLossQty==0) ? Math.abs(record.totalLossQty) : '--' }}</span>
         </template>
         <!-- 操作 -->
         <template slot="action" slot-scope="text, record">