Commit f2031c45 authored by linxin's avatar linxin

Merge branch 'liuxin' into develop

parents cf0fccd5 e943f48b
Pipeline #3947 canceled with stages
...@@ -183,6 +183,8 @@ export default { ...@@ -183,6 +183,8 @@ export default {
select: 'three0', select: 'three0',
name: '', name: '',
sectctNong: false, sectctNong: false,
pay_type: '',
bank_account_id: '',
checkType: { checkType: {
img: '', img: '',
bank_full_name: '', bank_full_name: '',
...@@ -300,12 +302,16 @@ export default { ...@@ -300,12 +302,16 @@ export default {
confirmToPay (e) { confirmToPay (e) {
let vm = this let vm = this
let url = process.env.basePath + 'update_order_info' let url = process.env.basePath + 'update_order_info'
if (e) {
vm.pay_type = e.pay_type
vm.bank_account_id = e.bank_account_id
}
let param = { let param = {
info: { info: {
order_id: vm.$route.params.order_id, order_id: vm.$route.params.order_id,
fee: vm.sumMoney, fee: vm.serviceCharge,
bank_account_id: e.bank_account_id, bank_account_id: vm.bank_account_id,
pay_type: e.pay_type, pay_type: vm.pay_type,
}, },
} }
hlsPopup.showLoading('请稍候') hlsPopup.showLoading('请稍候')
...@@ -353,6 +359,7 @@ export default { ...@@ -353,6 +359,7 @@ export default {
}, },
affirm () { affirm () {
this.confirm = true this.confirm = true
this.confirmToPay()
}, },
changePage () { changePage () {
this.$router.push({ this.$router.push({
...@@ -388,14 +395,18 @@ export default { ...@@ -388,14 +395,18 @@ export default {
vm.checkType.img = ny vm.checkType.img = ny
vm.checkType.bank_account_num = vm.nongBank[0].bank_account_num vm.checkType.bank_account_num = vm.nongBank[0].bank_account_num
vm.sectctNong = true vm.sectctNong = true
vm.confirmToPay(vm.nongBank[0]) // vm.confirmToPay(vm.nongBank[0])
vm.pay_type = vm.nongBank[0].pay_type
vm.bank_account_id = vm.nongBank[0].bank_account_id
} else if (!vm.flag && vm.lists.length !== 0) { } else if (!vm.flag && vm.lists.length !== 0) {
vm.select = 'three0' vm.select = 'three0'
vm.checkType.bank_full_name = vm.newList[0].bank_full_name vm.checkType.bank_full_name = vm.newList[0].bank_full_name
vm.checkType.img = vm.selectImg(vm.newList[0]) vm.checkType.img = vm.selectImg(vm.newList[0])
vm.checkType.bank_account_num = vm.newList[0].bank_account_num vm.checkType.bank_account_num = vm.newList[0].bank_account_num
vm.sectctNong = true vm.sectctNong = true
vm.confirmToPay(vm.lists[0]) vm.pay_type = vm.lists[0].pay_type
vm.bank_account_id = vm.lists[0].bank_account_id
// vm.confirmToPay(vm.lists[0])
} else if (!vm.flag && vm.lists === 0) { } else if (!vm.flag && vm.lists === 0) {
vm.sectctNong = false vm.sectctNong = false
hlsPopup.showLongCenter('请先绑定银行卡') hlsPopup.showLongCenter('请先绑定银行卡')
......
...@@ -181,6 +181,8 @@ export default { ...@@ -181,6 +181,8 @@ export default {
money: '', money: '',
select: 'one', select: 'one',
name: '', name: '',
pay_type: '',
bank_account_id: '',
sectctNong: false, sectctNong: false,
checkType: { checkType: {
img: '', img: '',
...@@ -236,16 +238,21 @@ export default { ...@@ -236,16 +238,21 @@ export default {
methods: { methods: {
affirm () { affirm () {
this.confirm = true this.confirm = true
this.confirmToPay()
}, },
confirmToPay (e) { confirmToPay (e) {
let vm = this let vm = this
let url = process.env.basePath + 'update_order_info' let url = process.env.basePath + 'update_order_info'
if (e) {
vm.pay_type = e.pay_type
vm.bank_account_id = e.bank_account_id
}
let param = { let param = {
info: { info: {
order_id: vm.$route.params.order_id, order_id: vm.$route.params.order_id,
fee: vm.sumMoney, fee: vm.serviceCharge,
bank_account_id: e.bank_account_id, bank_account_id: vm.bank_account_id,
pay_type: e.pay_type, pay_type: vm.pay_type,
}, },
} }
hlsPopup.showLoading('请稍候') hlsPopup.showLoading('请稍候')
...@@ -380,14 +387,18 @@ export default { ...@@ -380,14 +387,18 @@ export default {
vm.checkType.img = ny vm.checkType.img = ny
vm.checkType.bank_account_num = vm.nongBank[0].bank_account_num vm.checkType.bank_account_num = vm.nongBank[0].bank_account_num
vm.sectctNong = true vm.sectctNong = true
vm.confirmToPay(vm.nongBank[0]) // vm.confirmToPay(vm.nongBank[0])
vm.pay_type = vm.nongBank[0].pay_type
vm.bank_account_id = vm.nongBank[0].bank_account_id
} else if (!vm.flag && vm.lists.length !== 0) { } else if (!vm.flag && vm.lists.length !== 0) {
vm.select = 'three0' vm.select = 'three0'
vm.checkType.bank_full_name = vm.newList[0].bank_full_name vm.checkType.bank_full_name = vm.newList[0].bank_full_name
vm.checkType.img = vm.selectImg(vm.newList[0]) vm.checkType.img = vm.selectImg(vm.newList[0])
vm.checkType.bank_account_num = vm.newList[0].bank_account_num vm.checkType.bank_account_num = vm.newList[0].bank_account_num
vm.sectctNong = true vm.sectctNong = true
vm.confirmToPay(vm.lists[0]) vm.pay_type = vm.lists[0].pay_type
vm.bank_account_id = vm.lists[0].bank_account_id
// vm.confirmToPay(vm.lists[0])
} else if (!vm.flag && vm.lists === 0) { } else if (!vm.flag && vm.lists === 0) {
vm.sectctNong = false vm.sectctNong = false
hlsPopup.showLongCenter('请先绑定银行卡') hlsPopup.showLongCenter('请先绑定银行卡')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment