修改导入问题

This commit is contained in:
wuweihua
2026-09-14 18:56:31 +08:00
parent c89c1340b0
commit 6146525e62
8 changed files with 312 additions and 93 deletions
@@ -25,6 +25,7 @@
<script setup>
import SimpleTable from '@/components/SimpleTable'
import { listProductCountries } from '@/api/price/product'
import { formatWeightLabel } from '@/views/price/set/utils/priceSet'
const columns = [
{ prop: 'countryName', label: '国家', width: 90, showOverflowTooltip: true },
@@ -32,9 +33,11 @@ const columns = [
{
prop: 'weightMin',
label: '重量段(KG)',
width: 120,
width: 130,
align: 'center',
formatter: (row) => (row.weightMin != null || row.weightMax != null ? (row.weightMin + ' ~ ' + row.weightMax) : '-')
formatter: (row) => (row.weightMin != null || row.weightMax != null
? formatWeightLabel(row.weightMin, row.weightMax)
: '-')
},
{ prop: 'freightPrice', label: '运费(RMB/KG)', width: 110, align: 'right' },
{ prop: 'registrationFee', label: '挂号费(RMB/票)', width: 120, align: 'right' },