港口添加 英文
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user