|
@ -3,13 +3,15 @@ |
|
|
<uni-collapse ref="collapse1" @change=""> |
|
|
<uni-collapse ref="collapse1" @change=""> |
|
|
<uni-collapse-item :open="true"> |
|
|
<uni-collapse-item :open="true"> |
|
|
<template v-slot:title> |
|
|
<template v-slot:title> |
|
|
<item-compare-qty :dataContent="dataContent" :handleQty="Number(dataContent.handleQty)"> |
|
|
<item-compare-qty :dataContent="dataContent" :handleQty="Number(dataContent.handleQty)" :isShowStdPack="false"> |
|
|
</item-compare-qty> |
|
|
</item-compare-qty> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
<u-line></u-line> |
|
|
<view class="" v-for="(item,index) in dataContent.subList"> |
|
|
<view class="" v-for="(item,index) in dataContent.subList"> |
|
|
<uni-swipe-action ref="swipeAction"> |
|
|
<uni-swipe-action ref="swipeAction"> |
|
|
<uni-swipe-action-item @click="swipeClick($event,item)" |
|
|
<uni-swipe-action-item @click="swipeClick($event,item)" |
|
|
:right-options="item.scaned?scanOptions:detailOptions"> |
|
|
:right-options="item.scaned?scanOptions:detailOptions" |
|
|
|
|
|
style='padding:0px 0px 5px 0px;align-items: center;'> |
|
|
<recommend :detail="item" :isShowToLocation="false"> |
|
|
<recommend :detail="item" :isShowToLocation="false"> |
|
|
</recommend> |
|
|
</recommend> |
|
|
</uni-swipe-action-item> |
|
|
</uni-swipe-action-item> |
|
@ -36,7 +38,7 @@ |
|
|
} from '@/common/array.js'; |
|
|
} from '@/common/array.js'; |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
emits: ['openDetail',"updateData"], |
|
|
emits: ['openDetail', "updateData"], |
|
|
components: { |
|
|
components: { |
|
|
itemCompareQty, |
|
|
itemCompareQty, |
|
|
recommend, |
|
|
recommend, |
|
@ -78,7 +80,7 @@ |
|
|
return { |
|
|
return { |
|
|
option: [], |
|
|
option: [], |
|
|
showItem: {}, |
|
|
showItem: {}, |
|
|
locatonItem:{}, |
|
|
locatonItem: {}, |
|
|
editItem: {}, |
|
|
editItem: {}, |
|
|
detailOptions: [], |
|
|
detailOptions: [], |
|
|
scanOptions: [] |
|
|
scanOptions: [] |
|
@ -139,7 +141,7 @@ |
|
|
}, |
|
|
}, |
|
|
//扫描源库位 |
|
|
//扫描源库位 |
|
|
getLocation(location, code) { |
|
|
getLocation(location, code) { |
|
|
this.locatonItem.toLocationCode =code; |
|
|
this.locatonItem.toLocationCode = code; |
|
|
this.$emit('updateData') |
|
|
this.$emit('updateData') |
|
|
}, |
|
|
}, |
|
|
} |
|
|
} |
|
|