订单登记联动,订单列表,订单详情,
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
.ulib-rt750{border-top-left-radius:750rpx;border-top-right-radius:750rpx;}
|
||||
.ulib-rl750{border-top-left-radius:750rpx;border-bottom-left-radius:750rpx;}
|
||||
.ulib-rr750{border-top-right-radius:750rpx;border-bottom-right-radius:750rpx;}
|
||||
.ulib-rlb750{border-bottom-left-radius:750rpx;}
|
||||
.ulib-rlt0{border-top-left-radius:0;}
|
||||
.ulib-rlt10{border-top-left-radius:10rpx;}
|
||||
.ulib-rlt0{border-top-left-radius:0;}
|
||||
|
||||
@@ -26,9 +26,6 @@
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
<view class="mt40 pl30 pr30 font-22 relative" style="height:50rpx;">
|
||||
<view bindtap="optShowCode" class="absolute right-0 box-middle pt10 pb10 pl10 pr30 space-nowrap bg-333 font-22 color-fff ulib-rl750"><i class="iconfont mr5 icon-qianming"></i>邀请签名</view>
|
||||
</view>
|
||||
<!-- <view class="">
|
||||
<view class="mt40 pl30 pr30 font-22 relative">
|
||||
<view class="font-32">合同信息</view>
|
||||
@@ -148,8 +145,12 @@
|
||||
<button class="wp100 btn-36afa2 pt10 pb10 text-center font-32 color-fff ulib-r750" hover-class="btn-36afa2-hover" disabled="{{submitFlag}}" bindtap="putAppCusorderCkcar">确认交付</button>
|
||||
</view>
|
||||
|
||||
<view class="mt40 pt20 pl30 pr30 pb40 bg-000-op80">
|
||||
<button bindtap="optShowCode" class="btn-36afa2 wp100 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover"><i class="iconfont mr5 icon-qianming"></i>邀请签名</button>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<lcb-footer></lcb-footer>
|
||||
<!-- <lcb-footer></lcb-footer> -->
|
||||
<lcb-backChannel></lcb-backChannel>
|
||||
|
||||
<lcb-msg isShow="{{isShowSelectContract}}">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<view>
|
||||
<view style="padding-top:110rpx"></view>
|
||||
<view class="fixed top-0 left-0 right-0 bg-fff z-index-1">
|
||||
<view class="fn-flex mt5 pl20 pr20 font-32 color-666 text-center" wx:if="{{tab.length<5}}">
|
||||
<view class="fn-flex mt5 pl100 pr100 font-32 color-666 text-center" wx:if="{{tab.length<5}}">
|
||||
<block wx:for='{{tab}}' wx:key='list'>
|
||||
<view class="fn-flex-item pl20 pr20 tabmenu2 {{key == item.key?'active color-36afa2':''}}" data-index="{{index}}" bindtap="changeTab">
|
||||
<view class="relative">{{item.name}}</view>
|
||||
@@ -34,14 +34,12 @@
|
||||
|
||||
<block wx:for='{{list}}' wx:key='index'>
|
||||
<view class="inner40 relative ulib-r10 box-shadow-000-10-10 mb30 overflowhidden" bindtap="pushLink" data-url="/pages/order/detail/index?id={{item.id}}">
|
||||
<view class="relative pr180">
|
||||
<view class="absolute top-0 left-0 ml40 pt5 pb5 pl10 pr10 bg-36afa2 font-22 color-fff">{{item.status_name}}</view>
|
||||
<view class="relative pt10 pb10 pr180">
|
||||
<view class="font-32">
|
||||
<text>{{item.name}}</text>
|
||||
<text>({{item.mobile}})</text>
|
||||
</view>
|
||||
<view class="text-nowrap">
|
||||
<text class="inline-block mr10 pl10 pr10 bg-666 font-18 color-fff ulib-r750">{{item.status_name}}</text>
|
||||
</view>
|
||||
<view class="absolute right-0 box-middle">
|
||||
<view class="inline-block relative img-55x55 bg-333 font-28 color-fff mr30 ulib-r750" catchtap="showMessage" data-id="{{item.id}}">
|
||||
<i class="absolute box-center-middle iconfont icon-liuyan"></i>
|
||||
@@ -59,6 +57,8 @@
|
||||
</view>
|
||||
</block>
|
||||
|
||||
<view class="mt20 pt5 pb5 pl20 pr20 bg-f6 font-22 color-666 ulib-rlb750 ulib-rr750" wx:if="{{item.remark}}">注:{{item.remark}}</view>
|
||||
|
||||
</view>
|
||||
</block>
|
||||
<lcb-listmore isLoading='{{loading}}' isEnd='{{end}}' isNoData='{{noData}}'></lcb-listmore>
|
||||
|
||||
@@ -16,7 +16,7 @@ Page({
|
||||
step:3,
|
||||
},
|
||||
],
|
||||
step:1,
|
||||
step:2,
|
||||
name:'',//姓名
|
||||
mobile:'',//手机号
|
||||
address:'',//地址
|
||||
@@ -329,29 +329,12 @@ Page({
|
||||
});
|
||||
},
|
||||
|
||||
//获取车型属性 /颜色 /车型级别
|
||||
getAppSeriesAttrs(){
|
||||
let params1 = {};
|
||||
params1['id'] = this.data.car_id;
|
||||
params1['type'] = 0;
|
||||
_.apiQuery.getAppSeriesAttrs(params1).then(res => {
|
||||
if(res.data.total>0){
|
||||
let colorArray = []
|
||||
res.data.list.forEach(item => {
|
||||
colorArray.push(item.title)
|
||||
})
|
||||
this.setData({
|
||||
colorArray:colorArray,
|
||||
colorList:res.data.list,
|
||||
colorIndex:-1,
|
||||
})
|
||||
}
|
||||
});
|
||||
|
||||
let params2 = {};
|
||||
params2['id'] = this.data.car_id;
|
||||
params2['type'] = 1;
|
||||
_.apiQuery.getAppSeriesAttrs(params2).then(res => {
|
||||
//获取车型级别
|
||||
getAppSeriesAttrslevel(){
|
||||
let params = {};
|
||||
params['id'] = this.data.car_id;
|
||||
params['type'] = 0;
|
||||
_.apiQuery.getAppSeriesAttrs(params).then(res => {
|
||||
if(res.data.total>0){
|
||||
let levelArray = []
|
||||
res.data.list.forEach(item => {
|
||||
@@ -364,11 +347,37 @@ Page({
|
||||
})
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
let params3 = {};
|
||||
params3['id'] = this.data.car_id;
|
||||
params3['type'] = 2;
|
||||
_.apiQuery.getAppSeriesAttrs(params3).then(res => {
|
||||
//获取车型颜色
|
||||
getAppSeriesAttrscolor(){
|
||||
let params = {};
|
||||
params['id'] = this.data.car_id;
|
||||
params['type'] = 1;
|
||||
params['v_id'] = this.data.v_id;
|
||||
_.apiQuery.getAppSeriesAttrs(params).then(res => {
|
||||
if(res.data.total>0){
|
||||
let colorArray = []
|
||||
res.data.list.forEach(item => {
|
||||
colorArray.push(item.title)
|
||||
})
|
||||
this.setData({
|
||||
colorArray:colorArray,
|
||||
colorList:res.data.list,
|
||||
colorIndex:-1,
|
||||
})
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
//获取车型内饰颜色
|
||||
getAppSeriesAttrsinterior(){
|
||||
let params = {};
|
||||
params['id'] = this.data.car_id;
|
||||
params['type'] = 2;
|
||||
params['v_id'] = this.data.v_id;
|
||||
params['color_id'] = this.data.color_id;
|
||||
_.apiQuery.getAppSeriesAttrs(params).then(res => {
|
||||
if(res.data.total>0){
|
||||
let interiorArray = []
|
||||
res.data.list.forEach(item => {
|
||||
@@ -449,7 +458,7 @@ Page({
|
||||
interiorIndex:-1,//内饰颜色索引
|
||||
priceinfo:'',
|
||||
})
|
||||
this.getAppSeriesAttrs()
|
||||
this.getAppSeriesAttrslevel()
|
||||
this.getAppFinanceNums()
|
||||
}
|
||||
},
|
||||
@@ -460,8 +469,15 @@ Page({
|
||||
this.setData({
|
||||
v_id:this.data.levelList[e.detail.value].id,
|
||||
levelIndex:e.detail.value,
|
||||
color_id:'',//车型颜色id
|
||||
incolor_id:'',//内饰颜色id
|
||||
colorArray:[],//车型颜色列表
|
||||
interiorArray:[],//内饰颜色
|
||||
colorIndex:-1,//车型颜色索引
|
||||
interiorIndex:-1,//内饰颜色索引
|
||||
priceinfo:'',
|
||||
})
|
||||
this.getAppSeriesInfo()
|
||||
this.getAppSeriesAttrscolor()
|
||||
this.getAppFinanceNums()
|
||||
}
|
||||
},
|
||||
@@ -472,8 +488,12 @@ Page({
|
||||
this.setData({
|
||||
color_id:this.data.colorList[e.detail.value].id,
|
||||
colorIndex:e.detail.value,
|
||||
incolor_id:'',//内饰颜色id
|
||||
interiorArray:[],//内饰颜色
|
||||
interiorIndex:-1,//内饰颜色索引
|
||||
priceinfo:'',
|
||||
})
|
||||
this.getAppSeriesInfo()
|
||||
this.getAppSeriesAttrsinterior()
|
||||
this.getAppFinanceNums()
|
||||
}
|
||||
},
|
||||
@@ -576,6 +596,7 @@ Page({
|
||||
params['incolor_id'] = this.data.incolor_id;
|
||||
_.apiQuery.getAppSeriesInfo(params).then(res => {
|
||||
this.setData({
|
||||
inten_money:'',
|
||||
priceinfo:res.data,
|
||||
})
|
||||
});
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{modelIndex != -1}}">
|
||||
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{levelIndex != -1}}">
|
||||
<view class="absolute left-0 box-middle font-28 color-333">车型颜色<text class="color-f9394d">*</text></view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666">
|
||||
<picker bindchange="changeColor" value="{{colorIndex}}" range="{{colorArray}}">
|
||||
@@ -88,7 +88,7 @@
|
||||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{modelIndex != -1}}">
|
||||
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{colorIndex != -1}}">
|
||||
<view class="absolute left-0 box-middle font-28 color-333">内饰颜色<text class="color-f9394d">*</text></view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666">
|
||||
<picker bindchange="changeInterior" value="{{interiorIndex}}" range="{{interiorArray}}">
|
||||
|
||||
Reference in New Issue
Block a user