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
fukai
vue-gjjs
Commits
9a543aa8
Commit
9a543aa8
authored
May 10, 2022
by
lishijie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
卖方信用证交易界面样式和部分功能实现
parent
8bf8ae09
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
289 additions
and
209 deletions
+289
-209
Event.js
src/model/Detopn/Event.js
+5
-1
BusRouter.js
src/views/Business/BusRouter.js
+4
-4
Ovwp.vue
src/views/Business/Detopn/Ovwp.vue
+107
-50
index.vue
src/views/Business/Detopn/index.vue
+49
-47
Infsea.vue
src/views/Business/Infdet/Infsea.vue
+0
-0
index.vue
src/views/Business/Infdet/index.vue
+98
-86
SideMenu.vue
src/views/Layout/SideMenu.vue
+26
-21
No files found.
src/model/Detopn/Event.js
View file @
9a543aa8
...
@@ -7,7 +7,11 @@ export default {
...
@@ -7,7 +7,11 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
this
.
model
.
dedgrp
.
rec
.
ownref
=
rtnmsg
.
data
.
dedgrp_rec_ownref
;
this
.
$message
({
type
:
'success'
,
message
:
'获取成功!'
});
}
}
else
else
{
{
...
...
src/views/Business/BusRouter.js
View file @
9a543aa8
...
@@ -234,11 +234,11 @@ const BusRouter = [
...
@@ -234,11 +234,11 @@ const BusRouter = [
{
path
:
'bdtcan'
,
component
:
Bdtcan
,
name
:
'Bdtcan'
,
meta
:
{
title
:
'买方信用证单据注销'
}
},
{
path
:
'bdtcan'
,
component
:
Bdtcan
,
name
:
'Bdtcan'
,
meta
:
{
title
:
'买方信用证单据注销'
}
},
{
path
:
'ditdla'
,
component
:
Ditdla
,
name
:
'Ditdla'
,
meta
:
{
title
:
'买方信用证减额接受'
}
},
{
path
:
'ditdla'
,
component
:
Ditdla
,
name
:
'Ditdla'
,
meta
:
{
title
:
'买方信用证减额接受'
}
},
{
path
:
'bdtset'
,
component
:
Bdtset
,
name
:
'Bdtset'
,
meta
:
{
title
:
'信用证付款'
}
},
{
path
:
'bdtset'
,
component
:
Bdtset
,
name
:
'Bdtset'
,
meta
:
{
title
:
'信用证付款'
}
},
{
path
:
'infdet'
,
component
:
Infdet
,
name
:
'Infdet'
,
meta
:
{
title
:
'卖方信用证查询'
}
},
{
path
:
'infdet'
,
component
:
Infdet
,
name
:
'Infdet'
,
meta
:
{
title
:
'卖方信用证
交易
查询'
}
},
{
path
:
'infbfd'
,
component
:
Infbfd
,
name
:
'Infbfd'
,
meta
:
{
title
:
'卖方信用证单据查询'
}
},
{
path
:
'infbfd'
,
component
:
Infbfd
,
name
:
'Infbfd'
,
meta
:
{
title
:
'卖方信用证单据查询'
}
},
{
path
:
'detopn'
,
component
:
Detopn
,
name
:
'Detopn'
,
meta
:
{
title
:
'信用证开立'
}
},
{
path
:
'detopn'
,
component
:
Detopn
,
name
:
'Detopn'
,
meta
:
{
title
:
'
卖方
信用证开立'
}
},
{
path
:
'detame'
,
component
:
Detame
,
name
:
'Detame'
,
meta
:
{
title
:
'信用证修改'
}
},
{
path
:
'detame'
,
component
:
Detame
,
name
:
'Detame'
,
meta
:
{
title
:
'
卖方
信用证修改'
}
},
{
path
:
'detsel'
,
component
:
Detsel
,
name
:
'Detsel'
,
meta
:
{
title
:
'信用证查询'
}
},
{
path
:
'detsel'
,
component
:
Detsel
,
name
:
'Detsel'
,
meta
:
{
title
:
'
卖方
信用证查询'
}
},
{
path
:
'bftsnd'
,
component
:
Bftsnd
,
name
:
'Bftsnd'
,
meta
:
{
title
:
'卖方信用证寄单'
}
},
{
path
:
'bftsnd'
,
component
:
Bftsnd
,
name
:
'Bftsnd'
,
meta
:
{
title
:
'卖方信用证寄单'
}
},
...
...
src/views/Business/Detopn/Ovwp.vue
View file @
9a543aa8
This diff is collapsed.
Click to expand it.
src/views/Business/Detopn/index.vue
View file @
9a543aa8
...
@@ -17,39 +17,44 @@
...
@@ -17,39 +17,44 @@
<el-button
size=
"small"
>
智能提示
</el-button>
<el-button
size=
"small"
>
智能提示
</el-button>
</c-function-btn>
</c-function-btn>
<el-form
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000017 -->
<!--PD000017 -->
<el-tab-pane
label=
"基本信息"
name=
"ovwp"
>
<el-tab-pane
label=
"基本信息"
name=
"ovwp"
>
<c-content>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</c-content>
</el-tab-pane>
</el-tab-pane>
<!--PD000494 -->
<!--PD000494 -->
<el-tab-pane
label=
"其他当事人"
name=
"detp1"
>
<el-tab-pane
label=
"其他当事人"
name=
"detp1"
>
<c-content>
<c-content>
<m-detp1
:model=
"model"
:codes=
"codes"
/>
<m-detp1
:model=
"model"
:codes=
"codes"
/>
</c-content>
</c-content>
</el-tab-pane>
</el-tab-pane>
<!--PD000525 -->
<!--PD000525 -->
<el-tab-pane
label=
"详细信息"
name=
"detp2"
>
<el-tab-pane
label=
"详细信息"
name=
"detp2"
>
<m-detp2
:model=
"model"
:codes=
"codes"
/>
<m-detp2
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
<!--PD000405 -->
<!--PD000405 -->
<el-tab-pane
label=
"单据要求"
name=
"detp"
>
<el-tab-pane
label=
"单据要求"
name=
"detp"
>
<m-detp
:model=
"model"
:codes=
"codes"
/>
<m-detp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
<!--PD000000 -->
<!--PD000000 -->
<el-tab-pane
label=
"费用及账务"
name=
"setpan"
>
<el-tab-pane
label=
"费用及账务"
name=
"setpan"
>
<c-content>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</c-content>
</el-tab-pane>
</el-tab-pane>
...
@@ -66,20 +71,19 @@
...
@@ -66,20 +71,19 @@
<!--PD000000 -->
<!--PD000000 -->
<el-tab-pane
label=
"附言"
name=
"coninfp"
>
<el-tab-pane
label=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
<!--PD000529 -->
<!--PD000529 -->
<el-tab-pane
label=
"报文及面函"
name=
"docpan"
>
<el-tab-pane
label=
"报文及面函"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
<!--PD000001 -->
<!--PD000001 -->
<el-tab-pane
label=
"授信额度"
name=
"limitbody"
>
<el-tab-pane
label=
"授信额度"
name=
"limitbody"
>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
<!--PD000548 -->
<!--PD000548 -->
<!--
<!--
<el-tab-pane
label=
"PD000548"
name=
"stament"
>
<el-tab-pane
label=
"PD000548"
name=
"stament"
>
...
@@ -92,10 +96,14 @@
...
@@ -92,10 +96,14 @@
<m-aamp
:model=
"model"
:codes=
"codes"
/>
<m-aamp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
-->
</c-tabs>
</c-tabs>
</el-form>
</el-form>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
>
</c-grid-ety-prompt-dialog>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -122,35 +130,34 @@ import Coninfp from "~/views/Public/Coninfp";
...
@@ -122,35 +130,34 @@ import Coninfp from "~/views/Public/Coninfp";
import
Docpan
from
"~/views/Public/Docpan"
;
import
Docpan
from
"~/views/Public/Docpan"
;
import
Limitbody
from
"~/views/Public/Limitbody"
;
import
Limitbody
from
"~/views/Public/Limitbody"
;
export
default
{
export
default
{
name
:
"Detopn"
,
name
:
"Detopn"
,
components
:
{
components
:
{
"m-ovwp"
:
Ovwp
,
"m-ovwp"
:
Ovwp
,
"m-detp"
:
Detp
,
"m-detp"
:
Detp
,
"m-detp1"
:
Detp1
,
"m-detp1"
:
Detp1
,
"m-detp2"
:
Detp2
,
"m-detp2"
:
Detp2
,
"m-stament"
:
Stament
,
"m-stament"
:
Stament
,
"m-aamp"
:
Aamp
,
"m-aamp"
:
Aamp
,
"m-setpan"
:
Setpan
,
"m-setpan"
:
Setpan
,
"m-glepan"
:
Glepan
,
"m-glepan"
:
Glepan
,
"m-engp"
:
Engp
,
"m-engp"
:
Engp
,
"m-coninfp"
:
Coninfp
,
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-docpan"
:
Docpan
,
"m-limitbody"
:
Limitbody
,
"m-limitbody"
:
Limitbody
,
},
},
provide
()
{
provide
()
{
return
{
return
{
root
:
this
root
:
this
,
}
};
},
},
// mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
// mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
computed
:
{},
computed
:
{},
data
()
{
data
()
{
return
{
return
{
tabVal
:
"
"
,
tabVal
:
"ovwp
"
,
trnName
:
"detopn"
,
trnName
:
"detopn"
,
model
:
new
Detopn
().
data
,
model
:
new
Detopn
().
data
,
checkRules
:
Check
,
checkRules
:
Check
,
...
@@ -158,31 +165,26 @@ export default {
...
@@ -158,31 +165,26 @@ export default {
pattern
:
Pattern
,
pattern
:
Pattern
,
rules
:
null
,
rules
:
null
,
codes
:
{
...
CodeTable
},
codes
:
{
...
CodeTable
},
}
};
},
},
methods
:{
methods
:
{
tabClick
(){
tabClick
()
{},
}
},
},
created
:
async
function
()
{
created
:
async
function
()
{
console
.
log
(
"进入detopn交易"
);
console
.
log
(
"进入detopn交易"
);
//let rtnmsg = await this.init({})
//let rtnmsg = await this.init({})
let
rtnmsg
=
await
this
.
init
(
this
.
$route
.
query
);
let
rtnmsg
=
await
this
.
init
(
this
.
$route
.
query
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
{
//更新数据
//更新数据
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
)
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
if
(
this
.
isInDisplay
)
{
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
this
.
restoreDisplay
();
}
}
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
else
},
{
};
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
</
script
>
</
script
>
<
style
>
<
style
>
</
style
>
</
style
>
src/views/Business/Infdet/Infsea.vue
View file @
9a543aa8
This diff is collapsed.
Click to expand it.
src/views/Business/Infdet/index.vue
View file @
9a543aa8
<
template
>
<
template
>
<c-page
title=
"卖方信用证查询"
>
<!-- c-page标签加上影响大小 -->
<!--
<c-page
title=
"卖方信用证交易查询"
>
-->
<!-- 顶部按钮区 -->
<!-- 顶部按钮区 -->
<!--
<!--
<div
class=
"topBtnGroup"
>
<div
class=
"topBtnGroup"
>
...
@@ -37,7 +38,15 @@
...
@@ -37,7 +38,15 @@
-->
-->
<div
class=
"eContainer"
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"left"
size=
"small"
:validate-on-rule-change=
"false"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"110px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<!--PD000006 -->
<!--PD000006 -->
<!--
<!--
<el-tab-pane
label=
"查詢界面"
name=
"infsea"
>
<el-tab-pane
label=
"查詢界面"
name=
"infsea"
>
...
@@ -45,12 +54,24 @@
...
@@ -45,12 +54,24 @@
</el-tab-pane>
</el-tab-pane>
-->
-->
<c-content>
<c-content>
<m-infsea
v-show=
"!showPanel"
@
updateShowPanel=
"updateShowPanel($event)"
:model=
"model"
:codes=
"codes"
ref=
"infsea"
/>
<m-infsea
v-show=
"!showPanel"
@
updateShowPanel=
"updateShowPanel($event)"
:model=
"model"
:codes=
"codes"
ref=
"infsea"
/>
</c-content>
</c-content>
<c-tabs
v-model=
"tabVal"
v-show=
"showPanel"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<c-tabs
v-model=
"tabVal"
v-show=
"showPanel"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000017 -->
<!--PD000017 -->
<el-tab-pane
label=
"内容"
name=
"ovwp"
>
<el-tab-pane
label=
"内容"
name=
"ovwp"
>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
<!--
<!--
...
@@ -134,77 +155,76 @@
...
@@ -134,77 +155,76 @@
-->
-->
</c-tabs>
</c-tabs>
</el-form>
</el-form>
<c-button
<c-button
v-show=
"showPanel"
v-show=
"showPanel"
style=
"margin-left: 75%;bottom: 10%;position:
sticky"
style=
"margin-left: 75%; bottom: 10%; position:
sticky"
size=
"small"
size=
"small"
@
click=
"goBack()"
>
@
click=
"goBack()"
>
<!-- @click="getDitSelInfo(scope.$index, scope.row)" -->
<!-- @click="getDitSelInfo(scope.$index, scope.row)" -->
返回
返回
</c-button>
</c-button>
</div>
</div>
<!--
</c-page>
-->
</c-page>
</
template
>
</
template
>
<
script
>
<
script
>
import
Utils
from
"~/utils/index"
;
import
Utils
from
"~/utils/index"
;
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
import
CodeTable
from
"~/config/CodeTable"
;
import
Infdet
from
"~/model/Infdet"
import
Infdet
from
"~/model/Infdet"
;
import
commonProcess
from
"~/mixin/commonProcess"
import
commonProcess
from
"~/mixin/commonProcess"
;
import
Check
from
"~/model/Infdet/Check"
import
Check
from
"~/model/Infdet/Check"
;
import
Default
from
"~/model/Infdet/Default"
import
Default
from
"~/model/Infdet/Default"
;
import
Pattern
from
"~/model/Infdet/Pattern"
import
Pattern
from
"~/model/Infdet/Pattern"
;
import
Infsea
from
"./Infsea"
import
Infsea
from
"./Infsea"
;
import
Ovwp
from
"./Ovwp"
import
Ovwp
from
"./Ovwp"
;
import
Detp
from
"./Detp"
import
Detp
from
"./Detp"
;
import
Coninfp
from
"./Coninfp"
import
Coninfp
from
"./Coninfp"
;
import
Trnpan
from
"./Trnpan"
import
Trnpan
from
"./Trnpan"
;
import
Cbsinfp
from
"./Cbsinfp"
import
Cbsinfp
from
"./Cbsinfp"
;
import
Cbeinfp
from
"./Cbeinfp"
import
Cbeinfp
from
"./Cbeinfp"
;
import
Fepinfp
from
"./Fepinfp"
import
Fepinfp
from
"./Fepinfp"
;
import
Sepinfp
from
"./Sepinfp"
import
Sepinfp
from
"./Sepinfp"
;
import
Gleinfp
from
"./Gleinfp"
import
Gleinfp
from
"./Gleinfp"
;
import
Smhinfp
from
"./Smhinfp"
import
Smhinfp
from
"./Smhinfp"
;
import
Peninfp
from
"./Peninfp"
import
Peninfp
from
"./Peninfp"
;
import
Liainfp
from
"./Liainfp"
import
Liainfp
from
"./Liainfp"
;
import
Prtpan
from
"./Prtpan"
import
Prtpan
from
"./Prtpan"
;
import
Ordpan
from
"./Ordpan"
import
Ordpan
from
"./Ordpan"
;
import
Detp1
from
"./Detp1"
import
Detp1
from
"./Detp1"
;
import
Detp2
from
"./Detp2"
import
Detp2
from
"./Detp2"
;
import
Stament
from
"./Stament"
import
Stament
from
"./Stament"
;
export
default
{
export
default
{
name
:
"Infdet"
,
name
:
"Infdet"
,
components
:
{
components
:
{
"m-infsea"
:
Infsea
,
"m-infsea"
:
Infsea
,
"m-ovwp"
:
Ovwp
,
"m-ovwp"
:
Ovwp
,
"m-detp"
:
Detp
,
"m-detp"
:
Detp
,
"m-coninfp"
:
Coninfp
,
"m-coninfp"
:
Coninfp
,
"m-trnpan"
:
Trnpan
,
"m-trnpan"
:
Trnpan
,
"m-cbsinfp"
:
Cbsinfp
,
"m-cbsinfp"
:
Cbsinfp
,
"m-cbeinfp"
:
Cbeinfp
,
"m-cbeinfp"
:
Cbeinfp
,
"m-fepinfp"
:
Fepinfp
,
"m-fepinfp"
:
Fepinfp
,
"m-sepinfp"
:
Sepinfp
,
"m-sepinfp"
:
Sepinfp
,
"m-gleinfp"
:
Gleinfp
,
"m-gleinfp"
:
Gleinfp
,
"m-smhinfp"
:
Smhinfp
,
"m-smhinfp"
:
Smhinfp
,
"m-peninfp"
:
Peninfp
,
"m-peninfp"
:
Peninfp
,
"m-liainfp"
:
Liainfp
,
"m-liainfp"
:
Liainfp
,
"m-prtpan"
:
Prtpan
,
"m-prtpan"
:
Prtpan
,
"m-ordpan"
:
Ordpan
,
"m-ordpan"
:
Ordpan
,
"m-detp1"
:
Detp1
,
"m-detp1"
:
Detp1
,
"m-detp2"
:
Detp2
,
"m-detp2"
:
Detp2
,
"m-stament"
:
Stament
,
"m-stament"
:
Stament
,
},
},
provide
()
{
provide
()
{
return
{
return
{
root
:
this
root
:
this
,
}
};
},
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
()
{
data
()
{
return
{
return
{
tabVal
:
""
,
tabVal
:
""
,
trnName
:
"infdet"
,
trnName
:
"infdet"
,
...
@@ -212,15 +232,15 @@ export default {
...
@@ -212,15 +232,15 @@ export default {
checkRules
:
Check
,
checkRules
:
Check
,
defaultRules
:
Default
,
defaultRules
:
Default
,
pattern
:
Pattern
,
pattern
:
Pattern
,
showPanel
:
false
,
showPanel
:
false
,
rules
:
null
,
rules
:
null
,
codes
:
{...
CodeTable
},
codes
:
{
...
CodeTable
},
showflg
:
true
,
showflg
:
true
,
};
};
},
},
methods
:
{
methods
:
{
tabClick
(
tab
)
{
tabClick
(
tab
)
{
const
name
=
tab
.
name
const
name
=
tab
.
name
;
let
rulePath
;
let
rulePath
;
if
(
name
===
"fepinfp"
)
{
if
(
name
===
"fepinfp"
)
{
...
@@ -231,51 +251,43 @@ export default {
...
@@ -231,51 +251,43 @@ export default {
}
}
if
(
!!
rulePath
)
{
if
(
!!
rulePath
)
{
this
.
executeRule
(
rulePath
).
then
(
res
=>
{
this
.
executeRule
(
rulePath
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
res
.
data
);
this
.
updateModel
(
res
.
data
);
}
}
})
});
}
}
},
},
initPanel
(
val
)
{
initPanel
(
val
)
{
if
(
val
)
{
if
(
val
)
{
this
.
tabVal
=
"ovwp"
this
.
tabVal
=
"ovwp"
;
//
//
}
else
{
}
else
{
this
.
tabVal
=
""
this
.
tabVal
=
""
;
}
}
},
},
async
updateShowPanel
(
value
)
{
async
updateShowPanel
(
value
)
{
this
.
showPanel
=
value
;
this
.
showPanel
=
value
;
this
.
initPanel
(
value
);
this
.
initPanel
(
value
);
},
},
goBack
()
{
goBack
()
{
this
.
showPanel
=
false
;
this
.
showPanel
=
false
;
},
},
},
},
created
:
async
function
()
{
created
:
async
function
()
{
console
.
log
(
"进入infdet交易"
);
console
.
log
(
"进入infdet交易"
);
let
rtnmsg
=
await
this
.
init
({})
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
this
.
$refs
.
infsea
.
handleSearch
();
this
.
$refs
.
infsea
.
handleSearch
();
}
}
else
{
else
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
},
},
watch
:{
watch
:
{},
};
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
</
style
>
</
style
>
src/views/Layout/SideMenu.vue
View file @
9a543aa8
...
@@ -29,7 +29,7 @@ import SubMenu from "~/components/SubMenu.vue";
...
@@ -29,7 +29,7 @@ import SubMenu from "~/components/SubMenu.vue";
export
default
{
export
default
{
components
:
{
Button
,
SubMenu
},
components
:
{
Button
,
SubMenu
},
data
:
function
()
{
data
:
function
()
{
return
{
return
{
openFlgArr
:
[],
openFlgArr
:
[],
menuOpen
:
true
,
menuOpen
:
true
,
...
@@ -105,13 +105,17 @@ export default {
...
@@ -105,13 +105,17 @@ export default {
{
inifrm
:
"bttsnd"
,
ininam
:
"转让证单据寄单"
,
pntmiu
:
"7"
},
{
inifrm
:
"bttsnd"
,
ininam
:
"转让证单据寄单"
,
pntmiu
:
"7"
},
{
inifrm
:
"bttdrv"
,
ininam
:
"转让证修改单据金额"
,
pntmiu
:
"7"
},
{
inifrm
:
"bttdrv"
,
ininam
:
"转让证修改单据金额"
,
pntmiu
:
"7"
},
{
inifrm
:
"bttdcr"
,
ininam
:
"转让证单据拒单"
,
pntmiu
:
"7"
},
{
inifrm
:
"bttdcr"
,
ininam
:
"转让证单据拒单"
,
pntmiu
:
"7"
},
{
inifrm
:
"lttdav"
,
ininam
:
"转让信用证单据第一受益人换单"
,
pntmiu
:
"7"
},
{
inifrm
:
"lttdav"
,
ininam
:
"转让信用证单据第一受益人换单"
,
pntmiu
:
"7"
,
},
{
inifrm
:
"bttdck"
,
ininam
:
"转让信用证通知到单"
,
pntmiu
:
"7"
},
{
inifrm
:
"bttdck"
,
ininam
:
"转让信用证通知到单"
,
pntmiu
:
"7"
},
{
inifrm
:
"8"
,
ininam
:
"打包托收"
,
pntmiu
:
""
},
{
inifrm
:
"8"
,
ininam
:
"打包托收"
,
pntmiu
:
""
},
{
inifrm
:
"cltdav"
,
ininam
:
"打包托收开立"
,
pntmiu
:
"8"
},
{
inifrm
:
"cltdav"
,
ininam
:
"打包托收开立"
,
pntmiu
:
"8"
},
{
inifrm
:
"clttra"
,
ininam
:
"打包托收催收"
,
pntmiu
:
"8"
},
{
inifrm
:
"clttra"
,
ininam
:
"打包托收催收"
,
pntmiu
:
"8"
},
{
inifrm
:
"cltset"
,
ininam
:
"打包托收解包"
,
pntmiu
:
"8"
},
{
inifrm
:
"cltset"
,
ininam
:
"打包托收解包"
,
pntmiu
:
"8"
},
{
inifrm
:
"9"
,
ininam
:
"光票托收"
,
pntmiu
:
""
},
{
inifrm
:
"9"
,
ininam
:
"光票托收"
,
pntmiu
:
""
},
{
inifrm
:
"ccttra"
,
ininam
:
"光票托收催收"
,
pntmiu
:
"9"
},
{
inifrm
:
"ccttra"
,
ininam
:
"光票托收催收"
,
pntmiu
:
"9"
},
{
inifrm
:
"cctdcr"
,
ininam
:
"光票托收退票"
,
pntmiu
:
"9"
},
{
inifrm
:
"cctdcr"
,
ininam
:
"光票托收退票"
,
pntmiu
:
"9"
},
{
inifrm
:
"cctset"
,
ininam
:
"光票托收收汇"
,
pntmiu
:
"9"
},
{
inifrm
:
"cctset"
,
ininam
:
"光票托收收汇"
,
pntmiu
:
"9"
},
...
@@ -119,25 +123,25 @@ export default {
...
@@ -119,25 +123,25 @@ export default {
//{ inifrm: "clttra", ininam: "光票托收", pntmiu: "10" },
//{ inifrm: "clttra", ininam: "光票托收", pntmiu: "10" },
{
inifrm
:
"10"
,
ininam
:
"参数管理"
,
pntmiu
:
""
},
{
inifrm
:
"10"
,
ininam
:
"参数管理"
,
pntmiu
:
""
},
{
inifrm
:
"infusr"
,
ininam
:
"用户信息"
,
pntmiu
:
"10"
},
{
inifrm
:
"infusr"
,
ininam
:
"用户信息"
,
pntmiu
:
"10"
},
{
inifrm
:
"11"
,
ininam
:
"卖方信用证"
,
pntmiu
:
""
},
{
inifrm
:
"11"
,
ininam
:
"卖方信用证"
,
pntmiu
:
""
},
{
inifrm
:
"detopn"
,
ininam
:
"信用证开立"
,
pntmiu
:
"11"
},
{
inifrm
:
"detopn"
,
ininam
:
"
卖方
信用证开立"
,
pntmiu
:
"11"
},
{
inifrm
:
"detame"
,
ininam
:
"信用证修改"
,
pntmiu
:
"11"
},
{
inifrm
:
"detame"
,
ininam
:
"
卖方
信用证修改"
,
pntmiu
:
"11"
},
{
inifrm
:
"detsel"
,
ininam
:
"信用证查询"
,
pntmiu
:
"11"
},
{
inifrm
:
"detsel"
,
ininam
:
"
卖方
信用证查询"
,
pntmiu
:
"11"
},
{
inifrm
:
"12"
,
ininam
:
"智能审单"
,
pntmiu
:
""
},
{
inifrm
:
"12"
,
ininam
:
"智能审单"
,
pntmiu
:
""
},
{
inifrm
:
"examRule"
,
ininam
:
"智能审单规则配置"
,
pntmiu
:
"12"
},
{
inifrm
:
"examRule"
,
ininam
:
"智能审单规则配置"
,
pntmiu
:
"12"
},
//进口保函
//进口保函
{
inifrm
:
"13"
,
ininam
:
"进口保函"
,
pntmiu
:
""
},
{
inifrm
:
"13"
,
ininam
:
"进口保函"
,
pntmiu
:
""
},
{
inifrm
:
"gitsel"
,
ininam
:
"进口保函查询"
,
pntmiu
:
"13"
},
{
inifrm
:
"gitsel"
,
ininam
:
"进口保函查询"
,
pntmiu
:
"13"
},
{
inifrm
:
"gitset"
,
ininam
:
"进口保函赔付"
,
pntmiu
:
"13"
},
{
inifrm
:
"gitset"
,
ininam
:
"进口保函赔付"
,
pntmiu
:
"13"
},
{
inifrm
:
"gitcrq"
,
ininam
:
"进口保函索赔登记"
,
pntmiu
:
"13"
},
{
inifrm
:
"gitcrq"
,
ininam
:
"进口保函索赔登记"
,
pntmiu
:
"13"
},
{
inifrm
:
"14"
,
ininam
:
"服务管理"
,
pntmiu
:
""
},
{
inifrm
:
"14"
,
ininam
:
"服务管理"
,
pntmiu
:
""
},
{
inifrm
:
"switsk"
,
ininam
:
"Switsk"
,
pntmiu
:
"14"
},
{
inifrm
:
"switsk"
,
ininam
:
"Switsk"
,
pntmiu
:
"14"
},
{
inifrm
:
"mgrtsk"
,
ininam
:
"Mgrtsk"
,
pntmiu
:
"14"
},
{
inifrm
:
"mgrtsk"
,
ininam
:
"Mgrtsk"
,
pntmiu
:
"14"
},
{
inifrm
:
"sptrel"
,
ininam
:
"sptrel"
,
pntmiu
:
"14"
},
{
inifrm
:
"sptrel"
,
ininam
:
"sptrel"
,
pntmiu
:
"14"
},
],
],
menus
:
[],
menus
:
[],
menusHeight
:
0
menusHeight
:
0
,
};
};
},
},
computed
:
{
computed
:
{
...
@@ -148,11 +152,11 @@ export default {
...
@@ -148,11 +152,11 @@ export default {
watch
:
{
watch
:
{
$route
:
function
()
{
$route
:
function
()
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
const
arr
=
[]
const
arr
=
[]
;
this
.
getOpenMenusIndex
(
this
.
menus
,
arr
)
this
.
getOpenMenusIndex
(
this
.
menus
,
arr
)
;
this
.
openFlgArr
=
[...
new
Set
([...
this
.
openFlgArr
,
...
arr
])]
this
.
openFlgArr
=
[...
new
Set
([...
this
.
openFlgArr
,
...
arr
])]
;
})
})
;
}
}
,
},
},
created
()
{
created
()
{
this
.
menusHeight
=
60
+
46
+
8
;
this
.
menusHeight
=
60
+
46
+
8
;
...
@@ -161,7 +165,7 @@ export default {
...
@@ -161,7 +165,7 @@ export default {
const
arr
=
[];
const
arr
=
[];
this
.
generateMenuTree
(
arr
);
this
.
generateMenuTree
(
arr
);
this
.
menus
=
arr
;
this
.
menus
=
arr
;
this
.
$store
.
commit
(
'UserContext/setMenu'
,
arr
)
this
.
$store
.
commit
(
"UserContext/setMenu"
,
arr
);
this
.
initOpenFlgIndex
();
this
.
initOpenFlgIndex
();
},
},
methods
:
{
methods
:
{
...
@@ -344,7 +348,7 @@ export default {
...
@@ -344,7 +348,7 @@ export default {
height
:
35px
;
height
:
35px
;
line-height
:
35px
;
line-height
:
35px
;
}
}
.el-menu-vertical-demo
[
class
^=
el-icon-caret-
]
{
.el-menu-vertical-demo
[
class
^=
"el-icon-caret-"
]
{
color
:
#606266
;
color
:
#606266
;
}
}
</
style
>
</
style
>
\ No newline at end of file
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