diff --git a/pages/businessCard/buyCard.vue b/pages/businessCard/buyCard.vue index 5d777b9..e11b244 100644 --- a/pages/businessCard/buyCard.vue +++ b/pages/businessCard/buyCard.vue @@ -135,6 +135,7 @@ export default { cardNum: '', // 库存 needPay: 0, // 应付 cardRuleNo: '', + plNo:'' } }, onLoad(params) { @@ -151,6 +152,9 @@ export default { this.price = option.value this.cardNum = option.cardNum this.needPay = this.price * this.vModelValue + console.log(option.plNo) + this.plNo = JSON.parse(option.plNo)[0] + console.log(this.plNo) }, onShow() { var me = this; @@ -195,7 +199,8 @@ export default { payType: '35', // '35' 商户余额支付 paySrcType: '501', // '101' : 停车付款单, '501': '商户优惠券购买' orderId: orderId, - payFee: this.needPay.toString() + payFee: this.needPay.toString(), + plNo:this.plNo } // 首页信息获取 接口 that.$myRequest({