Explorar el Código

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

jingbb hace 7 meses
padre
commit
991885a132
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  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={