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
dc253f93
Commit
dc253f93
authored
Jan 12, 2022
by
wangguangchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
信用证单据查询详情优化
parent
e487bf2b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
96 additions
and
47 deletions
+96
-47
index.vue
src/views/Business/Ditdck/index.vue
+31
-36
Infsea.vue
src/views/Business/Infbdd/Infsea.vue
+57
-0
Infsea.vue
src/views/Business/Infdid/Infsea.vue
+8
-11
No files found.
src/views/Business/Ditdck/index.vue
View file @
dc253f93
...
@@ -17,12 +17,15 @@
...
@@ -17,12 +17,15 @@
size=
"small"
size=
"small"
:validate-on-rule-change=
"false"
:validate-on-rule-change=
"false"
>
>
<c-tabs
:value=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<c-tabs
:value=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000047 -->
<!--PD000047 -->
<el-tab-pane
label=
"单据概况"
name=
"litdckp"
>
<el-tab-pane
label=
"单据概况"
name=
"litdckp"
>
<c-content>
<c-content>
<m-litdckp
:model=
"model"
:codes=
"codes"
v-on:changeShowDocpre=
"changeShowDocpre"
/>
<m-litdckp
:model=
"model"
:codes=
"codes"
v-on:changeShowDocpre=
"changeShowDocpre"
/>
</c-content>
</c-content>
</el-tab-pane>
</el-tab-pane>
...
@@ -36,7 +39,6 @@
...
@@ -36,7 +39,6 @@
<m-docpre
:model=
"model"
:codes=
"codes"
/>
<m-docpre
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
<!--PD000079 -->
<!--PD000079 -->
<!--
<el-tab-pane
label=
"Shipping Detail"
name=
"shpdet"
>
<!--
<el-tab-pane
label=
"Shipping Detail"
name=
"shpdet"
>
<m-shpdet
:model=
"model"
:codes=
"codes"
/>
<m-shpdet
:model=
"model"
:codes=
"codes"
/>
...
@@ -71,7 +73,11 @@
...
@@ -71,7 +73,11 @@
</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
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
>
</c-grid-ety-prompt-dialog>
</c-grid-ety-prompt-dialog>
</div>
</div>
</c-page>
</c-page>
...
@@ -123,57 +129,46 @@ export default {
...
@@ -123,57 +129,46 @@ export default {
mixins
:
[
CommonProcess
,
CommonFuncs
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
CommonProcess
,
CommonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
data
()
{
return
{
return
{
isShowDocpre
:
false
,
isShowDocpre
:
false
,
tabVal
:
"litdckp"
,
tabVal
:
"litdckp"
,
trnName
:
"ditdck"
,
trnName
:
"ditdck"
,
model
:
new
Ditdck
().
data
,
model
:
new
Ditdck
().
data
,
//
checkRules: Check,
checkRules
:
Check
,
defaultRules
:
Default
,
defaultRules
:
Default
,
pattern
:
Pattern
,
pattern
:
Pattern
,
rules
:
null
,
rules
:
null
,
codes
:
{
...
CodeTable
,
codes
:
{
...
CodeTable
,
invtypCodes
:
[{
label
:
"type1"
,
value
:
"1"
}]
},
invtypCodes
:[
{
label
:
"type1"
,
value
:
"1"
}
],
},
};
};
},
},
methods
:
{
methods
:
{
changeShowDocpre
(
val
)
{
this
.
isShowDocpre
=
val
;
},
},
},
created
:
async
function
()
{
created
:
async
function
()
{
console
.
log
(
"进入ditdck交易"
);
console
.
log
(
"进入ditdck交易"
);
let
rtnmsg
=
await
this
.
init
(
this
.
$route
.
query
)
let
rtnmsg
=
await
this
.
init
(
this
.
$route
.
query
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
console
.
log
(
rtnmsg
)
console
.
log
(
rtnmsg
);
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
)
debugger
;
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
console
.
log
(
this
.
model
);
console
.
log
(
this
.
model
);
if
(
this
.
isInDisplay
)
{
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
()
this
.
restoreDisplay
();
}
}
}
if
(
this
.
model
.
bddgrp
.
rec
.
dscinsflg
==
"X"
){
};
if
(
this
.
model
.
bddgrp
.
rec
.
dscinsflg
==
"X"
)
{
this
.
isShowDocpre
=
true
;
this
.
isShowDocpre
=
true
;
}
}
else
{
else
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
// console.log("进入ditdck交易");
// let rtnmsg = await this.init({});
// if (rtnmsg.respCode == SUCCESS) {
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// } else {
// this.$notify.error({ title: "错误", message: "服务请求失败!" });
// }
},
},
methods
:
{
changeShowDocpre
(
val
)
{
this
.
isShowDocpre
=
val
}
}
};
};
</
script
>
</
script
>
<
style
>
<
style
>
...
...
src/views/Business/Infbdd/Infsea.vue
View file @
dc253f93
...
@@ -240,12 +240,44 @@
...
@@ -240,12 +240,44 @@
</
template
>
</
template
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<!--
<c-button
style=
"margin-left: 0"
size=
"small"
>
详情
</c-button>
-->
<el-popover
placement=
"top-start"
title=
"历史信息"
width=
"800"
trigger=
"click"
>
<c-istream-table
:list=
"trnData.data"
:columns=
"trnData.columns"
>
<el-table-column
prop=
"op"
label=
"操作"
width=
"0"
>
<template
slot-scope=
"scope"
>
<c-button
<c-button
style=
"margin-left: 0"
style=
"margin-left: 0"
size=
"small"
size=
"small"
type=
"primary"
@
click=
"display(scope.$index, scope.row)"
>
查看详情
</c-button>
</
template
>
</el-table-column>
</c-istream-table>
<c-button
style=
"margin-left: 0"
size=
"small"
@
click=
"getTrnInfo(scope.$index, scope.row)"
slot=
"reference"
>
>
详情
详情
</c-button>
</c-button>
</el-popover>
<c-button
<c-button
style=
"margin-left: 0"
style=
"margin-left: 0"
size=
"small"
size=
"small"
...
@@ -293,6 +325,17 @@ export default {
...
@@ -293,6 +325,17 @@ export default {
return
{
return
{
ownref
:
""
,
ownref
:
""
,
initdialog
:
false
,
initdialog
:
false
,
trnData
:
{
columns
:
[
'1 1 "编号" 200'
,
'2 2 "交易名称" 100'
,
'3 3 "日期" 200'
,
'4 4 "状态" 50'
,
'5 5 "币种" 80'
,
'6 6 "金额" 80'
,
],
data
:
[],
},
stmData
:
{
stmData
:
{
columns
:
[
columns
:
[
'1 1 "Reference" 140 '
,
'1 1 "Reference" 140 '
,
...
@@ -333,8 +376,22 @@ export default {
...
@@ -333,8 +376,22 @@ export default {
//跳转交易
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
initdialog
=
false
this
.
initdialog
=
false
},
async
getTrnInfo
(
idx
,
row
)
{
debugger
;
this
.
model
.
infcon
.
objinr
=
row
[
"INR"
];
this
.
model
.
didgrp
.
rec
.
inr
=
row
[
"INR"
];
this
.
model
.
infcon
.
chksubcon
=
"X"
;
this
.
dialogTableVisible
=
true
;
let
rtnmsg
=
await
this
.
executeDefault
(
"infcon.chksubcon"
);
if
((
rtnmsg
.
respCode
=
SUCCESS
))
{
this
.
trnData
.
data
=
rtnmsg
.
data
.
infcon_trnstm
.
rows
;
}
}
},
},
},
created
:
function
()
{},
created
:
function
()
{},
};
};
</
script
>
</
script
>
...
...
src/views/Business/Infdid/Infsea.vue
View file @
dc253f93
...
@@ -322,15 +322,14 @@
...
@@ -322,15 +322,14 @@
:list=
"trnData.data"
:list=
"trnData.data"
:columns=
"trnData.columns"
:columns=
"trnData.columns"
>
>
<el-table-column
prop=
"op"
label=
"操作"
width=
"
11
0"
>
<el-table-column
prop=
"op"
label=
"操作"
width=
"0"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<c-button
<c-button
style=
"margin-left: 0"
style=
"margin-left: 0"
size=
"small"
size=
"small"
type=
"primary"
@
click=
"display(scope.$index, scope.row)"
@
click=
"display(scope.$index, scope.row)"
>
>
查看
详情
详情
</c-button>
</c-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -591,14 +590,12 @@ export default {
...
@@ -591,14 +590,12 @@ export default {
dialogTableVisible
:
false
,
dialogTableVisible
:
false
,
trnData
:
{
trnData
:
{
columns
:
[
columns
:
[
'1 1 "编号" 0'
,
'1 1 "编号" 200'
,
'2 2 "交易名称" 0'
,
'2 2 "交易名称" 100'
,
'3 3 "日期" 0'
,
'3 3 "日期" 200'
,
'4 4 "状态" 0'
,
'4 4 "状态" 50'
,
'5 5 "币种" 0'
,
'5 5 "币种" 80'
,
'6 6 "金额" 0'
,
'6 6 "金额" 80'
,
'7 7 "Relres" 0'
,
'0 8 "Inr" 0'
,
],
],
data
:
[],
data
:
[],
},
},
...
...
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