瀏覽代碼

成本分配列表-标记A标记B显示问题

jingbb 6 月之前
父節點
當前提交
991885a132
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/views/cost-allocation-total/list.vue

+ 3 - 2
src/views/cost-allocation-total/list.vue

@@ -350,8 +350,9 @@ export default {
       var A =rmbExportamoun-fabriccostNotincludestax-excipiencostNotincludestax-rmbProcesscost-rmbExpense
       var B = A/usdTotalexportprice
       B= B>0?B:-B
-      item.signA = A<0?'red':'black'
-      item.signB = B<0.8?'blue':'black'
+      item.signA = A<0?'red':''
+      item.signB = B<0.8?'blue':''
+      this.$forceUpdate()
     },
     cancelSumit(record){
       var syApprovalHistory={