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
cbbb17dc
Commit
cbbb17dc
authored
Aug 23, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Infdid买方信用证交易查询入口修改:首次进页面不自动查询,点击查询再查
parent
b83e2982
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
80 additions
and
79 deletions
+80
-79
index.vue
src/views/Business/Infdid/index.vue
+80
-79
No files found.
src/views/Business/Infdid/index.vue
View file @
cbbb17dc
...
...
@@ -12,44 +12,46 @@
<!--PD000006 -->
<!--
<el-tab-pane
label=
"信用证查询"
name=
"infsea"
>
--
>
<c-content>
<m-infsea
v-show=
"!showPanel"
@
updateShowPanel=
"updateShowPanel($event)"
:model=
"model"
:codes=
"codes"
ref=
"infsea"
/>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<el-tab-pane
label=
"买方信用证交易查询"
name=
"infsea"
>
<c-content>
<m-infsea
:model=
"model"
:codes=
"codes"
/>
</c-content>
<!--
</el-tab-pane>
-->
<c-tabs
v-model=
"tabVal"
v-show=
"showPanel"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000001 -->
</el-tab-pane>
</c-tabs>
<!--
<c-tabs
v-model=
"tabVal"
v-show=
"showPanel"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
PD000001
<el-tab-pane
label=
"基本信息"
name=
"ovwp"
>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000452 -->
PD000452
<el-tab-pane
label=
"其他当事人"
name=
"detp1"
>
<c-content>
<m-detp1
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000077 -->
PD000077
<el-tab-pane
label=
"详细信息"
name=
"detp"
>
<m-detp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000342 -->
PD000342
<el-tab-pane
label=
"单据要求"
name=
"tk"
>
<m-tk
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000000 -->
PD000000
<el-tab-pane
label=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000013 -->
<!
--
<el-tab-pane
label=
"PD000013"
name=
"trnpan"
>
PD000013
--
<el-tab-pane
label=
"PD000013"
name=
"trnpan"
>
<m-trnpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
...
...
@@ -64,9 +66,9 @@
</el-tab-pane>
-->
<!-- FEP /FCP Info -->
<el-tab-pane
label=
"FEP /FCP Info"
name=
"fepinfp"
>
<
!--
<
el-tab-pane
label=
"FEP /FCP Info"
name=
"fepinfp"
>
<m-fepinfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000162 -->
<!--
<el-tab-pane
label=
"PD000162"
name=
"sepinfp"
>
...
...
@@ -101,27 +103,24 @@
<!--PD000185 -->
<!--
<el-tab-pane
label=
"PD000185"
name=
"ordpan"
>
<m-ordpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</el-tab-pane>
<!--PD000488 -->
PD000488
<el-tab-pane
label=
"声明"
name=
"stament"
>
<m-stament
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</c-tabs>
-->
</el-form>
</div>
<c-button
<
!--
<
c-button
v-show=
"showPanel"
style=
"margin-left: 75%;bottom: 10%;position:sticky"
size=
"small"
@
click=
"goBack()"
>
<!-- @click="getDitSelInfo(scope.$index, scope.row)" -->
@click="getDitSelInfo(scope.$index, scope.row)"
返回
</c-button
>
</c-button>
--
>
</div>
</
template
>
<
script
>
...
...
@@ -157,23 +156,23 @@ export default {
name
:
"Infdid"
,
components
:{
"m-infsea"
:
Infsea
,
"m-ovwp"
:
Ovwp
,
"m-detp"
:
Detp
,
"m-tk"
:
Tk
,
"m-coninfp"
:
Coninfp
,
"m-trnpan"
:
Trnpan
,
"m-cbsinfp"
:
Cbsinfp
,
"m-cbeinfp"
:
Cbeinfp
,
"m-fepinfp"
:
Fepinfp
,
"m-sepinfp"
:
Sepinfp
,
"m-gleinfp"
:
Gleinfp
,
"m-smhinfp"
:
Smhinfp
,
"m-peninfp"
:
Peninfp
,
"m-liainfp"
:
Liainfp
,
"m-prtpan"
:
Prtpan
,
"m-ordpan"
:
Ordpan
,
"m-detp1"
:
Detp1
,
"m-stament"
:
Stament
,
//
"m-ovwp" : Ovwp,
//
"m-detp" : Detp,
//
"m-tk" : Tk,
//
"m-coninfp" : Coninfp,
//
"m-trnpan" : Trnpan,
//
"m-cbsinfp" : Cbsinfp,
//
"m-cbeinfp" : Cbeinfp,
//
"m-fepinfp" : Fepinfp,
//
"m-sepinfp" : Sepinfp,
//
"m-gleinfp" : Gleinfp,
//
"m-smhinfp" : Smhinfp,
//
"m-peninfp" : Peninfp,
//
"m-liainfp" : Liainfp,
//
"m-prtpan" : Prtpan,
//
"m-ordpan" : Ordpan,
//
"m-detp1" : Detp1,
//
"m-stament" : Stament,
},
provide
()
{
return
{
...
...
@@ -183,56 +182,56 @@ export default {
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
""
,
tabVal
:
"
infsea
"
,
trnName
:
"infdid"
,
model
:
new
Infdid
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
showPanel
:
false
,
//
showPanel:false,
rules
:
null
,
codes
:
{
...
CodeTable
},
}
},
methods
:{
//
tabClick(){
//
},
tabClick
(
tab
)
{
tabClick
(){
},
//
tabClick(tab) {
const
name
=
tab
.
name
let
rulePath
;
//
const name = tab.name
//
let rulePath;
if
(
name
===
"fepinfp"
)
{
rulePath
=
"infcon.fepinfp"
;
}
if
(
name
===
"coninfp"
)
{
rulePath
=
"coninf.coninfp"
;
}
//
if (name === "fepinfp") {
//
rulePath = "infcon.fepinfp";
//
}
//
if (name === "coninfp") {
//
rulePath = "coninf.coninfp";
//
}
if
(
!!
rulePath
)
{
this
.
executeRule
(
rulePath
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
res
.
data
);
}
})
}
},
initPanel
(
val
){
if
(
val
){
this
.
tabVal
=
"ovwp"
//
}
else
{
this
.
tabVal
=
""
}
},
async
updateShowPanel
(
value
)
{
this
.
showPanel
=
value
;
this
.
initPanel
(
value
);
},
goBack
(){
this
.
showPanel
=
false
;
},
//
if (!!rulePath) {
//
this.executeRule(rulePath).then(res => {
//
if (res.respCode == SUCCESS) {
//
this.updateModel(res.data);
//
}
//
})
//
}
//
},
//
initPanel(val){
//
if(val){
//
this.tabVal = "ovwp"
//
//
//
}else{
//
this.tabVal = ""
//
}
//
},
//
async updateShowPanel(value) {
//
this.showPanel = value;
//
this.initPanel(value);
//
},
//
goBack(){
//
this.showPanel = false;
//
},
},
created
:
async
function
(){
...
...
@@ -240,8 +239,10 @@ export default {
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
this
.
$refs
.
infsea
.
handleSearch
();
//更新数据
this
.
updateModel
(
rtnmsg
.
data
)
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// this.$refs.infsea.handleSearch();
}
else
{
...
...
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