商户开通信用购
This commit is contained in:
parent
24415dc4ad
commit
1231351d29
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name" : "CRMEB",
|
"name" : "惠农生活",
|
||||||
"appid" : "__UNI__3A527D1",
|
"appid" : "__UNI__3A527D1",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.0.15",
|
"versionName" : "1.0.17",
|
||||||
"versionCode" : 138,
|
"versionCode" : 140,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
@ -128,7 +128,18 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="item_cell flex_a_c">
|
<view class="item_cell flex_a_c">
|
||||||
<view class="sub_title flex_a_c"><i class="iconfont icon-xinghao"></i>开启先货后款:</view>
|
<view class="sub_title flex_a_c"><i class="iconfont icon-xinghao"></i>开启先货后款:</view>
|
||||||
|
<u-switch v-model="credit_buy" @change="change"></u-switch>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="item_cell flex_a_c">
|
||||||
|
<view class="sub_title flex_a_c"><i class="iconfont icon-xinghao"></i>先货后款结算周期:</view>
|
||||||
|
<input type="number" v-model="settle_cycle" placeholder="请输入 /周期单位为:天">
|
||||||
|
</view>
|
||||||
|
<view class="remarks">*周期结算时间范围为:15~100 周期单位为:天</view>
|
||||||
|
<view class="item_cell flex_a_c">
|
||||||
|
<view class="sub_title flex_a_c"><i class="iconfont icon-xinghao"></i>先货后款结算利率:</view>
|
||||||
|
<input type="number" v-model="interest_rate" placeholder="请输入 /利率单位为: %">
|
||||||
|
</view>
|
||||||
|
<view class="remarks">*利率结算范围为:0.035 ~ 0.01 利率单位为:%</view>
|
||||||
<!-- <view class="item_cell">
|
<!-- <view class="item_cell">
|
||||||
<view class="if_btn flex_a_c_j_sb">
|
<view class="if_btn flex_a_c_j_sb">
|
||||||
<text class="sub_title">是否开启商户:</text>
|
<text class="sub_title">是否开启商户:</text>
|
||||||
@ -227,7 +238,10 @@
|
|||||||
overTimeShow: false,
|
overTimeShow: false,
|
||||||
mer_address: '',
|
mer_address: '',
|
||||||
id: '',
|
id: '',
|
||||||
mer_certificate: ''
|
mer_certificate: '',
|
||||||
|
credit_buy:0,//开启信用购
|
||||||
|
interest_rate:'',//利率
|
||||||
|
settle_cycle:'',//周期
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
@ -261,6 +275,18 @@
|
|||||||
this.servicePhone = res.data.service_phone
|
this.servicePhone = res.data.service_phone
|
||||||
this.mer_address = res.data.mer_address
|
this.mer_address = res.data.mer_address
|
||||||
this.merState = res.data.mer_state === 1 ? true : false
|
this.merState = res.data.mer_state === 1 ? true : false
|
||||||
|
this.credit_buy = res.data.credit_buy
|
||||||
|
if( res.data.settle_cycle == 0){
|
||||||
|
this.settle_cycle=''
|
||||||
|
}else{
|
||||||
|
this.settle_cycle=res.data.settle_cycle
|
||||||
|
}
|
||||||
|
if( res.data.interest_rate == 0){
|
||||||
|
this.interest_rate=''
|
||||||
|
}else{
|
||||||
|
this.interest_rate=res.data.interest_rate
|
||||||
|
}
|
||||||
|
|
||||||
// console.log('res', res.data);
|
// console.log('res', res.data);
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
// console.log('err', err);
|
// console.log('err', err);
|
||||||
@ -269,6 +295,10 @@
|
|||||||
checkboxChange(val) {
|
checkboxChange(val) {
|
||||||
this.delivery_way = val.detail.value
|
this.delivery_way = val.detail.value
|
||||||
},
|
},
|
||||||
|
//开启信用购
|
||||||
|
change(e){
|
||||||
|
console.log(e);
|
||||||
|
},
|
||||||
// 上传店铺背景
|
// 上传店铺背景
|
||||||
sel(item, i) {
|
sel(item, i) {
|
||||||
if (item.isCheck == false) {
|
if (item.isCheck == false) {
|
||||||
@ -311,7 +341,10 @@
|
|||||||
mer_state: this.merState ? '1' : '0',
|
mer_state: this.merState ? '1' : '0',
|
||||||
type: '2',
|
type: '2',
|
||||||
uploadedqualifications: '',
|
uploadedqualifications: '',
|
||||||
id: this.id
|
id: this.id,
|
||||||
|
credit_buy:this.credit_buy,
|
||||||
|
settle_cycle:this.settle_cycle,
|
||||||
|
interest_rate:this.interest_rate
|
||||||
}
|
}
|
||||||
merchantUpdateAPI(data).then(res => {
|
merchantUpdateAPI(data).then(res => {
|
||||||
Toast(res.message)
|
Toast(res.message)
|
||||||
@ -557,6 +590,11 @@
|
|||||||
font-size: 24.56rpx;
|
font-size: 24.56rpx;
|
||||||
color: #CCCCCC;
|
color: #CCCCCC;
|
||||||
}
|
}
|
||||||
|
.remarks{
|
||||||
|
margin-left:20px ;
|
||||||
|
font-size: 24.56rpx;
|
||||||
|
color: #CCCCCC;
|
||||||
|
}
|
||||||
|
|
||||||
.long_lat {
|
.long_lat {
|
||||||
margin: 31.58rpx 0;
|
margin: 31.58rpx 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user