Browse Source

更新列表

xiaohaizhao 8 months ago
parent
commit
382a64a6bd
1 changed files with 5 additions and 1 deletions
  1. 5 1
      packageA/invoice/detail.js

+ 5 - 1
packageA/invoice/detail.js

@@ -214,7 +214,11 @@ Page({
         }).then(res => {
             console.log("开票列表", res)
             page.setData({
-                list: res.data
+                list: res.data.map(v => {
+                    v.redamount = CNY(v.redamount)
+                    v.factamount = CNY(v.factamount)
+                    return v
+                })
             })
         })
     },