| | |
| | | <view class="list" v-for="(item,index) in listData" :key="index"> |
| | | <uni-card :title="item.单据号" style="margin: 10px;" @tap="showDetail = showDetail==index?-1:index"> |
| | | <view class="card-detail"> |
| | | <view class="detail" v-if="item.点检周期"> |
| | | <text>点检周期:</text>{{item.点检周期}} |
| | | <view class="detail" v-if="item.保养计划号"> |
| | | <text>保养计划号:</text>{{item.保养计划号}} |
| | | </view> |
| | | <view class="detail" v-if="item.保养计划id" v-show="false"> |
| | | <text>保养计划id:</text>{{item.保养计划id}} |
| | | </view> |
| | | <view class="detail" v-if="item.保养计划子id" v-show="false"> |
| | | <text>保养计划子id:</text>{{item.保养计划子id}} |
| | | </view> |
| | | <view class="detail" v-if="item.保养周期"> |
| | | <text>保养周期:</text>{{item.保养周期}} |
| | | </view> |
| | | <view class="detail" v-if="item.周期单位"> |
| | | <text>周期单位:</text>{{item.周期单位}} |
| | | </view> |
| | | <view class="detail" v-if="item.保养开始日期"> |
| | | <text>保养开始日期:</text>{{item.保养开始日期.substr(0,10)}} |
| | | </view> |
| | | <view class="detail" v-if="item.保养结束日期"> |
| | | <text>保养结束日期:</text>{{item.保养结束日期.substr(0,10)}} |
| | | </view> |
| | | <view class="detail" v-if="item.摘要"> |
| | | <text>摘要:</text>{{item.摘要}} |
| | | </view> |