Commit 6351d1dcb85b418ca4835a0af3d1ab53d3a168db
1 parent
ba126a49
员工号
Showing
4 changed files
with
13 additions
and
3 deletions
src/components/orderPay.vue
... | ... | @@ -21,6 +21,10 @@ |
21 | 21 | <span>{{(arrearageActFee/100).toFixed(2)}}</span> |
22 | 22 | </li> |
23 | 23 | </ul> |
24 | + | |
25 | + <p style="margin-top: 20px;padding-left: 15px;">停车引导员工号(非必填)</p> | |
26 | + <mt-field style="font-size: 14px;color: #333;" label="" placeholder="请输入员工号" type="number" v-model="tollNumber"></mt-field> | |
27 | + | |
24 | 28 | <div style="padding: 20px 18px"> |
25 | 29 | <div class="toPay" @click="toPay">{{clientBrowser}}支付</div> |
26 | 30 | </div> |
... | ... | @@ -61,6 +65,7 @@ export default { |
61 | 65 | orderId: '', //支付的订单 |
62 | 66 | webAppCode: '', // 微信code |
63 | 67 | appOrderTimeout: '', // 超时描述 |
68 | + tollNumber:'', // 收费员员工号 | |
64 | 69 | } |
65 | 70 | }, |
66 | 71 | created() { |
... | ... | @@ -126,6 +131,7 @@ export default { |
126 | 131 | aliParams.paySrcType = this.paySrcType;//101停车支付 |
127 | 132 | aliParams.orgId = this.$utils.myOrgId, |
128 | 133 | aliParams.backType = 2, |
134 | + aliParams.backDeveloperCode = this.tollNumber, | |
129 | 135 | aliParams.recordArreaInfos = JSON.stringify(this.orderId); |
130 | 136 | console.log(aliParams) |
131 | 137 | aliPay(aliParams).then(response => { | ... | ... |
src/main.js
... | ... | @@ -23,6 +23,10 @@ import { Indicator } from 'mint-ui'; |
23 | 23 | Vue.prototype.$msgbox = MessageBox |
24 | 24 | Vue.prototype.$Indicator = Indicator |
25 | 25 | |
26 | +import { Field } from 'mint-ui'; | |
27 | + | |
28 | +Vue.component(Field.name, Field); | |
29 | + | |
26 | 30 | import 'swiper/dist/css/swiper.min.css' // 轮播 |
27 | 31 | import 'swiper/dist/js/swiper.min' |
28 | 32 | ... | ... |
src/utils/request.js
... | ... | @@ -13,9 +13,9 @@ const service = axios.create({ |
13 | 13 | |
14 | 14 | // https://dev.renniting.cn/pay/ 赤峰农行测试环境 |
15 | 15 | |
16 | - baseURL: 'https://pay.renniting.cn/', // url = base url + request url | |
16 | + baseURL: 'http://39.98.58.92:8090', // url = base url + request url | |
17 | 17 | // withCredentials: true, // send cookies when cross-domain requests |
18 | - timeout: 6000 // request timeout | |
18 | + timeout: 10000 // request timeout | |
19 | 19 | }) |
20 | 20 | |
21 | 21 | service.interceptors.request.use( | ... | ... |
src/utils/utils.js
... | ... | @@ -122,7 +122,7 @@ export default { |
122 | 122 | |
123 | 123 | myDeviceInfo: 'BC0703A4-AFB0-4B51-9089-9B7487C0CC6E', // 公共请求设备信息 |
124 | 124 | |
125 | - myVxAppId: 'wx2af2bab90d433c86', | |
125 | + myVxAppId: 'wxff4cebaedbf4f886', | |
126 | 126 | // 测试环境 微信赤峰 appid wxff4cebaedbf4f886 |
127 | 127 | // 微信赤峰 appid wx2af2bab90d433c86 |
128 | 128 | // 黄石 appid wxa1a66cc7d263afe6 | ... | ... |