优化套餐编辑逻辑
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
</div>
|
||||
<el-alert type="info" :closable="false" show-icon class="mb12" :title="hint" />
|
||||
<el-empty v-if="!filteredProducts.length" :description="emptyProduct" :image-size="72" />
|
||||
<el-table v-else :data="filteredProducts" border height="calc(100vh - 280px)" @row-click="openProductDetail">
|
||||
<el-table v-else :data="filteredProducts" border height="calc(100vh - 280px)">
|
||||
<el-table-column :label="colCode" min-width="100">
|
||||
<template #default="{ row }"><b>{{ row.productCode }}</b></template>
|
||||
</el-table-column>
|
||||
@@ -151,7 +151,7 @@ const activeProduct = ref(null)
|
||||
|
||||
const phSearch = '产品代码/名称'
|
||||
const phDetailSearch = '搜索国家/分区'
|
||||
const hint = '点击产品行查看国家/重量段明细(仅查看)'
|
||||
const hint = '点击「查看明细」查看国家/重量段明细(仅查看)'
|
||||
const emptyProduct = '暂无产品'
|
||||
const emptyDetail = '暂无明细'
|
||||
const colCode = '产品代码'
|
||||
|
||||
Reference in New Issue
Block a user