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
|
|
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
|
|
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.
|
|
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({
|