|
@@ -49,14 +49,14 @@
|
|
<view class="item-info uni-row">
|
|
<view class="item-info uni-row">
|
|
<text class="label">上道工序</text>
|
|
<text class="label">上道工序</text>
|
|
<text
|
|
<text
|
|
- class="label right">{{ item.prevProcess && item.prevProcess.length > 0 ? item.prevProcess[item.prevProcess.length - 1].processAlias : '-'}}</text>
|
|
|
|
|
|
+ class="label right">{{ item.prevProcess ? item['prevProcess'].processAlias : '-'}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="item-info uni-row">
|
|
<view class="item-info uni-row">
|
|
<text class="label">当前工序</text>
|
|
<text class="label">当前工序</text>
|
|
- <text class="label right">{{ item['currentProcess'].processAlias }}</text>
|
|
|
|
|
|
+ <text class="label right">{{ item.currentProcess ? item['currentProcess'].processAlias : '-'}}</text>
|
|
</view>
|
|
</view>
|
|
<!-- <view class="item-info uni-row">
|
|
<!-- <view class="item-info uni-row">
|
|
- <text class="label">下道工序</text>
|
|
|
|
|
|
+ <text class="label">下道工序</text>
|
|
<text
|
|
<text
|
|
class="label right">{{item.prevProcess && item.nextProcess.length > 0 ? item.nextProcess[0].processAlias : null }}</text>
|
|
class="label right">{{item.prevProcess && item.nextProcess.length > 0 ? item.nextProcess[0].processAlias : null }}</text>
|
|
</view> -->
|
|
</view> -->
|