提现金额不一致修改
This commit is contained in:
parent
ac71784461
commit
0553b46afe
|
@ -4,8 +4,9 @@
|
||||||
<view class="content-top">
|
<view class="content-top">
|
||||||
<view class="content-tops">
|
<view class="content-tops">
|
||||||
<view class="content-top_img" v-if="Object.keys(userInfoData).length>0">
|
<view class="content-top_img" v-if="Object.keys(userInfoData).length>0">
|
||||||
<image :src="userInfoData.mer_info.mer_avatar" v-if="userInfoData.mer_info&&userInfoData.mer_info.mer_avatar"
|
<image :src="userInfoData.mer_info.mer_avatar"
|
||||||
mode="aspectFill" @click="logout">
|
v-if="userInfoData.mer_info&&userInfoData.mer_info.mer_avatar" mode="aspectFill"
|
||||||
|
@click="logout">
|
||||||
</image>
|
</image>
|
||||||
<image src="@/static/images/f.png" v-else mode="aspectFit" @click="logout"></image>
|
<image src="@/static/images/f.png" v-else mode="aspectFit" @click="logout"></image>
|
||||||
</view>
|
</view>
|
||||||
|
@ -69,12 +70,13 @@
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="content-tools" style="margin-top: 30rpx;" v-if="$store.state.app.userInfo&&$store.state.app.userInfo.mer_info&&$store.state.app.userInfo.mer_info.type_code=='TypeSupplyChain'">
|
<view class="content-tools" style="margin-top: 30rpx;"
|
||||||
|
v-if="$store.state.app.userInfo&&$store.state.app.userInfo.mer_info&&$store.state.app.userInfo.mer_info.type_code=='TypeSupplyChain'">
|
||||||
<view class="tools-one" style="margin-bottom: 20rpx;">
|
<view class="tools-one" style="margin-bottom: 20rpx;">
|
||||||
转账订单
|
转账订单
|
||||||
<view class=""></view>
|
<view class=""></view>
|
||||||
</view>
|
</view>
|
||||||
<view class="content-order" >
|
<view class="content-order">
|
||||||
<view class="" v-for="(item,i) in other_order" :key='i' @click="other_shopporder(item)">
|
<view class="" v-for="(item,i) in other_order" :key='i' @click="other_shopporder(item)">
|
||||||
<view class="content-order-two">
|
<view class="content-order-two">
|
||||||
{{item.value}}
|
{{item.value}}
|
||||||
|
@ -94,7 +96,8 @@
|
||||||
常用工具
|
常用工具
|
||||||
<view class=""></view>
|
<view class=""></view>
|
||||||
</view>
|
</view>
|
||||||
<view class="tools-two" v-if="isgShow&&userInfoData.mer_info.setting_status==1&&userInfoData.mer_info.type_code=='TypeSupplyChain'">
|
<view class="tools-two"
|
||||||
|
v-if="isgShow&&userInfoData.mer_info.setting_status==1&&userInfoData.mer_info.type_code=='TypeSupplyChain'">
|
||||||
<view class="" v-for="(item,k) in typelistSupplyChain" :key='k' @click="navation(item)">
|
<view class="" v-for="(item,k) in typelistSupplyChain" :key='k' @click="navation(item)">
|
||||||
<view class="tools-two-img">
|
<view class="tools-two-img">
|
||||||
<image :src="item.image" mode=""></image>
|
<image :src="item.image" mode=""></image>
|
||||||
|
@ -102,7 +105,8 @@
|
||||||
<view class="tools-two-title"> {{item.name}}</view>
|
<view class="tools-two-title"> {{item.name}}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="tools-two" v-else-if="isgShow&&userInfoData.mer_info.setting_status==1&&userInfoData.mer_info.type_code=='PersonalStore'">
|
<view class="tools-two"
|
||||||
|
v-else-if="isgShow&&userInfoData.mer_info.setting_status==1&&userInfoData.mer_info.type_code=='PersonalStore'">
|
||||||
<view class="" v-for="(item,k) in typePersonalStoreList" :key='k' @click="navation(item)">
|
<view class="" v-for="(item,k) in typePersonalStoreList" :key='k' @click="navation(item)">
|
||||||
<view class="tools-two-img">
|
<view class="tools-two-img">
|
||||||
<image :src="item.image" mode=""></image>
|
<image :src="item.image" mode=""></image>
|
||||||
|
@ -198,7 +202,9 @@
|
||||||
<view class="title-img">
|
<view class="title-img">
|
||||||
<image src="@/static/images/zb.png" mode="aspectFit"></image>
|
<image src="@/static/images/zb.png" mode="aspectFit"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="adress">{{item.real_name}} {{ item.user_phone}} <br/> {{item.user_address}} </view>
|
<view class="adress">{{item.real_name}} {{ item.user_phone}} <br />
|
||||||
|
{{item.user_address}}
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -269,7 +275,8 @@
|
||||||
<view class="settlementAgreement" v-if="isFshow">
|
<view class="settlementAgreement" v-if="isFshow">
|
||||||
<view class="setAgCount" style="width: 100%;height: 100%; padding-top: 160rpx;">
|
<view class="setAgCount" style="width: 100%;height: 100%; padding-top: 160rpx;">
|
||||||
<!-- <i class="icon iconfont icon-cha" @click="recuo"></i> -->
|
<!-- <i class="icon iconfont icon-cha" @click="recuo"></i> -->
|
||||||
<view class="" style="width: 90rpx;height: 90rpx; position: absolute;right: 10rpx; top:90rpx" @click="recuo">
|
<view class="" style="width: 90rpx;height: 90rpx; position: absolute;right: 10rpx; top:90rpx"
|
||||||
|
@click="recuo">
|
||||||
<image src="@/static/images/close.png" mode="aspectFit" style="width: 90rpx;height: 90rpx;"></image>
|
<image src="@/static/images/close.png" mode="aspectFit" style="width: 90rpx;height: 90rpx;"></image>
|
||||||
</view>
|
</view>
|
||||||
<div class="title">{{detail.title}}</div>
|
<div class="title">{{detail.title}}</div>
|
||||||
|
@ -284,12 +291,13 @@
|
||||||
拒绝
|
拒绝
|
||||||
</button> -->
|
</button> -->
|
||||||
|
|
||||||
<button class="btn" :class="num>0?'setAgCountbtnb':'setAgCountbtnc'" :disabled="num!=0" @click="agree">
|
<button class="btn" :class="num>0?'setAgCountbtnb':'setAgCountbtnc'" :disabled="num!=0"
|
||||||
|
@click="agree">
|
||||||
<text v-if="num>0">请仔细阅读协议{{num}}S</text>
|
<text v-if="num>0">请仔细阅读协议{{num}}S</text>
|
||||||
<text v-else>同意本协议</text>
|
<text v-else>同意本协议</text>
|
||||||
</button>
|
</button>
|
||||||
</view>
|
</view>
|
||||||
<view ></view>
|
<view></view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<uni-popup ref="popup" type="bottom" @change="changePopup">
|
<uni-popup ref="popup" type="bottom" @change="changePopup">
|
||||||
|
@ -312,42 +320,48 @@
|
||||||
<view class="item" v-if="userInfoData.mer_info&&userInfoData.mer_info.is_company">
|
<view class="item" v-if="userInfoData.mer_info&&userInfoData.mer_info.is_company">
|
||||||
<view class="acea-row row-middle" style="display: flex;align-items: flex-start;">
|
<view class="acea-row row-middle" style="display: flex;align-items: flex-start;">
|
||||||
<text class="item-name" style="flex-shrink: 0;">公司名称:</text>
|
<text class="item-name" style="flex-shrink: 0;">公司名称:</text>
|
||||||
<input style="font-size: 31rpx;" placeholder="请输入公司名称" v-model="merchantData.company_name" @input="validateBtn"
|
<input style="font-size: 31rpx;" placeholder="请输入公司名称"
|
||||||
|
v-model="merchantData.company_name" @input="validateBtn"
|
||||||
placeholder-class='placeholder' />
|
placeholder-class='placeholder' />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item" v-else>
|
<view class="item" v-else>
|
||||||
<view class="acea-row row-middle" style="display: flex;align-items: flex-start;">
|
<view class="acea-row row-middle" style="display: flex;align-items: flex-start;">
|
||||||
<text class="item-name" style="flex-shrink: 0;">持卡人:</text>
|
<text class="item-name" style="flex-shrink: 0;">持卡人:</text>
|
||||||
<input style="font-size: 31rpx;" placeholder="请输入持卡人姓名" v-model="merchantData.company_name" @input="validateBtn"
|
<input style="font-size: 31rpx;" placeholder="请输入持卡人姓名"
|
||||||
|
v-model="merchantData.company_name" @input="validateBtn"
|
||||||
placeholder-class='placeholder' />
|
placeholder-class='placeholder' />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item" v-if="userInfoData.mer_info&&userInfoData.mer_info.is_company">
|
<view class="item" v-if="userInfoData.mer_info&&userInfoData.mer_info.is_company">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name">对公账号:</text>
|
<text class="item-name">对公账号:</text>
|
||||||
<input style="font-size: 31rpx;" type="number" placeholder="请输入对公账号" v-model="merchantData.bank_code" @input="validateBtn"
|
<input style="font-size: 31rpx;" type="number" placeholder="请输入对公账号"
|
||||||
|
v-model="merchantData.bank_code" @input="validateBtn"
|
||||||
placeholder-class='placeholder' />
|
placeholder-class='placeholder' />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item" v-else>
|
<view class="item" v-else>
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name">银行卡号:</text>
|
<text class="item-name">银行卡号:</text>
|
||||||
<input style="font-size: 31rpx;" type="number" placeholder="请输入银行卡号" v-model="merchantData.bank_code" @input="validateBtn"
|
<input style="font-size: 31rpx;" type="number" placeholder="请输入银行卡号"
|
||||||
|
v-model="merchantData.bank_code" @input="validateBtn"
|
||||||
placeholder-class='placeholder' />
|
placeholder-class='placeholder' />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name">开户银行:</text>
|
<text class="item-name">开户银行:</text>
|
||||||
<input style="font-size: 31rpx;" type="text" maxlength="30" placeholder="请输入开户银行名称" v-model="merchantData.bank_username"
|
<input style="font-size: 31rpx;" type="text" maxlength="30" placeholder="请输入开户银行名称"
|
||||||
@input="validateBtn" placeholder-class='placeholder' />
|
v-model="merchantData.bank_username" @input="validateBtn"
|
||||||
|
placeholder-class='placeholder' />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name">开户网点:</text>
|
<text class="item-name">开户网点:</text>
|
||||||
<input style="font-size: 31rpx;" type="text" placeholder="请输入开户网点" v-model="merchantData.bank_opening" @input="validateBtn"
|
<input style="font-size: 31rpx;" type="text" placeholder="请输入开户网点"
|
||||||
|
v-model="merchantData.bank_opening" @input="validateBtn"
|
||||||
placeholder-class='placeholder' />
|
placeholder-class='placeholder' />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -374,11 +388,14 @@
|
||||||
</view> -->
|
</view> -->
|
||||||
<view class="item" v-if="userInfoData.mer_info && userInfoData.mer_info.is_company != 1">
|
<view class="item" v-if="userInfoData.mer_info && userInfoData.mer_info.is_company != 1">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name">{{userInfoData.mer_info&&userInfoData.mer_info.is_company?"开户凭证:":"银行卡图片:"}}</text>
|
<text
|
||||||
|
class="item-name">{{userInfoData.mer_info&&userInfoData.mer_info.is_company?"开户凭证:":"银行卡图片:"}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="item-card">
|
<view class="item-card">
|
||||||
<view class="item-carda" @click='uploadpic({type:3})' v-if='merchantData.bank_front.length==0'>
|
<view class="item-carda" @click='uploadpic({type:3})'
|
||||||
<image v-if="userInfoData.mer_info&&userInfoData.mer_info.is_company" src="@/static/images/KHPZ.png" mode="aspectFit"></image>
|
v-if='merchantData.bank_front.length==0'>
|
||||||
|
<image v-if="userInfoData.mer_info&&userInfoData.mer_info.is_company"
|
||||||
|
src="@/static/images/KHPZ.png" mode="aspectFit"></image>
|
||||||
<image v-else src="@/static/images/YHKZ.png" mode="aspectFit"></image>
|
<image v-else src="@/static/images/YHKZ.png" mode="aspectFit"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="item-carda" @click='DelPic({type:3})' v-else>
|
<view class="item-carda" @click='DelPic({type:3})' v-else>
|
||||||
|
@ -417,7 +434,8 @@
|
||||||
} from "@/api/admin";
|
} from "@/api/admin";
|
||||||
import {
|
import {
|
||||||
merstreet,
|
merstreet,
|
||||||
getUserInfo
|
getUserInfo,
|
||||||
|
getAdminApplyAPI
|
||||||
} from '@/api/user.js';
|
} from '@/api/user.js';
|
||||||
import {
|
import {
|
||||||
business,
|
business,
|
||||||
|
@ -434,7 +452,9 @@
|
||||||
import {
|
import {
|
||||||
ENV
|
ENV
|
||||||
} from "@/config/app.js"
|
} from "@/config/app.js"
|
||||||
import { Toast } from '../../libs/uniApi';
|
import {
|
||||||
|
Toast
|
||||||
|
} from '../../libs/uniApi';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
@ -451,6 +471,9 @@ import { Toast } from '../../libs/uniApi';
|
||||||
list: [{
|
list: [{
|
||||||
name: '账户总金额',
|
name: '账户总金额',
|
||||||
value: 0
|
value: 0
|
||||||
|
}, {
|
||||||
|
name: '暂存金额',
|
||||||
|
value: 0
|
||||||
}, {
|
}, {
|
||||||
name: '本月订单数',
|
name: '本月订单数',
|
||||||
value: 0
|
value: 0
|
||||||
|
@ -585,7 +608,8 @@ import { Toast } from '../../libs/uniApi';
|
||||||
name: '全部',
|
name: '全部',
|
||||||
type: 8,
|
type: 8,
|
||||||
image: require('@/static/images/index3.png')
|
image: require('@/static/images/index3.png')
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
typePersonalStoreList: [{
|
typePersonalStoreList: [{
|
||||||
name: '商品管理',
|
name: '商品管理',
|
||||||
type: 1,
|
type: 1,
|
||||||
|
@ -678,18 +702,17 @@ import { Toast } from '../../libs/uniApi';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
isFshow(n, o){
|
isFshow(n, o) {
|
||||||
if(n) {
|
if (n) {
|
||||||
uni.hideTabBar();
|
uni.hideTabBar();
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
uni.showTabBar();
|
uni.showTabBar();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPullDownRefresh() {
|
onPullDownRefresh() {
|
||||||
|
|
||||||
this.getGoods(true).then(()=>{
|
this.getGoods(true).then(() => {
|
||||||
uni.stopPullDownRefresh()
|
uni.stopPullDownRefresh()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -700,7 +723,7 @@ import { Toast } from '../../libs/uniApi';
|
||||||
this.list1();
|
this.list1();
|
||||||
this.getUserInfo();
|
this.getUserInfo();
|
||||||
this.codelist();
|
this.codelist();
|
||||||
this.$u.sleep(5000).then(()=>{
|
this.$u.sleep(5000).then(() => {
|
||||||
this.loadEndFlag = true;
|
this.loadEndFlag = true;
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -720,7 +743,7 @@ import { Toast } from '../../libs/uniApi';
|
||||||
|
|
||||||
|
|
||||||
onShow() {
|
onShow() {
|
||||||
if(this.loadEndFlag){
|
if (this.loadEndFlag) {
|
||||||
this.getUserInfo();
|
this.getUserInfo();
|
||||||
this.codelist();
|
this.codelist();
|
||||||
}
|
}
|
||||||
|
@ -798,33 +821,38 @@ import { Toast } from '../../libs/uniApi';
|
||||||
switch (item.type) {
|
switch (item.type) {
|
||||||
case 1:
|
case 1:
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/admin/orderList/indexOther?merId=' + this.userInfoData.service.mer_id +
|
url: '/pages/admin/orderList/indexOther?merId=' + this.userInfoData.service
|
||||||
|
.mer_id +
|
||||||
'&types=' + item.type
|
'&types=' + item.type
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
|
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/admin/orderList/indexOther?merId=' + this.userInfoData.service.mer_id +
|
url: '/pages/admin/orderList/indexOther?merId=' + this.userInfoData.service
|
||||||
|
.mer_id +
|
||||||
'&types=' + item.type
|
'&types=' + item.type
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/admin/orderList/indexOther?merId=' + this.userInfoData.service.mer_id +
|
url: '/pages/admin/orderList/indexOther?merId=' + this.userInfoData.service
|
||||||
|
.mer_id +
|
||||||
'&types=' + item.type
|
'&types=' + item.type
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/admin/orderList/indexOther?merId=' + this.userInfoData.service.mer_id +
|
url: '/pages/admin/orderList/indexOther?merId=' + this.userInfoData.service
|
||||||
|
.mer_id +
|
||||||
'&types=' + item.type
|
'&types=' + item.type
|
||||||
|
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/admin/orderList/indexOther?merId=' + this.userInfoData.service.mer_id +
|
url: '/pages/admin/orderList/indexOther?merId=' + this.userInfoData.service
|
||||||
|
.mer_id +
|
||||||
'&types=' + item.type
|
'&types=' + item.type
|
||||||
|
|
||||||
})
|
})
|
||||||
|
@ -871,8 +899,8 @@ import { Toast } from '../../libs/uniApi';
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
changePopup(e){
|
changePopup(e) {
|
||||||
if(e.show)uni.hideTabBar();
|
if (e.show) uni.hideTabBar();
|
||||||
else uni.showTabBar();
|
else uni.showTabBar();
|
||||||
},
|
},
|
||||||
//备注弹窗
|
//备注弹窗
|
||||||
|
@ -960,7 +988,8 @@ import { Toast } from '../../libs/uniApi';
|
||||||
title: '请输入开户网点'
|
title: '请输入开户网点'
|
||||||
});
|
});
|
||||||
|
|
||||||
if (value.bank_front.length == 0 && that.userInfoData.mer_info.is_company != 1) return that.$util.Tips({
|
if (value.bank_front.length == 0 && that.userInfoData.mer_info.is_company != 1) return that.$util
|
||||||
|
.Tips({
|
||||||
title: that.userInfoData.mer_info.is_company ? '请上传开户凭证' : '请上传银行卡正面图片'
|
title: that.userInfoData.mer_info.is_company ? '请上传开户凭证' : '请上传银行卡正面图片'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1051,7 +1080,7 @@ import { Toast } from '../../libs/uniApi';
|
||||||
this.$refs.popup1.open()
|
this.$refs.popup1.open()
|
||||||
// #endif
|
// #endif
|
||||||
// #ifndef H5
|
// #ifndef H5
|
||||||
if(ENV=='prod') this.byset()
|
if (ENV == 'prod') this.byset()
|
||||||
else this.$refs.popup1.open()
|
else this.$refs.popup1.open()
|
||||||
// #endif
|
// #endif
|
||||||
},
|
},
|
||||||
|
@ -1102,7 +1131,7 @@ import { Toast } from '../../libs/uniApi';
|
||||||
this.order[2].value = res.data.order.untake
|
this.order[2].value = res.data.order.untake
|
||||||
this.order[3].value = res.data.order.unevaluate
|
this.order[3].value = res.data.order.unevaluate
|
||||||
this.order[4].value = res.data.order.refund
|
this.order[4].value = res.data.order.refund
|
||||||
this.list[1].value = res.data.data.month.orderNum
|
this.list[2].value = res.data.data.month.orderNum
|
||||||
},
|
},
|
||||||
err => {
|
err => {
|
||||||
that.$util.Tips({
|
that.$util.Tips({
|
||||||
|
@ -1141,13 +1170,15 @@ import { Toast } from '../../libs/uniApi';
|
||||||
getUserInfo() {
|
getUserInfo() {
|
||||||
getUserInfo().then(res => {
|
getUserInfo().then(res => {
|
||||||
// console.log(res);
|
// console.log(res);
|
||||||
res.data.mer_info.is_company?res.data.mer_info.is_company=1:res.data.mer_info.is_company=0
|
res.data.mer_info.is_company ? res.data.mer_info.is_company = 1 : res.data.mer_info
|
||||||
|
.is_company = 0
|
||||||
this.userid = res.data.uid
|
this.userid = res.data.uid
|
||||||
this.userInfoData = res.data;
|
this.userInfoData = res.data;
|
||||||
this.list[0].value = res.data.now_money;
|
this.list[0].value = res.data.now_money;
|
||||||
this.$store.commit('SET_USERINFO', res.data);
|
this.$store.commit('SET_USERINFO', res.data);
|
||||||
this.merchantData.phone = res.data.phone;
|
this.merchantData.phone = res.data.phone;
|
||||||
if(res.data.mer_info.is_company==0) !this.merchantData.company_name ? this.merchantData.company_name = "" : null;
|
if (res.data.mer_info.is_company == 0) !this.merchantData.company_name ? this.merchantData
|
||||||
|
.company_name = "" : null;
|
||||||
else this.merchantData.company_name = res.data.mer_info.company_name;
|
else this.merchantData.company_name = res.data.mer_info.company_name;
|
||||||
if (res.data.service == null) {
|
if (res.data.service == null) {
|
||||||
// console.log('123');
|
// console.log('123');
|
||||||
|
@ -1171,6 +1202,14 @@ import { Toast } from '../../libs/uniApi';
|
||||||
} else {
|
} else {
|
||||||
this.getindex()
|
this.getindex()
|
||||||
this.getGoods(true)
|
this.getGoods(true)
|
||||||
|
|
||||||
|
//获取账户金额以及冻结金额 重新调了一次接口
|
||||||
|
getAdminApplyAPI(this.userInfoData.service.mer_id).then(res => {
|
||||||
|
// 余额
|
||||||
|
this.list[0].value = res.data.extract_money;
|
||||||
|
// 暂存金额
|
||||||
|
this.list[1].value = res.data.lock_money
|
||||||
|
})
|
||||||
}
|
}
|
||||||
merstreet({
|
merstreet({
|
||||||
street_code: res.data.mer_info.street_id
|
street_code: res.data.mer_info.street_id
|
||||||
|
@ -1229,13 +1268,13 @@ import { Toast } from '../../libs/uniApi';
|
||||||
|
|
||||||
if (this.userid) {
|
if (this.userid) {
|
||||||
|
|
||||||
if ( this.userInfoData.mer_info.mer_settlement_agree_status == 0) {
|
if (this.userInfoData.mer_info.mer_settlement_agree_status == 0) {
|
||||||
// console.log(this.$store.state.app.userInfo.mer_info.type_code);
|
// console.log(this.$store.state.app.userInfo.mer_info.type_code);
|
||||||
if(this.$store.state.app.userInfo.mer_info.type_code=="TypeSupplyChain"&&this.$store.state.app.userInfo.mer_info.type_code=="PersonalStore"){
|
if (this.$store.state.app.userInfo.mer_info.type_code == "TypeSupplyChain" && this.$store.state.app
|
||||||
|
.userInfo.mer_info.type_code == "PersonalStore") {
|
||||||
this.agree()
|
this.agree()
|
||||||
// this.countDown()
|
// this.countDown()
|
||||||
}
|
} else if (this.codenote.length == 0) {
|
||||||
else if (this.codenote.length == 0) {
|
|
||||||
this.isFshow = true
|
this.isFshow = true
|
||||||
this.countDown()
|
this.countDown()
|
||||||
} else {
|
} else {
|
||||||
|
@ -1342,7 +1381,7 @@ import { Toast } from '../../libs/uniApi';
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case 14:
|
case 14:
|
||||||
if(this.userInfoData.mer_info.mer_settlement_agree_status == 0) Toast('暂无权限');
|
if (this.userInfoData.mer_info.mer_settlement_agree_status == 0) Toast('暂无权限');
|
||||||
else uni.navigateTo({
|
else uni.navigateTo({
|
||||||
url: '/pages/margin/margin' + `?mer_id=` + this.userInfoData
|
url: '/pages/margin/margin' + `?mer_id=` + this.userInfoData
|
||||||
.service
|
.service
|
||||||
|
@ -1350,13 +1389,13 @@ import { Toast } from '../../libs/uniApi';
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case 15:
|
case 15:
|
||||||
if(this.userInfoData.mer_info.mer_settlement_agree_status == 0) Toast('暂无权限');
|
if (this.userInfoData.mer_info.mer_settlement_agree_status == 0) Toast('暂无权限');
|
||||||
else uni.navigateTo({
|
else uni.navigateTo({
|
||||||
url: '/pages/users/order_list/indexOther?status=-1&product_type=98&source=12'
|
url: '/pages/users/order_list/indexOther?status=-1&product_type=98&source=12'
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case 16:
|
case 16:
|
||||||
if(this.userInfoData.mer_info.mer_settlement_agree_status == 0) Toast('暂无权限');
|
if (this.userInfoData.mer_info.mer_settlement_agree_status == 0) Toast('暂无权限');
|
||||||
else uni.navigateTo({
|
else uni.navigateTo({
|
||||||
url: '/pages/activeCode/subsidy'
|
url: '/pages/activeCode/subsidy'
|
||||||
})
|
})
|
||||||
|
@ -1648,7 +1687,8 @@ import { Toast } from '../../libs/uniApi';
|
||||||
-webkit-align-items: center;
|
-webkit-align-items: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding-left: 2px;
|
padding-left: 2px;
|
||||||
input{
|
|
||||||
|
input {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1873,17 +1913,18 @@ import { Toast } from '../../libs/uniApi';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.border{
|
.border {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: -28rpx;
|
left: -28rpx;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
border-radius: 40rpx 40rpx 0 0;
|
border-radius: 40rpx 40rpx 0 0;
|
||||||
box-shadow: 0px -5px 5px -2px rgba(0, 0, 0, 0.2); /* 在上边框添加阴影 */
|
box-shadow: 0px -5px 5px -2px rgba(0, 0, 0, 0.2);
|
||||||
|
/* 在上边框添加阴影 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn{
|
.btn {
|
||||||
width: 694rpx;
|
width: 694rpx;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 34rpx;
|
font-size: 34rpx;
|
||||||
|
@ -2028,7 +2069,7 @@ import { Toast } from '../../libs/uniApi';
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
|
|
||||||
.top-titlea{
|
.top-titlea {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
-webkit-line-clamp: 2;
|
-webkit-line-clamp: 2;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<span>商户收入(元)</span>
|
<span>商户收入(元)</span>
|
||||||
<view class="pic">100.00</view>
|
<view class="pic">100.00</view>
|
||||||
</li>
|
</li>
|
||||||
<li class="kuang"><span>冻结金额(元)</span>
|
<li class="kuang"><span>暂存金额(元)</span>
|
||||||
<view class="pic">100.00</view>
|
<view class="pic">100.00</view>
|
||||||
</li>
|
</li>
|
||||||
<li><span>优惠券补贴(元)</span>
|
<li><span>优惠券补贴(元)</span>
|
||||||
|
|
Loading…
Reference in New Issue