|
|
@ -39,51 +39,6 @@ |
|
|
|
<template #action="{ row }"> |
|
|
|
<ButtonBase :Butttondata="butttondata" @button-base-click="buttonTableClick($event, row)" /> |
|
|
|
</template> |
|
|
|
<template #itemTypes="{ row }"> |
|
|
|
<el-tag v-for="tag in row.itemTypes" :key="tag" :disable-transitions="true" class="mr-5px"> |
|
|
|
{{ getDictLabel(DICT_TYPE.ITEM_TYPE, tag) }} |
|
|
|
</el-tag> |
|
|
|
</template> |
|
|
|
<template #outLocationTypes="{ row }"> |
|
|
|
<el-tag |
|
|
|
v-for="tag in row.outLocationTypes" |
|
|
|
:key="tag" |
|
|
|
:disable-transitions="true" |
|
|
|
class="mr-5px" |
|
|
|
> |
|
|
|
{{ getDictLabel(DICT_TYPE.LOCATION_TYPE, tag) }} |
|
|
|
</el-tag> |
|
|
|
</template> |
|
|
|
<template #inLocationTypes="{ row }"> |
|
|
|
<el-tag |
|
|
|
v-for="tag in row.inLocationTypes" |
|
|
|
:key="tag" |
|
|
|
:disable-transitions="true" |
|
|
|
class="mr-5px" |
|
|
|
> |
|
|
|
{{ getDictLabel(DICT_TYPE.LOCATION_TYPE, tag) }} |
|
|
|
</el-tag> |
|
|
|
</template> |
|
|
|
<template #outInventoryStatuses="{ row }"> |
|
|
|
<el-tag |
|
|
|
v-for="tag in row.outInventoryStatuses" |
|
|
|
:key="tag" |
|
|
|
:disable-transitions="true" |
|
|
|
class="mr-5px" |
|
|
|
> |
|
|
|
{{ getDictLabel(DICT_TYPE.INVENTORY_STATUS, tag) }} |
|
|
|
</el-tag> |
|
|
|
</template> |
|
|
|
<template #inInventoryStatuses="{ row }"> |
|
|
|
<el-tag |
|
|
|
v-for="tag in row.inInventoryStatuses" |
|
|
|
:key="tag" |
|
|
|
:disable-transitions="true" |
|
|
|
class="mr-5px" |
|
|
|
> |
|
|
|
{{ getDictLabel(DICT_TYPE.INVENTORY_STATUS, tag) }} |
|
|
|
</el-tag> |
|
|
|
</template> |
|
|
|
</Table> |
|
|
|
</ContentWrap> |
|
|
|
|
|
|
@ -113,7 +68,6 @@ |
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
|
import download from '@/utils/download' |
|
|
|
import { getDictLabel, DICT_TYPE } from '@/utils/dict' |
|
|
|
import * as BusinesstypeApi from '@/api/wms/businesstype' |
|
|
|
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' |
|
|
|
import { Businesstype, BusinesstypeRules } from './businesstype.data' |
|
|
|