|
|
@ -13,7 +13,9 @@ |
|
|
|
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> |
|
|
|
<view class=""> |
|
|
|
<comInventoryDetailCard :dataContent="item" :settingParam="jobContent" @remove="updateData" |
|
|
|
@updateData='updateData' @openDetail="openDetail"> |
|
|
|
@updateData='updateData' |
|
|
|
:locationAreaTypeList="toLocationAreaTypeList" |
|
|
|
@openDetail="openDetail"> |
|
|
|
</comInventoryDetailCard> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -55,6 +57,10 @@ |
|
|
|
getScanCount, |
|
|
|
calcHandleQty |
|
|
|
} from '@/common/detail.js'; |
|
|
|
import { |
|
|
|
getDirectoryItemArray, |
|
|
|
} from '@/common/directory.js'; |
|
|
|
|
|
|
|
import { |
|
|
|
goHome, |
|
|
|
navigateBack, |
|
|
@ -95,7 +101,8 @@ |
|
|
|
toLocationCode: '', |
|
|
|
toInventoryStatus: '', |
|
|
|
jobStatus: "", |
|
|
|
title: '' |
|
|
|
title: '', |
|
|
|
toLocationAreaTypeList:[] |
|
|
|
}; |
|
|
|
}, |
|
|
|
props: { |
|
|
@ -220,6 +227,7 @@ |
|
|
|
} else { |
|
|
|
if (res.data.subList.length > 0) { |
|
|
|
that.jobContent = res.data; |
|
|
|
that.toLocationAreaTypeList = getDirectoryItemArray(that.jobContent.toAreaTypes); |
|
|
|
that.jobStatus = res.data.status |
|
|
|
that.subList = res.data.subList; |
|
|
|
that.detailSource = getDataSource(that.subList) |
|
|
|