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
51a431e2
Commit
51a431e2
authored
Jul 23, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
国家地区,默认值
parent
f49759cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
edit.vue
src/views/ecw/customer/edit.vue
+4
-4
No files found.
src/views/ecw/customer/edit.vue
View file @
51a431e2
...
...
@@ -13,8 +13,8 @@
<el-col
:span=
"12"
>
<el-form-item
label=
"国家"
prop=
"country"
>
<el-select
v-model=
"form.country"
placeholder=
"请选择国家"
>
<el-option
v-for=
"dict in
getDictDatas(DICT_TYPE.COUNTRY)
"
:key=
"dict.
value"
:label=
"dict.label"
:value=
"parseInt(dict.value
)"
/>
<el-option
v-for=
"dict in
countryList
"
:key=
"dict.
id"
:label=
"dict.nameZh"
:value=
"parseInt(dict.id
)"
/>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -299,7 +299,7 @@
<
template
v-slot=
"{row}"
>
<el-select
v-model=
"row.isDefault"
placeholder=
"设为默认"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.IS_DEFAULT)"
:key=
"dict.value"
:label=
"dict.label"
:value=
"
parseInt
(dict.value)"
/>
:key=
"dict.value"
:label=
"dict.label"
:value=
"
Number
(dict.value)"
/>
</el-select>
</
template
>
</el-table-column>
...
...
@@ -370,7 +370,7 @@
<
script
>
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
upload
from
'
@/components/ImageUpload
'
import
{
createCustomer
,
getCustomer
,
updateCustomer
}
from
'
@/api/ecw/customer
'
import
{
createCustomer
,
getCustomer
,
updateCustomer
,
}
from
'
@/api/ecw/customer
'
import
{
getNodeList
}
from
"
@/api/ecw/node
"
import
{
getProductTypeList
}
from
'
@/api/ecw/productType
'
import
{
getProductList
}
from
'
@/api/ecw/product
'
...
...
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