| }) | }) | ||||
| return; | return; | ||||
| } | } | ||||
| if (!this.data.appointment) { | |||||
| return; | |||||
| } | |||||
| this.data.appointment = false; | this.data.appointment = false; | ||||
| this.data.subscribeData.province = this.data.provinceDataArr[0][this.data.provinceDataValue[0]]; | this.data.subscribeData.province = this.data.provinceDataArr[0][this.data.provinceDataValue[0]]; | ||||
| this.data.subscribeData.city = this.data.provinceDataArr[1][this.data.provinceDataValue[1]]; | this.data.subscribeData.city = this.data.provinceDataArr[1][this.data.provinceDataValue[1]]; | ||||
| this.data.subscribeData.agent_code = this.data.storeArr[this.data.storeValue].agent_code; | this.data.subscribeData.agent_code = this.data.storeArr[this.data.storeValue].agent_code; | ||||
| this.data.subscribeData.agentDetail = this.data.storeArr[this.data.storeValue].agent_detail; | this.data.subscribeData.agentDetail = this.data.storeArr[this.data.storeValue].agent_detail; | ||||
| if (!this.data.appointment) { | |||||
| return; | |||||
| } | |||||
| app.wxRequest(app.globalData.urlRoot + "wxPay/preBuy", this.data.subscribeData, res => { | app.wxRequest(app.globalData.urlRoot + "wxPay/preBuy", this.data.subscribeData, res => { | ||||
| if (res.code == 200) { | if (res.code == 200) { | ||||
| wx.requestPayment({ | wx.requestPayment({ |