init
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"van-picker": "@vant/weapp/picker/index",
|
||||
"van-datetime-picker": "@vant/weapp/datetime-picker/index",
|
||||
"van-popup": "@vant/weapp/popup/index",
|
||||
"van-radio": "@vant/weapp/radio/index",
|
||||
"van-radio-group": "@vant/weapp/radio-group/index",
|
||||
"van-uploader": "@vant/weapp/uploader/index"
|
||||
},
|
||||
"navigationBarTitleText": "租赁交车验收"
|
||||
}
|
||||
@@ -0,0 +1,491 @@
|
||||
/* pages/handoverVehicle/rentalDeliveryEdit/rentalDeliveryEdit.wxss */
|
||||
page {
|
||||
height: 100vh;
|
||||
background: #EFF1F4;
|
||||
// overflow: hidden;
|
||||
position: relative;
|
||||
.container {
|
||||
height: calc(100% - 88px);
|
||||
padding-bottom: 18px;
|
||||
box-sizing: border-box;
|
||||
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:28rpx 20rpx;
|
||||
margin-bottom: 16rpx;
|
||||
.top {
|
||||
margin-bottom: 10px;
|
||||
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 {
|
||||
display: flex;
|
||||
.btn-add {
|
||||
padding: 8px 12px;
|
||||
margin-right: 8px;
|
||||
background: #E9F2FF;
|
||||
border-radius: 4px;
|
||||
border: 1px dashed #4381FC;
|
||||
color: #4381FC;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
image {
|
||||
width: 36rpx;
|
||||
height: 36rpx;
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
||||
.btn-re {
|
||||
padding: 8px 12px;
|
||||
margin-right: 8px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #D6D6D6;
|
||||
color: #2E3D52;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
image {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin-right: 6px;
|
||||
display: block;
|
||||
}
|
||||
.val {
|
||||
|
||||
}
|
||||
}
|
||||
.btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
image {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin-right: 6px;
|
||||
display: block;
|
||||
}
|
||||
.val {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.box {
|
||||
// padding: 10px 0 0;
|
||||
.row {
|
||||
// margin-bottom: 8px;
|
||||
padding: 10px 0;
|
||||
border-bottom: 2rpx solid #E6EAF2;
|
||||
color: #333F53;
|
||||
font-size: 14px;
|
||||
.flex-between {
|
||||
justify-content: space-between;
|
||||
}
|
||||
.noalign-center {
|
||||
align-items: flex-start !important;
|
||||
}
|
||||
>view {
|
||||
display: flex;
|
||||
// align-items: center;
|
||||
align-items: flex-start;
|
||||
.left {
|
||||
// color: #858CA0;
|
||||
color: #2F3B50;
|
||||
display: flex;
|
||||
.require{
|
||||
color: #EA4955;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
max-width: 70%;
|
||||
min-width: 50%;
|
||||
text-align: right;
|
||||
.upload-box {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
background: #ECF1FF;
|
||||
border-radius: 4px;
|
||||
border: 1px dashed #4381FC;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
image {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin: 16rpx 0 8rpx;
|
||||
}
|
||||
|
||||
.val {
|
||||
color: #4381FC;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
image {
|
||||
width: 84px;
|
||||
height: 84px;
|
||||
display: inline-block;
|
||||
margin-left: 6px;
|
||||
}
|
||||
.select-box {
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
.placeholder{
|
||||
color: #949CB5;
|
||||
}
|
||||
.arrow{
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 13rpx solid transparent;
|
||||
border-right: 13rpx solid transparent;
|
||||
border-top: 15rpx solid #636B83;
|
||||
margin-left: 18rpx;
|
||||
}
|
||||
}
|
||||
.input-box {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
input {
|
||||
flex: 1;
|
||||
}
|
||||
.clear-btn {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
margin: 0 4px;
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
.address-box {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.val {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin-left: 0px;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
.tips {
|
||||
color: #EA4955;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
.r100 {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
margin-top: 10px;
|
||||
display: block;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
.row:last-child {
|
||||
margin-bottom: 0;
|
||||
border-bottom: 0;
|
||||
}
|
||||
.row-w {
|
||||
margin-bottom: 0;
|
||||
background: #fff;
|
||||
padding: 10px 12px;
|
||||
border-bottom: 1px solid #E6EAF2;
|
||||
.left, .right {
|
||||
color: #2F3B50 !important;
|
||||
}
|
||||
}
|
||||
.row-w:first-child {
|
||||
border-radius: 4px 4px 0px 0px;
|
||||
}
|
||||
.row:last-child {
|
||||
border-radius: 0px 0px 4px 4px;
|
||||
}
|
||||
.no-flex {
|
||||
display: block !important;
|
||||
}
|
||||
.box-g {
|
||||
padding: 12px;
|
||||
margin-bottom: 8px;
|
||||
background: #ECEFF5;
|
||||
border-radius: 4px;
|
||||
.row {
|
||||
padding: 0;
|
||||
margin-bottom: 8px;
|
||||
.left {
|
||||
color: #858CA0;
|
||||
}
|
||||
}
|
||||
.row-w {
|
||||
padding: 10px 12px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
.box-g:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.btn-box {
|
||||
margin-top: 8px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
.btn-del {
|
||||
padding: 2px 16px;
|
||||
background: #FFEEEE;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #FDD0DD;
|
||||
color: #FA5955;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.content-base {
|
||||
.box {
|
||||
.row {
|
||||
padding: 0;
|
||||
margin-bottom: 8px;
|
||||
border: 0;
|
||||
.left {
|
||||
color: #858CA0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.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: #E4EDFF;
|
||||
color: #4381FC;
|
||||
}
|
||||
.btn3 {
|
||||
background: #fff;
|
||||
border: 1px solid #d6d6d6;
|
||||
box-sizing: border-box;
|
||||
color: #2E3A4F;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.van-uploader__preview-delete {
|
||||
.van-uploader__preview-delete-icon {
|
||||
transform: scale(.7) translate(0,0);
|
||||
}
|
||||
}
|
||||
.van-uploader__preview-delete:after {
|
||||
background-color: #F56B6B !important;
|
||||
border-top-left-radius: 12px !important;
|
||||
border-top-right-radius: 12px !important;
|
||||
border-bottom-right-radius: 12px !important;
|
||||
border-bottom-left-radius: 12px !important;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,959 @@
|
||||
<!--pages/handoverVehicle/rentalDeliveryEdit/rentalDeliveryEdit.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">{{defaultData.checkTime ? defaultData.checkTime : '/'}}</view>
|
||||
<view class="val">{{defaultData.projectId_dictText ? defaultData.projectId_dictText : '/'}}</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="title">
|
||||
车辆数:{{defaultData.vehicleList.length}}</view>
|
||||
<view class="type-list">
|
||||
{{defaultData.vehicleType_dictText ? defaultData.vehicleType_dictText : '/'}}
|
||||
<view class="type type-b" wx:if="{{defaultData.receiveStatus == 1}}">{{defaultData.receiveStatus_dictText}}</view>
|
||||
<view class="type type-bb" wx:elif="{{defaultData.receiveStatus == 0.5}}">{{defaultData.receiveStatus_dictText}}</view>
|
||||
<view class="type" wx:else="">{{defaultData.receiveStatus_dictText}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content-box">
|
||||
<view class="tabs">
|
||||
<view class="tab {{tabActive == 0 ? 'active' : ''}} {{defaultData.receiveStatus != 0 ? '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="{{defaultData.receiveStatus != 0 }}">
|
||||
<view class="bg" wx:if="{{tabActive == 1}}">
|
||||
<image src="../../../images/btn_r.png" mode="" />
|
||||
</view>
|
||||
<view class="value">收车</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content content-base">
|
||||
<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">
|
||||
{{params.projectId_dictText ? params.projectId_dictText : '/'}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">所属合同</view>
|
||||
<view class="right">
|
||||
{{params.contractId_dictText ? params.contractId_dictText : '/'}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">车辆种类</view>
|
||||
<view class="right">
|
||||
{{params.vehicleType_dictText ? params.vehicleType_dictText : '/'}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">交车模版</view>
|
||||
<view class="right">
|
||||
{{params.templateId_dictText ? params.templateId_dictText : '/'}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content">
|
||||
<view class="top">
|
||||
<view class="left">
|
||||
<view class="line"></view>
|
||||
<view class="title">车辆({{params.vehicleList.length ? params.vehicleList.length : 0}})</view>
|
||||
</view>
|
||||
<view class="right">
|
||||
<view class="btn-re" wx:if="{{defaultData.receiveStatus == '0'}}" data-fieldName="vehicleList" catch:tap="getvehicleByproject">
|
||||
<image src="../../../images/btn_reset.png" mode=""/>
|
||||
重置
|
||||
</view>
|
||||
<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="{{params.vehicleList}}" wx:key="index" 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.vehicleModel ? vItem.vehicleModel : '/'}}</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 class="btn-box" wx:if="{{defaultData.receiveStatus == '0'}}">
|
||||
<view class="btn-del" data-fieldName="vehicleList" data-fieldindex="{{index}}" catch:tap="delRow">删除</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="box-g" wx:if="{{params.vehicleList.length == 0}}">无车辆信息</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content" wx:if="{{tabActive == 0 && params.status == '0'}}">
|
||||
<view class="top">
|
||||
<view class="left">
|
||||
<view class="line"></view>
|
||||
<view class="title">验收信息</view>
|
||||
</view>
|
||||
<view class="right">
|
||||
<view class="btn-add" data-fieldName="projectList" catch:tap="addRow">
|
||||
<image src="../../../images/btn_add.png" mode=""/>
|
||||
新增
|
||||
</view>
|
||||
<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="{{params.projectList}}" wx:key="index" wx:for-item="pItem">
|
||||
<view class="row {{!pItem.id ? 'row-w' : ''}}">
|
||||
<view class="flex-between">
|
||||
<view class="left">项目</view>
|
||||
<view wx:if="{{pItem.id}}" class="right">{{pItem.name ? pItem.name : '/'}}</view>
|
||||
<view wx:else class="right">
|
||||
<view class="input-box">
|
||||
<input value="{{pItem.name}}" placeholder="请输入" type="text" data-fieldindex="{{index}}" data-fieldName="projectList" data-fieldkey="name" bindinput="getInput" />
|
||||
<view class="clear-btn" data-fieldName="projectList" data-fieldindex="{{index}}" catch:tap="clearVal">
|
||||
<image src="../../../images/icon_delete.png" mode=""/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row {{!pItem.id ? 'row-w' : ''}}">
|
||||
<view class="flex-between">
|
||||
<view class="left">内容</view>
|
||||
<view wx:if="{{pItem.id}}" class="right">{{pItem.content ? pItem.content : '/'}}</view>
|
||||
<view wx:else class="right">
|
||||
<view class="input-box">
|
||||
<input value="{{pItem.content}}" placeholder="请输入" type="text" data-fieldindex="{{index}}" data-fieldName="projectList" data-fieldkey="content" bindinput="getInput" />
|
||||
<view class="clear-btn" data-fieldName="projectList" data-fieldindex="{{index}}" catch:tap="clearVal">
|
||||
<image src="../../../images/icon_delete.png" mode=""/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row row-w">
|
||||
<view class="flex-between">
|
||||
<view class="left"><view class="require">*</view>是否符合要求</view>
|
||||
<view class="right" style="width: 36%;max-width:initial;min-width:initial;">
|
||||
<!-- <view class="select-box" data-fieldName="yesOrNoSelectShow" data-fieldindex="{{index}}" catch:tap="pickerChange">
|
||||
<view wx:if="{{pItem.checkStatus != undefined}}">{{pItem.checkStatus ? '是' : '否'}}</view>
|
||||
<view class="placeholder" wx:else>请选择</view>
|
||||
<view class="arrow"></view>
|
||||
</view>
|
||||
<view class="tips" wx:if="{{requireObj.projectList[index].checkStatus != ''}}">{{requireObj.projectList[index].checkStatus}}</view> -->
|
||||
|
||||
<van-radio-group value="{{ pItem.checkStatus }}" data-fieldName="projectList" data-fieldindex="{{index}}" bind:change="radioOnChange">
|
||||
<view style="display: flex;justify-content: space-between;">
|
||||
<van-radio name="1">是</van-radio>
|
||||
<van-radio name="0">否</van-radio>
|
||||
</view>
|
||||
</van-radio-group>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row row-w">
|
||||
<view class="flex-between">
|
||||
<view class="left">备注</view>
|
||||
<view class="right">
|
||||
<view class="input-box">
|
||||
<input value="{{pItem.remark}}" placeholder="请输入" type="text" data-fieldindex="{{index}}" data-fieldName="projectList" data-fieldkey="remark" bindinput="getInput" />
|
||||
<view class="clear-btn" data-fieldName="projectList" data-fieldindex="{{index}}" catch:tap="clearVal">
|
||||
<image src="../../../images/icon_delete.png" mode=""/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="btn-box">
|
||||
<view class="btn-del" data-fieldName="projectList" data-fieldindex="{{index}}" catch:tap="delRow">删除</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <van-popup show="{{showSelect.yesOrNoSelectShow}}" position="bottom" bind:close="hidePicker">
|
||||
<van-picker data-fieldname="checkStatus" show-toolbar
|
||||
columns="{{yesOrNoOptions}}" bind:confirm="pickerConfirm" bind:cancel="hidePicker">
|
||||
</van-picker>
|
||||
</van-popup> -->
|
||||
<view class="box-g" wx:if="{{params.projectList.length == 0}}">无项目信息</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left"><view class="require">*</view>交车人</view>
|
||||
<view class="right">
|
||||
<view class="select-box" data-fieldName="sentVehicleUserSelectShow" catch:tap="pickerChange">
|
||||
<view wx:if="{{params.sentVehicleUserId}}">{{userList[sentVehicleUserPickerIndex].text}}</view>
|
||||
<view class="placeholder" wx:else>请选择</view>
|
||||
<view class="arrow"></view>
|
||||
</view>
|
||||
<view class="tips" wx:if="{{requireObj.sentVehicleUserId != ''}}">{{requireObj.sentVehicleUserId}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<van-popup show="{{showSelect.sentVehicleUserSelectShow}}" position="bottom" bind:close="hidePicker">
|
||||
<van-picker data-fieldname="sentVehicleUserId" data-fieldindex="sentVehicleUserPickerIndex" show-toolbar
|
||||
columns="{{userList}}" bind:confirm="pickerConfirm" bind:cancel="hidePicker">
|
||||
</van-picker>
|
||||
</van-popup>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left"><view class="require">*</view>验车人</view>
|
||||
<view class="right">
|
||||
<view class="input-box">
|
||||
<input value="{{params.checkUserName}}" placeholder="请输入" type="text" data-fieldName="checkUserName" bindinput="getInput" />
|
||||
<view class="clear-btn" data-fieldName="checkUserName" catch:tap="clearVal">
|
||||
<image src="../../../images/icon_delete.png" mode=""/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="tips" wx:if="{{requireObj.checkUserName != ''}}">{{requireObj.checkUserName}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">初登日期</view>
|
||||
<view class="right">
|
||||
<view class="select-box" data-fieldName="registrationTimeShow" catch:tap="pickerChange">
|
||||
<view wx:if="{{params.registrationTime}}">{{params.registrationTime}}</view>
|
||||
<view class="placeholder" wx:else>请选择</view>
|
||||
<view class="arrow"></view>
|
||||
</view>
|
||||
<view class="tips" wx:if="{{requireObj.registrationTime != ''}}">{{requireObj.registrationTime}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<van-popup show="{{showSelect.registrationTimeShow}}" position="bottom" bind:close="hidePicker">
|
||||
<van-datetime-picker type="date" value="{{ registrationTimeTamp }}" data-fieldName="registrationTime" bind:cancel="hidePicker" bind:confirm="pickerConfirm" />
|
||||
</van-popup>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left"><view class="require">*</view>验车时间</view>
|
||||
<view class="right">
|
||||
<view class="select-box" data-fieldName="timeSelectShow" catch:tap="pickerChange">
|
||||
<view wx:if="{{params.checkTime}}">{{params.checkTime}}</view>
|
||||
<view class="placeholder" wx:else>请选择</view>
|
||||
<view class="arrow"></view>
|
||||
</view>
|
||||
<view class="tips" wx:if="{{requireObj.checkTime != ''}}">{{requireObj.checkTime}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<van-popup show="{{showSelect.timeSelectShow}}" position="bottom" bind:close="hidePicker">
|
||||
<van-datetime-picker type="date" value="{{ checkTimeTamp }}" data-fieldName="checkTime" bind:cancel="hidePicker" bind:confirm="pickerConfirm" />
|
||||
</van-popup>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between" data-fieldkey="0" catch:tap="changeAddress">
|
||||
<view class="left">验车地点</view>
|
||||
<view class="right">
|
||||
<view class="address-box">
|
||||
<view class="val">{{params.checkAddress ? params.checkAddress : ''}}</view>
|
||||
<view class="icon">
|
||||
<image src="../../../images/icon_location.png" mode=""/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="tips" wx:if="{{requireObj.checkAddress != ''}}">{{requireObj.checkAddress}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left"><view class="require">*</view>验收结果</view>
|
||||
<view class="right">
|
||||
<!-- {{params.checkStatus ? '是' : '否'}} -->
|
||||
<van-radio-group value="{{ params.checkStatus }}" data-fieldName="checkStatus" bind:change="radioOnChange">
|
||||
<view style="display: flex;justify-content: space-between;">
|
||||
<van-radio name="1">合格</van-radio>
|
||||
<van-radio name="0">不合格</van-radio>
|
||||
</view>
|
||||
</van-radio-group>
|
||||
<view class="tips" wx:if="{{requireObj.checkStatus !== ''}}">{{requireObj.checkStatus}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">验收结论</view>
|
||||
<view class="right">
|
||||
<!-- {{params.remark ? params.remark : '/'}} -->
|
||||
<view class="input-box">
|
||||
<input value="{{params.remark}}" placeholder="请输入" type="text" data-fieldName="remark" bindinput="getInput" />
|
||||
<view class="clear-btn" data-fieldName="remark" catch:tap="clearVal">
|
||||
<image src="../../../images/icon_delete.png" mode=""/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="no-flex">
|
||||
<view class="left">验收单</view>
|
||||
<view class="right r100">
|
||||
<van-uploader
|
||||
file-list="{{ params.ckeckUrlList }}"
|
||||
deletable="{{ true }}"
|
||||
max-count="10"
|
||||
data-fieldName="ckeckUrl"
|
||||
bind:after-read="afterRead"
|
||||
bind:delete="deletePhoto" >
|
||||
<view class="upload-box">
|
||||
<image src="../../../images/icon_upload.png" mode=""/>
|
||||
<view class="val">上传图片</view>
|
||||
</view>
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="row">
|
||||
<view class="no-flex">
|
||||
<view class="left">保函</view>
|
||||
<view class="right r100">
|
||||
<van-uploader
|
||||
file-list="{{ params.ensureUrlList }}"
|
||||
deletable="{{ true }}"
|
||||
max-count="10"
|
||||
data-fieldName="ensureUrl"
|
||||
bind:after-read="afterRead"
|
||||
bind:delete="deletePhoto" >
|
||||
<view class="upload-box">
|
||||
<image src="../../../images/icon_upload.png" mode=""/>
|
||||
<view class="val">上传图片</view>
|
||||
</view>
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="row">
|
||||
<view class="no-flex">
|
||||
<view class="left">其他</view>
|
||||
<view class="right r100">
|
||||
<van-uploader
|
||||
file-list="{{ params.otherUrlList }}"
|
||||
deletable="{{ true }}"
|
||||
max-count="10"
|
||||
data-fieldName="otherUrl"
|
||||
bind:after-read="afterRead"
|
||||
bind:delete="deletePhoto" >
|
||||
<view class="upload-box">
|
||||
<image src="../../../images/icon_upload.png" mode=""/>
|
||||
<view class="val">上传图片</view>
|
||||
</view>
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content content-base" wx:if="{{tabActive == 0 && params.status == '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="{{params.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 ? '是' : '否'}}</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="{{params.projectList.length == 0}}">无项目信息</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">交车人</view>
|
||||
<view class="right">{{params.sentVehicleUserId_dictText ? params.sentVehicleUserId_dictText : '/'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">验车人</view>
|
||||
<view class="right">{{params.checkUserName ? params.checkUserName : '/'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">初登日期</view>
|
||||
<view class="right">{{params.registrationTime ? params.registrationTime : '/'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">验车时间</view>
|
||||
<view class="right">{{params.checkTime ? params.checkTime : '/'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">验车地点</view>
|
||||
<view class="right">{{params.checkAddress ? params.checkAddress : '/'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">验收结果</view>
|
||||
<view class="right">{{params.checkStatus ? '合格' : '不合格'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">验收结论</view>
|
||||
<view class="right">{{params.remark ? params.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="{{params.ckeckUrl}}">
|
||||
<!-- <image src="{{params.ckeckUrl}}" mode="" catch:tap="previewImg"/> -->
|
||||
<van-uploader
|
||||
file-list="{{ params.ckeckUrlList }}"
|
||||
deletable="{{ false }}"
|
||||
max-count="{{ params.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="{{params.ensureUrl}}">
|
||||
<van-uploader
|
||||
file-list="{{ params.ensureUrlList }}"
|
||||
deletable="{{ false }}"
|
||||
max-count="{{ params.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="{{params.otherUrl}}">
|
||||
<!-- <image src="{{params.otherUrl}}" mode="" catch:tap="previewImg"/> -->
|
||||
<van-uploader
|
||||
file-list="{{ params.otherUrlList }}"
|
||||
deletable="{{ false }}"
|
||||
max-count="{{ params.otherUrlList.length }}" />
|
||||
</view>
|
||||
<view wx:else="">/</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content" wx:if="{{tabActive == 1 && params.status == '0'}}">
|
||||
<view class="top">
|
||||
<view class="left">
|
||||
<view class="line"></view>
|
||||
<view class="title">验收信息</view>
|
||||
</view>
|
||||
<view class="right">
|
||||
<!-- <view class="btn-add" data-fieldName="projectList" catch:tap="addRow">
|
||||
<image src="../../../images/btn_add.png" mode=""/>
|
||||
新增
|
||||
</view> -->
|
||||
<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="{{params.projectList}}" wx:key="index" wx:for-item="pItem">
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">项目</view>
|
||||
<view wx:if="{{pItem.id}}" class="right">{{pItem.name ? pItem.name : '/'}}</view>
|
||||
<view wx:else class="right">
|
||||
{{pItem.name}}
|
||||
<!-- <view class="input-box">
|
||||
<input value="{{pItem.name}}" placeholder="请输入" type="text" data-fieldindex="{{index}}" data-fieldName="projectList" data-fieldkey="name" bindinput="getInput" />
|
||||
<view class="clear-btn" data-fieldName="projectList" data-fieldindex="{{index}}" catch:tap="clearVal">
|
||||
<image src="../../../images/icon_delete.png" mode=""/>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">内容</view>
|
||||
<view wx:if="{{pItem.id}}" class="right">{{pItem.content ? pItem.content : '/'}}</view>
|
||||
<view wx:else class="right">
|
||||
{{pItem.content}}
|
||||
<!-- <view class="input-box">
|
||||
<input value="{{pItem.content}}" placeholder="请输入" type="text" data-fieldindex="{{index}}" data-fieldName="projectList" data-fieldkey="content" bindinput="getInput" />
|
||||
<view class="clear-btn" data-fieldName="projectList" data-fieldindex="{{index}}" catch:tap="clearVal">
|
||||
<image src="../../../images/icon_delete.png" mode=""/>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left"><view class="require">*</view>是否符合要求</view>
|
||||
<view class="right" style="width: 36%;max-width:initial;min-width:initial;">
|
||||
<!-- <view class="select-box" data-fieldName="yesOrNoSelectShow" data-fieldindex="{{index}}" catch:tap="pickerChange">
|
||||
<view wx:if="{{pItem.checkStatus != undefined}}">{{pItem.checkStatus ? '是' : '否'}}</view>
|
||||
<view class="placeholder" wx:else>请选择</view>
|
||||
<view class="arrow"></view>
|
||||
</view>
|
||||
<view class="tips" wx:if="{{requireObj.projectList[index].checkStatus != ''}}">{{requireObj.projectList[index].checkStatus}}</view> -->
|
||||
{{pItem.checkStatus ? '是' : '否'}}
|
||||
<!-- <van-radio-group value="{{ pItem.checkStatus }}" data-fieldName="projectList" data-fieldindex="{{index}}" bind:change="radioOnChange">
|
||||
<view style="display: flex;justify-content: space-between;">
|
||||
<van-radio name="1">是</van-radio>
|
||||
<van-radio name="0">否</van-radio>
|
||||
</view>
|
||||
</van-radio-group> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">备注</view>
|
||||
<view class="right">
|
||||
{{pItem.remark}}
|
||||
<!-- <view class="input-box">
|
||||
<input value="{{pItem.remark}}" placeholder="请输入" type="text" data-fieldindex="{{index}}" data-fieldName="projectList" data-fieldkey="remark" bindinput="getInput" />
|
||||
<view class="clear-btn" data-fieldName="projectList" data-fieldindex="{{index}}" catch:tap="clearVal">
|
||||
<image src="../../../images/icon_delete.png" mode=""/>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <van-popup show="{{showSelect.yesOrNoSelectShow}}" position="bottom" bind:close="hidePicker">
|
||||
<van-picker data-fieldname="checkStatus" show-toolbar
|
||||
columns="{{yesOrNoOptions}}" bind:confirm="pickerConfirm" bind:cancel="hidePicker">
|
||||
</van-picker>
|
||||
</van-popup> -->
|
||||
<view class="box-g" wx:if="{{params.projectList.length == 0}}">无项目信息</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left"><view class="require">*</view>交车人</view>
|
||||
<view class="right">
|
||||
<view class="input-box">
|
||||
<input value="{{params.sentVehicleUser}}" placeholder="请输入" type="text" data-fieldName="sentVehicleUser" bindinput="getInput" />
|
||||
<view class="clear-btn" data-fieldName="sentVehicleUser" catch:tap="clearVal">
|
||||
<image src="../../../images/icon_delete.png" mode=""/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="tips" wx:if="{{requireObj.sentVehicleUser != ''}}">{{requireObj.sentVehicleUser}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<van-popup show="{{showSelect.sentVehicleUserSelectShow}}" position="bottom" bind:close="hidePicker">
|
||||
<van-picker data-fieldname="sentVehicleUserId" data-fieldindex="sentVehicleUserPickerIndex" show-toolbar
|
||||
columns="{{userList}}" bind:confirm="pickerConfirm" bind:cancel="hidePicker">
|
||||
</van-picker>
|
||||
</van-popup>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left"><view class="require">*</view>验车人</view>
|
||||
<view class="right">
|
||||
<view class="select-box" data-fieldName="checkUserSelectShow" catch:tap="pickerChange">
|
||||
<view wx:if="{{params.checkUserId}}">{{userList[checkUserPickerIndex].text}}</view>
|
||||
<view class="placeholder" wx:else>请选择</view>
|
||||
<view class="arrow"></view>
|
||||
</view>
|
||||
<view class="tips" wx:if="{{requireObj.checkUserId != ''}}">{{requireObj.checkUserId}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<van-popup show="{{showSelect.checkUserSelectShow}}" position="bottom" bind:close="hidePicker">
|
||||
<van-picker data-fieldname="checkUserId" data-fieldindex="checkUserPickerIndex" show-toolbar
|
||||
columns="{{userList}}" bind:confirm="pickerConfirm" bind:cancel="hidePicker">
|
||||
</van-picker>
|
||||
</van-popup>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">初登日期</view>
|
||||
<view class="right">
|
||||
<view class="select-box" data-fieldName="registrationTimeShow" catch:tap="pickerChange">
|
||||
<view wx:if="{{params.registrationTime}}">{{params.registrationTime}}</view>
|
||||
<view class="placeholder" wx:else>请选择</view>
|
||||
<view class="arrow"></view>
|
||||
</view>
|
||||
<view class="tips" wx:if="{{requireObj.registrationTime != ''}}">{{requireObj.registrationTime}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<van-popup show="{{showSelect.registrationTimeShow}}" position="bottom" bind:close="hidePicker">
|
||||
<van-datetime-picker type="date" value="{{ registrationTimeTamp }}" data-fieldName="registrationTime" bind:cancel="hidePicker" bind:confirm="pickerConfirm" />
|
||||
</van-popup>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left"><view class="require">*</view>验车时间</view>
|
||||
<view class="right">
|
||||
<view class="select-box" data-fieldName="timeSelectShow" catch:tap="pickerChange">
|
||||
<view wx:if="{{params.checkTime}}">{{params.checkTime}}</view>
|
||||
<view class="placeholder" wx:else>请选择</view>
|
||||
<view class="arrow"></view>
|
||||
</view>
|
||||
<view class="tips" wx:if="{{requireObj.checkTime != ''}}">{{requireObj.checkTime}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<van-popup show="{{showSelect.timeSelectShow}}" position="bottom" bind:close="hidePicker">
|
||||
<van-datetime-picker type="date" value="{{ checkTimeTamp }}" data-fieldName="checkTime" bind:cancel="hidePicker" bind:confirm="pickerConfirm" />
|
||||
</van-popup>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between" data-fieldkey="0" catch:tap="changeAddress">
|
||||
<view class="left">验车地点</view>
|
||||
<view class="right">
|
||||
<view class="address-box">
|
||||
<view class="val">{{params.checkAddress ? params.checkAddress : ''}}</view>
|
||||
<view class="icon">
|
||||
<image src="../../../images/icon_location.png" mode=""/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="tips" wx:if="{{requireObj.checkAddress != ''}}">{{requireObj.checkAddress}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left"><view class="require">*</view>验收结果</view>
|
||||
<view class="right">
|
||||
<!-- {{params.checkStatus ? '是' : '否'}} -->
|
||||
<van-radio-group value="{{ params.checkStatus }}" data-fieldName="checkStatus" bind:change="radioOnChange">
|
||||
<view style="display: flex;justify-content: space-between;">
|
||||
<van-radio name="1">合格</van-radio>
|
||||
<van-radio name="0">不合格</van-radio>
|
||||
</view>
|
||||
</van-radio-group>
|
||||
<view class="tips" wx:if="{{requireObj.checkStatus !== ''}}">{{requireObj.checkStatus}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">验收结论</view>
|
||||
<view class="right">
|
||||
<!-- {{params.remark ? params.remark : '/'}} -->
|
||||
<view class="input-box">
|
||||
<input value="{{params.remark}}" placeholder="请输入" type="text" data-fieldName="remark" bindinput="getInput" />
|
||||
<view class="clear-btn" data-fieldName="remark" catch:tap="clearVal">
|
||||
<image src="../../../images/icon_delete.png" mode=""/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="no-flex">
|
||||
<view class="left">验收单</view>
|
||||
<view class="right r100">
|
||||
<van-uploader
|
||||
file-list="{{ params.ckeckUrlList }}"
|
||||
deletable="{{ true }}"
|
||||
max-count="10"
|
||||
data-fieldName="ckeckUrl"
|
||||
bind:after-read="afterRead"
|
||||
bind:delete="deletePhoto" >
|
||||
<view class="upload-box">
|
||||
<image src="../../../images/icon_upload.png" mode=""/>
|
||||
<view class="val">上传图片</view>
|
||||
</view>
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="row">
|
||||
<view class="no-flex">
|
||||
<view class="left">保函</view>
|
||||
<view class="right r100">
|
||||
<van-uploader
|
||||
file-list="{{ params.ensureUrlList }}"
|
||||
deletable="{{ true }}"
|
||||
max-count="10"
|
||||
data-fieldName="ensureUrl"
|
||||
bind:after-read="afterRead"
|
||||
bind:delete="deletePhoto" >
|
||||
<view class="upload-box">
|
||||
<image src="../../../images/icon_upload.png" mode=""/>
|
||||
<view class="val">上传图片</view>
|
||||
</view>
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="row">
|
||||
<view class="no-flex">
|
||||
<view class="left">其他</view>
|
||||
<view class="right r100">
|
||||
<van-uploader
|
||||
file-list="{{ params.otherUrlList }}"
|
||||
deletable="{{ true }}"
|
||||
max-count="10"
|
||||
data-fieldName="otherUrl"
|
||||
bind:after-read="afterRead"
|
||||
bind:delete="deletePhoto" >
|
||||
<view class="upload-box">
|
||||
<image src="../../../images/icon_upload.png" mode=""/>
|
||||
<view class="val">上传图片</view>
|
||||
</view>
|
||||
</van-uploader>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content content-base" wx:if="{{tabActive == 1 && params.status == '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="{{params.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 ? '是' : '否'}}</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="{{params.projectList.length == 0}}">无项目信息</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">交车人</view>
|
||||
<view class="right">{{params.children.sentVehicleUser ? params.children.sentVehicleUser : '/'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">验车人</view>
|
||||
<view class="right">{{params.children.checkUserId_dictText ? params.children.checkUserId_dictText : '/'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">初登日期</view>
|
||||
<view class="right">{{params.children.registrationTime ? params.children.registrationTime : '/'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">验车时间</view>
|
||||
<view class="right">{{params.children.checkTime ? params.children.checkTime : '/'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">验车地点</view>
|
||||
<view class="right">{{params.children.checkAddress ? params.children.checkAddress : '/'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">验收结果</view>
|
||||
<view class="right">{{params.children.checkStatus ? '合格' : '不合格'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="flex-between">
|
||||
<view class="left">验收结论</view>
|
||||
<view class="right">{{params.children.remark ? params.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="{{params.children.ckeckUrl}}">
|
||||
<!-- <image src="{{params.ckeckUrl}}" mode="" catch:tap="previewImg"/> -->
|
||||
<van-uploader
|
||||
file-list="{{ params.children.ckeckUrlList }}"
|
||||
deletable="{{ false }}"
|
||||
max-count="{{ params.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="{{params.children.ensureUrl}}">
|
||||
<van-uploader
|
||||
file-list="{{ params.children.ensureUrlList }}"
|
||||
deletable="{{ false }}"
|
||||
max-count="{{ params.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="{{params.children.otherUrl}}">
|
||||
<!-- <image src="{{params.otherUrl}}" mode="" catch:tap="previewImg"/> -->
|
||||
<van-uploader
|
||||
file-list="{{ params.children.otherUrlList }}"
|
||||
deletable="{{ false }}"
|
||||
max-count="{{ params.children.otherUrlList.length }}" />
|
||||
</view>
|
||||
<view wx:else="">/</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bottom">
|
||||
<view class="btn-box" wx:if="{{tabActive == 0}}">
|
||||
<view class="btn btn1 btn-w50" data-status="0" wx:if="{{defaultData.receiveStatus == '0'}}" catch:tap="formSubmit">保存</view>
|
||||
<view class="btn btn2 btn-w50" data-status="1" wx:if="{{defaultData.receiveStatus == '0'}}" catch:tap="formSubmit">提交</view>
|
||||
<view class="btn btn3" data-status="1" wx:if="{{defaultData.receiveStatus != '0'}}" catch:tap="del">删除</view>
|
||||
</view>
|
||||
<view class="btn-box" wx:if="{{tabActive == 1}}">
|
||||
<view class="btn btn1 btn-w50" data-status="0" wx:if="{{defaultData.receiveStatus == '0.5'}}" catch:tap="formSubmit">保存</view>
|
||||
<view class="btn btn2 btn-w50" data-status="1" wx:if="{{defaultData.receiveStatus == '0.5'}}" catch:tap="formSubmit">提交</view>
|
||||
<view class="btn btn3" data-status="1" wx:if="{{defaultData.receiveStatus == '1'}}" catch:tap="del">删除</view>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user