jufubao-admin-library 1.1.209 → 1.1.210

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -285,7 +285,7 @@ export default {
285
285
  temp = this.$xdHelper.multiplyFloatNumber(value, price)
286
286
  }
287
287
  let priceNew = this.$xdHelper.divisionFloatNumber(temp, 100);
288
- return Math.ceil(priceNew * Math.pow(10, toFixed)) / Math.pow(10, toFixed)
288
+ return this.$xdHelper.divisionFloatNumber(priceNew * Math.pow(10, toFixed), Math.pow(10, toFixed)).toFixed(this.adjustListValue.decimal)
289
289
  };
290
290
 
291
291
  if(!this.adjustListValue.base
@@ -318,7 +318,7 @@ export default {
318
318
  temp = this.$xdHelper.multiplyFloatNumber(value, price)
319
319
  }
320
320
  let priceNew = this.$xdHelper.divisionFloatNumber(temp, 100);
321
- return Math.ceil(priceNew * Math.pow(10, toFixed)) / Math.pow(10, toFixed)
321
+ return this.$xdHelper.divisionFloatNumber(priceNew * Math.pow(10, toFixed), Math.pow(10, toFixed)).toFixed(this.adjustListValue.vip_decimal)
322
322
  };
323
323
 
324
324
  if(!this.adjustListValue.vip_base
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-admin-library",
3
- "version": "1.1.209",
3
+ "version": "1.1.210",
4
4
  "description": "聚福宝福利后台管理系统公共模块",
5
5
  "author": "goashiyong <gaoshiyong1272@vip.163.com>",
6
6
  "scripts": {