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