浏览代码

修改bug

QuKatie 3 年之前
父节点
当前提交
cfb3df7446
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      src/views/kaihe/domesticTrade/orderInformation/index.vue

+ 6 - 1
src/views/kaihe/domesticTrade/orderInformation/index.vue

@@ -1607,7 +1607,7 @@
               : !this.amountDr && !this.amountCr
               ? ""
               : this.amountDr
-          }}
+          |numFilter}}
         </template>
       </el-collapse-item>
     </el-collapse>
@@ -2246,6 +2246,11 @@ export default {
       uploadLoading: false,
     };
   },
+  filters:{
+    numFilter(num){
+      return Number(num?num:0).toFixed(2)
+    }
+  },
   //页面跳转后传递参数
   activated() {
     this.jumpDonot = false;