|
@ -5,7 +5,10 @@ |
|
|
<u-collapse-item :disabled="false" @change="collapseChange"> |
|
|
<u-collapse-item :disabled="false" @change="collapseChange"> |
|
|
<template v-slot:title> |
|
|
<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')"> |
|
|
<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> |
|
|
</u-swipe-action> |
|
|
</template> |
|
|
</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')"> |
|
|
<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, |
|
|
type: Boolean, |
|
|
default: true |
|
|
default: true |
|
|
}, |
|
|
}, |
|
|
|
|
|
isShowPackListStatus: { |
|
|
|
|
|
type: Boolean, |
|
|
|
|
|
default: true |
|
|
|
|
|
}, |
|
|
locationTitle: { |
|
|
locationTitle: { |
|
|
type: String, |
|
|
type: String, |
|
|
default: '库位' |
|
|
default: '库位' |
|
|