fix: get-list
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m45s

This commit is contained in:
sexygoat
2026-05-15 11:16:57 +08:00
parent f3b5444dd8
commit c7e2d6fe53
4 changed files with 60 additions and 1 deletions

View File

@@ -399,7 +399,42 @@
prop: 'new_asset_identifier',
label: '新资产标识符',
width: 220,
formatter: (row: any) => row.new_asset_identifier
formatter: (row: any) => row.new_asset_identifier || '--'
},
{
prop: 'recipient_name',
label: '收货人姓名',
width: 120,
showOverflowTooltip: true,
formatter: (row: any) => row.recipient_name || '--'
},
{
prop: 'recipient_phone',
label: '收货人电话',
width: 140,
showOverflowTooltip: true,
formatter: (row: any) => row.recipient_phone || '--'
},
{
prop: 'recipient_address',
label: '收货地址',
minWidth: 260,
showOverflowTooltip: true,
formatter: (row: any) => row.recipient_address || '--'
},
{
prop: 'express_company',
label: '快递公司',
width: 160,
showOverflowTooltip: true,
formatter: (row: any) => row.express_company || '--'
},
{
prop: 'express_no',
label: '快递单号',
width: 180,
showOverflowTooltip: true,
formatter: (row: any) => row.express_no || '--'
},
{
prop: 'status',

View File

@@ -1088,6 +1088,14 @@
getTableData()
})
let isFirstActivation = true
onActivated(() => {
if (!isFirstActivation) {
getTableData()
}
isFirstActivation = false
})
// 监听对话框打开,加载系列选项
watch(dialogVisible, (visible) => {
if (visible) {

View File

@@ -773,6 +773,14 @@
getTableData()
})
let isFirstActivation = true
onActivated(() => {
if (!isFirstActivation) {
getTableData()
}
isFirstActivation = false
})
// 获取套餐系列列表
const getTableData = async () => {
loading.value = true

View File

@@ -1064,6 +1064,14 @@
getTableData()
})
let isFirstActivation = true
onActivated(() => {
if (!isFirstActivation) {
getTableData()
}
isFirstActivation = false
})
// 加载套餐选项(用于新增对话框)
const loadPackageOptions = async (packageName?: string) => {
packageLoading.value = true