提交 25884146 authored 作者: haodaking's avatar haodaking 提交者: 王鹏飞

fix: 办事大厅bug修复

上级 96620f1c
...@@ -54,9 +54,11 @@ export default { ...@@ -54,9 +54,11 @@ export default {
methods: { methods: {
// 创建订单 // 创建订单
createOrder() { createOrder() {
// 支付类型(1:微信扫码支付,2:微信小程序支付,3:微信JSAPI支付,4:微信h5支付,11:支付宝扫码支付,12:支付宝手机网站支付,13:支付宝网站支付)
const payment = { 1: '11', 2: '1' }
const params = { const params = {
buy_count: this.num + '', buy_count: this.num + '',
payment_method: this.payment, payment_method: payment[this.payment],
shop_id: this.product.shop_id, shop_id: this.product.shop_id,
spu_id: this.product.spu_id, spu_id: this.product.spu_id,
sku_id: this.product.sku_id sku_id: this.product.sku_id
......
...@@ -20,8 +20,8 @@ export default { ...@@ -20,8 +20,8 @@ export default {
{ value: '秋季中方课11月-1月' } { value: '秋季中方课11月-1月' }
], ],
payList: [ payList: [
{ label: '微信支付', value: '1' }, { label: '微信支付', value: '2' },
{ label: '支付宝支付', value: '11' }, { label: '支付宝支付', value: '1' },
{ label: '银行转账', value: '3' } { label: '银行转账', value: '3' }
], ],
submitLoading: false submitLoading: false
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论