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,7 @@
{
"usingComponents": {
"van-dialog": "@vant/weapp/dialog/index",
"van-uploader": "@vant/weapp/uploader/index"
},
"navigationBarTitleText": "验收详情"
}
@@ -0,0 +1,297 @@
/* pages/handoverVehicle/rentalDelivery/rentalDelivery.wxss */
page {
height: 100vh;
background: #EFF1F4;
overflow: hidden;
position: relative;
.container {
padding-top: 2px;
padding-bottom: 18px;
box-sizing: border-box;
height: calc(100% - 88px);
overflow-y: auto;
.bg {
width: 100%;
height: 250px;
position: absolute;
top: 0;
image {
width: 100%;
height: 100%;
display: block;
}
}
>.top {
margin: 8px 8px 10px;
padding: 12px 10px;
margin-bottom: 8px;
background: #fff;
border-radius: 8px;
position: relative;
.row:first-child {
margin-bottom: 8px;
}
.row {
color: #2E3A4F;
display: flex;
justify-content: space-between;
align-items: center;
.title {
font-size: 30rpx;
font-weight: bold;
}
.number-plate {
display: flex;
.status {
padding: 0 6px;
margin-right: 4px;
border-radius: 2px;
color: #FFFFFF;
font-size: 14px;
}
.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;
}
}
.project-name, .code {
font-size: 14px;
}
.time {
font-size: 14px;
color: #858CA0;
}
.type-list {
font-size: 14px;
display: flex;
.type {
width: 104rpx;
height: 32rpx;
padding: 4rpx;
margin-left: 16rpx;
line-height: 32rpx;
background: linear-gradient(270deg, #4CDBAD 0%, #2FCBAB 100%);
border-radius: 2px;
color: #fff;
text-align: center;
}
.type-g {
background: linear-gradient(270deg, #A1A8BB 0%, #838EAA 100%);
}
.type-b {
background: #4381FC;
}
.type-bb {
background: #FFFFFF;
border-radius: 2px;
border: 1px solid #4F88FC;
color: #4381FC;
}
}
}
}
.content-box {
padding: 0 8px;
position: relative;
.tabs {
display: flex;
border-radius: 8px 8px 0 0;
overflow: hidden;
.tabBg {
background-color: #E2F3FE;
}
.tab {
width: 50%;
height: 40px;
line-height: 40px;
color: #959595;
font-size: 16px;
font-weight: 500;
text-align: center;
position: relative;
.bg {
width: 100%;
height: 100%;
position: absolute;
image {
width: 100%;
height: 100%;
display: block;
}
}
.value {
position: relative;
}
}
.active {
color: #4381FC;
// background-color: #FFFFFF;
}
.active::after {
content: '';
width: 26px;
height: 4px;
background: linear-gradient(90deg, #3B7CFC 0%, #548BFC 100%);
border-radius: 2px;
position: absolute;
bottom: 2px;
left: 50%;
transform: translateX(-50%);
}
}
}
.content {
background-color: #ffffff;
font-size: 28rpx;
padding: 0rpx 20rpx;
// margin-bottom: 16rpx;
.top {
padding: 8px 0;
// border-top: 1px solid #efefef;
color: #333F53;
font-size: 14px;
display: flex;
align-items: center;
justify-content: space-between;
.left {
display: flex;
align-items: center;
.line {
width: 8rpx;
height: 44rpx;
background: linear-gradient(180deg, #4E87FC 0%, #38B1FE 100%);
border-radius: 4rpx;
margin-right: 16rpx;
}
.title {
color: #2E3A4F;
font-weight: bold;
}
}
.right {
.btn {
display: flex;
align-items: center;
image {
width: 18px;
height: 18px;
margin-right: 6px;
display: block;
}
.val {
}
}
}
}
.box {
padding: 2px 0 12px;
border-bottom: 1px solid #efefef;
.row {
margin-bottom: 8px;
color: #333F53;
font-size: 14px;
.flex-between {
justify-content: space-between;
}
.noalign-center {
align-items: flex-start !important;
}
>view {
display: flex;
align-items: center;
.left {
color: #858CA0;
}
.right {
width: 76%;
text-align: right;
image {
// width: 84px;
// height: 84px;
width: calc(((100vw - 40rpx) * 0.7 - 12px) / 3) !important;
height: calc(((100vw - 40rpx) * 0.7 - 12px) / 3) !important;
display: inline-block;
// margin-left: 6px;
}
}
}
}
.row:last-child {
margin-bottom: 0;
}
.box-g {
padding: 12px;
margin-bottom: 8px;
background: #ECEFF5;
border-radius: 4px;
}
.box-g:last-child {
margin-bottom: 0;
}
}
}
}
.container2 {
height: calc(100% - 88px);
}
.bottom {
width: 100%;
padding: 16px 12px 30px;
background: #fff;
box-sizing: border-box;
border-radius: 8px 8px 0 0;
// box-shadow: 0px -2px 12px 0px rgba(0,0,0,0.2);
position: absolute;
bottom: 0;
left: 0;
.btn-box {
width: 100%;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
.btn {
width: 100%;
height: 40px;
line-height: 40px;
border-radius: 8px;
background: linear-gradient(90deg, #3B7CFC 0%, #548BFC 100%);
color: #fff;
font-size: 30rpx;
font-weight: bold;
text-align: center;
}
.btn-w50 {
width: calc((100% - 12px) / 2);
}
.btn1 {
background: #fff;
border: 1px solid #d6d6d6;
box-sizing: border-box;
color: #2E3A4F;
}
.btn3 {
background: #E4EDFF;
color: #4381FC;
}
}
}
}
@@ -0,0 +1,222 @@
// pages/handoverVehicle/rentalDelivery/rentalDelivery.ts
import { deleteAction } from '../../../api/base';
import Dialog from '@vant/weapp/dialog/dialog';
Page({
/**
* 页面的初始数据
*/
data: {
tabActive: 0,
showBox: {
base: true,
vehicle: true,
check: true
},
item: {} as any
},
// 变更tab
changeTab(e: any) {
this.setData({
tabActive: e.currentTarget.dataset.tab
});
},
showBoxInf(e: any) {
console.log(e);
let { fieldname } = e.currentTarget.dataset;
// let detail = e.detail;
let data: any = { ...this.data };
data.showBox[fieldname] = !data.showBox[fieldname];
this.setData(data);
},
previewImg(e: any) {
console.log(e);
let { index } = e.currentTarget.dataset;
// let { photoList } = this.data;
let list = [] as any;
// photoList.forEach((item: any) => {
// list.push(item.fileUrl);
// });
wx.previewImage({
current: list[index | 0], // 当前显示图片的http链接 默认urls[0]
urls: list // 需要预览的图片http链接列表
});
},
toDel() {
Dialog.confirm({
title: '提示',
message: '是否确认删除'
})
.then(() => {
// on confirm
let params = {
id: this.data.item.id
};
wx.showLoading({
title: '加载中'
});
deleteAction('api/vehicleCheck/delete', params).then((res: any) => {
wx.hideLoading();
if (res.code == 200) {
wx.showToast({
title: '删除成功',
icon: 'none'
});
setTimeout(() => {
wx.navigateBack({
delta: 1,
fail: e => {
console.log(e);
}
});
}, 500);
} else {
wx.showToast({
title: res.message,
icon: 'none'
});
}
});
})
.catch(() => {
// on cancel
});
},
toEdit(e: any) {
let that = this;
wx.navigateTo({
url: '../rentalDeliveryEdit/rentalDeliveryEdit',
success: function (res) {
// 通过eventChannel向被打开页面传送数据
res.eventChannel.emit('eventName', {
tabActive: e.currentTarget.dataset.status,
...that.data.item
});
},
fail: e => {
console.log(e);
}
});
},
/**
* 生命周期函数--监听页面加载
*/
onLoad() {
// 接收传参
const eventChannel = this.getOpenerEventChannel();
eventChannel &&
eventChannel.on &&
eventChannel.on('eventName', (data: any) => {
console.log('接收参数', data);
data.ckeckUrlList = [];
data.ensureUrlList = [];
data.otherUrlList = [];
if (data.ckeckUrl) {
for (let i = 0; i < data.ckeckUrl.split(',').length; i++) {
let pic = data.ckeckUrl.split(',')[i];
data.ckeckUrlList.push({
url: pic,
name: ''
});
}
}
if (data.ensureUrl) {
for (let i = 0; i < data.ensureUrl.split(',').length; i++) {
let pic = data.ensureUrl.split(',')[i];
data.ensureUrlList.push({
url: pic,
name: ''
});
}
}
if (data.otherUrl) {
for (let i = 0; i < data.otherUrl.split(',').length; i++) {
let pic = data.otherUrl.split(',')[i];
data.otherUrlList.push({
url: pic,
name: ''
});
}
}
// 收车
if (data.children) {
data.children.parentId = data.id;
data.children.projectList = data.projectList;
data.children.vehicleList = data.vehicleList;
data.children.ckeckUrlList = [];
data.children.ensureUrlList = [];
data.children.otherUrlList = [];
if (data.children.ckeckUrl) {
for (let i = 0; i < data.children.ckeckUrl.split(',').length; i++) {
let pic = data.children.ckeckUrl.split(',')[i];
data.children.ckeckUrlList.push({
url: pic,
name: ''
});
}
}
if (data.children.ensureUrl) {
for (
let i = 0;
i < data.children.ensureUrl.split(',').length;
i++
) {
let pic = data.children.ensureUrl.split(',')[i];
data.children.ensureUrlList.push({
url: pic,
name: ''
});
}
}
if (data.children.otherUrl) {
for (let i = 0; i < data.children.otherUrl.split(',').length; i++) {
let pic = data.children.otherUrl.split(',')[i];
data.children.otherUrlList.push({
url: pic,
name: ''
});
}
}
}
this.setData({
item: data
});
});
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {},
/**
* 生命周期函数--监听页面显示
*/
onShow() {},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {}
});
@@ -0,0 +1,463 @@
<!--pages/handoverVehicle/rentalDelivery/rentalDelivery.wxml-->
<view class="container">
<view class="bg">
<image src="../../../images/bg_page_blue.png" mode=""/>
</view>
<view class="top">
<view class="row">
<view class="val">{{item.checkTime ? item.checkTime : '/'}}</view>
<view class="val">{{item.projectId_dictText ? item.projectId_dictText : '/'}}</view>
</view>
<view class="row">
<view class="title">车辆数:{{item.vehicleList.length}}</view>
<view class="type-list">
{{item.vehicleType_dictText ? item.vehicleType_dictText : '/'}}
<view class="type type-b" wx:if="{{item.receiveStatus == 1}}">{{item.receiveStatus_dictText}}</view>
<view class="type type-bb" wx:elif="{{item.receiveStatus == 0.5}}">{{item.receiveStatus_dictText}}</view>
<view class="type" wx:else="">{{item.receiveStatus_dictText}}</view>
</view>
</view>
</view>
<view class="content-box">
<view class="tabs">
<view class="tab {{tabActive == 0 ? 'active' : ''}} {{item.children ? 'tabBg' : ''}}" data-tab="0" catch:tap="changeTab">
<view class="bg" wx:if="{{tabActive == 0}}">
<image src="../../../images/btn_l.png" mode="" />
</view>
<view class="value">交车</view>
</view>
<view class="tab {{tabActive == 1 ? 'active' : ''}} tabBg" data-tab="1" catch:tap="changeTab" wx:if="{{item.children}}">
<view class="bg" wx:if="{{tabActive == 1}}">
<image src="../../../images/btn_r.png" mode="" />
</view>
<view class="value">收车</view>
</view>
</view>
<view class="content" wx:if="{{tabActive == 0}}">
<view class="top">
<view class="left">
<view class="line"></view>
<view class="title">基本信息</view>
</view>
<view class="right">
<view class="btn" wx:if="{{showBox.base}}" data-fieldName="base" catch:tap="showBoxInf">
<image src="../../../images/icon_up.png" mode=""/>
<view class="val">收起</view>
</view>
<view class="btn" wx:if="{{!showBox.base}}" data-fieldName="base" catch:tap="showBoxInf">
<image src="../../../images/icon_down.png" mode=""/>
<view class="val">展开</view>
</view>
</view>
</view>
<view class="box" wx:if="{{showBox.base}}">
<view class="row">
<view class="flex-between">
<view class="left">所属合同</view>
<view class="right">{{item.contractId_dictText ? item.contractId_dictText : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">所属项目</view>
<view class="right">{{item.projectId_dictText ? item.projectId_dictText : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">车辆种类</view>
<view class="right">{{item.vehicleType_dictText ? item.vehicleType_dictText : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">交车模版</view>
<view class="right">{{item.templateId_dictText ? item.templateId_dictText : '/'}}</view>
</view>
</view>
</view>
</view>
<view class="content" wx:if="{{tabActive == 1}}">
<view class="top">
<view class="left">
<view class="line"></view>
<view class="title">基本信息</view>
</view>
<view class="right">
<view class="btn" wx:if="{{showBox.base}}" data-fieldName="base" catch:tap="showBoxInf">
<image src="../../../images/icon_up.png" mode=""/>
<view class="val">收起</view>
</view>
<view class="btn" wx:if="{{!showBox.base}}" data-fieldName="base" catch:tap="showBoxInf">
<image src="../../../images/icon_down.png" mode=""/>
<view class="val">展开</view>
</view>
</view>
</view>
<view class="box" wx:if="{{showBox.base}}">
<view class="row">
<view class="flex-between">
<view class="left">所属合同</view>
<view class="right">{{item.children.contractId_dictText ? item.children.contractId_dictText : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">所属项目</view>
<view class="right">{{item.children.projectId_dictText ? item.children.projectId_dictText : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">车辆种类</view>
<view class="right">{{item.children.vehicleType_dictText ? item.children.vehicleType_dictText : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">交车模版</view>
<view class="right">{{item.children.templateId_dictText ? item.children.templateId_dictText : '/'}}</view>
</view>
</view>
</view>
</view>
<view class="content">
<view class="top">
<view class="left">
<view class="line"></view>
<view class="title">车辆({{item.vehicleList.length ? item.vehicleList.length : 0}}</view>
</view>
<view class="right">
<view class="btn" wx:if="{{showBox.vehicle}}" data-fieldName="vehicle" catch:tap="showBoxInf">
<image src="../../../images/icon_up.png" mode=""/>
<view class="val">收起</view>
</view>
<view class="btn" wx:if="{{!showBox.vehicle}}" data-fieldName="vehicle" catch:tap="showBoxInf">
<image src="../../../images/icon_down.png" mode=""/>
<view class="val">展开</view>
</view>
</view>
</view>
<view class="box" wx:if="{{showBox.vehicle}}">
<view class="box-g" wx:for="{{item.vehicleList}}" wx:key="id" wx:for-item="vItem">
<view class="row">
<view class="flex-between">
<view class="left">车架号</view>
<view class="right">{{vItem.frameNumber ? vItem.frameNumber : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">车牌号</view>
<view class="right">{{vItem.plateNumber ? vItem.plateNumber : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">车辆型号</view>
<view class="right">{{vItem.vehicleModel ? vItem.vehicleModel : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">品牌</view>
<view class="right">{{vItem.vehicleBrand_dictText ? vItem.vehicleBrand_dictText : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">车辆种类</view>
<view class="right">{{vItem.vehicleType_dictText ? vItem.vehicleType_dictText : '/'}}</view>
</view>
</view>
</view>
<view class="box-g" wx:if="{{item.vehicleList.length == 0}}">无车辆信息</view>
</view>
</view>
<view class="content" wx:if="{{tabActive == 0}}">
<view class="top">
<view class="left">
<view class="line"></view>
<view class="title">验收信息</view>
</view>
<view class="right">
<view class="btn" wx:if="{{showBox.check}}" data-fieldName="check" catch:tap="showBoxInf">
<image src="../../../images/icon_up.png" mode=""/>
<view class="val">收起</view>
</view>
<view class="btn" wx:if="{{!showBox.check}}" data-fieldName="check" catch:tap="showBoxInf">
<image src="../../../images/icon_down.png" mode=""/>
<view class="val">展开</view>
</view>
</view>
</view>
<view class="box" wx:if="{{showBox.check}}">
<view class="box-g" wx:for="{{item.projectList}}" wx:key="index" wx:for-item="pItem">
<view class="row">
<view class="flex-between">
<view class="left">项目</view>
<view class="right">{{pItem.name ? pItem.name : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">内容</view>
<view class="right">{{pItem.content ? pItem.content : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">是否符合要求</view>
<view class="right">{{pItem.checkStatus == '1' ? '是' : '否'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">备注</view>
<view class="right">{{pItem.remark ? pItem.remark : '/'}}</view>
</view>
</view>
</view>
<view class="box-g" wx:if="{{item.projectList.length == 0}}">无项目信息</view>
<view class="row">
<view class="flex-between">
<view class="left">交车人</view>
<view class="right">{{item.sentVehicleUserId_dictText ? item.sentVehicleUserId_dictText : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">验车人</view>
<view class="right">{{item.checkUserName ? item.checkUserName : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">初登日期</view>
<view class="right">{{item.registrationTime ? item.registrationTime : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">验车时间</view>
<view class="right">{{item.checkTime ? item.checkTime : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">验车地点</view>
<view class="right">{{item.checkAddress ? item.checkAddress : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">验收结果</view>
<view class="right">{{item.checkStatus == '1' ? '合格' : '不合格'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">验收结论</view>
<view class="right">{{item.remark ? item.remark : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between noalign-center">
<view class="left">验收单</view>
<view class="right">
<view class="pic-box" wx:if="{{item.ckeckUrl}}">
<!-- <image src="{{item.ckeckUrl}}" mode="" catch:tap="previewImg"/> -->
<van-uploader
file-list="{{ item.ckeckUrlList }}"
deletable="{{ false }}"
max-count="{{ item.ckeckUrlList.length }}" />
</view>
<view wx:else="">/</view>
</view>
</view>
</view>
<!-- <view class="row">
<view class="flex-between noalign-center">
<view class="left">保函</view>
<view class="right">
<view class="pic-box" wx:if="{{item.ensureUrl}}">
<van-uploader
file-list="{{ item.ensureUrlList }}"
deletable="{{ false }}"
max-count="{{ item.ensureUrlList.length }}" />
</view>
<view wx:else="">/</view>
</view>
</view>
</view> -->
<view class="row">
<view class="flex-between noalign-center">
<view class="left">其他</view>
<view class="right">
<view class="pic-box" wx:if="{{item.otherUrl}}">
<!-- <image src="{{item.otherUrl}}" mode="" catch:tap="previewImg"/> -->
<van-uploader
file-list="{{ item.otherUrlList }}"
deletable="{{ false }}"
max-count="{{ item.otherUrlList.length }}" />
</view>
<view wx:else="">/</view>
</view>
</view>
</view>
</view>
</view>
<view class="content" wx:if="{{tabActive == 1}}">
<view class="top">
<view class="left">
<view class="line"></view>
<view class="title">验收信息</view>
</view>
<view class="right">
<view class="btn" wx:if="{{showBox.check}}" data-fieldName="check" catch:tap="showBoxInf">
<image src="../../../images/icon_up.png" mode=""/>
<view class="val">收起</view>
</view>
<view class="btn" wx:if="{{!showBox.check}}" data-fieldName="check" catch:tap="showBoxInf">
<image src="../../../images/icon_down.png" mode=""/>
<view class="val">展开</view>
</view>
</view>
</view>
<view class="box" wx:if="{{showBox.check}}">
<view class="box-g" wx:for="{{item.projectList}}" wx:key="index" wx:for-item="pItem">
<view class="row">
<view class="flex-between">
<view class="left">项目</view>
<view class="right">{{pItem.name ? pItem.name : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">内容</view>
<view class="right">{{pItem.content ? pItem.content : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">是否符合要求</view>
<view class="right">{{pItem.checkStatus == '1' ? '是' : '否'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">备注</view>
<view class="right">{{pItem.remark ? pItem.remark : '/'}}</view>
</view>
</view>
</view>
<view class="box-g" wx:if="{{item.projectList.length == 0}}">无项目信息</view>
<view class="row">
<view class="flex-between">
<view class="left">交车人</view>
<view class="right">{{item.children.sentVehicleUser ? item.children.sentVehicleUser : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">验车人</view>
<view class="right">{{item.children.checkUserId_dictText ? item.children.checkUserId_dictText : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">初登日期</view>
<view class="right">{{item.children.registrationTime ? item.children.registrationTime : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">验车时间</view>
<view class="right">{{item.children.checkTime ? item.children.checkTime : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">验车地点</view>
<view class="right">{{item.children.checkAddress ? item.children.checkAddress : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">验收结果</view>
<view class="right">{{item.children.checkStatus == '1' ? '合格' : '不合格'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between">
<view class="left">验收结论</view>
<view class="right">{{item.children.remark ? item.children.remark : '/'}}</view>
</view>
</view>
<view class="row">
<view class="flex-between noalign-center">
<view class="left">验收单</view>
<view class="right">
<view class="pic-box" wx:if="{{item.children.ckeckUrl}}">
<!-- <image src="{{item.ckeckUrl}}" mode="" catch:tap="previewImg"/> -->
<van-uploader
file-list="{{ item.children.ckeckUrlList }}"
deletable="{{ false }}"
max-count="{{ item.children.ckeckUrlList.length }}" />
</view>
<view wx:else="">/</view>
</view>
</view>
</view>
<!-- <view class="row">
<view class="flex-between noalign-center">
<view class="left">保函</view>
<view class="right">
<view class="pic-box" wx:if="{{item.children.ensureUrl}}">
<van-uploader
file-list="{{ item.children.ensureUrlList }}"
deletable="{{ false }}"
max-count="{{ item.children.ensureUrlList.length }}" />
</view>
<view wx:else="">/</view>
</view>
</view>
</view> -->
<view class="row">
<view class="flex-between noalign-center">
<view class="left">其他</view>
<view class="right">
<view class="pic-box" wx:if="{{item.children.otherUrl}}">
<!-- <image src="{{item.otherUrl}}" mode="" catch:tap="previewImg"/> -->
<van-uploader
file-list="{{ item.children.otherUrlList }}"
deletable="{{ false }}"
max-count="{{ item.children.otherUrlList.length }}" />
</view>
<view wx:else="">/</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="bottom">
<view class="btn-box">
<view class="btn btn1 {{item.children && item.children.status == '1'? '' : 'btn-w50'}}" catch:tap="toDel">删除</view>
<view class="btn btn2 btn-w50"
wx:if="{{item.receiveStatus == '0'}}"
data-status="0"
catch:tap="toEdit">
交车编辑
</view>
<view class="btn btn2 btn-w50"
wx:if="{{(item.children && item.children.status == '0') || (item.receiveStatus == '0.5' && !item.children)}}"
data-status="1"
catch:tap="toEdit">
收车编辑
</view>
</view>
<van-dialog id="van-dialog" />
</view>