726 lines
33 KiB
Plaintext
726 lines
33 KiB
Plaintext
<wxs module="m1">
|
||
var numberToFix = function (str) {
|
||
var str_a = str.slice(0, 4);
|
||
var str_b = str.slice(str.length - 4, str.length)
|
||
return str_a + '****' + str_b
|
||
}
|
||
module.exports.numberToFix = numberToFix;
|
||
</wxs>
|
||
<wxs module="isnum">
|
||
var numberTo = function (str) {
|
||
return Number(str)
|
||
}
|
||
module.exports.numberTo = numberTo;
|
||
</wxs>
|
||
<wxs module="m2">
|
||
var numberToFix = function (str) {
|
||
if (!str) return '0.00'//判空
|
||
str = str.toString()
|
||
//如果没有小数 添加两位小数 '.00'
|
||
if (str.indexOf('.') === -1) {
|
||
str += '.00'
|
||
return str
|
||
} else {
|
||
//如果有判断是否小于11
|
||
var decimal = str.split('.');
|
||
if (decimal[0] <= 3) {
|
||
str = decimal[0] + '.' + decimal[1]
|
||
return str
|
||
}
|
||
}
|
||
//切割数组
|
||
//以.分隔为数组
|
||
var arr = str.split('.');
|
||
var left = arr[0];
|
||
//取第一项用正则判断,每隔3位加,
|
||
left = left.replace(getRegExp('\B(?=(\d{3})+$)', 'g'), ',')
|
||
return left + '.' + arr[1];
|
||
}
|
||
module.exports.numberToFix = numberToFix;
|
||
</wxs>
|
||
<view id="withdrawal">
|
||
<view class="navTop">
|
||
<van-nav-bar fixed="true" title="{{income_name_text}}{{name_of_withdrawal}}" left-text="" right-text="{{name_of_withdrawal?name_of_withdrawal:'提现'}}记录/说明" bind:click-right="tapShow" />
|
||
<view class="posbox" wx:if="{{posRightShow}}">
|
||
<view class="toastBox {{posRightShow?'showPosBox':''}}">
|
||
<view class="txt" catchtap="toRecord" data-path="presentationRecord_v2">{{name_of_withdrawal}}记录</view>
|
||
<view class="txt" catchtap="toRecord" data-path="fa_child">{{name_of_withdrawal}}规则说明</view>
|
||
<view class="txt" catchtap="toRecord" data-path="fa_child_two">联系客服</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="withdrawal_complete">
|
||
<view class="elementsin">
|
||
<view class="elementsin_top">
|
||
<view class="elementsin_top_txt">可{{name_of_withdrawal}}总金额</view>
|
||
<view class="elementsin_top_money">
|
||
<view class="amount_type">{{language['money']}}</view>
|
||
<view class="amount">{{m2.numberToFix(all_withdraw_income)}}</view>
|
||
</view>
|
||
</view>
|
||
<van-sticky offset-top="40" bind:scroll="stickChange">
|
||
<view class="elementsin_bottom" catchtap="_getWithdrawType" style="background-color:{{stickStatus?'rgb(250, 138, 77,1)':''}}">
|
||
<icon class="iconfont {{withTypeTipsIcon}}"></icon>
|
||
<view class="elementsin_bottom_text" wx:if="{{pay_type}}">
|
||
<view class="elementsin_bottom_text_top">{{ withTypeTipsTitle }}</view>
|
||
<view wx:if="{{pay_type == 'manual' && pay_typeList.manual.manual_type == 1}}" class="cardBankpass">
|
||
(
|
||
<view style="margin-right:15rpx;">{{ pay_typeList.manual.member_name }}</view>
|
||
<view>{{ m1.numberToFix(pay_typeList.manual.bank_card) }}</view>
|
||
)
|
||
</view>
|
||
<view>{{withTypeTips}}</view>
|
||
</view>
|
||
<view wx:else class="elementsin_bottom_text">
|
||
<view>请选择{{name_of_withdrawal}}方式</view>
|
||
</view>
|
||
<icon class="iconfont icon-advertise-next"></icon>
|
||
</view>
|
||
</van-sticky>
|
||
</view>
|
||
</view>
|
||
<view class="mtype">
|
||
<view class="mtype_left">{{income_name_text}}类型</view>
|
||
<view class="mtype_right" catchtap="allSelect">全选</view>
|
||
</view>
|
||
<view class="mtypeList">
|
||
<van-checkbox-group bind:change="allSelectHandle" v-model="checkList" value="{{checkList}}" wx:if="{{Data.length > 0}}">
|
||
<block wx:for="{{datasource}}" wx:key="index">
|
||
<view class="mtlis">
|
||
<view class="mtlis-content">
|
||
<view class="mtlis_left">
|
||
<view class="mtlis_left_top" style="font-size:30rpx;">{{ item.type_name }}</view>
|
||
</view>
|
||
<view class="mtlis_conten">
|
||
<view class="price">
|
||
{{language['money']}}
|
||
<view>{{ m2.numberToFix(item.income) }}</view>
|
||
</view>
|
||
<view class="poundagetype" wx:if="{{pay_type == 'balance'&& balance_special }}">
|
||
<block wx:if="{{ isnum.numberTo(m2.numberToFix(item.special_poundage)) != 0 }}">
|
||
{{poundage_name?poundage_name:'手续费'}}:
|
||
<view>{{language['money']}}{{ m2.numberToFix(item.special_poundage) }}</view>
|
||
</block>
|
||
</view>
|
||
<view class="poundagetype" wx:else>
|
||
<block wx:if="{{ isnum.numberTo(m2.numberToFix(item.poundage)) != 0 }}">
|
||
{{poundage_name?poundage_name:'手续费'}}:
|
||
<view>{{language['money']}}{{ m2.numberToFix(item.poundage) }}</view>
|
||
</block>
|
||
</view>
|
||
</view>
|
||
<van-checkbox shape="square" checked-color="#f96d20" name="{{index}}" value="{{item.check}}" disabled="{{!item.can || (income_type && item.income_type !== income_type)}}"></van-checkbox>
|
||
</view>
|
||
<view class="mtlis-tips">
|
||
<view class="mtlis_left_bottom" wx:if="{{!item.can && item.roll_out_limit > 0}}">最低{{ name_of_withdrawal }}额:{{ item.roll_out_limit }}</view>
|
||
<view class="mtlis_left_bottom" wx:if="{{!item.can && item.allow_withdrawal_date}}">仅允许在每月的{{item.allow_withdrawal_date}}号申请提现!</view>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
</van-checkbox-group>
|
||
</view>
|
||
<view class="confirm">
|
||
<view>合计</view>
|
||
<view class="confirm_conten">
|
||
<view class="total">
|
||
<view class="no">{{language['money']}}</view>
|
||
{{ m2.numberToFix(totalwithdrawal) }}
|
||
</view>
|
||
<view class="btxt" wx:if="{{pay_type == 'balance' && balance_special}}">
|
||
<view wx:if="{{ isnum.numberTo(m2.numberToFix(independent_poundage)) != 0 }}" style="margin-right:10rpx;">
|
||
{{poundage_name?poundage_name:'手续费'}}:{{language['money']}}{{ m2.numberToFix(independent_poundage) }}
|
||
</view>
|
||
<view wx:if="{{ service_switch == 1 && isnum.numberTo(m2.numberToFix(independent_special)) != 0 }}">
|
||
{{special_service_tax_text?special_service_tax_text:' 劳务税'}}:{{language['money'] }}{{ m2.numberToFix(independent_special) }}
|
||
</view>
|
||
</view>
|
||
<view class="btxt" wx:else>
|
||
<view wx:if="{{ isnum.numberTo(m2.numberToFix(poundage)) != 0}}" style="margin-right:10rpx;">
|
||
{{poundage_name?poundage_name:'手续费'}}:{{language['money']}}{{ m2.numberToFix(poundage) }}
|
||
</view>
|
||
<view wx:if="{{ service_switch == 1 && isnum.numberTo(m2.numberToFix(servicetax)) != 0 }}">
|
||
{{special_service_tax_text?special_service_tax_text:' 劳务税'}}:{{language['money'] }}{{ m2.numberToFix(servicetax) }}
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="confirmBtn" catchtap="getMergeServicetax">{{name_of_withdrawal}}</view>
|
||
</view>
|
||
</view>
|
||
<!-- 设置手动打款 微信 -->
|
||
<van-popup show="{{setWX}}" position="bottom" custom-style="height: '30%';" bind:close="show1CloseBtn">
|
||
<view class="bandBox" style="padding-bottom:80rpx;">
|
||
<view class="h2">填写微信号<i class="iconfont icon-close11" catchtap="show1CloseBtn"></i></view>
|
||
<view class="rule">
|
||
<view class="ruleLeft">微信号:</view>
|
||
<view class="ruleRighe">
|
||
<van-field value="{{setinWX}}" placeholder="请输入微信号" bind:input="setInput" data-key="wxuser" />
|
||
</view>
|
||
</view>
|
||
<view class="bandSave" catchtap="bindSet" data-key="wx">保存</view>
|
||
</view>
|
||
</van-popup>
|
||
<!-- 设置手动打款 支付宝 -->
|
||
<van-popup show="{{setAlipay}}" position="bottom" custom-style="height: '30%';" bind:close="show1CloseBtn">
|
||
<view class="bandBox" style="padding-bottom:80rpx;">
|
||
<view class="h2">填写支付宝信息<i class="iconfont icon-close11" catchtap="show1CloseBtn"></i></view>
|
||
<view class="rule">
|
||
<view class="ruleLeft">支付宝号:</view>
|
||
<view class="ruleRighe">
|
||
<van-field value="{{setinAlipay}}" placeholder="请输入支付宝帐号" bind:input="setInput" data-key="Alipay" />
|
||
</view>
|
||
</view>
|
||
<view class="rule">
|
||
<view class="ruleLeft">帐号姓名:</view>
|
||
<view class="ruleRighe">
|
||
<van-field value="{{setinAlipayName}}" placeholder="请输入支付宝帐号姓名:" bind:input="setInput" data-key="AlipayName" />
|
||
</view>
|
||
</view>
|
||
<view class="bandSave" catchtap="bindSet" data-key="ali">保存</view>
|
||
</view>
|
||
</van-popup>
|
||
<!-- 提现方式弹窗 -->
|
||
<van-popup show="{{show1}}" position="bottom" custom-style="height: 60%" bind:close="show1CloseBtn">
|
||
<view class="withdrawal_box_no">
|
||
<view class="h2">
|
||
选择{{name_of_withdrawal}}方式
|
||
<i class="iconfont icon-close11" catchtap="show1CloseBtn"></i>
|
||
</view>
|
||
<van-radio-group value="{{pay_type}}" bind:change="SelectHandle">
|
||
<view class="withdrawal_box_listBox">
|
||
<!-- 余额 -->
|
||
<view class="withdrawal_box_list" wx:if="{{isBalance}}">
|
||
<i class="iconfont icon-fontclass-fanli"></i>
|
||
<view class="withdrawal_box_list_wrap">
|
||
<view class="txt">{{pay_typeList.balance.other_name || pay_typeList.balance.name}}</view>
|
||
<view>通过审核后将打款到系统{{ pay_typeList.balance.other_name || pay_typeList.balance.name }}!</view>
|
||
</view>
|
||
<view class="withdrawal_box_list_check">
|
||
<van-radio checked-color="#f96d20" name="balance"></van-radio>
|
||
</view>
|
||
</view>
|
||
<!-- 微信 -->
|
||
<view class="withdrawal_box_list" wx:if="{{isWechat}}">
|
||
<i class="iconfont icon-card_weixin"></i>
|
||
<view class="withdrawal_box_list_wrap">
|
||
<view class="txt">{{pay_typeList.wechat.other_name}}</view>
|
||
<view>通过审核后将打款到个人{{pay_typeList.wechat.other_name}}零钱!</view>
|
||
</view>
|
||
<view class="withdrawal_box_list_check">
|
||
<van-radio checked-color="#f96d20" name="wechat"></van-radio>
|
||
</view>
|
||
</view>
|
||
<!-- 支付宝 -->
|
||
<view class="withdrawal_box_list" wx:if="{{isAlipay}}">
|
||
<i class="iconfont icon-all_alipay"></i>
|
||
<view class="withdrawal_box_list_wrap">
|
||
<view class="txt">{{ alipay.other_name }}</view>
|
||
<view>通过审核后将打款到个人{{alipay.other_name}}!</view>
|
||
</view>
|
||
<view class="withdrawal_box_list_check">
|
||
<van-radio checked-color="#f96d20" name="alipay"></van-radio>
|
||
</view>
|
||
</view>
|
||
<!-- 汇聚银行卡 -->
|
||
<view class="withdrawal_box_list" wx:if="{{isHj}}">
|
||
<i class="iconfont icon-pay_otherpay"></i>
|
||
<view class="withdrawal_box_list_wrap">
|
||
<view class="txt">{{ converge_pay.other_name }}</view>
|
||
<view>通过审核后将由工作人员打款到您的银行卡</view>
|
||
</view>
|
||
<view class="withdrawal_box_list_check">
|
||
<van-radio checked-color="#f96d20" name="converge_pay"></van-radio>
|
||
</view>
|
||
</view>
|
||
<!-- 手动打款 -->
|
||
<view class="withdrawal_box_list" wx:if="{{isManual}}">
|
||
<i class="iconfont icon-pay_otherpay"></i>
|
||
<view class="withdrawal_box_list_wrap">
|
||
<view class="txt" wx:if="{{manual.manual_type == 1}}">{{ manual.other_name }}-银行卡</view>
|
||
<view class="txt" wx:if="{{manual.manual_type == 2}}">{{ manual.other_name }}-微信</view>
|
||
<view class="txt" wx:if="{{manual.manual_type == 3}}">{{ manual.other_name }}-支付宝</view>
|
||
<view class="txt" wx:if="{{manual.manual_type == 4}}">{{ manual.other_name }}-第三方代发</view>
|
||
<view wx:if="{{manual.manual_type != 4}}">通过审核后将由工作人员打款到您的{{ manual.manual_type == 1 ? "银行卡" : manual.manual_type == 2 ? "微信" : "支付宝" }}!</view>
|
||
<view wx:else>通过审核后将第三方代发到您的银行卡</view>
|
||
<view class="userTxt txtTwo" wx:if="{{manual.manual_type == 1}}">
|
||
<view wx:if="{{manual.member_name && manual.bank_card}}">{{ manual.member_name }} {{ manual.bank_card }}</view>
|
||
<view class="modify" wx:if="{{manual.bank_card}}" catchtap="editUser">修改信息</view>
|
||
</view>
|
||
<view class="userTxt txtTwo" wx:if="{{manual.manual_type == 4}}">
|
||
<view wx:if="{{manual.use_staff_name && manual.use_staff_card_num}}">{{ manual.use_staff_name }} {{ manual.use_staff_card_num }}</view>
|
||
<view class="modify" wx:if="{{manual.use_staff_card_num}}" catchtap="thirdPartyBankCardInfo">修改信息</view>
|
||
</view>
|
||
</view>
|
||
<view class="withdrawal_box_list_check">
|
||
<van-radio checked-color="#f96d20" name="manual"></van-radio>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</van-radio-group>
|
||
</view>
|
||
</van-popup>
|
||
<!-- 银行卡信息 -->
|
||
<van-popup show="{{createCardShow}}" position="bottom" custom-style="height: 70%" bind:close="createCardClose">
|
||
<view class="bandBox">
|
||
<view class="h2">
|
||
填写银行卡
|
||
<i class="iconfont icon-close11" catchtap="createCardClose"></i>
|
||
</view>
|
||
<view class="rule">
|
||
<view class="ruleLeft">开户行:</view>
|
||
<view class="ruleRighe">
|
||
<van-field value="{{bankdata.bankname}}" placeholder="请输入开户行" data-key="bankname" bind:input="tapinpbank" />
|
||
</view>
|
||
</view>
|
||
<view class="rule" catchtap="addressShowProvince">
|
||
<view class="ruleLeftDist">所在省:</view>
|
||
<view class="rightDist">
|
||
<view>{{bankdata.Province}}</view>
|
||
<van-icon name="arrow" />
|
||
</view>
|
||
</view>
|
||
<view class="rule" catchtap="addressShowCity">
|
||
<view class="ruleLeftDist">所在市:</view>
|
||
<view class="rightDist">
|
||
<view>{{bankdata.city}}</view>
|
||
<van-icon name="arrow" />
|
||
</view>
|
||
</view>
|
||
<view class="rule">
|
||
<view class="ruleLeft">支行名称:</view>
|
||
<view class="ruleRighe">
|
||
<van-field value="{{bankdata.branchName}}" placeholder="请输入支行名称" data-key="branchName" bind:input="tapinpbank" />
|
||
</view>
|
||
</view>
|
||
<view class="rule">
|
||
<view class="ruleLeft">卡号:</view>
|
||
<view class="ruleRighe">
|
||
<van-field value="{{bankdata.card}}" placeholder="请输入您的卡号" data-key="card" bind:input="tapinpbank" />
|
||
</view>
|
||
</view>
|
||
<view class="rule">
|
||
<view class="ruleLeft">姓名:</view>
|
||
<view class="ruleRighe">
|
||
<van-field value="{{bankdata.name}}" placeholder="请输入您的姓名" data-key="name" bind:input="tapinpbank" />
|
||
</view>
|
||
</view>
|
||
<view class="bandSave" catchtap="bindCard">保存</view>
|
||
</view>
|
||
</van-popup>
|
||
<!-- 选择省 -->
|
||
<van-popup show="{{addressShow_p}}" position="bottom" custom-style="{ height: '45%' }">
|
||
<van-picker title="" show-toolbar columns="{{provinceData}}" bind:confirm="addressCallback" bind:cancel="onCancel" value-key="areaname" />
|
||
</van-popup>
|
||
<!-- 选择市 -->
|
||
<van-popup show="{{addressShow_c}}" position="bottom" custom-style="{ height: '45%' }">
|
||
<van-picker title="" show-toolbar columns="{{showCityData}}" bind:confirm="addressCallback_c" bind:cancel="onCancel" value-key="areaname" />
|
||
</van-popup>
|
||
<van-popup show="{{show2}}" position="bottom" bind:close="show1CloseBtn">
|
||
<view class="withdrawal_box">
|
||
<van-icon name="arrow-left" style="display: inline-block;text-align: left; font-size: 24px;line-height: 2.875rem; height: 2.875rem;padding-left: 10px;" catchtap="backTap" />
|
||
<view class="h2" style="text-align:center;">
|
||
{{name_of_withdrawal?name_of_withdrawal:'提现'}}
|
||
</view>
|
||
<view class="recharge_way" style="font-size:24px;">
|
||
<view style="display: flex;align-items: center;justify-content: space-between;width:100%;padding-left:40rpx;" catchtap="gotoList">
|
||
<view class="h2" style="text-align: left;">{{ checkObj.bankName }}</view>
|
||
<van-icon name="arrow" style="font-size:24px;margin-right:40rpx;" />
|
||
</view>
|
||
<view class="choose_box ul">
|
||
<view class="li" style="display:flex;justify-content: space-between;font-size:14px;">
|
||
<view class="span">
|
||
{{name_of_withdrawal?name_of_withdrawal:'提现'}}金额({{language['元']}})
|
||
</view>
|
||
<view class="span">{{totalwithdrawal}}</view>
|
||
</view>
|
||
<view class="li" style="display:flex;justify-content: space-between;">
|
||
<view class="span">{{(poundage_name?poundage_name:"手续费")}}({{language['元']}})</view>
|
||
<view class="span">{{poundage_hj}}</view>
|
||
</view>
|
||
<view class="li" style="display:flex;justify-content: space-between;">
|
||
<view class="span">实际到账({{language['元']}})</view>
|
||
<view class="span">{{actual_amount}}</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<button type="button" class="btn custom_color" catchtap="withBalance">
|
||
确认{{name_of_withdrawal?name_of_withdrawal:'提现'}}
|
||
</button>
|
||
</view>
|
||
</van-popup>
|
||
<van-popup show="{{show3}}" custom-style="height:45%;overflow-y:scroll;" position="bottom" bind:close="show1CloseBtn">
|
||
<view class="withdrawal_box">
|
||
<van-icon name="arrow-left" style="display: inline-block;text-align: left; font-size: 24px;line-height: 2.875rem; height: 2.875rem;padding-left: 10px;" catchtap="backGo" />
|
||
<view class="h2" style="text-align:center;display:inline-block;margin-left:235rpx;">银行卡列表</view>
|
||
<icon class="iconfont icon-close11" style="display: inline-block;line-height: 2.875rem; height: 2.875rem;padding-right: 10px;" catchtap="show1CloseBtn"></icon>
|
||
<view class="recharge_way">
|
||
<view class="choose_box ul">
|
||
<view style="font-size:32rpx;display:flex;align-items:center;justify-content:space-between;width:95%;margin:10px 0px 10px 10px;" wx:for="{{withList}}" wx:key="item" data-item="{{item}}" catchtap="checkOut">
|
||
<view>
|
||
<view class="span">{{ item.bankName }}</view>
|
||
</view>
|
||
<van-checkbox value="{{item.check}}" checked-color="#f45054" bind:change="onChange"></van-checkbox>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</van-popup>
|
||
<!-- 客服 -->
|
||
<van-popup custom-style="border-radius: 38rpx;" show="{{customer_show}}" overlay="{{true}}">
|
||
<view class="pop-content">
|
||
<view class="pop-top">
|
||
<view class="left" wx:if="{{customer_service.customer_open=='1'}}">
|
||
<view class="wrap">
|
||
<view>
|
||
<view class="image" style="position:relative">
|
||
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/kf_online_contect@2x.png"></image>
|
||
</view>
|
||
<view>在线联系</view>
|
||
<button wx:if="{{!customer_service.service || customer_service.service == ''}}" open-type="contact" bindcontact="handleContact" style="position:absolute;width:100%;height:80rpx;opacity:0;top:-140rpx;"></button>
|
||
<button wx:if="{{customer_service.service && customer_service.service !=''}}" data-cservice="{{customer_service.service}}" bindtap="gotoChat" style="position:absolute;width:100%;height:80rpx;opacity:0;top:-140rpx;"></button>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="left" wx:if="{{!customer_service.customer_open}}">
|
||
<view class="wrap">
|
||
<view>
|
||
<view class="image" style="position:relative">
|
||
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/kf_online_contect@2x.png"></image>
|
||
</view>
|
||
<view>在线联系</view>
|
||
<button wx:if="{{!customer_service.service || customer_service.service == ''}}" open-type="contact" bindcontact="handleContact" style="position:absolute;width:100%;height:80rpx;opacity:0;top:-140rpx;"></button>
|
||
<button wx:if="{{customer_service.service && customer_service.service !=''}}" data-cservice="{{customer_service.service}}" bindtap="gotoChat" style="position:absolute;width:100%;height:80rpx;opacity:0;top:-140rpx;"></button>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view style="display:flex;align-items: center;" wx:if="{{customer_service.customer_open=='1' && !customer_service.service_mobile==''}}">
|
||
<view class="line"></view>
|
||
</view>
|
||
<view class="right" wx:if="{{!customer_service.service_mobile==''}}">
|
||
<view class="wrap" bindtap="callPhone">
|
||
<view>
|
||
<view class="image">
|
||
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/kf_tel_contect@2x.png"></image>
|
||
</view>
|
||
<view>联系电话</view>
|
||
<view style="margin-top:16rpx">{{customer_service.service_mobile}}</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="pop-bottom" wx:if="{{!customer_service.service_QRcode==''}}">
|
||
<view class="image">
|
||
<image src="{{customer_service.service_QRcode}}" show-menu-by-longpress></image>
|
||
</view>
|
||
</view>
|
||
<icon class="iconfont icon-close11" catchtap="onClickLeft"></icon>
|
||
</view>
|
||
</van-popup>
|
||
<van-popup custom-style="height:100%;width:100%;" position="right" show="{{withdraw_rich_show}}" overlay="{{true}}">
|
||
<van-nav-bar title="{{name_of_withdrawal}}规则说明" left-arrow bind:click-left="onClickLeft" />
|
||
<mp-html content="{{withdraw_rich_text.content}}"></mp-html>
|
||
</van-popup>
|
||
<!-- 客服end -->
|
||
<!-- <view class="blank" wx:if="{{Data.length <= 0}}">
|
||
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png" mode='widthFix' />
|
||
<view style="text-align: center;font-size: 30rpx;">暂无可提现金额</view>
|
||
</view>
|
||
<view class="withdrawal" wx:if="{{Data.length > 0}}">
|
||
<view class="ul tbbox">
|
||
<view class="li libg ones">
|
||
<van-checkbox checked-color="#f15353" value="{{checkAll}}" bind:change="allSelect" disabled="{{!isCheckAll}}">
|
||
</van-checkbox>
|
||
</view>
|
||
<view class="li libg">类型</view>
|
||
<view class="li libg">金额</view>
|
||
<view class="li libg">{{(poundage_name?poundage_name:"手续费")}}</view>
|
||
</view>
|
||
<van-checkbox-group value="{{checkList}}" bind:change="allSelectHandle">
|
||
<block wx:for="{{datasource}}" wx:key="index">
|
||
<view class="ul tbbox">
|
||
<view class="li libg2 ones">
|
||
<van-checkbox checked-color="#f15353" name="{{index}}"
|
||
disabled="{{!item.can || (income_type && item.income_type !== income_type)}}">
|
||
</van-checkbox>
|
||
</view>
|
||
<view class="li libg2">{{item.type_name}}
|
||
<view class="p" wx:if="{{!item.can}}">最低{{name_of_withdrawal?name_of_withdrawal:'提现'}}额:{{item.roll_out_limit}}</view>
|
||
</view>
|
||
<view class="li libg2">{{item.income}}</view>
|
||
<view class="li libg2">{{item.poundage}}</view>
|
||
</view>
|
||
</block>
|
||
</van-checkbox-group>
|
||
<view class="bottom_btn" catchtap="getMergeServicetax">
|
||
<view class="btn custom_color button">去{{name_of_withdrawal?name_of_withdrawal:'提现'}}</view>
|
||
</view>
|
||
|
||
<van-popup show="{{show1}}" position="bottom" bind:close="show1CloseBtn">
|
||
<view class="withdrawal_box">
|
||
<view class="h2">
|
||
{{name_of_withdrawal?name_of_withdrawal:'提现'}}到<icon class="iconfont icon-close11" catchtap="show1CloseBtn"></icon>
|
||
</view>
|
||
<view class="userinfo">
|
||
<view class="ul">
|
||
<view class="li">
|
||
<view class="span top">{{ totalwithdrawal }}</view>
|
||
<view class="span bottom">{{name_of_withdrawal?name_of_withdrawal:'提现'}}金额合计</view>
|
||
</view>
|
||
</view>
|
||
<view class="ul">
|
||
<view class="li">
|
||
<view class="span top">{{ poundage }}</view>
|
||
<view class="span bottom">{{(poundage_name?poundage_name:"手续费")}}合计</view>
|
||
</view>
|
||
</view>
|
||
<view class="ul" wx:if="{{service_switch == 1}}">
|
||
<view class="li">
|
||
<view class="span top">{{ servicetax }}</view>
|
||
<view class="span bottom">{{special_service_tax_text}}合计</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="deduction_value" wx:if="{{deduction_love.deduction_status && TeamDividendModel}}">
|
||
扣除爱心值: {{deduction_love.deduction_value}}
|
||
</view>
|
||
<view class="recharge_way">
|
||
<view class="ul choose_box">
|
||
<van-radio-group value="{{pay_type}}" bind:change="payTypebtn">
|
||
<van-radio label-position="left" checked-color="#f15353" name="{{balance.value}}" wx:if="{{isBalance}}">
|
||
<block wx:if="{{balance_special}}">
|
||
<view class="li" style="font-size:31rpx;">
|
||
<icon class="iconfont icon-balance_g"></icon>{{ balance.name }}
|
||
</view>
|
||
<view class="span" style="font-size: 13px;color: #8c8c8c; display: flex;align-items: center;margin-left: 94rpx;">({{(poundage_name?poundage_name:"手续费")}}:{{ independent_poundage }}<text wx:if="{{service_switch == 1}}">{{special_service_tax_text}}:{{independent_special}}</text> )
|
||
</view>
|
||
</block>
|
||
<block wx:if="{{!balance_special}}">
|
||
<view class="li">
|
||
<icon class="iconfont icon-balance_g"></icon>{{ balance.name }}
|
||
</view>
|
||
</block>
|
||
</van-radio>
|
||
<van-radio label-position="left" checked-color="#f15353" name="{{wechat.value}}" wx:if="{{isWechat}}">
|
||
<view class="li">
|
||
<icon class="iconfont icon-balance_i"></icon>{{ wechat.name }}
|
||
</view>
|
||
</van-radio>
|
||
<van-radio label-position="left" checked-color="#f15353" name="{{yop_pay.value}}" wx:if="{{isyop_pay}}">
|
||
<view class="li">
|
||
<icon class="iconfont icon-balance_i"></icon>{{ yop_pay.name }}
|
||
</view>
|
||
</van-radio>
|
||
<van-radio label-position="left" checked-color="#f15353" name="{{alipay.value}}" wx:if="{{isAlipay}}">
|
||
<view class="li">
|
||
<icon class="iconfont icon-balance_j"></icon>{{ alipay.name }}
|
||
</view>
|
||
</van-radio>
|
||
<van-radio label-position="left" checked-color="#f15353" name="{{manual.value}}" wx:if="{{isManual}}">
|
||
<view class="li">
|
||
<icon class="iconfont icon-balance_h"></icon>{{ manual.name }}
|
||
</view>
|
||
</van-radio>
|
||
<van-radio label-position="left" checked-color="#f15353" name="{{eup.value}}" wx:if="{{isEup}}">
|
||
<view class="li">
|
||
<icon class="iconfont icon-balance_h"></icon>{{ eup.name }}
|
||
</view>
|
||
</van-radio>
|
||
<van-radio label-position="left" checked-color="#f15353" name="{{converge_pay.value}}" wx:if="{{isHj}}">
|
||
<view class="li">
|
||
<icon class="iconfont icon-balance_h"></icon>{{ converge_pay.name }}
|
||
</view>
|
||
</van-radio>
|
||
</van-radio-group>
|
||
</view>
|
||
</view>
|
||
<view class="button btn custom_color" catchtap="checkPayWay">
|
||
确认{{name_of_withdrawal?name_of_withdrawal:'提现'}}
|
||
</view>
|
||
</view>
|
||
</van-popup>
|
||
<van-popup show="{{show2}}" position="bottom" bind:close="show1CloseBtn">
|
||
<view class="withdrawal_box">
|
||
<van-icon name="arrow-left" style="display: inline-block;text-align: left; font-size: 24px;float: left;line-height: 2.875rem; height: 2.875rem;padding-left: 10px;"
|
||
catchtap="backTap" />
|
||
<view class="h2" style="text-align:center;">
|
||
{{name_of_withdrawal?name_of_withdrawal:'提现'}}
|
||
</view>
|
||
|
||
<view class="recharge_way" style="font-size:24px;">
|
||
<view
|
||
style="display: flex;align-items: center;justify-content: space-between;width:100%;padding-left:40rpx;"
|
||
catchtap="gotoList"
|
||
>
|
||
<view class="h2" style="text-align: left;">
|
||
{{ checkObj.bankName }}
|
||
</view>
|
||
<van-icon name="arrow" style="font-size:24px;margin-right:40rpx;" />
|
||
</view>
|
||
|
||
<view class="choose_box ul">
|
||
<view class="li" style="display:flex;justify-content: space-between;font-size:14px;">
|
||
<view class="span">{{name_of_withdrawal?name_of_withdrawal:'提现'}}金额({{language['元']}})</view>
|
||
<view class="span">{{totalwithdrawal}}</view>
|
||
</view>
|
||
<view class="li" style="display:flex;justify-content: space-between;">
|
||
<view class="span">{{(poundage_name?poundage_name:"手续费")}}({{language['元']}})</view>
|
||
<view class="span">{{poundage_hj}}</view>
|
||
</view>
|
||
<view class="li" style="display:flex;justify-content: space-between;">
|
||
<view class="span">实际到账({{language['元']}})</view>
|
||
<view class="span">{{actual_amount}}</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<button type="button" class="btn custom_color" catchtap="withBalance" >
|
||
确认{{name_of_withdrawal?name_of_withdrawal:'提现'}}
|
||
</button>
|
||
</view>
|
||
</van-popup>
|
||
<van-popup show="{{show3}}" custom-style="height:45%;overflow-y:scroll;" position="bottom" bind:close="show1CloseBtn">
|
||
<view class="withdrawal_box">
|
||
<van-icon name="arrow-left" style="display: inline-block;text-align: left; font-size: 24px;float: left;line-height: 2.875rem; height: 2.875rem;padding-left: 10px;"
|
||
catchtap="backGo" />
|
||
<view class="h2" style="text-align:center;display:inline-block;margin-left:235rpx;">
|
||
银行卡列表
|
||
</view>
|
||
<icon
|
||
class="iconfont icon-close11"
|
||
style="display: inline-block; float: right;line-height: 2.875rem; height: 2.875rem;padding-right: 10px;"
|
||
catchtap="show1CloseBtn"
|
||
></icon>
|
||
<view class="recharge_way">
|
||
<view class="choose_box ul">
|
||
<view style="font-size:32rpx;display:flex;align-items:center;justify-content:space-between;width:95%;margin:10px 0px 10px 10px;" wx:for="{{withList}}" wx:key="item" data-item="{{item}}" catchtap="checkOut">
|
||
<view>
|
||
<view class="span">{{ item.bankName }}</view>
|
||
</view>
|
||
<van-checkbox
|
||
value="{{item.check}}"
|
||
checked-color="#f45054"
|
||
bind:change="onChange"
|
||
></van-checkbox>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</van-popup>
|
||
</view> -->
|
||
<!-- 第三方代发信息 -->
|
||
<van-popup show="{{third_party_show}}" position="bottom" custom-style="height: 85%" bind:close="thirdPartyPopupClose">
|
||
<view class="bandBox">
|
||
<view class="h2">
|
||
完善信息
|
||
<i class="iconfont icon-close11" catchtap="thirdPartyPopupClose"></i>
|
||
</view>
|
||
<view class="rule">
|
||
<view class="ruleLeft">联系人:</view>
|
||
<view class="ruleRighe">
|
||
<van-field value="{{staff.name}}" required placeholder="请输入联系人姓名" data-key="name" bind:input="thirdPartyConfigChange" />
|
||
</view>
|
||
</view>
|
||
<view class="rule">
|
||
<view class="ruleLeft">联系人电话:</view>
|
||
<view class="ruleRighe">
|
||
<van-field value="{{staff.tel}}" required placeholder="请输入联系人电话" data-key="tel" bind:input="thirdPartyConfigChange" />
|
||
</view>
|
||
</view>
|
||
<view class="rule">
|
||
<view class="ruleLeft">银行卡类型:</view>
|
||
<view class="ruleRighe">
|
||
<van-radio-group value="{{staff.card_type}}" direction="horizontal" data-key="card_type" bind:change="thirdPartyConfigChange">
|
||
<view class="ruleRightContent">
|
||
<van-radio class="ruleRightContentRadio" name="1">对私</van-radio>
|
||
<van-radio class="ruleRightContentRadio" name="2">对公</van-radio>
|
||
</view>
|
||
</van-radio-group>
|
||
</view>
|
||
</view>
|
||
<view class="rule" wx:if="{{staff.card_type == 2}}">
|
||
<view class="ruleLeft">开户银行支行:</view>
|
||
<view class="ruleRighe">
|
||
<van-field value="{{staff.bank_sub_name}}" required placeholder="请输入开户银行支行名称" data-key="bank_sub_name" bind:input="thirdPartyConfigChange" />
|
||
</view>
|
||
</view>
|
||
<view class="rule">
|
||
<view class="ruleLeft">持有人姓名:</view>
|
||
<view class="ruleRighe">
|
||
<van-field value="{{staff.bank_act_name}}" required placeholder="请输入银行卡持有人姓名" data-key="bank_act_name" bind:input="thirdPartyConfigChange" />
|
||
</view>
|
||
</view>
|
||
<view class="rule">
|
||
<view class="ruleLeft">卡号:</view>
|
||
<view class="ruleRighe">
|
||
<van-field value="{{staff.card_num}}" required placeholder="请输入银行卡卡号" data-key="card_num" bind:input="thirdPartyConfigChange" />
|
||
</view>
|
||
</view>
|
||
<view class="rule">
|
||
<view class="ruleLeft">身份证号码:</view>
|
||
<view class="ruleRighe">
|
||
<van-field value="{{staff.account_id}}" required placeholder="请输入银行卡持有人身份证号码" data-key="account_id" bind:input="thirdPartyConfigChange" />
|
||
</view>
|
||
</view>
|
||
<view class="rule">
|
||
<view class="ruleLeft">身份证有效期:</view>
|
||
<view class="ruleRighe">
|
||
<van-field value="{{staff.account_id_start}}" required readonly placeholder="请选择身份证有效期开始时间" catchtap="showDateTime"/>
|
||
</view>
|
||
</view>
|
||
<view class="rule">
|
||
<view class="ruleLeft">商户类型:</view>
|
||
<view class="ruleRighe">
|
||
<van-radio-group value="{{staff.mer_type}}" required data-key="mer_type" bind:change="thirdPartyConfigChange">
|
||
<view class="ruleRightContent">
|
||
<van-radio class="ruleRightContentRadio" name="1">个体户</van-radio>
|
||
<van-radio class="ruleRightContentRadio" name="3">个人</van-radio>
|
||
</view>
|
||
</van-radio-group>
|
||
</view>
|
||
</view>
|
||
<!--操作按钮-->
|
||
<view wx:if="{{staff.id > 0}}">
|
||
<!--入驻状态:1=待开户,2=开户成功待签约,3=开户失败,4=签约成功,5=签约失败-->
|
||
<view wx:if="{{staff.status == 2}}" class="bandSave" catchtap="goToSigning">去签约</view>
|
||
<view wx:else class="bandSave" catchtap="thirdPartySubmitEdit">提交修改</view>
|
||
</view>
|
||
<view wx:else class="bandSave" catchtap="thirdPartySubmitEdit">提交保存</view>
|
||
<!--开户状态-->
|
||
<view class="status-tips" wx:if="{{staff.status == 1}}">待审核开户中...</view>
|
||
<!--<view class="status-tips" wx:if="{{staff.status == 2}}">开户成功待签约</view>-->
|
||
<view class="status-tips" wx:if="{{staff.status == 3}}">开户失败,请检查信息是否填写错误</view>
|
||
<!--<view class="status-tips" wx:if="{{staff.status == 4}}">签约成功</view>-->
|
||
<view class="status-tips" wx:if="{{staff.status == 5}}">签约失败</view>
|
||
<!-- 签约页面 -->
|
||
<web-view wx:if="{{signing_url}}" src="{{signing_url}}"></web-view>
|
||
</view>
|
||
</van-popup>
|
||
<!-- 时间选择器 年月日 -->
|
||
<van-popup show="{{date_time_show}}" position="bottom" custom-style="height: 85%" bind:close="closeDateTime">
|
||
<view class="bandBox">
|
||
<view class="h2">
|
||
身份证有效期开始时间
|
||
<i class="iconfont icon-close11" catchtap="closeDateTime"></i>
|
||
</view>
|
||
<van-datetime-picker
|
||
value="{{selected_time}}"
|
||
type="date"
|
||
title="选择年月日"
|
||
bind:input="datetimePickerChange"
|
||
min-date="{{minDate}}"
|
||
visible-item-count="8"
|
||
show-toolbar="{{false}}"
|
||
/>
|
||
<view class="bandSave" catchtap="confirmChangeDatetime">确认</view>
|
||
</view>
|
||
</van-popup>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|