Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
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
zhouqian
vue-gjjs
Commits
b7dcb517
Commit
b7dcb517
authored
Oct 20, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Brtset申报信息页基础数据勾选触发点击页面中的切换tab页事件
parent
53b55700
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
57 additions
and
17 deletions
+57
-17
commonProcess.js
src/mixin/commonProcess.js
+3
-1
Basp.vue
src/views/Business/Brtset/Basp.vue
+7
-7
Basp1.vue
src/views/Business/Brtset/Basp1.vue
+7
-7
Wg.vue
src/views/Business/Brtset/Wg.vue
+39
-1
index.vue
src/views/Business/Brtset/index.vue
+1
-1
No files found.
src/mixin/commonProcess.js
View file @
b7dcb517
...
...
@@ -26,7 +26,9 @@ const tabNameToRulePathMapping = {
"dbb"
:
"bopmod.dbbp.basp"
,
"dbe"
:
"bopmod.dbep.basp"
,
"dclpp"
:
"cfabpt.recp.dclp.dclpp"
,
"conp"
:
"cfabpt.recp.conp"
"conp"
:
"cfabpt.recp.conp"
,
"cfactlp"
:
"cfactlp"
,
//资本项目标签页切换触发点击切换标签页事件
"cnyp1"
:
"cnybop.cnyp1"
//跨境人民申报标签页切换触发点击切换标签页事件
}
export
default
{
...
...
src/views/Business/Brtset/Basp.vue
View file @
b7dcb517
...
...
@@ -297,13 +297,13 @@ export default {
}
},
methods
:{...
Event
},
created
:
function
(){
this
.
executeRule
(
"bopmod.dbcp.basp"
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
copyValueFromVO
(
res
.
data
);
}
});
}
//
created:function(){
//
this.executeRule("bopmod.dbcp.basp").then((res) => {
//
if (res.respCode == SUCCESS) {
//
this.copyValueFromVO(res.data);
//
}
//
});
//
}
}
</
script
>
<
style
>
...
...
src/views/Business/Brtset/Basp1.vue
View file @
b7dcb517
...
...
@@ -297,13 +297,13 @@ export default {
}
},
methods
:{...
Event
},
created
:
function
(){
this
.
executeRule
(
"bopmod.dbfp.basp"
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
copyValueFromVO
(
res
.
data
);
}
});
}
//
created:function(){
//
this.executeRule("bopmod.dbfp.basp").then((res) => {
//
if (res.respCode == SUCCESS) {
//
this.copyValueFromVO(res.data);
//
}
//
});
//
}
}
</
script
>
<
style
>
...
...
src/views/Business/Brtset/Wg.vue
View file @
b7dcb517
...
...
@@ -20,7 +20,8 @@
</el-form-item>
</c-col>
<c-col
:span=
"7"
:offset=
"1"
>
<c-checkbox
v-model=
"model.bopmod.basflg"
:disabled=
"model.bopmod.szflg==='3'||model.bopmod.szflg===''"
>
基础数据
</c-checkbox>
<c-checkbox
v-model=
"model.bopmod.basflg"
:disabled=
"model.bopmod.szflg==='3'||model.bopmod.szflg===''"
@
change=
"changeBasflg"
>
基础数据
</c-checkbox>
</c-col>
</c-col>
...
...
@@ -32,6 +33,7 @@
style=
"width: 100%"
placeholder=
"请选择"
:disabled=
"model.bopmod.szflg==='3' || model.bopmod.szflg==='2' ||model.bopmod.szflg===''"
@
change=
"acttypChange"
>
<el-option
v-for=
"item in codes.acttyp"
...
...
@@ -50,6 +52,7 @@
style=
"width: 100%"
placeholder=
"请选择"
:disabled=
"model.bopmod.szflg==='3' ||model.bopmod.szflg===''"
@
change=
"ownextkeyChange"
>
<el-option
v-for=
"item in codesOwnextkey"
...
...
@@ -121,6 +124,41 @@ export default {
this
.
model
.
bopmod
.
acttyp
=
''
;
this
.
model
.
bopmod
.
basflg
=
''
;
}
},
async
changeBasflg
(){
//基础数据单选框点击触发执行默认方法
// 执行默认方法新写法:executeNotify()不用传参
this
.
executeNotify
().
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
){
this
.
copyValueFromVO
(
res
.
data
);
}
});
this
.
$nextTick
(()
=>
{
this
.
tabClick
()
});
},
async
ownextkeyChange
(){
//地区机构号改变触发
this
.
tabClick
()
},
async
acttypChange
(){
this
.
tabClick
()
},
//Ui页面整合后,申报信息页中的三个小页面漏掉的切换标签页面事件
tabClick
(){
if
(
this
.
model
.
bopmod
.
basflg
==
"X"
){
//勾选基础信息,显示出对外/对内付款标签页
switch
(
this
.
model
.
bopmod
.
szflg
)
{
case
"1"
:
//申报类型选跨境收支
this
.
eventFunction
(
"bopmod.dbcp.basp"
)
//触发td上的点击切换到对外付款标签页事件
break
;
case
"2"
:
//申报类型选境内收支
this
.
eventFunction
(
"bopmod.dbfp.basp"
)
//触发td上的点击切换到境内付款标签页事件
break
;
}
// this.executeRule("boppay.dbfp.basp").then((res) => {
// if (res.respCode == SUCCESS) {
// this.copyValueFromVO(res.data);
// }
// });
}
}
},
created
:
function
()
{
...
...
src/views/Business/Brtset/index.vue
View file @
b7dcb517
...
...
@@ -126,7 +126,7 @@
</el-tab-pane>
<!--PD000009 -->
<el-tab-pane
label=
"申报信息"
name=
"c
nyp
"
>
<el-tab-pane
label=
"申报信息"
name=
"c
factlp,cnyp1
"
>
<c-content>
<m-cnyp
:model=
"model"
:codes=
"codes"
/>
</c-content>
...
...
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