Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
c15a2c04
Commit
c15a2c04
authored
Apr 06, 2023
by
zhoutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
国外供应商详情
parent
cf733825
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
.env.development
.env.development
+1
-1
detail.vue
src/views/ecw/supplier/detail.vue
+10
-3
No files found.
.env.development
View file @
c15a2c04
...
@@ -6,7 +6,7 @@ VUE_APP_TITLE = 捷道管理系统-测试站
...
@@ -6,7 +6,7 @@ VUE_APP_TITLE = 捷道管理系统-测试站
# 捷道管理系统/开发环境
# 捷道管理系统/开发环境
VUE_APP_BASE_API = 'https://api.
jd
.jdshangmen.com'
VUE_APP_BASE_API = 'https://api.
sit
.jdshangmen.com'
# 路由懒加载
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
VUE_CLI_BABEL_TRANSPILE_MODULES = true
...
...
src/views/ecw/supplier/detail.vue
View file @
c15a2c04
...
@@ -288,7 +288,7 @@
...
@@ -288,7 +288,7 @@
<el-input
v-model=
"formData.externalVO.goodName"
:placeholder=
"$t('请输入品名')"
show-word-limit
clearable
readonly
></el-input>
<el-input
v-model=
"formData.externalVO.goodName"
:placeholder=
"$t('请输入品名')"
show-word-limit
clearable
readonly
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('清关国家')"
prop=
"clearanceFileId"
>
<el-form-item
:label=
"$t('清关国家')"
prop=
"clearanceFileId"
>
<el-select
v-model=
"formData.clearanceFileId"
@
change=
"changeFile"
disabled
>
<el-select
v-model=
"formData.
externalVO.
clearanceFileId"
@
change=
"changeFile"
disabled
>
<el-option
v-for=
"(item) in fileList"
:value=
"item.id"
:label=
"getCountry(item.country,item.district)"
:key=
"item.id"
/>
<el-option
v-for=
"(item) in fileList"
:value=
"item.id"
:label=
"getCountry(item.country,item.district)"
:key=
"item.id"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -347,6 +347,7 @@ import Selector from '@/components/Selector'
...
@@ -347,6 +347,7 @@ import Selector from '@/components/Selector'
import
{
validatePwd
}
from
'
@/api/ecw/busiPwd
'
import
{
validatePwd
}
from
'
@/api/ecw/busiPwd
'
import
SuppliersSelector
from
'
@/components/SuppliersSelector
'
import
SuppliersSelector
from
'
@/components/SuppliersSelector
'
import
{
getDockPage
}
from
"
@/api/ecw/dock
"
;
import
{
getDockPage
}
from
"
@/api/ecw/dock
"
;
import
{
getListTree
}
from
"
@/api/ecw/region
"
;
export
default
{
export
default
{
components
:
{
upload
,
AreaSelector
,
Selector
,
SuppliersSelector
},
components
:
{
upload
,
AreaSelector
,
Selector
,
SuppliersSelector
},
props
:
[],
props
:
[],
...
@@ -457,6 +458,9 @@ export default {
...
@@ -457,6 +458,9 @@ export default {
getDockPage
({
pageNo
:
"
1
"
,
pageSize
:
"
10000
"
}).
then
((
res
)
=>
{
getDockPage
({
pageNo
:
"
1
"
,
pageSize
:
"
10000
"
}).
then
((
res
)
=>
{
this
.
allDocks
=
res
.
data
.
list
;
this
.
allDocks
=
res
.
data
.
list
;
});
});
getListTree
({
treeType
:
1
}).
then
(
response
=>
{
this
.
treeList
=
response
.
data
})
this
.
getFile
()
this
.
getFile
()
...
@@ -570,8 +574,11 @@ export default {
...
@@ -570,8 +574,11 @@ export default {
},
},
getCountry
(
countryId
,
districtId
)
{
getCountry
(
countryId
,
districtId
)
{
let
country
=
this
.
treeList
.
find
(
item
=>
item
.
id
==
countryId
)
let
country
=
this
.
treeList
.
find
(
item
=>
item
.
id
==
countryId
)
let
district
=
country
.
children
.
find
(
item
=>
item
.
id
==
districtId
)
if
(
country
){
return
this
.
$l
(
country
,
'
title
'
)
+
'
'
+
this
.
$l
(
district
,
'
title
'
)
let
district
=
country
.
children
.
find
(
item
=>
item
.
id
==
districtId
)
return
this
.
$l
(
country
,
'
title
'
)
+
'
'
+
this
.
$l
(
district
,
'
title
'
)
}
return
''
},
},
delContact
(
index
){
delContact
(
index
){
this
.
$confirm
(
this
.
$t
(
'
确定删除此联系人么?
'
)).
then
(()
=>
{
this
.
$confirm
(
this
.
$t
(
'
确定删除此联系人么?
'
)).
then
(()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment