|
@@ -25,6 +25,7 @@ Page({
|
|
|
phone: { card_no: '', card_type: 'phone' },
|
|
|
|
|
|
member_mobile: '',
|
|
|
+ inputMobile:'',
|
|
|
|
|
|
tabsData: [
|
|
|
{ id: 0, icon: '/image/postage/sinopec.png', title: '中国石化', tips: '选择油卡', card_type: 'sinopec', card_no: '' },
|
|
@@ -212,7 +213,6 @@ Page({
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-
|
|
|
const { goods_id } = this.data
|
|
|
let card_type = ''
|
|
|
let card_no = ''
|
|
@@ -227,7 +227,8 @@ Page({
|
|
|
app.showToast('卡号不能为空')
|
|
|
return
|
|
|
}
|
|
|
- buyVGoods(app, goods_id, 1, { card_no, card_type }, (res) => {
|
|
|
+ let phone_no = this.data.inputMobile;
|
|
|
+ buyVGoods(app, goods_id, 1, { card_no, card_type, phone_no}, (res) => {
|
|
|
let special_id = this.data.special_id
|
|
|
let title = '支付成功'
|
|
|
app.navigateto(`/pages/special/special?special_id=${special_id}&title=${title}`)
|