|
@ -4,15 +4,14 @@ |
|
|
<scroll-view scroll-y="true" class="page-main-scroll"> |
|
|
<scroll-view scroll-y="true" class="page-main-scroll"> |
|
|
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> |
|
|
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> |
|
|
<view class=""> |
|
|
<view class=""> |
|
|
<comRequestDetailCard :dataContent="item" |
|
|
<com-request-detail-card :dataContent="item" |
|
|
@openDetail="openDetail"> |
|
|
@openDetail="openDetail"> |
|
|
</comRequestDetailCard> |
|
|
</com-request-detail-card> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</scroll-view> |
|
|
</scroll-view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<request-detail-info-popup ref="jobDetailPopup"></request-detail-info-popup> |
|
|
<requestDetailInfoPopup ref="jobDetailPopup"></requestDetailInfoPopup> |
|
|
|
|
|
<com-message ref="comMessage"></com-message> |
|
|
<com-message ref="comMessage"></com-message> |
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
@ -86,7 +85,8 @@ |
|
|
that.requestContent = res.data; |
|
|
that.requestContent = res.data; |
|
|
that.subList = res.data.subList; |
|
|
that.subList = res.data.subList; |
|
|
that.subList.forEach(res=>{ |
|
|
that.subList.forEach(res=>{ |
|
|
res.fromLocationCode = res.toLocationCode |
|
|
// res.fromLocationCode = res.toLocationCode |
|
|
|
|
|
res.locationCode = res.fromLocationCode |
|
|
}) |
|
|
}) |
|
|
that.detailSource = getDataSource(that.subList); |
|
|
that.detailSource = getDataSource(that.subList); |
|
|
} else { |
|
|
} else { |
|
|