Bläddra i källkod

含税单价改为保存5位小数

黄梓星 1 år sedan
förälder
incheckning
30ffe9796a
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/views/purchase/workSpace/index.vue

+ 1 - 1
src/views/purchase/workSpace/index.vue

@@ -270,7 +270,7 @@ export default {
           {label: '生产厂家/代理人',  prop: 'manufacturerName', width: 150},
           {label: '含税单价',  prop: 'taxPrice', width: 80, 
             formatter: function(row, column, cellValue, index) {
-              return row.taxPrice ? parseFloat(row.taxPrice).toFixed(3) : '0.000'
+              return row.taxPrice ? parseFloat(row.taxPrice).toFixed(5) : '0.00'
             },
           },
           {label: '最近价格',  prop: 'recentlyPrice', width: 80},