Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
contractmanage
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
张伯涛
contractmanage
Commits
01672549
Commit
01672549
authored
Mar 02, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
往来单位
parent
7459fe40
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
8 deletions
+36
-8
add.vue
src/views/contactsUnit/add.vue
+12
-1
index.vue
src/views/contactsUnit/index.vue
+24
-7
No files found.
src/views/contactsUnit/add.vue
View file @
01672549
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"往来单位性质"
>
<el-form-item
label=
"往来单位性质"
>
<el-select
v-model=
"form.Z
ZCOUNTRY
"
placeholder=
"请选择往来单位性质"
>
<el-select
v-model=
"form.Z
BPNATURE
"
placeholder=
"请选择往来单位性质"
>
<el-option
value=
"1"
label=
"国有企业"
/>
<el-option
value=
"1"
label=
"国有企业"
/>
<el-option
value=
"0"
label=
"外资企业"
/>
<el-option
value=
"0"
label=
"外资企业"
/>
</el-select>
</el-select>
...
@@ -132,8 +132,19 @@ export default {
...
@@ -132,8 +132,19 @@ export default {
ZZCOUNTRY
:
''
,
ZZCOUNTRY
:
''
,
ZETPSPROPERTY
:
''
,
ZETPSPROPERTY
:
''
,
ZCOMPYREL
:
''
,
ZCOMPYREL
:
''
,
ZBPNATURE
:
''
}
}
}
}
},
created
()
{
if
(
this
.
$route
.
query
.
type
===
'update'
)
{
this
.
getDetail
()
}
},
methods
:
{
getDetail
()
{
this
.
form
=
this
.
$route
.
query
.
data
}
}
}
}
}
</
script
>
</
script
>
...
...
src/views/contactsUnit/index.vue
View file @
01672549
...
@@ -31,11 +31,15 @@
...
@@ -31,11 +31,15 @@
<el-table-column
label=
"工商注册号"
prop=
"ZBRNO"
show-overflow-tooltip
/>
<el-table-column
label=
"工商注册号"
prop=
"ZBRNO"
show-overflow-tooltip
/>
<el-table-column
label=
"纳税人识别号"
prop=
"ZTRNO"
show-overflow-tooltip
/>
<el-table-column
label=
"纳税人识别号"
prop=
"ZTRNO"
show-overflow-tooltip
/>
<el-table-column
label=
"身份证号码"
prop=
"ZIDNO"
show-overflow-tooltip
/>
<el-table-column
label=
"身份证号码"
prop=
"ZIDNO"
show-overflow-tooltip
/>
<el-table-column
label=
"往来单位性质"
prop=
"ZBPNATURE"
show-overflow-tooltip
/>
<el-table-column
label=
"往来单位性质"
prop=
"ZBPNATURE"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
ZBPNATURE
===
'0'
?
'外资企业'
:
'国有企业'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"境外社保号/ID"
prop=
"ZSSNO"
show-overflow-tooltip
/>
<el-table-column
label=
"境外社保号/ID"
prop=
"ZSSNO"
show-overflow-tooltip
/>
<el-table-column
width=
"180px"
label=
"操作"
>
<el-table-column
width=
"180px"
label=
"操作"
>
<
template
slot-scope=
"{ row }"
>
<
template
slot-scope=
"{ row }"
>
<el-link
:underline=
"false"
type=
"primary"
@
click
.
stop=
"update(row)"
>
修改
</el-link>
<el-link
:underline=
"false"
type=
"primary"
@
click
.
stop=
"update
Form
(row)"
>
修改
</el-link>
<el-link
:underline=
"false"
type=
"danger"
style=
"margin-left: 10px "
@
click
.
stop=
"del(row)"
>
删除
</el-link>
<el-link
:underline=
"false"
type=
"danger"
style=
"margin-left: 10px "
@
click
.
stop=
"del(row)"
>
删除
</el-link>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -65,10 +69,10 @@ export default {
...
@@ -65,10 +69,10 @@ export default {
ZOIBC
:
''
// 组织机构代码
ZOIBC
:
''
// 组织机构代码
},
},
personData
:
[
personData
:
[
{
ZBPNAME_ZH
:
'往来单位01'
,
ZBPTYPE
:
'境外'
,
ZOIBC
:
'1011'
,
ZBRNO
:
'1011'
,
ZTRNO
:
'111111'
,
ZIDNO
:
'130956198708162467'
,
ZBPNATURE
:
'
国有企业'
,
ZSSNO
:
'130956198708162467
'
},
{
ZBPNAME_ZH
:
'往来单位01'
,
ZBPTYPE
:
'境外'
,
ZOIBC
:
'1011'
,
ZBRNO
:
'1011'
,
ZTRNO
:
'111111'
,
ZIDNO
:
'130956198708162467'
,
ZBPNATURE
:
'
0'
,
ZSSNO
:
'130956198708162467'
,
ZBPNAME_EN
:
'HowOld'
,
ZBPNAME_LOC
:
'0'
,
ZUSCC
:
'123321'
,
ZOSRNO
:
'99988'
,
ZZCOUNTRY
:
'1'
,
ZETPSPROPERTY
:
'0'
,
ZCOMPYREL
:
'测试单位
'
},
{
ZBPNAME_ZH
:
'往来单位02'
,
ZBPTYPE
:
'境外'
,
ZOIBC
:
'1012'
,
ZBRNO
:
'1012'
,
ZTRNO
:
'222222'
,
ZIDNO
:
'130956198708162467'
,
ZBPNATURE
:
'
民营企业'
,
ZSSNO
:
'130956198708162467
'
},
{
ZBPNAME_ZH
:
'往来单位02'
,
ZBPTYPE
:
'境外'
,
ZOIBC
:
'1012'
,
ZBRNO
:
'1012'
,
ZTRNO
:
'222222'
,
ZIDNO
:
'130956198708162467'
,
ZBPNATURE
:
'
1'
,
ZSSNO
:
'130956198708162467'
,
ZBPNAME_EN
:
'HowOld'
,
ZBPNAME_LOC
:
'0'
,
ZUSCC
:
'123321'
,
ZOSRNO
:
'99988'
,
ZZCOUNTRY
:
'1'
,
ZETPSPROPERTY
:
'0'
,
ZCOMPYREL
:
'测试单位
'
},
{
ZBPNAME_ZH
:
'往来单位03'
,
ZBPTYPE
:
'境内'
,
ZOIBC
:
'1013'
,
ZBRNO
:
'1013'
,
ZTRNO
:
'333333'
,
ZIDNO
:
'130956198708162467'
,
ZBPNATURE
:
'
外资企业'
,
ZSSNO
:
'130956198708162467
'
},
{
ZBPNAME_ZH
:
'往来单位03'
,
ZBPTYPE
:
'境内'
,
ZOIBC
:
'1013'
,
ZBRNO
:
'1013'
,
ZTRNO
:
'333333'
,
ZIDNO
:
'130956198708162467'
,
ZBPNATURE
:
'
1'
,
ZSSNO
:
'130956198708162467'
,
ZBPNAME_EN
:
'HowOld'
,
ZBPNAME_LOC
:
'0'
,
ZUSCC
:
'123321'
,
ZOSRNO
:
'99988'
,
ZZCOUNTRY
:
'1'
,
ZETPSPROPERTY
:
'0'
,
ZCOMPYREL
:
'测试单位
'
},
{
ZBPNAME_ZH
:
'往来单位04'
,
ZBPTYPE
:
'境内'
,
ZOIBC
:
'1014'
,
ZBRNO
:
'1014'
,
ZTRNO
:
'444444'
,
ZIDNO
:
'130956198708162467'
,
ZBPNATURE
:
'
其他'
,
ZSSNO
:
'130956198708162467
'
}
{
ZBPNAME_ZH
:
'往来单位04'
,
ZBPTYPE
:
'境内'
,
ZOIBC
:
'1014'
,
ZBRNO
:
'1014'
,
ZTRNO
:
'444444'
,
ZIDNO
:
'130956198708162467'
,
ZBPNATURE
:
'
1'
,
ZSSNO
:
'130956198708162467'
,
ZBPNAME_EN
:
'HowOld'
,
ZBPNAME_LOC
:
'0'
,
ZUSCC
:
'123321'
,
ZOSRNO
:
'99988'
,
ZZCOUNTRY
:
'1'
,
ZETPSPROPERTY
:
'0'
,
ZCOMPYREL
:
'测试单位
'
}
],
],
total
:
4
,
total
:
4
,
page
:
1
,
page
:
1
,
...
@@ -81,7 +85,20 @@ export default {
...
@@ -81,7 +85,20 @@ export default {
/** 新增按钮 */
/** 新增按钮 */
addContactsUnit
()
{
addContactsUnit
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/contactsUnit/add'
path
:
'/contactsUnit/add'
,
query
:
{
type
:
'add'
}
})
},
/** 修改按钮 */
updateForm
(
row
)
{
this
.
$router
.
push
({
path
:
'/contactsUnit/add'
,
query
:
{
type
:
'update'
,
data
:
row
}
})
})
}
}
}
}
...
...
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