Browse Source

fix amout & vtest 1.1.39

privacy
刘嘉炜 2 years ago
parent
commit
4cd32cad8f
  1. 4
      src/pages/site/confirm/confirm.vue
  2. 12
      src/subpackage/common/pages/pay_type_select.vue

4
src/pages/site/confirm/confirm.vue

@ -66,7 +66,7 @@
</view>
<view class="si-reason">
<view class="si-tit">
<text class="red">* </text>占用原因<text class="tip">必填占用原因将显示在看板对应占用的场地</text>
占用原因<text class="tip">占用原因将显示在看板对应占用的场地</text>
</view>
<view class="sr-frame">
<textarea placeholder="多行输入…" v-model="ocReaon"></textarea>
@ -184,7 +184,7 @@ export default {
reason: ocReaon,
}
if(ocReaon === '')return util.showNone('请填写占用原因!');
// if(ocReaon === '')return util.showNone('');
if(isOrder&&ocUsage == 4)return this.toOrderPaySelect({
exQuery: {

12
src/subpackage/common/pages/pay_type_select.vue

@ -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 || '';

Loading…
Cancel
Save