修改客户和订单

This commit is contained in:
lcc
2024-09-26 17:49:00 +08:00
parent 110d9d7a1c
commit 836a2868d1
6 changed files with 44 additions and 3 deletions
+1 -1
View File
@@ -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">
+2 -2
View File
@@ -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>
+9
View File
@@ -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()
+12
View File
@@ -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>
+8
View File
@@ -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(){
+12
View File
@@ -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>