This commit is contained in:
2025-06-19 17:33:18 +08:00
commit f8f31dc4d9
437 changed files with 103080 additions and 0 deletions
@@ -0,0 +1,11 @@
{
"usingComponents": {
"van-popup": "@vant/weapp/popup/index",
"van-tab": "@vant/weapp/tab/index",
"van-tabs": "@vant/weapp/tabs/index",
"van-empty": "@vant/weapp/empty/index",
"van-divider": "@vant/weapp/divider/index"
},
"enablePullDownRefresh": true,
"navigationBarTitleText": "保养台账"
}
@@ -0,0 +1,379 @@
/* pages/vehicleMaintenance/maintainRecord/maintainRecord.wxss */
page {
width: 100vw;
height: 100vh;
position: relative;
.top {
width: 100%;
background: #ffffff;
position: absolute;
top: 0;
z-index: 10;
.search-container {
padding: 10px;
box-sizing: border-box;
display: flex;
justify-content: space-between;
align-items: center;
>.number-plate, >.project-select {
// width: calc((100% - 6px) / 2);
width: 100%;
height: 36px;
padding: 8px 10px;
box-sizing: border-box;
border-radius: 4px;
border: 1px solid #E6EAF2;
display: flex;
align-items: center;
}
>.number-plate {
.icon {
width: 20px;
height: 20px;
margin-right: 8px;
image {
width: 100%;
height: 100%;
}
}
input {
flex: 1;
font-size: 14px;
}
}
>.project-select {
width: calc((100% - 6px) / 2);
picker {
width: 100%;
position: relative;
.picker {
width: 100%;
height: 38px;
// padding-left: 14px;
box-sizing: border-box;
// border: 1px solid #E6EAF2;
border-radius: 4px;
font-size: 14px;
display: flex;
// justify-content: space-between;
align-items: center;
}
.picker::after {
content: '';
width: 0;
height: 0;
border-top: 6px solid #636B83;
border-right: 6px solid transparent;
border-bottom: 6px solid transparent;
border-left: 6px solid transparent;
position: absolute;
top: 50%;
right: 14px;
transform: translateY(-2px);
}
}
}
}
.tab-container {
width: 100%;
height: 48px;
display: flex;
overflow: hidden;
.tabs {
width: calc(100% - 48px);
// overflow-x: auto;
}
.swicth {
width: 48px;
height: 48px;
box-shadow: -4px 2px 4px -2px rgba(0,0,0,.25);
// border-left: 1px solid rgba(0,0,0,.25);
position: absolute;
right: 0;
z-index: 10;
display: flex;
justify-content: center;
align-items: center;
image {
width: 20px;
height: 20px;
display: block;
}
}
}
.more-search {
padding: 8px 14px 12px;
border-radius: 0 0 8px 8px;
background: #fff;
.row {
margin-bottom: 8px;
.label {
margin: 6px;
color: #394458;
font-size: 14px;
}
.date-content {
display: flex;
align-items: center;
justify-content: space-between;
.line {
width: 10px;
height: 1px;
background: #949CB5;
}
.date {
width: calc((100% - 10px - 30px) / 2);
height: 36px;
padding: 8px 10px;
box-sizing: border-box;
border-radius: 4px;
border: 1px solid #E6EAF2;
display: flex;
align-items: center;
.icon {
width: 16px;
height: 16px;
margin-left: 8px;
image {
width: 100%;
height: 100%;
}
}
input {
flex: 1;
color: #2E3A4F;
font-size: 14px;
}
}
}
.select-content {
>.project-select {
width: 100%;
border: 1px solid #DBDBDB;
border-radius: 4px;
background: #ffffff;
picker {
width: 100%;
position: relative;
.picker {
width: 100%;
height: 36px;
padding-left: 8px;
box-sizing: border-box;
// border: 1px solid #E6EAF2;
border-radius: 4px;
font-size: 14px;
display: flex;
// justify-content: space-between;
align-items: center;
}
.picker::after {
content: '';
width: 0;
height: 0;
border-top: 6px solid #636B83;
border-right: 6px solid transparent;
border-bottom: 6px solid transparent;
border-left: 6px solid transparent;
position: absolute;
top: 50%;
right: 14px;
transform: translateY(-2px);
}
}
}
}
.checkbox-content {
width: 100%;
max-height: 96px;
overflow-y: auto;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
.item {
width: 48%;
height: 36px;
line-height: 36px;
margin-bottom: 8px;
background: #FFFFFF;
border-radius: 4px;
border: 1px solid #E6EAF2;
color: #2E3A4F;
font-size: 14px;
text-align: center;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.check {
background: #E9F2FF;
border: 1px solid #24A2FE;
}
}
.btn-content {
display: flex;
justify-content: space-between;
align-items: center;
.btn {
width: 48%;
height: 40px;
line-height: 40px;
box-sizing: border-box;
background: #FFFFFF;
border-radius: 8px;
border: 1px solid #D6D6D6;
color: #2E3A4F;
font-size: 15px;
font-weight: bold;
text-align: center;
}
.btn-confirm {
background: linear-gradient(90deg, #3B7CFC 0%, #548BFC 100%);
border: 0;
color: #fff;
}
}
}
}
}
>.list {
width: 100%;
height: calc(100vh - 104px);
padding: 8px 0;
box-sizing: border-box;
background: #EFF1F4;
position: absolute;
bottom: 0;
// overflow-y: auto;
.scroll-view_H {
height: 100%;
// padding: 0 8px;
box-sizing: border-box;
}
.item {
padding: 12px 10px;
margin: 0 8px 8px;
background: #fff;
border-radius: 8px;
.row:first-child {
margin-bottom: 8px;
}
.row {
color: #2E3A4F;
display: flex;
justify-content: space-between;
align-items: center;
.number-plate {
display: flex;
.status {
padding: 0 4px;
margin: 0 4px;
border-radius: 2px;
color: #FFFFFF;
font-size: 14px;
flex-shrink: 1;
}
.status1 {
background: linear-gradient(90deg, #0D92FF 0%, #38B1FE 100%);
}
.status2 {
background: linear-gradient(270deg, #4CDBAD 0%, #2FCBAB 100%);
}
.status3 {
background: linear-gradient(270deg, #A1A8BB 0%, #838EAA 100%);
}
.val {
font-size: 16px;
font-weight: bold;
flex-shrink: 0;
display: flex;
align-items: center;
}
}
.project-name, .code {
font-size: 14px;
}
.time {
font-size: 14px;
color: #858CA0;
}
}
}
.no-data {
width: 100%;
height: 100%;
background: #fff;
}
}
}
// 时间选择器
.date-btn-box {
// background: #fff;
// border-radius: 4px 4px 0 0;
border-bottom: 2rpx solid #F1F1F1;
font-size: 30rpx;
display: flex;
justify-content: space-between;
align-items: center;
.btn {
padding: 20rpx 36rpx;
color: #888888;
}
.btn-confirm{
color: #3D7EEA;
}
}
.date-title {
padding: 20rpx 36rpx;
font-size: 36rpx;
color: #888888;
border-bottom: 2rpx solid #F1F1F1;
display: flex;
justify-content: space-evenly;
align-items: center;
.line {
width: 10px;
height: 1px;
margin: 0 14px;
background: #949CB5;
}
.date {
width: calc((100% - 10px - 28px) / 2);
height: 36px;
padding: 8px 10px;
box-sizing: border-box;
border-radius: 4px;
border: 1px solid #E6EAF2;
display: flex;
align-items: center;
.icon {
width: 16px;
height: 16px;
margin-left: 8px;
image {
width: 100%;
height: 100%;
display: block;
}
}
input {
flex: 1;
color: #2E3A4F;
font-size: 14px;
}
}
.select {
border: 1px solid #1677FF;
input {
color: #1677FF !important;
}
}
}
.picker-box {
width: 100%;
display: flex;
justify-content: space-between;
}
@@ -0,0 +1,525 @@
// pages/vehicleMaintenance/maintainRecord/maintainRecord.ts
import { getAction } from '../../../api/base';
Page({
/**
* 页面的初始数据
*/
data: {
startDate: '',
endDate: '',
startDateTmp: '',
endDateTmp: '',
selectDate: 'startDate',
showDateSelect: false,
dateList: {
years: [2023, 2024, 2025],
months: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
date: [
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31
]
},
dateValue: [0, 0, 0],
projectOptions: [
{
id: '',
projectName: '全部'
}
] as any,
selectProjectIndex: 0,
selectProject: {} as any,
tabList: [] as any,
active: 0,
showMoreSearch: false,
plateNumberOrOrderNo: '',
repairShopsOptions: [] as any,
flowStatus: -1,
current: 1,
isLast: false,
loading: false,
recordList: []
},
toSearch() {},
// 切换显示 更多条件
filterShow() {
this.setData({
showMoreSearch: true
});
},
filterHide() {
this.setData({
showMoreSearch: false
});
},
// 日期相关--------------
showDate(e: any) {
// selectDate
let clickDate = null as any;
if (e.currentTarget.dataset.key == 'startDate') {
clickDate = this.data.startDate;
} else {
clickDate = this.data.endDate;
}
let y = this.data.dateList.years.findIndex(
(x: number) => x == Number(clickDate.split('-')[0])
);
let m = this.data.dateList.months.findIndex(
(x: number) => x == Number(clickDate.split('-')[1])
);
let d = this.data.dateList.date.findIndex(
(x: number) => x == Number(clickDate.split('-')[2])
);
// console.log(this.data.startDate.split('-'))
console.log([y, m, d]);
this.setData({
showDateSelect: true,
selectDate: e.currentTarget.dataset.key,
startDateTmp: this.data.startDate,
endDateTmp: this.data.endDate,
dateValue: [y, m, d]
});
},
hideDate() {
this.setData({
showDateSelect: false
});
},
changeSelectDate(e: any) {
this.setData({
selectDate: e.currentTarget.dataset.key
});
},
selectDate(e: any) {
console.log(e.detail.value);
let y: string | number = this.data.dateList.years[e.detail.value[0]];
let m: string | number = this.data.dateList.months[e.detail.value[1]];
let d: string | number = this.data.dateList.date[e.detail.value[2]];
y = y < 10 ? '0' + y : y;
m = m < 10 ? '0' + m : m;
d = d < 10 ? '0' + d : d;
if (this.data.selectDate == 'startDate') {
this.setData({
startDateTmp: `${y}-${m}-${d}`
});
} else {
this.setData({
endDateTmp: `${y}-${m}-${d}`
});
}
},
changeDate(e: any) {
console.log(
new Date(this.data.startDateTmp).getTime(),
new Date(this.data.endDateTmp).getTime()
);
if (
new Date(this.data.startDateTmp).getTime() >
new Date(this.data.endDateTmp).getTime()
) {
wx.showToast({
title: '结束时间不能早于开始时间',
icon: 'none'
});
return;
}
this.setData({
startDate: this.data.startDateTmp,
endDate: this.data.endDateTmp,
showDateSelect: false
});
},
// 日期初始化
initDate() {
let year = new Date().getFullYear();
let mon =
new Date().getMonth() + 1 < 10
? '0' + (new Date().getMonth() + 1)
: new Date().getMonth() + 1;
let day =
new Date().getDate() < 10
? '0' + new Date().getDate()
: new Date().getDate();
let years = [];
for (let i = -3; i < 6; i++) {
years.push(year + i);
}
this.setData({
dateList: {
years: years,
months: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
date: [
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31
]
},
dateValue: [0, 0, 0],
startDate: `${year}-${mon}-${day}`,
endDate: `${year}-${mon}-${day}`,
startDateTmp: `${year}-${mon}-${day}`,
endDateTmp: `${year}-${mon}-${day}`
});
},
// 日期相关--------------end
// 项目选择--------------
getProjectOptions() {
getAction('api/vehicles/repair/queryProjects').then((res: any) => {
if (res.code == 200) {
let tmpArr = [
{
id: '',
projectName: '全部'
}
];
// res.result.unshift();
res.result.forEach((item: any) => {
tmpArr.push({
id: item.projectId,
projectName: item.projectName
});
});
this.setData({
projectOptions: tmpArr,
selectProjectIndex: 0,
selectProject: tmpArr[0]
});
} else {
wx.showToast({
title: res.message,
icon: 'none'
});
}
});
},
bindPickerProject(e: any) {
console.log(e);
let index = Number(e.detail.value);
this.setData({
selectProject: this.data.projectOptions[index],
selectProjectIndex: index
});
},
// 项目选择--------------end
// 维修厂选择---------
getRepairShops() {
getAction('api/vehicles/repair/getRepairShop').then((res: any) => {
if (res.code == 200) {
res.result.forEach((item: any) => {
item.check = false;
});
this.setData({
repairShopsOptions: res.result
});
} else {
wx.showToast({
title: res.message,
icon: 'none'
});
}
});
},
checkRepairShop(e: any) {
let tmpArr = this.data.repairShopsOptions;
let index = e.currentTarget.dataset.index;
tmpArr.forEach((item: any, i: number) => {
if (i == index) {
item.check = true;
} else {
item.check = false;
}
});
// tmpArr[index].check = !tmpArr[index].check
this.setData({
repairShopsOptions: tmpArr
});
},
// 维修厂选择---------
tabOnChange(e: any) {
console.log(e);
this.setData({
current: 1,
isLast: false,
recordList: [],
plateNumberOrOrderNo: this.data.plateNumberOrOrderNo,
active: e.detail.index,
flowStatus: this.data.tabList[e.detail.index].flowStatus
});
this.getList();
},
getTabList() {
let tmpArr = this.data.repairShopsOptions.filter((x: any) => x.check);
let repairShop = tmpArr[0] ? tmpArr[0].repairShop : '';
let parms = {
plateNumberOrOrderNo: this.data.plateNumberOrOrderNo,
projectId: this.data.selectProject.id,
repairShop: repairShop
};
getAction('api/vehicles/upkeepBill/getUpkeepPageStatic', parms).then(
(res: any) => {
if (res.code == 200) {
this.setData({
tabList: res.result
});
} else {
wx.showToast({
title: res.message,
icon: 'none'
});
}
}
);
},
restList() {
let tmpArr = this.data.repairShopsOptions;
tmpArr.forEach((item: any) => {
item.check = false;
});
this.initDate();
this.setData({
current: 1,
isLast: false,
recordList: [],
plateNumberOrOrderNo: '',
selectProject: this.data.projectOptions[0],
selectProjectIndex: 0,
repairShopsOptions: tmpArr
});
this.getTabList();
this.getList();
},
changePlateNumberOrOrderNo(e: any) {
console.log(e.detail.value);
this.setData({
current: 1,
isLast: false,
recordList: [],
plateNumberOrOrderNo: e.detail.value
});
this.getTabList();
this.getList();
},
getListByMoreParms() {
this.setData({
current: 1,
isLast: false,
recordList: [],
showMoreSearch: false
});
this.getTabList();
this.getList();
},
getList() {
let parms: any;
// if (this.data.showMoreSearch) {
let tmpArr = this.data.repairShopsOptions.filter((x: any) => x.check);
let repairShop = tmpArr[0] ? tmpArr[0].repairShop : '';
parms = {
// startDate: this.data.startDate,
// endDate: this.data.endDate,
plateNumberOrOrderNo: this.data.plateNumberOrOrderNo,
projectId: this.data.selectProject.id,
repairShop: repairShop,
flowStatus: this.data.flowStatus,
pageNo: this.data.current,
pageSize: 10
};
// } else {
// parms = {
// plateNumberOrOrderNo: this.data.plateNumberOrOrderNo,
// flowStatus: this.data.flowStatus,
// pageNo: this.data.current,
// pageSize: 10
// };
// }
this.setData({
loading: true
});
wx.showLoading({
title: '加载中',
icon: 'none'
});
getAction('api/vehicles/upkeepBill/list', parms)
.then((res: any) => {
this.setData({
loading: false
});
wx.hideLoading();
if (res.code == 200) {
let tmpArr = this.data.recordList.concat(res.result.records);
this.setData({
listTotal: res.result.total,
recordList: tmpArr
});
if (res.result.total == tmpArr.length) {
// tmpArr 目前只是调试流程用
this.setData({
isLast: true
});
}
// if (1) {
// this.setData({
// // isLast: true,
// listTotal: res.result.total,
// recordList: res.result.records //之后放出来
// });
// }
console.log('查询结果', res);
} else {
wx.showToast({
title: res.message,
icon: 'none'
});
}
})
.catch((err: any) => {
this.setData({
loading: false
});
wx.showToast({
title: err.message,
icon: 'none'
});
});
},
// 跳转到对应的维修详情页
toDetailPage(e: any) {
wx.setStorageSync('selectMaintain', e.currentTarget.dataset.inf);
let url = '';
switch (e.currentTarget.dataset.inf.flowStatus) {
case 2:
url = '../UpkeepBillSend/UpkeepBillSend';
break;
case 3:
url = '../UpkeepBillSend/UpkeepBillSend';
break;
case 4:
url = '../UpkeepBillCheck/UpkeepBillCheck';
break;
case 5:
url = '../UpkeepBillCheck/UpkeepBillCheck';
break;
case 6:
url = '../UpkeepBillProcedure/UpkeepBillProcedure';
break;
case 7:
url = '../UpkeepBillProcedure/UpkeepBillProcedure';
break;
case 8:
url = '../UpkeepBillResult/UpkeepBillResult';
break;
case 9:
url = '../UpkeepBillResult/UpkeepBillResult';
break;
case 10:
url = '../UpkeepBillCheck/UpkeepBillCheck';
break;
}
let that = this;
wx.navigateTo({
url: url,
events: {
// 编辑过后刷新页面
refresh: function () {
console.log('动了');
that.initDate();
that.restList();
}
},
fail: e => {
console.log(e);
}
});
},
lower(e: any) {
console.log(e.detail.direction == 'bottom');
// return
if (this.data.isLast) {
wx.showToast({
title: '已经是最后一页',
icon: 'none'
});
return;
}
if (e.detail.direction == 'bottom' && !this.data.loading) {
// this.data.current += 1
this.setData({
loading: true,
current: (this.data.current += 1)
});
this.getList();
}
},
/**
* 生命周期函数--监听页面加载
*/
onLoad() {
this.initDate();
this.restList();
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
this.initDate();
this.getProjectOptions();
this.getRepairShops();
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
// this.getTabList();
// this.getList();
// this.restList();
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
console.log(getApp().EventChannel);
getApp().EventChannel = null;
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
// this.setData({
// current: 1,
// isLast: false,
// recordList: [],
// });
this.getTabList();
// this.getList();
this.restList();
// 手动控制回弹
wx.stopPullDownRefresh();
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {}
});
@@ -0,0 +1,166 @@
<!--pages/vehicleMaintenance/maintainRecord/maintainRecord.wxml-->
<!-- <view class="container"> -->
<view class="top">
<view class="search-container">
<view class="number-plate" catchtap="toSearch">
<view class="icon">
<image src="../../../images/icon_search.png" mode=""/>
</view>
<input
type="text"
placeholder="搜索车辆或工单号"
placeholder-style="color:#949CB5; font-size: 28rpx; font-weight: 400;"
value="{{password}}"
bind:input="changePlateNumberOrOrderNo"/>
</view>
</view>
<view class="tab-container">
<view class="tabs">
<van-tabs
color="#4381FC"
title-active-color="#4381FC"
ellipsis="{{false}}"
active="{{ active }}"
bind:change="tabOnChange">
<van-tab
title-style="font-size:16px"
wx:for="{{tabList}}"
wx:key="index"
title="{{item.flowName + '(' + item.count + ')' }}"></van-tab>
</van-tabs>
</view>
<view class="swicth" catchtap="filterShow">
<image src="../../../images/icon_filter.png" mode=""/>
</view>
</view>
<van-popup
show="{{ showMoreSearch }}"
position="top"
bind:close="filterHide">
<view class="more-search">
<!-- <view class="row">
<view class="label">按时间选择</view>
<view class="date-content">
<view class="date" data-key="startDate" catchtap="showDate">
<input
type="text"
value="{{startDate}}"
disabled="true" />
</view>
<view class="line"></view>
<view class="date" data-key="endDate" catchtap="showDate">
<input
type="text"
value="{{endDate}}"
disabled="true" />
</view>
</view>
</view> -->
<view class="row">
<view class="label">按项目选择</view>
<view class="select-content">
<view class="project-select">
<picker bindchange="bindPickerProject" value="{{selectProjectIndex}}" range-key="projectName" range="{{projectOptions}}">
<view class="picker project-select">
{{projectOptions[selectProjectIndex].projectName}}
</view>
</picker>
</view>
</view>
</view>
<view class="row">
<view class="label">按维修厂选择</view>
<view class="checkbox-content">
<view class="item {{item.check ? 'check' : ''}}" wx:for="{{repairShopsOptions}}" wx:key="index" data-index="{{index}}" catch:tap="checkRepairShop" >
{{item.repairShop_dictText}}
</view>
</view>
</view>
<view class="row">
<view class="btn-content">
<view class="btn" catchtap="restList">重置</view>
<view class="btn btn-confirm" catchtap="getListByMoreParms">确定</view>
</view>
</view>
</view>
</van-popup>
</view>
<view class="list">
<scroll-view class="scroll-view_H" scroll-y="true" bindscrolltolower="lower" style="width: 100%">
<view class="item" wx:for="{{recordList}}" wx:key="index" data-inf="{{item}}" catchtap="toDetailPage">
<view class="row">
<view class="code">{{item.orderNo}}</view>
<view class="number-plate">
<view class="status status1" wx:if="{{item.flowStatus == 2 || item.flowStatus == 3 || item.flowStatus == 6}}">{{item.flowStatus_dictText}}</view>
<view class="status status2" wx:if="{{item.flowStatus == 4 || item.flowStatus == 5 || item.flowStatus == 10 || item.flowStatus == 7}}">{{item.flowStatus_dictText}}</view>
<view class="status status3" wx:if="{{item.flowStatus == 8 || item.flowStatus == 9}}">{{item.flowStatus_dictText}}</view>
<view class="val">{{item.plateNumber}}</view>
</view>
</view>
<view class="row">
<view class="project-name">{{item.projectId_dictText}}</view>
<view class="time">{{item.predictTime}}</view>
</view>
</view>
<view class="is-last" wx:if="{{isLast && recordList.length > 0}}" style="padding-bottom: 40rpx;">
<van-divider contentPosition="center">已加载完全部数据</van-divider>
</view>
<view class="no-data" wx:if="{{recordList.length == 0}}">
<van-empty description="无数据" />
</view>
</scroll-view>
</view>
<!-- 日期范围选择 -->
<van-popup
show="{{ showDateSelect }}"
position="bottom"
custom-style="height: 50%;"
bind:click-overlay="hideDate"
>
<view style="background: #fff;border-radius: 4px 4px 0 0;overflow: hidden;">
<view class="date-btn-box">
<view class="btn btn-cancel" bindtap="hideDate">取消</view>
<view class="title">选择开始结束时间</view>
<view class="btn btn-confirm" bindtap="changeDate">确定</view>
</view>
<view class="date-title">
<view class="date {{selectDate == 'startDate' ? 'select' : ''}}" data-key="startDate" catchtap="changeSelectDate">
<input
type="text"
value="{{startDateTmp}}"
disabled="true"
bindinput="getPassword" />
<view class="icon">
<image src="../../../images/icon_cal.png" mode=""/>
</view>
</view>
<view class="line"></view>
<view class="date {{selectDate == 'endDate' ? 'select' : ''}}" data-key="endDate" catchtap="changeSelectDate">
<input
type="text"
value="{{endDateTmp}}"
disabled="true"
bindinput="getPassword" />
<view class="icon">
<image src="../../../images/icon_cal.png" mode=""/>
</view>
</view>
</view>
<view class="picker-box">
<picker-view data-key="dateRang" value="{{dateValue}}" indicator-style="height: 50px;" style="width: 100%; height: 500rpx;" bindchange="selectDate">
<picker-view-column>
<view style="line-height: 50px; text-align: center;" wx:for="{{dateList.years}}" wx:key="index">{{item}}年</view>
</picker-view-column>
<picker-view-column>
<view style="line-height: 50px; text-align: center;" wx:for="{{dateList.months}}" wx:key="index">{{item}}月</view>
</picker-view-column>
<picker-view-column>
<view style="line-height: 50px; text-align: center;" wx:for="{{dateList.date}}" wx:key="index">{{item}}日</view>
</picker-view-column>
</picker-view>
</view>
</view>
</van-popup>
<!-- </view> -->