|
|
|
@ -153,7 +153,7 @@ |
|
|
|
|
</div> |
|
|
|
|
<div class="btn"> |
|
|
|
|
<router-link to="/shopping/person" class="c_fff f_16" style="margin-right: 30px">返回</router-link> |
|
|
|
|
<a @click="ljgm" class="c_fff f_16">立即购买</a> |
|
|
|
|
<a @click="ljgm" class="c_fff f_16" v-if="this.model.pay==='0'">立即支付</a> |
|
|
|
|
</div> |
|
|
|
|
<a-modal |
|
|
|
|
title="发票申请" |
|
|
|
@ -295,6 +295,8 @@ |
|
|
|
|
visible2:false, |
|
|
|
|
visible3:false, |
|
|
|
|
cityId:"", |
|
|
|
|
ordersid:"", |
|
|
|
|
goodsid:"", |
|
|
|
|
description:"", |
|
|
|
|
defaultPicture:"", |
|
|
|
|
current:0,//目前步骤条在第几步 |
|
|
|
@ -326,8 +328,8 @@ |
|
|
|
|
url: { |
|
|
|
|
list: "/starehouse/starehouse/list", |
|
|
|
|
getdingdandh: "/sys/user/getdingdandh", |
|
|
|
|
getdingdaninfo: "/sys/user/getdingdaninfo" |
|
|
|
|
|
|
|
|
|
getdingdaninfo: "/sys/user/getdingdaninfo", |
|
|
|
|
zf: "/zyorders/zyOrders/zf", |
|
|
|
|
}, |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
@ -381,7 +383,26 @@ |
|
|
|
|
this.visible3 = true |
|
|
|
|
}, |
|
|
|
|
zhifu() { |
|
|
|
|
|
|
|
|
|
getAction(this.url.zf,{ordersid:this.ordersid,goodsid:this.goodsid}).then((res1) => { |
|
|
|
|
if (res1.success) { |
|
|
|
|
this.$notification['success']({ |
|
|
|
|
message: '支付成功!', |
|
|
|
|
description: |
|
|
|
|
'自动为您跳转个人中心中...', |
|
|
|
|
}); |
|
|
|
|
let that = this |
|
|
|
|
setTimeout(function(){ |
|
|
|
|
that.$router.push({ |
|
|
|
|
path: "/shopping/person", |
|
|
|
|
query: { |
|
|
|
|
// id: item.id, |
|
|
|
|
}, |
|
|
|
|
}); |
|
|
|
|
},2000); |
|
|
|
|
}else{ |
|
|
|
|
this.$message.error(res1.message); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
getdingdandh(){ |
|
|
|
|
getAction(this.url.getdingdandh,{ id: this.$route.query.id}).then((res) => { |
|
|
|
@ -406,6 +427,8 @@ |
|
|
|
|
this.defaultPicture = this.dingdaninfo.defaultPicture; |
|
|
|
|
this.description=this.dingdaninfo.createTime; |
|
|
|
|
this.cityId = this.dingdaninfo.cityId; |
|
|
|
|
this.ordersid = this.dingdaninfo.id; |
|
|
|
|
this.goodsid = this.dingdaninfo.goodsId; |
|
|
|
|
this.visible = true; |
|
|
|
|
} else { |
|
|
|
|
console.log("+++++++++++++++++++++") |
|
|
|
|