Explorar el Código

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

xiaohaizhao hace 1 año
padre
commit
e26c9b778e
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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
                 })