|
|
@@ -1,12 +1,18 @@
|
|
|
<template>
|
|
|
<view class="content-box">
|
|
|
<uni-nav-bar fixed="true" statusBar="true" left-icon="back" :title="title" background-color="#F7F9FA"
|
|
|
- color="#000" @clickLeft="back" right-icon="scan" @clickRight="HandlScanCode">
|
|
|
+ color="#000" @clickLeft="back" >
|
|
|
</uni-nav-bar>
|
|
|
|
|
|
<view class="list_box">
|
|
|
<u-list @scrolltolower="scrolltolower">
|
|
|
<view class="card_box" v-for="(objData,index) in list" :key='index'>
|
|
|
+
|
|
|
+ <view class="rx-bc title_card">
|
|
|
+ <view>{{index + 1}}</view>
|
|
|
+ <view>报工时间: {{objData.createTime}}</view>
|
|
|
+ </view>
|
|
|
+
|
|
|
<workOrderBom :item='objData' v-if='objData' :isDetails='true'></workOrderBom>
|
|
|
|
|
|
<deviceBom v-if='objData.equipmentList.length != 0' :list='objData.equipmentList'></deviceBom>
|
|
|
@@ -15,22 +21,29 @@
|
|
|
</modelBom>
|
|
|
|
|
|
<jobBom :item='objData' :palletList='objData.palletList' :notFormed='objData.notFormedList'
|
|
|
- @penalize='penalize'></jobBom>
|
|
|
+ :isDetails='true'></jobBom>
|
|
|
|
|
|
<byProductBom v-if='objData.productRecycleList.length != 0 ' :list='objData.productRecycleList'
|
|
|
- @penalize='penalize'>
|
|
|
+ :isDetails='true'>
|
|
|
</byProductBom>
|
|
|
|
|
|
<turnoverBom v-if='objData.turnover.length != 0' :list='objData.turnover' :wordItem='objData'
|
|
|
- pattern='job' :isDetails='true'>
|
|
|
+ pattern='job' :isDetails='true'>
|
|
|
</turnoverBom>
|
|
|
|
|
|
|
|
|
|
|
|
<aridRegion v-if='objData.aridRegionList.length != 0' :list='objData.aridRegionList'
|
|
|
- :remainingTime='remainingTime' @handleScan='handleScan' :isType='true'></aridRegion>
|
|
|
+ :remainingTime='0' :isType='true'></aridRegion>
|
|
|
+
|
|
|
|
|
|
+ </view>
|
|
|
|
|
|
+ <view v-if='list.length == 0'>
|
|
|
+ <view style='margin-top: 20vh;'>
|
|
|
+ <u-empty iconSize='150' textSize='32' text='暂无报工详情'>
|
|
|
+ </u-empty>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</u-list>
|
|
|
</view>
|
|
|
@@ -142,8 +155,16 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .search_list {
|
|
|
- min-height: 500rpx;
|
|
|
- padding: 0 32rpx;
|
|
|
+
|
|
|
+
|
|
|
+ .title_card {
|
|
|
+ height: 70rpx;
|
|
|
+ width: 100%;
|
|
|
+ background: #157A2C;
|
|
|
+ font-size: 30rpx;
|
|
|
+ color: #fff;
|
|
|
+ line-height: 70rpx;
|
|
|
+ padding: 0 22rpx;
|
|
|
+ box-sizing: border-box;
|
|
|
}
|
|
|
</style>
|