jufubao-admin-library 1.1.209 → 1.1.211

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
@@ -93,7 +93,10 @@ export default {
93
93
  },
94
94
  'listValue.base_type': {
95
95
  handler(val){
96
- this.initForm(this.listValue);
96
+ this.getSmsFormSettings({base_type: val}).then(res => {
97
+ this.setCommonSetting(res);
98
+ this.initForm(this.listValue);
99
+ })
97
100
  }
98
101
  },
99
102
  'listValue.form_type': {
@@ -169,7 +172,7 @@ export default {
169
172
  }
170
173
  console.log(params);
171
174
  }
172
- let promiseAll = [this.getSmsFormSettings({base_type: this.baseType})];
175
+ let promiseAll = [this.getSmsFormSettings({base_type: this.baseType || 'form'})];
173
176
 
174
177
  // #ifdef saas-admin
175
178
  promiseAll.push(getOptions({
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.211",
4
4
  "description": "聚福宝福利后台管理系统公共模块",
5
5
  "author": "goashiyong <gaoshiyong1272@vip.163.com>",
6
6
  "scripts": {