隐藏精品尊享包精品优惠,直营店才有水平业务,获取车辆价格添加小版本好
This commit is contained in:
@@ -64,7 +64,7 @@ Page({
|
||||
agencyList:[],//代办数组
|
||||
fine_total:0,//精品费用
|
||||
|
||||
if_fine:false,//精品尊享包
|
||||
//if_fine:false,//精品尊享包
|
||||
|
||||
fines:[
|
||||
{
|
||||
@@ -97,7 +97,7 @@ Page({
|
||||
this.setData({
|
||||
info:res.data,
|
||||
delry_time:res.data.delry_time?res.data.delry_time:'',
|
||||
if_fine:res.data.if_fine==1?true:false,
|
||||
//if_fine:res.data.if_fine==1?true:false,
|
||||
})
|
||||
|
||||
/*匹配车辆信息*/
|
||||
@@ -212,6 +212,7 @@ Page({
|
||||
|
||||
//获取车辆价格
|
||||
let priceparams = {};
|
||||
priceparams['sversion'] = '2';
|
||||
priceparams['car_id'] = res.data.car_id;
|
||||
priceparams['v_id'] = res.data.v_id;
|
||||
priceparams['color_id'] = res.data.color_id;
|
||||
@@ -772,6 +773,7 @@ Page({
|
||||
getAppSeriesInfo(){
|
||||
if(this.data.car_id != ''&&this.data.v_id != ''&&this.data.color_id != ''&&this.data.incolor_id != ''){
|
||||
let params = {};
|
||||
params['sversion'] = '2';
|
||||
params['car_id'] = this.data.car_id;
|
||||
params['v_id'] = this.data.v_id;
|
||||
params['color_id'] = this.data.color_id;
|
||||
@@ -881,12 +883,12 @@ Page({
|
||||
if(fines.length>0){
|
||||
params['fines'] = fines;
|
||||
}
|
||||
if(that.data.priceinfo.fine_money){
|
||||
params['if_fine'] = that.data.if_fine?'1':'0';
|
||||
if(that.data.if_fine&&!!that.data.priceinfo.sdisc_fine_money&&that.data.priceinfo.sdisc_fine_money!= ''){
|
||||
params['disc_fine_money'] = that.data.priceinfo.sdisc_fine_money;
|
||||
}
|
||||
}
|
||||
// if(that.data.priceinfo.fine_money){
|
||||
// params['if_fine'] = that.data.if_fine?'1':'0';
|
||||
// if(that.data.if_fine&&!!that.data.priceinfo.sdisc_fine_money&&that.data.priceinfo.sdisc_fine_money!= ''){
|
||||
// params['disc_fine_money'] = that.data.priceinfo.sdisc_fine_money;
|
||||
// }
|
||||
// }
|
||||
_.apiQuery.putAppCusorderV2(params).then(res => {
|
||||
|
||||
//刷新列表页
|
||||
|
||||
+127
-123
@@ -145,109 +145,111 @@
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<block wx:if="{{info.price_srv_status}}">
|
||||
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{if_fine}}">
|
||||
<view class="absolute left-0 box-middle font-28 color-333">精品尊享包<text class="ml10 font-24">{{priceinfo.fine_money}}元</text></view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{priceinfo.fine_money-(priceinfo.sdisc_fine_money>0?priceinfo.sdisc_fine_money:0)}}</text>元</view>
|
||||
</view>
|
||||
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{!!priceinfo.sdisc_fine_money&&priceinfo.sdisc_fine_money != ''}}">
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>优惠</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx"><text class="mr10 color-f9394d">{{priceinfo.sdisc_fine_money}}</text>元</view>
|
||||
</view>
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||
<view class="absolute left-0 box-middle color-333">委托代办</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{srv_total}}</text>元</view>
|
||||
</view>
|
||||
<block wx:for="{{agencyList}}" wx:key='index'>
|
||||
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{item.checked}}">
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>{{item.title}}</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx">
|
||||
<block wx:if="{{item.price>0}}"><text class="mr10 color-f9394d">{{item.sprice}}</text>元</block>
|
||||
<block wx:elif="{{item.text}}">{{item.text}}</block>
|
||||
<block wx:if="{{userInfo.biz_type == 1}}">
|
||||
<block wx:if="{{info.price_srv_status}}">
|
||||
<!-- <view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{if_fine}}">
|
||||
<view class="absolute left-0 box-middle font-28 color-333">精品尊享包<text class="ml10 font-24">{{priceinfo.fine_money}}元</text></view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{priceinfo.fine_money-(priceinfo.sdisc_fine_money>0?priceinfo.sdisc_fine_money:0)}}</text>元</view>
|
||||
</view>
|
||||
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{!!priceinfo.sdisc_fine_money&&priceinfo.sdisc_fine_money != ''}}">
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>优惠</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx"><text class="mr10 color-f9394d">{{priceinfo.sdisc_fine_money}}</text>元</view>
|
||||
</view> -->
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||
<view class="absolute left-0 box-middle color-333">委托代办</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{srv_total}}</text>元</view>
|
||||
</view>
|
||||
<block wx:for="{{agencyList}}" wx:key='index'>
|
||||
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{item.checked}}">
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>{{item.title}}</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx">
|
||||
<block wx:if="{{item.price>0}}"><text class="mr10 color-f9394d">{{item.sprice}}</text>元</block>
|
||||
<block wx:elif="{{item.text}}">{{item.text}}</block>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||
<view class="absolute left-0 box-middle color-333">精品选装</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{fine_total}}</text>元</view>
|
||||
</view>
|
||||
<block wx:for="{{fines}}" wx:key='index'>
|
||||
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{item.txt}}">
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>{{item.txt}}</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx">
|
||||
<blcok wx:if="{{item.price}}"><text class="mr10 color-f9394d">{{item.price}}</text>元</blcok>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</block>
|
||||
<block wx:else>
|
||||
<!-- <view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.fine_money}}">
|
||||
<view class="absolute left-0 box-middle">精品尊享包<text class="ml10 font-24">{{priceinfo.fine_money}}元</text></view>
|
||||
<view class="relative pt30 pb30 text-right" bindtap="changeFineBag">
|
||||
<checkbox value="{{if_fine}}" checked="{{if_fine}}"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{if_fine&&priceinfo.dis_fine_money}}">
|
||||
<view class="absolute left-0 box-middle font-28 color-333">精品优惠</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666">
|
||||
<view class="fn-clear">
|
||||
<block wx:for="{{priceinfo.dis_fine_money_list}}" wx:key='index'>
|
||||
<view class="inline-block ml5 mr5 pt10 pb10 pl15 pr15 text-middle font-24 ulib-r10 {{priceinfo.sdisc_fine_money == item?'bg-36afa2 color-fff':'bg-f8'}}" bindtap="fillDisc_fine_money" data-disc_fine_money="{{item}}">
|
||||
{{item}}
|
||||
</view>
|
||||
</block>
|
||||
<input class="inline-block ml5 mr5 text-middle bg-fff bds-1-eb text-center font-24 ulib-r10" style="width:100rpx;height:52rpx;" placeholder-class="color-ccc" type="digit" placeholder="金额" bindinput='inputDisc_fine_money' bindblur='inputBlurDisc_fine_money' value="{{priceinfo.sdisc_fine_money}}" always-embed='{{true}}' />
|
||||
</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">委托代办<text class="color-f9394d" wx:if="{{userInfo.biz_type != 3}}">*</text></view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666">
|
||||
总计:<text class="mr10 color-f9394d">{{srv_total}}</text>元
|
||||
</view>
|
||||
</view>
|
||||
<view class="pb10">
|
||||
<checkbox-group bindchange="changeAgency">
|
||||
<block wx:for="{{agencyList}}" wx:key='index'>
|
||||
<view class="mb20 block relative height-100 pl220 pr20 bg-f6 font-28 ulib-r10">
|
||||
<label class="absolute box-middle left-0 ml30">
|
||||
<text class="text-middle">{{item.title}}</text>
|
||||
<checkbox class="text-middle ml15" value="{{item.id}}" checked="{{item.checked}}"/>
|
||||
</label>
|
||||
<view class="pt25 text-right" wx:if="{{item.checked&&item.price>0}}">
|
||||
<block wx:for="{{item.price_list}}" wx:for-item='price_list' wx:for-index='i' wx:key='i'>
|
||||
<text class="inline-block ml5 mr5 pt10 pb10 pl15 pr15 text-middle font-24 ulib-r10 {{item.sprice == price_list?'bg-36afa2 color-fff':'bg-e4 color-666'}}" bindtap="fillAgency" data-index="{{index}}" data-sprice="{{price_list}}">{{price_list}}</text>
|
||||
</block>
|
||||
<input class="inline-block ml5 mr5 text-middle bg-fff bds-1-eb text-center font-24 ulib-r10" style="width:100rpx;height:52rpx;" placeholder-class="color-ccc" type="digit" placeholder="价格" bindinput='inputAgency' bindblur='inputBlurAgency' data-index="{{index}}" value="{{item.sprice}}" always-embed='{{true}}' />
|
||||
</view>
|
||||
<view class="pt30 text-right color-666" wx:elif="{{item.text}}">{{item.text}}</view>
|
||||
</view>
|
||||
</block>
|
||||
</checkbox-group>
|
||||
</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">
|
||||
总计:<text class="mr10 color-f9394d">{{fine_total}}</text>元
|
||||
</view>
|
||||
</view>
|
||||
<view class="pb10">
|
||||
<block wx:for="{{fines}}" wx:key='index'>
|
||||
<view class="fn-clear mb20 relative pl30 pr30 bg-f6 ulib-r10">
|
||||
<view class="fn-fl wp50">
|
||||
<input class="wp100 height-100 font-28" placeholder-class="color-ccc" type="text" placeholder="精品名称" bindinput='inputFines' data-index="{{index}}" data-type="txt" value="{{item.txt}}" always-embed='{{true}}' />
|
||||
</view>
|
||||
<view class="fn-fr wp25">
|
||||
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="digit" placeholder="精品价格" bindinput='inputFines' data-index="{{index}}" data-type="price" value="{{item.price}}" always-embed='{{true}}' />
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<view class="mb20 inner20 bds-2-36afa2 text-center font-28 color-36afa2 ulib-r10" bindtap="addFine"><i class="iconfont mr10 font-24 icon-jia1"></i>添加</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||
<view class="absolute left-0 box-middle color-333">精品选装</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{fine_total}}</text>元</view>
|
||||
</view>
|
||||
<block wx:for="{{fines}}" wx:key='index'>
|
||||
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{item.txt}}">
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>{{item.txt}}</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx">
|
||||
<blcok wx:if="{{item.price}}"><text class="mr10 color-f9394d">{{item.price}}</text>元</blcok>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</block>
|
||||
<block wx:else>
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.fine_money}}">
|
||||
<view class="absolute left-0 box-middle">精品尊享包<text class="ml10 font-24">{{priceinfo.fine_money}}元</text></view>
|
||||
<view class="relative pt30 pb30 text-right" bindtap="changeFineBag">
|
||||
<checkbox value="{{if_fine}}" checked="{{if_fine}}"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{if_fine&&priceinfo.dis_fine_money}}">
|
||||
<view class="absolute left-0 box-middle font-28 color-333">精品优惠</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666">
|
||||
<view class="fn-clear">
|
||||
<block wx:for="{{priceinfo.dis_fine_money_list}}" wx:key='index'>
|
||||
<view class="inline-block ml5 mr5 pt10 pb10 pl15 pr15 text-middle font-24 ulib-r10 {{priceinfo.sdisc_fine_money == item?'bg-36afa2 color-fff':'bg-f8'}}" bindtap="fillDisc_fine_money" data-disc_fine_money="{{item}}">
|
||||
{{item}}
|
||||
</view>
|
||||
</block>
|
||||
<input class="inline-block ml5 mr5 text-middle bg-fff bds-1-eb text-center font-24 ulib-r10" style="width:100rpx;height:52rpx;" placeholder-class="color-ccc" type="digit" placeholder="金额" bindinput='inputDisc_fine_money' bindblur='inputBlurDisc_fine_money' value="{{priceinfo.sdisc_fine_money}}" always-embed='{{true}}' />
|
||||
</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">委托代办<text class="color-f9394d" wx:if="{{userInfo.biz_type != 3}}">*</text></view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666">
|
||||
总计:<text class="mr10 color-f9394d">{{srv_total}}</text>元
|
||||
</view>
|
||||
</view>
|
||||
<view class="pb10">
|
||||
<checkbox-group bindchange="changeAgency">
|
||||
<block wx:for="{{agencyList}}" wx:key='index'>
|
||||
<view class="mb20 block relative height-100 pl220 pr20 bg-f6 font-28 ulib-r10">
|
||||
<label class="absolute box-middle left-0 ml30">
|
||||
<text class="text-middle">{{item.title}}</text>
|
||||
<checkbox class="text-middle ml15" value="{{item.id}}" checked="{{item.checked}}"/>
|
||||
</label>
|
||||
<view class="pt25 text-right" wx:if="{{item.checked&&item.price>0}}">
|
||||
<block wx:for="{{item.price_list}}" wx:for-item='price_list' wx:for-index='i' wx:key='i'>
|
||||
<text class="inline-block ml5 mr5 pt10 pb10 pl15 pr15 text-middle font-24 ulib-r10 {{item.sprice == price_list?'bg-36afa2 color-fff':'bg-e4 color-666'}}" bindtap="fillAgency" data-index="{{index}}" data-sprice="{{price_list}}">{{price_list}}</text>
|
||||
</block>
|
||||
<input class="inline-block ml5 mr5 text-middle bg-fff bds-1-eb text-center font-24 ulib-r10" style="width:100rpx;height:52rpx;" placeholder-class="color-ccc" type="digit" placeholder="价格" bindinput='inputAgency' bindblur='inputBlurAgency' data-index="{{index}}" value="{{item.sprice}}" always-embed='{{true}}' />
|
||||
</view>
|
||||
<view class="pt30 text-right color-666" wx:elif="{{item.text}}">{{item.text}}</view>
|
||||
</view>
|
||||
</block>
|
||||
</checkbox-group>
|
||||
</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">
|
||||
总计:<text class="mr10 color-f9394d">{{fine_total}}</text>元
|
||||
</view>
|
||||
</view>
|
||||
<view class="pb10">
|
||||
<block wx:for="{{fines}}" wx:key='index'>
|
||||
<view class="fn-clear mb20 relative pl30 pr30 bg-f6 ulib-r10">
|
||||
<view class="fn-fl wp50">
|
||||
<input class="wp100 height-100 font-28" placeholder-class="color-ccc" type="text" placeholder="精品名称" bindinput='inputFines' data-index="{{index}}" data-type="txt" value="{{item.txt}}" always-embed='{{true}}' />
|
||||
</view>
|
||||
<view class="fn-fr wp25">
|
||||
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="digit" placeholder="精品价格" bindinput='inputFines' data-index="{{index}}" data-type="price" value="{{item.price}}" always-embed='{{true}}' />
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<view class="mb20 inner20 bds-2-36afa2 text-center font-28 color-36afa2 ulib-r10" bindtap="addFine"><i class="iconfont mr10 font-24 icon-jia1"></i>添加</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
|
||||
@@ -312,38 +314,40 @@
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>优惠</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx"><text class="mr10 color-f9394d">{{priceinfo.sdisc_money}}</text>元</view>
|
||||
</view>
|
||||
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{if_fine}}">
|
||||
<!-- <view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{if_fine}}">
|
||||
<view class="absolute left-0 box-middle font-28 color-333">精品尊享包<text class="ml10 font-24">{{priceinfo.fine_money}}元</text></view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{priceinfo.fine_money-(priceinfo.sdisc_fine_money>0?priceinfo.sdisc_fine_money:0)}}</text>元</view>
|
||||
</view>
|
||||
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{!!priceinfo.sdisc_fine_money&&priceinfo.sdisc_fine_money != ''}}">
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>优惠</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx"><text class="mr10 color-f9394d">{{priceinfo.sdisc_fine_money}}</text>元</view>
|
||||
</view>
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||
<view class="absolute left-0 box-middle color-333">委托代办</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{srv_total}}</text>元</view>
|
||||
</view>
|
||||
<block wx:for="{{agencyList}}" wx:key='index'>
|
||||
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{item.checked}}">
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>{{item.title}}</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx">
|
||||
<block wx:if="{{item.price>0}}"><text class="mr10 color-f9394d">{{item.sprice}}</text>元</block>
|
||||
<block wx:elif="{{item.text}}">{{item.text}}</block>
|
||||
</view>
|
||||
</view> -->
|
||||
<block wx:if="{{userInfo.biz_type == 1}}">
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||
<view class="absolute left-0 box-middle color-333">委托代办</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{srv_total}}</text>元</view>
|
||||
</view>
|
||||
</block>
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||
<view class="absolute left-0 box-middle color-333">精品选装</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{fine_total}}</text>元</view>
|
||||
</view>
|
||||
<block wx:for="{{fines}}" wx:key='index'>
|
||||
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{item.txt}}">
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>{{item.txt}}</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx">
|
||||
<blcok wx:if="{{item.price}}"><text class="mr10 color-f9394d">{{item.price}}</text>元</blcok>
|
||||
<block wx:for="{{agencyList}}" wx:key='index'>
|
||||
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{item.checked}}">
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>{{item.title}}</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx">
|
||||
<block wx:if="{{item.price>0}}"><text class="mr10 color-f9394d">{{item.sprice}}</text>元</block>
|
||||
<block wx:elif="{{item.text}}">{{item.text}}</block>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||
<view class="absolute left-0 box-middle color-333">精品选装</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{fine_total}}</text>元</view>
|
||||
</view>
|
||||
<block wx:for="{{fines}}" wx:key='index'>
|
||||
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{item.txt}}">
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>{{item.txt}}</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx">
|
||||
<blcok wx:if="{{item.price}}"><text class="mr10 color-f9394d">{{item.price}}</text>元</blcok>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</block>
|
||||
<view class="fixed left-0 right-0 bottom-0 bg-fff-op90 inner40 fn-flex safe-pb">
|
||||
<button class="wp100 bds-2-36afa2 bg-fff mr20 pt10 pb10 text-center font-32 color-36afa2 ulib-r750" hover-class="btn-36afa2-hover" bindtap="optPreview">重新编辑</button>
|
||||
|
||||
@@ -86,7 +86,7 @@ Page({
|
||||
isShowSuccess:false,//是否显示成功提示
|
||||
isShowContract:false,//是否显示生成合同
|
||||
|
||||
if_fine:false,//精品尊享包
|
||||
//if_fine:false,//精品尊享包
|
||||
|
||||
fines:[
|
||||
{
|
||||
@@ -564,6 +564,7 @@ Page({
|
||||
getAppSeriesInfo(){
|
||||
if(this.data.car_id != ''&&this.data.v_id != ''&&this.data.color_id != ''&&this.data.incolor_id != ''){
|
||||
let params = {};
|
||||
params['sversion'] = '2';
|
||||
params['car_id'] = this.data.car_id;
|
||||
params['v_id'] = this.data.v_id;
|
||||
params['color_id'] = this.data.color_id;
|
||||
@@ -708,12 +709,12 @@ Page({
|
||||
if(fines.length>0){
|
||||
params['fines'] = fines;
|
||||
}
|
||||
if(that.data.priceinfo.fine_money){
|
||||
params['if_fine'] = that.data.if_fine?'1':'0';
|
||||
if(that.data.if_fine&&that.data.priceinfo.sdisc_fine_money&&that.data.priceinfo.sdisc_fine_money!= ''){
|
||||
params['disc_fine_money'] = that.data.priceinfo.sdisc_fine_money;
|
||||
}
|
||||
}
|
||||
// if(that.data.priceinfo.fine_money){
|
||||
// params['if_fine'] = that.data.if_fine?'1':'0';
|
||||
// if(that.data.if_fine&&that.data.priceinfo.sdisc_fine_money&&that.data.priceinfo.sdisc_fine_money!= ''){
|
||||
// params['disc_fine_money'] = that.data.priceinfo.sdisc_fine_money;
|
||||
// }
|
||||
// }
|
||||
_.apiQuery.postAppCusorderV2(params).then(res => {
|
||||
|
||||
//刷新列表页
|
||||
|
||||
@@ -229,7 +229,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.fine_money}}">
|
||||
<!-- <view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.fine_money}}">
|
||||
<view class="absolute left-0 box-middle">精品尊享包<text class="ml10 font-24">{{priceinfo.fine_money}}元</text></view>
|
||||
<view class="relative pt30 pb30 text-right" bindtap="changeFineBag">
|
||||
<checkbox value="{{if_fine}}" checked="{{if_fine}}"/>
|
||||
@@ -247,55 +247,57 @@
|
||||
<input class="inline-block ml5 mr5 text-middle bg-fff bds-1-eb text-center font-24 ulib-r10" style="width:100rpx;height:52rpx;" placeholder-class="color-ccc" type="digit" placeholder="金额" bindinput='inputDisc_fine_money' bindblur='inputBlurDisc_fine_money' value="{{priceinfo.sdisc_fine_money}}" always-embed='{{true}}' />
|
||||
</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">委托代办<text class="color-f9394d" wx:if="{{userInfo.biz_type != 3}}">*</text></view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666">
|
||||
总计:<text class="mr10 color-f9394d">{{srv_total}}</text>元
|
||||
</view> -->
|
||||
<block wx:if="{{userInfo.biz_type == 1}}">
|
||||
<view class="bbs-1-eb last-b-none">
|
||||
<view class="relative pl190">
|
||||
<view class="absolute left-0 box-middle font-28 color-333">委托代办<text class="color-f9394d" wx:if="{{userInfo.biz_type != 3}}">*</text></view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666">
|
||||
总计:<text class="mr10 color-f9394d">{{srv_total}}</text>元
|
||||
</view>
|
||||
</view>
|
||||
<view class="pb10">
|
||||
<checkbox-group bindchange="changeAgency">
|
||||
<block wx:for="{{agencyList}}" wx:key='index'>
|
||||
<view class="mb20 block relative height-100 pl220 pr20 bg-f6 font-28 ulib-r10">
|
||||
<label class="absolute box-middle left-0 ml30">
|
||||
<text class="text-middle">{{item.title}}</text>
|
||||
<checkbox class="text-middle ml15" value="{{item.id}}" checked="{{item.checked}}"/>
|
||||
</label>
|
||||
<view class="pt25 text-right" wx:if="{{item.checked&&item.price>0}}">
|
||||
<block wx:for="{{item.price_list}}" wx:for-item='price_list' wx:for-index='i' wx:key='i'>
|
||||
<text class="inline-block ml5 mr5 pt10 pb10 pl15 pr15 text-middle font-24 ulib-r10 {{item.sprice == price_list?'bg-36afa2 color-fff':'bg-e4 color-666'}}" bindtap="fillAgency" data-index="{{index}}" data-sprice="{{price_list}}">{{price_list}}</text>
|
||||
</block>
|
||||
<input class="inline-block ml5 mr5 text-middle bg-fff bds-1-eb text-center font-24 ulib-r10" style="width:100rpx;height:52rpx;" placeholder-class="color-ccc" type="digit" placeholder="价格" bindinput='inputAgency' bindblur='inputBlurAgency' data-index="{{index}}" value="{{item.sprice}}" always-embed='{{true}}' />
|
||||
</view>
|
||||
<view class="pt30 text-right color-666" wx:elif="{{item.text}}">{{item.text}}</view>
|
||||
</view>
|
||||
</block>
|
||||
</checkbox-group>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pb10">
|
||||
<checkbox-group bindchange="changeAgency">
|
||||
<block wx:for="{{agencyList}}" wx:key='index'>
|
||||
<view class="mb20 block relative height-100 pl220 pr20 bg-f6 font-28 ulib-r10">
|
||||
<label class="absolute box-middle left-0 ml30">
|
||||
<text class="text-middle">{{item.title}}</text>
|
||||
<checkbox class="text-middle ml15" value="{{item.id}}" checked="{{item.checked}}"/>
|
||||
</label>
|
||||
<view class="pt25 text-right" wx:if="{{item.checked&&item.price>0}}">
|
||||
<block wx:for="{{item.price_list}}" wx:for-item='price_list' wx:for-index='i' wx:key='i'>
|
||||
<text class="inline-block ml5 mr5 pt10 pb10 pl15 pr15 text-middle font-24 ulib-r10 {{item.sprice == price_list?'bg-36afa2 color-fff':'bg-e4 color-666'}}" bindtap="fillAgency" data-index="{{index}}" data-sprice="{{price_list}}">{{price_list}}</text>
|
||||
</block>
|
||||
<input class="inline-block ml5 mr5 text-middle bg-fff bds-1-eb text-center font-24 ulib-r10" style="width:100rpx;height:52rpx;" placeholder-class="color-ccc" type="digit" placeholder="价格" bindinput='inputAgency' bindblur='inputBlurAgency' data-index="{{index}}" value="{{item.sprice}}" always-embed='{{true}}' />
|
||||
<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">
|
||||
总计:<text class="mr10 color-f9394d">{{fine_total}}</text>元
|
||||
</view>
|
||||
</view>
|
||||
<view class="pb10">
|
||||
<block wx:for="{{fines}}" wx:key='index'>
|
||||
<view class="fn-clear mb20 relative pl30 pr30 bg-f6 ulib-r10">
|
||||
<view class="fn-fl wp50">
|
||||
<input class="wp100 height-100 font-28" placeholder-class="color-ccc" type="text" placeholder="精品名称" bindinput='inputFines' data-index="{{index}}" data-type="txt" value="{{item.txt}}" always-embed='{{true}}' />
|
||||
</view>
|
||||
<view class="fn-fr wp25">
|
||||
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="digit" placeholder="精品价格" bindinput='inputFines' data-index="{{index}}" data-type="price" value="{{item.price}}" always-embed='{{true}}' />
|
||||
</view>
|
||||
</view>
|
||||
<view class="pt30 text-right color-666" wx:elif="{{item.text}}">{{item.text}}</view>
|
||||
</view>
|
||||
</block>
|
||||
</checkbox-group>
|
||||
</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">
|
||||
总计:<text class="mr10 color-f9394d">{{fine_total}}</text>元
|
||||
</block>
|
||||
<view class="mb20 inner20 bds-2-36afa2 text-center font-28 color-36afa2 ulib-r10" bindtap="addFine"><i class="iconfont mr10 font-24 icon-jia1"></i>添加</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pb10">
|
||||
<block wx:for="{{fines}}" wx:key='index'>
|
||||
<view class="fn-clear mb20 relative pl30 pr30 bg-f6 ulib-r10">
|
||||
<view class="fn-fl wp50">
|
||||
<input class="wp100 height-100 font-28" placeholder-class="color-ccc" type="text" placeholder="精品名称" bindinput='inputFines' data-index="{{index}}" data-type="txt" value="{{item.txt}}" always-embed='{{true}}' />
|
||||
</view>
|
||||
<view class="fn-fr wp25">
|
||||
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="digit" placeholder="精品价格" bindinput='inputFines' data-index="{{index}}" data-type="price" value="{{item.price}}" always-embed='{{true}}' />
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<view class="mb20 inner20 bds-2-36afa2 text-center font-28 color-36afa2 ulib-r10" bindtap="addFine"><i class="iconfont mr10 font-24 icon-jia1"></i>添加</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@@ -425,38 +427,40 @@
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>优惠</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx"><text class="mr10 color-f9394d">{{priceinfo.sdisc_money}}</text>元</view>
|
||||
</view>
|
||||
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{if_fine}}">
|
||||
<!-- <view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{if_fine}}">
|
||||
<view class="absolute left-0 box-middle font-28 color-333">精品尊享包<text class="ml10 font-24">{{priceinfo.fine_money}}元</text></view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{priceinfo.fine_money-(priceinfo.sdisc_fine_money>0?priceinfo.sdisc_fine_money:0)}}</text>元</view>
|
||||
</view>
|
||||
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{!!priceinfo.sdisc_fine_money&&priceinfo.sdisc_fine_money != ''}}">
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>优惠</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx"><text class="mr10 color-f9394d">{{priceinfo.sdisc_fine_money}}</text>元</view>
|
||||
</view>
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||
<view class="absolute left-0 box-middle color-333">委托代办</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{srv_total}}</text>元</view>
|
||||
</view>
|
||||
<block wx:for="{{agencyList}}" wx:key='index'>
|
||||
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{item.checked}}">
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>{{item.title}}</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx">
|
||||
<block wx:if="{{item.price>0}}"><text class="mr10 color-f9394d">{{item.sprice}}</text>元</block>
|
||||
<block wx:elif="{{item.text}}">{{item.text}}</block>
|
||||
</view>
|
||||
</view> -->
|
||||
<block wx:if="{{userInfo.biz_type == 1}}">
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||
<view class="absolute left-0 box-middle color-333">委托代办</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{srv_total}}</text>元</view>
|
||||
</view>
|
||||
</block>
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||
<view class="absolute left-0 box-middle color-333">精品选装</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{fine_total}}</text>元</view>
|
||||
</view>
|
||||
<block wx:for="{{fines}}" wx:key='index'>
|
||||
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{item.txt}}">
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>{{item.txt}}</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx">
|
||||
<blcok wx:if="{{item.price}}"><text class="mr10 color-f9394d">{{item.price}}</text>元</blcok>
|
||||
<block wx:for="{{agencyList}}" wx:key='index'>
|
||||
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{item.checked}}">
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>{{item.title}}</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx">
|
||||
<block wx:if="{{item.price>0}}"><text class="mr10 color-f9394d">{{item.sprice}}</text>元</block>
|
||||
<block wx:elif="{{item.text}}">{{item.text}}</block>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
||||
<view class="absolute left-0 box-middle color-333">精品选装</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{fine_total}}</text>元</view>
|
||||
</view>
|
||||
<block wx:for="{{fines}}" wx:key='index'>
|
||||
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{item.txt}}">
|
||||
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>{{item.txt}}</view>
|
||||
<view class="pt25 pb25 text-right" style="min-height:30rpx">
|
||||
<blcok wx:if="{{item.price}}"><text class="mr10 color-f9394d">{{item.price}}</text>元</blcok>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</block>
|
||||
<view class="fixed left-0 right-0 bottom-0 bg-fff-op90 inner40 fn-flex safe-pb">
|
||||
<button class="wp100 bds-2-36afa2 bg-fff mr20 pt10 pb10 text-center font-32 color-36afa2 ulib-r750" hover-class="btn-36afa2-hover" bindtap="optPreview">重新编辑</button>
|
||||
|
||||
Reference in New Issue
Block a user