jufubao-admin-library 1.1.208 → 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
|
|
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
|
|
@@ -456,7 +456,7 @@ export default {
|
|
|
456
456
|
if(this.formParams['supplier_ids']&&this.formParams['supplier_ids'].length){
|
|
457
457
|
let data = []
|
|
458
458
|
this.formParams['supplier_ids'].map(item=>{
|
|
459
|
-
data.push(item.
|
|
459
|
+
data.push(item.value)
|
|
460
460
|
})
|
|
461
461
|
formParamsCopy.supplier_ids = data
|
|
462
462
|
}
|