Browse Source

Merge branch 'bug/订单数据版本问题' into 德莱宝待更新,与楚楚正式同步

xiaohaizhao 1 year ago
parent
commit
e26c9b778e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packageA/orderForm/modules/product/index.js

+ 1 - 0
packageA/orderForm/modules/product/index.js

@@ -112,6 +112,7 @@ Component({
                     ...obj
                 };
                 data.amount = CNY(currency(data.price).multiply(data.qty).format());
+                data.price = CNY(data.price)
                 this.setData({
                     [`list[${index}]`]: data
                 })