调整全局支付收银class
This commit is contained in:
@@ -215,32 +215,14 @@
|
||||
this.coupons = res.coupons
|
||||
})
|
||||
},
|
||||
onBackPress({
|
||||
from
|
||||
}) {
|
||||
if (from == 'backbutton') {
|
||||
this.$nextTick(function() {
|
||||
uniShare.hide()
|
||||
})
|
||||
return uniShare.isShow;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 提交购买单
|
||||
buyGoods() {
|
||||
let token = this.$store.getters.getToken
|
||||
if (token == '') {
|
||||
let userLogin = new userAuth()
|
||||
userLogin.Login()
|
||||
this.$Router.push({name: 'Login'})
|
||||
return
|
||||
}
|
||||
// this.$Router.push({
|
||||
// name: 'Buy',
|
||||
// params: {
|
||||
// skuId: this.goodsObj.skus[0].sku_id,
|
||||
// qty : this.goodsObj.skus[0].number
|
||||
// }
|
||||
// })
|
||||
uni.navigateTo({
|
||||
url: '/pages/goods/confirmOrder?qty=1&type=2&goods_sku_id=' + this.goodsObj.skus[0].sku_id
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user