Commit 1412df898d74a99e11db8418b12c47beb63e3369
1 parent
395e9058
购买卡券接口添加plNo参数
Showing
1 changed file
with
6 additions
and
1 deletions
pages/businessCard/buyCard.vue
@@ -135,6 +135,7 @@ export default { | @@ -135,6 +135,7 @@ export default { | ||
135 | cardNum: '', // 库存 | 135 | cardNum: '', // 库存 |
136 | needPay: 0, // 应付 | 136 | needPay: 0, // 应付 |
137 | cardRuleNo: '', | 137 | cardRuleNo: '', |
138 | + plNo:'' | ||
138 | } | 139 | } |
139 | }, | 140 | }, |
140 | onLoad(params) { | 141 | onLoad(params) { |
@@ -151,6 +152,9 @@ export default { | @@ -151,6 +152,9 @@ export default { | ||
151 | this.price = option.value | 152 | this.price = option.value |
152 | this.cardNum = option.cardNum | 153 | this.cardNum = option.cardNum |
153 | this.needPay = this.price * this.vModelValue | 154 | this.needPay = this.price * this.vModelValue |
155 | + console.log(option.plNo) | ||
156 | + this.plNo = JSON.parse(option.plNo)[0] | ||
157 | + console.log(this.plNo) | ||
154 | }, | 158 | }, |
155 | onShow() { | 159 | onShow() { |
156 | var me = this; | 160 | var me = this; |
@@ -195,7 +199,8 @@ export default { | @@ -195,7 +199,8 @@ export default { | ||
195 | payType: '35', // '35' 商户余额支付 | 199 | payType: '35', // '35' 商户余额支付 |
196 | paySrcType: '501', // '101' : 停车付款单, '501': '商户优惠券购买' | 200 | paySrcType: '501', // '101' : 停车付款单, '501': '商户优惠券购买' |
197 | orderId: orderId, | 201 | orderId: orderId, |
198 | - payFee: this.needPay.toString() | 202 | + payFee: this.needPay.toString(), |
203 | + plNo:this.plNo | ||
199 | } | 204 | } |
200 | // 首页信息获取 接口 | 205 | // 首页信息获取 接口 |
201 | that.$myRequest({ | 206 | that.$myRequest({ |