Commit 1412df898d74a99e11db8418b12c47beb63e3369

Authored by 刘淇
1 parent 395e9058

购买卡券接口添加plNo参数

pages/businessCard/buyCard.vue
... ... @@ -135,6 +135,7 @@ export default {
135 135 cardNum: '', // 库存
136 136 needPay: 0, // 应付
137 137 cardRuleNo: '',
  138 + plNo:''
138 139 }
139 140 },
140 141 onLoad(params) {
... ... @@ -151,6 +152,9 @@ export default {
151 152 this.price = option.value
152 153 this.cardNum = option.cardNum
153 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 159 onShow() {
156 160 var me = this;
... ... @@ -195,7 +199,8 @@ export default {
195 199 payType: '35', // '35' 商户余额支付
196 200 paySrcType: '501', // '101' : 停车付款单, '501': '商户优惠券购买'
197 201 orderId: orderId,
198   - payFee: this.needPay.toString()
  202 + payFee: this.needPay.toString(),
  203 + plNo:this.plNo
199 204 }
200 205 // 首页信息获取 接口
201 206 that.$myRequest({
... ...