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
6e52e28e
Commit
6e52e28e
authored
Jan 24, 2022
by
liuxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://114.115.138.98:8900/fukai/vue-gjjs
parents
2106598a
b9b451d0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
101 additions
and
102 deletions
+101
-102
Event.js
src/model/Infltd/Event.js
+50
-4
Pattern.js
src/model/Letopn/Pattern.js
+4
-4
Infsea.vue
src/views/Business/Infcpd/Infsea.vue
+28
-25
Infsea.vue
src/views/Business/Infltd/Infsea.vue
+0
-0
Ovwp.vue
src/views/Business/Infltd/Ovwp.vue
+2
-2
Ptyp.vue
src/views/Business/Infltd/Ptyp.vue
+0
-54
index.vue
src/views/Business/Infltd/index.vue
+8
-4
Detp.vue
src/views/Business/Letopn/Detp.vue
+1
-0
Sel.vue
src/views/Business/Letsel/Sel.vue
+3
-3
SelMune.vue
src/views/Business/Letsel/SelMune.vue
+5
-6
No files found.
src/model/Infltd/Event.js
View file @
6e52e28e
...
@@ -8,16 +8,24 @@ export default {
...
@@ -8,16 +8,24 @@ export default {
//TODO 处理数据逻辑
//TODO 处理数据逻辑
this
.
stmData
.
data
=
rtnmsg
.
data
.
infbut_dspstm
.
rows
;
this
.
stmData
.
data
=
rtnmsg
.
data
.
infbut_dspstm
.
rows
;
//console.log("smhstm:",rtnmsg);
//console.log("smhstm:",rtnmsg);
if
(
rtnmsg
.
data
.
infbut_dspstm
.
rows
.
length
==
0
)
{
this
.
$notify
({
title
:
'成功'
,
message
:
'搜索完毕,无满足条件记录'
,
type
:
'success'
});
}
}
}
else
{
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
},
},
async
onInfbutDsp
()
{
async
onInfbutDsp
(
row
)
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.dsp"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.dsp"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
//console.log(rtnmsg);
console
.
log
(
"rows:"
,
row
);
console
.
log
(
"你猜"
,
rtnmsg
);
}
}
else
{
else
{
...
@@ -28,6 +36,7 @@ export default {
...
@@ -28,6 +36,7 @@ export default {
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.userow"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.userow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
//console.log("use测试:",rtnmsg);
}
}
else
{
else
{
...
@@ -35,7 +44,24 @@ export default {
...
@@ -35,7 +44,24 @@ export default {
}
}
},
},
async
onInfbutClr
()
{
async
onInfbutClr
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.clr"
)
this
.
model
.
infcon
.
seaownref
=
""
;
this
.
model
.
infcon
.
searef
=
""
;
this
.
model
.
infcon
.
pty
.
extkey
=
""
;
this
.
model
.
infcon
.
seapty
=
""
;
this
.
model
.
infcon
.
opndatfrom
=
""
;
this
.
model
.
infcon
.
opndatto
=
""
;
this
.
model
.
infcon
.
seaamtfr
=
""
;
this
.
model
.
infcon
.
seaamtto
=
""
;
this
.
model
.
infcon
.
seasta
=
""
;
this
.
model
.
infcon
.
usr
.
extkey
=
""
;
this
.
model
.
infcon
.
nam
=
""
;
this
.
model
.
infcon
.
hndtyp
=
""
;
this
.
model
.
infcon
.
pty
.
nam
=
""
;
this
.
model
.
infcon
.
searol
=
""
;
this
.
model
.
infcon
.
seacur
=
""
;
this
.
stmData
.
data
=
""
;
//let rtnmsg = await this.executeRule("infbut.clr")
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
@@ -55,7 +81,27 @@ export default {
...
@@ -55,7 +81,27 @@ export default {
}
}
},
},
async
onInfbutExi
()
{
async
onInfbutExi
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.exi"
)
this
.
$confirm
(
"确认退出?"
,
""
,
{
confirmButtonText
:
"确认"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
((
res
)
=>
{
// this.$router.back();
this
.
$store
.
dispatch
(
"TagsView/delView"
,
this
.
$route
);
this
.
handleExit
&&
this
.
handleExit
();
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
routeParams
)
{
setTimeout
(()
=>
{
this
.
$router
.
back
();
},
500
);
}
else
{
setTimeout
(()
=>
{
this
.
$router
.
push
(
"/home"
);
},
500
);
}
})
.
catch
(()
=>
{});
//let rtnmsg = await this.executeRule("infbut.exi")
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
...
src/model/Letopn/Pattern.js
View file @
6e52e28e
...
@@ -76,11 +76,11 @@ export default {
...
@@ -76,11 +76,11 @@ export default {
],
],
"ledgrp.rec.nomtop"
:
[
"ledgrp.rec.nomtop"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
required
:
false
,
message
:
"必输项"
},
{
max
:
2
,
message
:
"长度不能超过2"
}
{
max
:
2
,
message
:
"长度不能超过2"
}
],
],
"ledgrp.rec.nomton"
:
[
"ledgrp.rec.nomton"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
required
:
false
,
message
:
"必输项"
},
{
max
:
2
,
message
:
"长度不能超过2"
}
{
max
:
2
,
message
:
"长度不能超过2"
}
],
],
"ledgrp.ben.adrelc"
:
[
"ledgrp.ben.adrelc"
:
[
...
@@ -103,7 +103,7 @@ export default {
...
@@ -103,7 +103,7 @@ export default {
{
max
:
16
,
message
:
"长度不能超过16"
}
{
max
:
16
,
message
:
"长度不能超过16"
}
],
],
"ledgrp.rec.opndat"
:
[
"ledgrp.rec.opndat"
:
[
{
required
:
fals
e
,
message
:
"输入正确的日期"
}
{
required
:
tru
e
,
message
:
"输入正确的日期"
}
],
],
"ledgrp.rec.preadvdt"
:
[
"ledgrp.rec.preadvdt"
:
[
{
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
...
@@ -137,7 +137,7 @@ export default {
...
@@ -137,7 +137,7 @@ export default {
{
max
:
140
,
message
:
"长度不能超过140"
}
{
max
:
140
,
message
:
"长度不能超过140"
}
],
],
"ledgrp.rec.expdat"
:
[
"ledgrp.rec.expdat"
:
[
{
required
:
fals
e
,
message
:
"输入正确的日期"
}
{
required
:
tru
e
,
message
:
"输入正确的日期"
}
],
],
"ledgrp.iss.adrelc"
:
[
"ledgrp.iss.adrelc"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
src/views/Business/Infcpd/Infsea.vue
View file @
6e52e28e
...
@@ -342,29 +342,32 @@ export default {
...
@@ -342,29 +342,32 @@ export default {
searchToggle
:
true
,
searchToggle
:
true
,
stmData
:
{
stmData
:
{
columns
:
[
columns
:
[
'1 1 "Reference" 120 '
,
'1 1 "Reference" 150 '
,
'2 1 "Resp. User" 1200 '
,
'2 2 "Resp. User" 100 '
,
'3 1 "PYE NO." 120 '
,
'12 3 "PYE NO." 100 '
,
'1 2 "Party Number" 150'
,
'9 4 "Payee.Party Number" 150'
,
'2 2 "Payee Customer" 150'
,
'10 5 "Payee Customer" 250'
,
'3 2 "PYE.Customer CN" 150'
,
'11 6 "PYE.Customer CN" 130'
,
'1 3 "Party Number" 150'
,
'13 7 "Ord.Party Number" 150'
,
'2 3 "Ord.Customer" 150'
,
'14 8 "Ord.Customer" 250'
,
'3 3 "Ord.Customer CN" 150'
,
'15 9 "Ord.Customer CN" 130'
,
'1 4 "Party Number" 150'
,
'16 10 "1.Party Number" 150'
,
'2 4 "Ord.Institution" 150'
,
'17 11 "Ord.Institution" 200'
,
'3 4 "ORC NO." 150'
,
'12 12 "ORC NO." 150'
,
'1 5 "Party Number" 150'
,
'18 13 "2.Party Number" 150'
,
'2 5 "Paying Bank" 150'
,
'19 14 "Paying Bank" 150'
,
'1 6 "Opened" 100'
,
//'3 15 "Opened" 140',
'2 6 "Value" 100'
,
{
index
:
3
,
position
:
15
,
width
:
140
,
pattern
:
'time'
,
label
:
'Opened'
},
'1 7 "Closed" 100'
,
//'4 16 "Value" 140',
'1 8 "Cur" 100'
,
{
index
:
4
,
position
:
16
,
width
:
140
,
pattern
:
'time'
,
label
:
'Value'
},
'2 8 "Cur" 100'
,
//'5 17 "Closed" 140',
'1 9 "Paym.Amount" 150'
,
{
index
:
5
,
position
:
17
,
width
:
140
,
pattern
:
'time'
,
label
:
'Closed'
},
'2 9 "Amount rcvd." 150'
,
'20 18 "1.Cur" 80'
,
'1 10 "Pyectycod" 150'
,
'22 19 "2.Cur" 80'
,
'1 11 "Orcctycod" 150'
,
'21 20 "Paym.Amount" 120'
,
'23 21 "Amount rcvd." 120'
,
'6 22 "Pyectycod" 100'
,
'7 23 "Orcctycod" 100'
,
],
],
data
:
[],
data
:
[],
},
},
...
@@ -372,7 +375,7 @@ export default {
...
@@ -372,7 +375,7 @@ export default {
},
},
methods
:
{
methods
:
{
...
Event
,
...
Event
,
handleSearch
(
callback
)
{
/*
handleSearch(callback) {
setTimeout(() => {
setTimeout(() => {
this.$notify.info({
this.$notify.info({
title: "提示",
title: "提示",
...
@@ -381,7 +384,7 @@ export default {
...
@@ -381,7 +384,7 @@ export default {
// 执行子组件回调函数控制按钮状态
// 执行子组件回调函数控制按钮状态
callback();
callback();
}, 1000);
}, 1000);
},
},
*/
handleReset
()
{},
handleReset
()
{},
},
},
created
:
function
()
{},
created
:
function
()
{},
...
...
src/views/Business/Infltd/Infsea.vue
View file @
6e52e28e
This diff is collapsed.
Click to expand it.
src/views/Business/Infltd/Ovwp.vue
View file @
6e52e28e
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
></c-input>
></c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<
!--
<
c-col
:span=
"24"
>
<el-form-item
<el-form-item
label=
"Drag Drop Sender"
label=
"Drag Drop Sender"
prop=
"recpan.be1p.ptsget.sdamod.dadsnd"
prop=
"recpan.be1p.ptsget.sdamod.dadsnd"
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
placeholder=
"请输入Drag Drop Sender"
placeholder=
"请输入Drag Drop Sender"
></c-input>
></c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
-->
<c-col
:span=
"12"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Nominal Amount"
prop=
"ltdgrp.cbs.nom1.cur"
>
<el-form-item
label=
"Nominal Amount"
prop=
"ltdgrp.cbs.nom1.cur"
>
<c-select
<c-select
...
...
src/views/Business/Infltd/Ptyp.vue
View file @
6e52e28e
...
@@ -155,48 +155,6 @@
...
@@ -155,48 +155,6 @@
</c-row>
</c-row>
<c-col
:span=
"12"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Drag Drop Sender"
prop=
"recpan.a2tp.ptsget.sdamod.dadsnd"
>
<c-input
v-model=
"model.recpan.a2tp.ptsget.sdamod.dadsnd"
placeholder=
"请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Drag Drop Sender"
prop=
"recpan.rmtp.ptsget.sdamod.dadsnd"
>
<c-input
v-model=
"model.recpan.rmtp.ptsget.sdamod.dadsnd"
placeholder=
"请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"recpan.a2tp.ptsget.sdamod.seainf"
>
<c-input
v-model=
"model.recpan.a2tp.ptsget.sdamod.seainf"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"recpan.rmtp.ptsget.sdamod.seainf"
>
<c-input
v-model=
"model.recpan.rmtp.ptsget.sdamod.seainf"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"名称"
prop=
"ltdgrp.a2t.namelc"
>
<el-form-item
label=
"名称"
prop=
"ltdgrp.a2t.namelc"
>
<c-input
<c-input
type=
"textarea"
type=
"textarea"
...
@@ -269,18 +227,6 @@
...
@@ -269,18 +227,6 @@
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Drag Drop Sender"
prop=
"recpan.conp.ptsget.sdamod.dadsnd"
>
<c-input
v-model=
"model.recpan.conp.ptsget.sdamod.dadsnd"
placeholder=
"请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"recpan.conp.ptsget.sdamod.seainf"
>
<el-form-item
label=
""
prop=
"recpan.conp.ptsget.sdamod.seainf"
>
<c-input
<c-input
v-model=
"model.recpan.conp.ptsget.sdamod.seainf"
v-model=
"model.recpan.conp.ptsget.sdamod.seainf"
...
...
src/views/Business/Infltd/index.vue
View file @
6e52e28e
...
@@ -12,7 +12,9 @@
...
@@ -12,7 +12,9 @@
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000006 -->
<!--PD000006 -->
<el-tab-pane
label=
"Selection"
name=
"infsea"
>
<el-tab-pane
label=
"Selection"
name=
"infsea"
>
<m-infsea
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-infsea
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
<!--PD000001 -->
<!--PD000001 -->
...
@@ -27,7 +29,9 @@
...
@@ -27,7 +29,9 @@
<!--PD000042 -->
<!--PD000042 -->
<el-tab-pane
label=
"Parties"
name=
"ptyp"
>
<el-tab-pane
label=
"Parties"
name=
"ptyp"
>
<m-ptyp
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-ptyp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
<!--PD000169 -->
<!--PD000169 -->
...
@@ -146,7 +150,7 @@ export default {
...
@@ -146,7 +150,7 @@ export default {
pattern
:
Pattern
,
pattern
:
Pattern
,
rules
:
null
,
rules
:
null
,
codes
:
{
...
CodeTable
},
codes
:
{
...
CodeTable
},
}
}
;
},
},
methods
:
{
methods
:
{
tabClick
()
{},
tabClick
()
{},
...
@@ -155,7 +159,7 @@ export default {
...
@@ -155,7 +159,7 @@ export default {
console
.
log
(
"进入infltd交易"
);
console
.
log
(
"进入infltd交易"
);
let
rtnmsg
=
await
this
.
init
({});
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
console
.
log
(
"ini方法:"
)
console
.
log
(
"ini方法:"
)
;
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
else
{
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
...
...
src/views/Business/Letopn/Detp.vue
View file @
6e52e28e
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
v-model=
"model.ledgrp.rec.avbwth"
v-model=
"model.ledgrp.rec.avbwth"
style=
"width: 100%"
style=
"width: 100%"
placeholder=
"请选择指定银行"
placeholder=
"请选择指定银行"
:code=
"codes.avbwth"
>
>
</c-select>
</c-select>
</el-form-item>
</el-form-item>
...
...
src/views/Business/Letsel/Sel.vue
View file @
6e52e28e
...
@@ -255,13 +255,13 @@ export default {
...
@@ -255,13 +255,13 @@ export default {
{
{
title
:
"Pre-Advising/Notifying"
,
title
:
"Pre-Advising/Notifying"
,
url
:
"/business/letrsv"
,
url
:
"/business/letrsv"
,
disabled
:
false
,
disabled
:
this
.
model
.
ledgrp
.
rec
.
ownref
?
true
:
false
,
},
},
{
{
title
:
"Advising/Confirming"
,
title
:
"Advising/Confirming"
,
url
:
"/business/letopn"
,
url
:
"/business/letopn"
,
hotsubx
:
"6"
,
hotsubx
:
"6"
,
disabled
:
false
,
disabled
:
this
.
model
.
ledgrp
.
rec
.
ownref
?
true
:
false
,
},
},
{
title
:
"Reservation"
,
url
:
"#"
,
disabled
:
false
},
{
title
:
"Reservation"
,
url
:
"#"
,
disabled
:
false
},
{
title
:
"Resevation & Receving Docs"
,
url
:
"#"
,
disabled
:
false
},
{
title
:
"Resevation & Receving Docs"
,
url
:
"#"
,
disabled
:
false
},
...
@@ -270,7 +270,7 @@ export default {
...
@@ -270,7 +270,7 @@ export default {
title
:
"Amending Issuing Bank"
,
title
:
"Amending Issuing Bank"
,
url
:
"/business/letame"
,
url
:
"/business/letame"
,
hotsubx
:
"6"
,
hotsubx
:
"6"
,
disabled
:
fals
e
,
disabled
:
this
.
model
.
ledgrp
.
rec
.
ownref
?
false
:
tru
e
,
},
},
{
{
title
:
"Changing Issuing Bank"
,
title
:
"Changing Issuing Bank"
,
...
...
src/views/Business/Letsel/SelMune.vue
View file @
6e52e28e
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
<el-table-column
prop=
"title"
align=
"center"
>
<el-table-column
prop=
"title"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<c-button
<c-button
class=
"c_button_style"
@
click
.
native=
"onNarBtnClick(scope.row.url, scope.row.hotsubx)"
@
click
.
native=
"onNarBtnClick(scope.row.url, scope.row.hotsubx)"
:title=
"scope.row.title"
:title=
"scope.row.title"
:disabled=
"scope.row.disabled"
:disabled=
"scope.row.disabled"
...
@@ -52,11 +53,8 @@ export default {
...
@@ -52,11 +53,8 @@ export default {
</
script
>
</
script
>
<
style
>
<
style
>
a
{
.c_button_style
{
text-decoration-line
:
none
;
border
:
0px
;
color
:
#606266
;
border-radius
:
5px
;
}
a
:hover
{
color
:
blue
;
}
}
</
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