|
|
@ -22,7 +22,9 @@ |
|
|
|
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> |
|
|
|
<view class=""> |
|
|
|
<com-detail-card :dataContent="item" :index="index" :settingParam="recordContent" |
|
|
|
@remove="updateData" :isShowToLocation="true" @updateData="updateData" |
|
|
|
@remove="updateData" |
|
|
|
:isShowFromLocation="false" |
|
|
|
:isShowToLocation="true" @updateData="updateData" |
|
|
|
@openDetail="openDetail"> |
|
|
|
</com-detail-card> |
|
|
|
|
|
|
@ -154,12 +156,6 @@ |
|
|
|
if (res.data.list.length > 0) { |
|
|
|
that.recordContent = res.data.list[0]; |
|
|
|
that.subList = res.data.list; |
|
|
|
that.subList.forEach(item => { |
|
|
|
item.batch = item.toBatch; |
|
|
|
item.packingNumber = item.toPackingNumber; |
|
|
|
item.inventoryStatus= item.fromInventoryStatus |
|
|
|
item.toInventoryStatus =item.toInventoryStatus |
|
|
|
}) |
|
|
|
that.detailSource = getDataSource(that.subList) |
|
|
|
} else { |
|
|
|
that.showMessage('列表数据为0'); |
|
|
|