|
|
@ -155,13 +155,14 @@ export default { |
|
|
|
|
|
|
|
// 挂账订单支付提交 |
|
|
|
takeUpBbocPay(){ |
|
|
|
let { optionsQuery, payMethodsID, otherTypeRemark, selectedCard } = this; |
|
|
|
let { optionsQuery, payMethodsID, otherTypeRemark, selectedCard, payAmount } = this; |
|
|
|
let _data = { |
|
|
|
brand_id: optionsQuery.brand_id || '', |
|
|
|
amount: +optionsQuery.amount || '', |
|
|
|
// amount: +optionsQuery.amount || '', |
|
|
|
reason: optionsQuery?.exQuery?.reason || '', |
|
|
|
order_no: optionsQuery?.exQuery?.order_no || '', |
|
|
|
take_up_pay_type: this.getPayMethodsName(payMethodsID) |
|
|
|
take_up_pay_type: this.getPayMethodsName(payMethodsID), |
|
|
|
amount: +payAmount, |
|
|
|
} |
|
|
|
if(payMethodsID === 4)_data['take_up_pay_type'] = otherTypeRemark || '其它'; |
|
|
|
if(payMethodsID === 3&&selectedCard?.card_no)_data['card_no'] = selectedCard.card_no || ''; |
|
|
@ -180,10 +181,11 @@ export default { |
|
|
|
|
|
|
|
// 1 -> 客户订场, 2-> 散客, 3-> 锁场, 提交 |
|
|
|
takeUpSubmit(){ |
|
|
|
let { exQuery, payMethodsID, otherTypeRemark, selectedCard } = this; |
|
|
|
let { exQuery, payMethodsID, otherTypeRemark, selectedCard, payAmount } = this; |
|
|
|
let _data = { |
|
|
|
...exQuery, |
|
|
|
take_up_pay_type: this.getPayMethodsName(payMethodsID) || '' |
|
|
|
take_up_pay_type: this.getPayMethodsName(payMethodsID) || '', |
|
|
|
amount: +payAmount, |
|
|
|
} |
|
|
|
if(payMethodsID === 4)_data['take_up_pay_type'] = otherTypeRemark || '其它'; |
|
|
|
if(payMethodsID === 3&&selectedCard?.card_no)_data['card_no'] = selectedCard.card_no || ''; |
|
|
|