Commit 75d6dfc3 authored by 华国豪's avatar 华国豪 🙄

'B2B预览@'

parent 9ae82b4e
...@@ -625,7 +625,7 @@ ...@@ -625,7 +625,7 @@
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item v-if="item.TCState==3" @click.native="Setshelves(item.TCID)">下架 <el-dropdown-item v-if="item.TCState==3" @click.native="Setshelves(item.TCID)">下架
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item v-if="CurrentUserInfo.B2BDomain!=''" @click.native="goB2B(item.ConfigId)"> <el-dropdown-item v-if="CurrentUserInfo.B2BDomain!=''" @click.native="goB2B(item.ConfigId, item.TCID)">
B2B预览 B2B预览
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item @click.native='goUrl("DistributionTransport",item.ID,"分销联运")'>分销联运 <el-dropdown-item @click.native='goUrl("DistributionTransport",item.ID,"分销联运")'>分销联运
...@@ -1226,11 +1226,11 @@ ...@@ -1226,11 +1226,11 @@
} }
}) })
}, },
goB2B(ConfigId) { goB2B(ConfigId,tcid) {
var B2BDomain = this.CurrentUserInfo.B2BDomain var B2BDomain = this.CurrentUserInfo.B2BDomain
window.open( window.open(
'http://www.oytour.com/#/detailTwo/' + 'http://www.oytour.com/#/detailTwo/' +
encodeURIComponent(ConfigId) + encodeURIComponent(ConfigId) + '/' + tcid +
'/preview', '/preview',
'_blank' '_blank'
) )
......
...@@ -744,9 +744,10 @@ ...@@ -744,9 +744,10 @@
goB2B() { goB2B() {
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
var B2BDomain = userInfo.B2BDomain; var B2BDomain = userInfo.B2BDomain;
let configId = this.NewConfigId
window.open( window.open(
B2BDomain+ "/#/detailTwo/" + B2BDomain+ "/#/detailTwo/" +
encodeURIComponent(this.NewConfigId) + encodeURIComponent(configId) + '/' + 0 +
"/preview", "/preview",
"_blank" "_blank"
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment