|
|
@ -5,7 +5,10 @@ |
|
|
|
<u-collapse-item :disabled="false" @change="collapseChange"> |
|
|
|
<template v-slot:title> |
|
|
|
<u-swipe-action :options="item.scaned && isEdit ? editAndRemoveOptions : item.scaned ? removeOptions : options" bg-color="rgba(255,255,255,0)" @click="(...event) => swipeClick(event, cur, 'parent')"> |
|
|
|
<package-card :dataContent="item" :isShowLocation="false" :isShowFromLocation="isShowFromLocation" :isShowStatus="isShowStatus"></package-card> |
|
|
|
<package-card :dataContent="item" :isShowLocation="false" |
|
|
|
:isShowFromLocation="isShowFromLocation" |
|
|
|
:isShowStatus="isShowStatus" :isShowStatus="isShowPackListStatus"> |
|
|
|
</package-card> |
|
|
|
</u-swipe-action> |
|
|
|
</template> |
|
|
|
<u-swipe-action :show="item.show" :index="index" v-for="(cur, key) in item.packList" :key="index" :options="cur.scaned && isEdit ? editAndRemoveOptions : cur.scaned ? removeOptions : options" bg-color="rgba(255,255,255,0)" @click="(...event) => swipeClick(event, cur, 'child')"> |
|
|
@ -66,7 +69,10 @@ const props = defineProps({ |
|
|
|
type: Boolean, |
|
|
|
default: true |
|
|
|
}, |
|
|
|
|
|
|
|
isShowPackListStatus: { |
|
|
|
type: Boolean, |
|
|
|
default: true |
|
|
|
}, |
|
|
|
locationTitle: { |
|
|
|
type: String, |
|
|
|
default: '库位' |
|
|
|