|
@@ -5,6 +5,10 @@
|
|
|
<img style="width: 22px;height: 22px;vertical-align: middle;margin: 0 5px;" src="../../assets/icon_movie.png"/>
|
|
|
<span style="vertical-align: middle;">帮助</span>
|
|
|
</p>
|
|
|
+ <p class="help-cont" v-if="isShopCar" @click="showShopCar">
|
|
|
+ <a-icon type="shopping-cart" style="font-size:18px;vertical-align: middle;margin: 0 5px;"/>
|
|
|
+ <span style="vertical-align: middle;">购物车</span>
|
|
|
+ </p>
|
|
|
<!-- 通知 -->
|
|
|
<notice-icon class="action"/>
|
|
|
<!-- 皮肤设置 -->
|
|
@@ -123,6 +127,10 @@ export default {
|
|
|
const isPurchaseReturn = this.nowRoute.indexOf('purchaseReturn') > -1 // 当前展示是否为采购退货模块
|
|
|
return isSaleOrder || isSalesReturn || isPurchaseOrder || isPurchaseReturn
|
|
|
},
|
|
|
+ isShopCar () {
|
|
|
+ const isInventoryQuery = this.nowRoute.indexOf('inventoryQuery') > -1
|
|
|
+ return isInventoryQuery
|
|
|
+ },
|
|
|
printName () {
|
|
|
const defName = this.printDefNeedle
|
|
|
return defName && defName != 'undefined' ? defName : null
|
|
@@ -140,6 +148,9 @@ export default {
|
|
|
showVideo () {
|
|
|
store.commit('IS_ShOW_VIDEO', true)
|
|
|
},
|
|
|
+ showShopCar () {
|
|
|
+ this.$router.push({ path: '/shoppingCarManagement/shoppingCar/list' })
|
|
|
+ },
|
|
|
handleLogout () {
|
|
|
this.$confirm({
|
|
|
title: '提示',
|