Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 836a2868d1 | |||
| 110d9d7a1c |
@@ -594,7 +594,7 @@ Page({
|
||||
let params = {};
|
||||
params['id'] = e.currentTarget.dataset.id;
|
||||
params['type'] = 0;
|
||||
_.apiQuery.getAppYx(params).then(res=>{
|
||||
_.apiQuery.getAppXz(params).then(res=>{
|
||||
this.setData({
|
||||
isShowCall:true,
|
||||
phoneNumber:res.data.mobile,
|
||||
|
||||
@@ -272,7 +272,7 @@
|
||||
<view class="fn-flex-item relative ml10 mr10 pt20 pb20 ulib-r10 {{statuskey == 0?'bg-36afa2 color-fff':'bg-f6'}}" bindtap="radioPicker" data-key="0" wx:if="{{detailinfo.status==0}}">
|
||||
未见客户
|
||||
</view>
|
||||
<view class="fn-flex-item relative ml10 mr10 pt20 pb20 ulib-r10 {{statuskey == 1?'bg-36afa2 color-fff':'bg-f6'}}" bindtap="radioPicker" data-key="1" wx:if="{{detailinfo.status==1}}">
|
||||
<view class="fn-flex-item relative ml10 mr10 pt20 pb20 ulib-r10 {{statuskey == 1?'bg-36afa2 color-fff':'bg-f6'}}" bindtap="radioPicker" data-key="1" wx:if="{{detailinfo.status==0}}">
|
||||
到店客户
|
||||
</view>
|
||||
<view class="fn-flex-item relative ml10 mr10 pt20 pb20 ulib-r10 {{statuskey == 3?'bg-36afa2 color-fff':'bg-f6'}}" bindtap="radioPicker" data-key="3">
|
||||
|
||||
@@ -218,7 +218,7 @@ Page({
|
||||
let params = {};
|
||||
params['id'] = e.currentTarget.dataset.id;
|
||||
params['type'] = 0;
|
||||
_.apiQuery.getAppYx(params).then(res=>{
|
||||
_.apiQuery.getAppXz(params).then(res=>{
|
||||
this.setData({
|
||||
isShowCall:true,
|
||||
phoneNumber:res.data.mobile,
|
||||
|
||||
@@ -394,7 +394,7 @@ Page({
|
||||
let params = {};
|
||||
params['id'] = e.currentTarget.dataset.id;
|
||||
params['type'] = 0;
|
||||
_.apiQuery.getAppYx(params).then(res=>{
|
||||
_.apiQuery.getAppXz(params).then(res=>{
|
||||
this.setData({
|
||||
isShowCall:true,
|
||||
phoneNumber:res.data.mobile,
|
||||
|
||||
@@ -831,7 +831,7 @@ Page({
|
||||
let params = {};
|
||||
params['id'] = e.currentTarget.dataset.id;
|
||||
params['type'] = 1;
|
||||
_.apiQuery.getAppYx(params).then(res=>{
|
||||
_.apiQuery.getAppXz(params).then(res=>{
|
||||
this.setData({
|
||||
isShowCall:true,
|
||||
phoneNumber:res.data.mobile,
|
||||
|
||||
@@ -113,12 +113,12 @@
|
||||
</view>
|
||||
</view>
|
||||
<!--权益确认书-->
|
||||
<!--view class="relative bbs-1-eb pl140 font-28" bindtap="pushLink" data-url="/pages/order/editImg/index?id={{id}}&type=equity_ck_img&title=权益确认书&multi=true&edit={{info.status>0?'0':'1'}}">
|
||||
<view class="relative bbs-1-eb pl140 font-28" bindtap="pushLink" data-url="/pages/order/editImg/index?id={{id}}&type=equity_ck_img&title=权益确认书&multi=true&edit={{info.status>0?'0':'1'}}" wx:if="{{info.if_equity == 1}}">
|
||||
<view class="absolute left-0 box-middle font-32 color-333">权益确认书</view>
|
||||
<view class="pt30 pb30 text-right font-26 color-999" style="min-height:38rpx">
|
||||
<view>{{info.status>0?'已审核':equity_ck_img.length>0?'更新':'上传'}}<i class="iconfont ml10 icon-gengduo"></i></view>
|
||||
</view>
|
||||
</view-->
|
||||
</view>
|
||||
<!--上传发票-->
|
||||
<view class="relative bbs-1-eb pl140 font-28" bindtap="pushLink" data-url="/pages/order/editBillImg/index?id={{id}}&edit={{info.status>1?'0':'1'}}">
|
||||
<view class="absolute left-0 box-middle font-32 color-333">发票</view>
|
||||
|
||||
@@ -51,6 +51,7 @@ Page({
|
||||
firstPayIndex: 0, //首付类型
|
||||
is_get_brand: 0, //是否店内上牌
|
||||
is_get_insure: 0, //是否店内投保
|
||||
if_equity: 0, //是否投保买贵必赔
|
||||
color: '', //车身体颜色
|
||||
in_color: '', //内饰颜色
|
||||
loan_amount: '', //贷款额度
|
||||
@@ -99,6 +100,7 @@ Page({
|
||||
discount_amount: res.data.money_json.discount_amount ?? '', //⻋身优惠
|
||||
is_get_brand: parseInt(res.data.if_num),
|
||||
is_get_insure: parseInt(res.data.if_insure),
|
||||
if_equity: parseInt(res.data.if_equity),
|
||||
})
|
||||
/*匹配车辆信息*/
|
||||
//匹配品牌
|
||||
@@ -459,6 +461,7 @@ Page({
|
||||
params['monthly_payment'] = that.data.monthly_payment;
|
||||
params['if_num'] = that.data.is_get_brand;
|
||||
params['if_insure'] = that.data.is_get_insure;
|
||||
params['if_equity'] = that.data.if_equity;
|
||||
if (that.data.is_get_brand) {
|
||||
params['register_amount'] = that.data.register_amount;
|
||||
}
|
||||
@@ -558,6 +561,12 @@ Page({
|
||||
})
|
||||
},
|
||||
|
||||
changeIfEquity(e) {
|
||||
this.setData({
|
||||
if_equity: e.detail.value ? 1 : 0
|
||||
})
|
||||
},
|
||||
|
||||
//页面相关事件处理函数--监听用户下拉动作
|
||||
onPullDownRefresh() {
|
||||
this.getAppCusorderV2()
|
||||
|
||||
@@ -120,6 +120,12 @@
|
||||
</view>
|
||||
</block>
|
||||
-->
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||
<view class="absolute left-0 box-middle">投保买贵必赔</view>
|
||||
<view class="relative pt30 pb30 text-right">
|
||||
<switch checked="{{if_equity}}" bindchange="changeIfEquity" type="switch" color='#36afa2' style="zoom:0.7" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||
<view class="absolute left-0 box-middle">是否店内投保</view>
|
||||
<view class="relative pt30 pb30 text-right">
|
||||
@@ -212,6 +218,12 @@
|
||||
<view class="absolute left-0 box-middle color-333">车身优惠</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{discount_amount}}</text>元</view>
|
||||
</view>
|
||||
<view class="bbs-1-eb last-b-none">
|
||||
<view class="relative pl190">
|
||||
<view class="absolute left-0 box-middle font-28 color-333">投保买贵必赔</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666"> {{if_equity?'是':'否'}} </view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bbs-1-eb last-b-none">
|
||||
<view class="relative pl190">
|
||||
<view class="absolute left-0 box-middle font-28 color-333">是否店内投保</view>
|
||||
|
||||
@@ -58,6 +58,7 @@ Page({
|
||||
firstPayIndex: 0, //首付类型
|
||||
is_get_brand: 0, //20240526是否店内上牌
|
||||
is_get_insure: 0, //20240526是否店内投保
|
||||
if_equity: 0, //是否投保买贵必赔
|
||||
color: '', //车身体颜色
|
||||
in_color: '', //内饰颜色
|
||||
loan_amount: '', //贷款额度
|
||||
@@ -348,6 +349,7 @@ Page({
|
||||
params['monthly_payment'] = that.data.monthly_payment;
|
||||
params['if_num'] = that.data.is_get_brand;
|
||||
params['if_insure'] = that.data.is_get_insure;
|
||||
params['if_equity'] = that.data.if_equity;
|
||||
if (that.data.is_get_brand) {
|
||||
params['register_amount'] = that.data.register_amount;
|
||||
}
|
||||
@@ -515,6 +517,12 @@ Page({
|
||||
is_get_insure: e.detail.value ? 1 : 0
|
||||
})
|
||||
},
|
||||
//20240926是否投保买贵必赔
|
||||
changeIfEquity(e) {
|
||||
this.setData({
|
||||
if_equity: e.detail.value ? 1 : 0
|
||||
})
|
||||
},
|
||||
|
||||
//显示选择品牌
|
||||
bindShowBrand(){
|
||||
|
||||
@@ -182,6 +182,12 @@
|
||||
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="digit" placeholder="请输入⻋身优惠" model:value='{{discount_amount}}' always-embed='{{true}}' />
|
||||
</view>
|
||||
</view>
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||
<view class="absolute left-0 box-middle">投保买贵必赔</view>
|
||||
<view class="relative pt30 pb30 text-right">
|
||||
<switch checked="{{if_equity}}" bindchange="changeIfEquity" type="switch" color='#36afa2' style="zoom:0.7" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||
<view class="absolute left-0 box-middle">是否店内投保</view>
|
||||
<view class="relative pt30 pb30 text-right">
|
||||
@@ -297,6 +303,12 @@
|
||||
<view class="absolute left-0 box-middle color-333">车身优惠</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{discount_amount}}</text>元</view>
|
||||
</view>
|
||||
<view class="bbs-1-eb last-b-none">
|
||||
<view class="relative pl190">
|
||||
<view class="absolute left-0 box-middle font-28 color-333">投保买贵必赔</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666"> {{if_equity?'是':'否'}} </view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bbs-1-eb last-b-none">
|
||||
<view class="relative pl190">
|
||||
<view class="absolute left-0 box-middle font-28 color-333">是否店内投保</view>
|
||||
|
||||
Reference in New Issue
Block a user