This commit is contained in:
weipengfei 2023-11-09 18:59:35 +08:00
parent 7e85b90fc7
commit 84636211c3
3 changed files with 24 additions and 19 deletions

View File

@ -8,9 +8,9 @@ let httpApiTwo
let httpApiThree
// 在打包之前请检查当前环境是否正确
const env = 'dev'; // 开发
// const env = 'dev'; // 开发
// const env = 'prod'; // 生产
const env = 'prod'; // 生产
// const env = 'prew'; // 预上线
switch (env) {
@ -43,6 +43,7 @@ switch (env) {
let wsApi = 'wss://shop.lihaink.cn'
module.exports = {
ENV: env,
// 请求域名 格式: https://您的域名
// #ifdef MP || APP-PLUS
// HTTP_REQUEST_URL: httpApi,

View File

@ -375,6 +375,9 @@
getOrderList
} from "@/api/admin";
import {
ENV
} from "@/config/app.js"
export default {
components: {
@ -434,11 +437,11 @@
type: 2,
image: require('@/static/images/index1.png')
},
{
name: '供货采购',
type: 3,
image: require('@/static/images/index4.png')
},
// {
// name: '',
// type: 3,
// image: require('@/static/images/index4.png')
// },
// {
// name: '',
// type: 4,
@ -449,11 +452,11 @@
// type: 11,
// image: require('@/static/images/index10.png')
// },
// {
// name: '',
// type: 12,
// image: require('@/static/images/index11.png')
// },
{
name: '商户设置',
type: 12,
image: require('@/static/images/index11.png')
},
{
name: '提现管理',
type: 5,
@ -858,7 +861,8 @@
},
//
logout() {
this.$refs.popup1.open()
if(ENV=='prod') this.byset()
else this.$refs.popup1.open()
},
//

View File

@ -141,12 +141,12 @@
<image class="icon_img" src="@/static/images/index4.png" mode="aspectFit"></image>
<text class="text">供货采购</text>
</view> -->
<view class="examine"
<view v-if="no_prod" class="examine"
@click="navigator(`/pages/nongKe/supply_chain/supplierA?tit=1&type_id=12&isDetail=1&product_type=98&cate_id=${userInfoData.mer_info.category_id}`)">
<image class="icon_img" src="@/static/images/index4.png" mode="aspectFit"></image>
<text class="text">供货采购</text>
</view>
<view class="examine" @click="navigator('/pages/users/order_list/indexCopy?status=-1&product_type=98')">
<view v-if="no_prod" class="examine" @click="navigator('/pages/users/order_list/indexCopy?status=-1&product_type=98')">
<image class="icon_img" src="@/static/images/index5.png" mode="aspectFit"></image>
<text class="text">进货管理</text>
</view>
@ -224,12 +224,12 @@
</image>
<text class="text">供应链批发</text>
</view>
<view v-if="userInfoData.mer_info.type_code === 'TypeTownSupplyChain'" class="examine" @click="navigator(`/pages/replace_replenishment/replace`)">
<view v-if="no_prod && userInfoData.mer_info.type_code === 'TypeTownSupplyChain'" class="examine" @click="navigator(`/pages/replace_replenishment/replace`)">
<image class="icon_img" src="@/static/images/index15.png" mode="aspectFit">
</image>
<text class="text">代发订单</text>
</view>
<view v-if="userInfoData.mer_info.type_code === 'TypeTownSupplyChain'" class="examine" @click="navigator(`/pages/replace_replenishment/replenishment`)">
<view v-if="no_prod && userInfoData.mer_info.type_code === 'TypeTownSupplyChain'" class="examine" @click="navigator(`/pages/replace_replenishment/replenishment`)">
<image class="icon_img" src="@/static/images/index15.png" mode="aspectFit">
</image>
<text class="text">补货订单</text>
@ -267,12 +267,12 @@
<view class="special_work-titleb" v-if='codenote[0].status==0'>交易申请状态待审核</view>
</view>
<view class="content ">
<view class="examine"
<view v-if="no_prod" class="examine"
@click="navigator(`/pages/nongKe/supply_chain/supplier?type_id=12&isDetail=1&product_type=98&cate_id=${userInfoData.mer_info.category_id}`)">
<image class="icon_img" src="@/static/images/index4.png" mode="aspectFit"></image>
<text class="text">供货采购</text>
</view>
<view class="examine" @click="navigator('/pages/users/order_list/index?status=-1')">
<view v-if="no_prod" class="examine" @click="navigator('/pages/users/order_list/index?status=-1')">
<image class="icon_img" src="@/static/images/index5.png" mode="aspectFit"></image>
<text class="text">进货管理</text>
</view>