|
@@ -337,7 +337,7 @@ export default {
|
|
|
value: item.id
|
|
|
}))
|
|
|
}catch(error){
|
|
|
- console.log('error',error)
|
|
|
+ console.log('error',error)
|
|
|
}
|
|
|
},
|
|
|
// 识别收款短信
|
|
@@ -521,14 +521,14 @@ export default {
|
|
|
// 校验输入为数字
|
|
|
this.params.receiptAmount = this.handleReceiptAmount = this.checkedNumberVal(e.detail.value)
|
|
|
if (this.isCheckedCharge) {
|
|
|
- this.params.receiptAmount = (Number(this.params.receiptAmount)*100 + this.params.handlingFee*100)/100
|
|
|
+ this.params.receiptAmount = (Number(this.params.receiptAmount) + this.params.handlingFee).toFixed(2)
|
|
|
}
|
|
|
},
|
|
|
handlingFeeNumber(e) {
|
|
|
// 校验输入为数字
|
|
|
this.params.handlingFee = Number(this.checkedNumberVal(e.detail.value))
|
|
|
if (this.isCheckedCharge) {
|
|
|
- this.params.receiptAmount = (Number(this.params.receiptAmount)*100 + this.params.handlingFee*100)/100
|
|
|
+ this.params.receiptAmount =(Number(this.params.receiptAmount) + this.params.handlingFee).toFixed(2)
|
|
|
}
|
|
|
},
|
|
|
checkedNumberVal(val) {
|