|
|
@@ -77,7 +77,7 @@
|
|
|
<li @click="routerTo('pickup-list')">
|
|
|
<Iconfont label-direction="bottom" icon="g-icon-pickup--line">提料订单</Iconfont>
|
|
|
</li>
|
|
|
- <li @click="routerTo('inventory-list')">
|
|
|
+ <li @click="routerTo('inventory-list')" v-if="oem === 'sjgj'">
|
|
|
<Iconfont label-direction="bottom" icon="g-icon-inventory">我的库存</Iconfont>
|
|
|
</li>
|
|
|
</ul>
|
|
|
@@ -152,18 +152,21 @@
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
import { shallowRef, onActivated, computed } from 'vue'
|
|
|
-import { Cell, CellGroup, Button, Icon,Badge } from 'vant'
|
|
|
+import { Cell, CellGroup, Button, Icon, Badge } from 'vant'
|
|
|
import { fullloading, dialog } from '@/utils/vant'
|
|
|
import { handlePriceColor, parsePercent } from '@/filters'
|
|
|
import { useNavigation } from '@mobile/router/navigation'
|
|
|
import { AuthStatus } from '@/constants/account'
|
|
|
import { useRequest } from '@/hooks/request'
|
|
|
import { queryBankAccountSign } from '@/services/api/bank'
|
|
|
-import { useGlobalStore,useNoticeStore, useLoginStore, useAccountStore, useUserStore, useSBYJOrderStore } from '@/stores'
|
|
|
+import { useGlobalStore, useNoticeStore, useLoginStore, useAccountStore, useUserStore, useSBYJOrderStore } from '@/stores'
|
|
|
+import service from '@/services'
|
|
|
import eventBus from '@/services/bus'
|
|
|
import Iconfont from '@/components/base/iconfont/index.vue'
|
|
|
import { queryTencentUsereSignRecords } from '@/services/api/account'
|
|
|
|
|
|
+const oem = service.getConfig('oem')
|
|
|
+
|
|
|
const { router, routerTo } = useNavigation()
|
|
|
const globalStore = useGlobalStore()
|
|
|
const loginStore = useLoginStore()
|
|
|
@@ -172,6 +175,7 @@ const userStore = useUserStore()
|
|
|
const sbyjOrderStore = useSBYJOrderStore()
|
|
|
const accountStore = useAccountStore()
|
|
|
const { currentAccount } = accountStore.$toRefs()
|
|
|
+
|
|
|
/// 判断是否能签约
|
|
|
const canBankSign = shallowRef(false)
|
|
|
const headerRef = shallowRef<HTMLDivElement>()
|