港口添加 英文

This commit is contained in:
浅念
2025-09-19 16:43:30 +08:00
parent 045ce9289c
commit bee80af5af
6 changed files with 44 additions and 9 deletions
+7 -1
View File
@@ -326,7 +326,13 @@ export function useStockingForm(isFinal = false, stockingId?: string | number) {
const loadPortOptions = async () => {
try {
const res = await commonService.getPortSelect({ scene: 'domestic' })
const resall = await commonService.getPortSelect({})
res.forEach((item: any) => {
item.port_names = item.port_name + '(' + item.port_name_en + ')'
})
const resall = await commonService.getPortSelect({ scene: 'overseas' })
resall.forEach((item: any) => {
item.port_names = item.port_name + '(' + item.port_name_en + ')'
})
portOptions.value = res
portOptionsall.value = resall
} catch (error) {