|
@@ -833,6 +833,7 @@ export default {
|
|
|
} else {
|
|
|
this.form.type = this.$route.query.type
|
|
|
}
|
|
|
+ console.log('2222222',this.form)
|
|
|
this.form.discountrate ? this.form.discountrate = (parseFloat(this.form.discountrate) / 100).toFixed(4) : ''
|
|
|
this.form.productdiscount ? this.form.productdiscount = (parseFloat(this.form.productdiscount) / 100).toFixed(4) : ''
|
|
|
this.form.orderratio ? this.form.orderratio = (parseFloat(this.form.orderratio) / 100).toFixed(4) : ''
|
|
@@ -853,6 +854,7 @@ export default {
|
|
|
})
|
|
|
|
|
|
} else {
|
|
|
+ this.form.discountrate ? this.form.discountrate = (parseFloat(this.form.discountrate) / 100).toFixed(4) : ''
|
|
|
this.form.orderratio ? this.form.orderratio = (parseFloat(this.form.orderratio) / 100).toFixed(4) : ''
|
|
|
this.form.productdiscount ? this.form.productdiscount = (parseFloat(this.form.productdiscount) / 100).toFixed(4) : ''
|
|
|
let res = await this.$api.requested({
|