|
|
|
@ -203,7 +203,7 @@ Page({ |
|
|
|
if(!util.isEmpty(this.data.form.unitPrice) && !this.data.kg){ |
|
|
|
this.data.form.unitPrice = math.divide(this.data.form.unitPrice, 1000) |
|
|
|
} |
|
|
|
if(!util.isEmpty(this.data.form.unitPrice) && !this.data.kg){ |
|
|
|
if(!util.isEmpty(this.data.form.purchaseQuantity) && !this.data.kg){ |
|
|
|
this.data.form.purchaseQuantity = math.times(this.data.form.purchaseQuantity, 1000) |
|
|
|
} |
|
|
|
this.setData({ requesting: true }) |
|
|
|
|