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
bcf0b96f
Commit
bcf0b96f
authored
Aug 01, 2022
by
zhujiazhan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码提交
parent
f2fa50bc
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
85 additions
and
45 deletions
+85
-45
IStreamTable.vue
src/components/IStreamTable.vue
+13
-3
Event.js
src/model/Infbrd/Event.js
+18
-2
Utlp.vue
src/views/Business/Brtlat/Utlp.vue
+1
-1
index.vue
src/views/Business/Brtlat/index.vue
+9
-0
Infsea.vue
src/views/Business/Infbrd/Infsea.vue
+39
-36
index.vue
src/views/Business/Infbrd/index.vue
+4
-3
Setpan.vue
src/views/Public/Setpan.vue
+1
-0
No files found.
src/components/IStreamTable.vue
View file @
bcf0b96f
...
...
@@ -99,7 +99,10 @@
</div>
</template>
<
script
>
import
CodeTable
from
"~/config/CodeTable"
;
export
default
{
props
:
{
columns
:
{
...
...
@@ -176,7 +179,11 @@ export default {
pageSize
:
10
,
selectAll
:
true
,
columnGroup
:
[],
setColumnFlg
:
false
setColumnFlg
:
false
,
codes
:{
...
CodeTable
}
};
},
mounted
()
{
...
...
@@ -193,7 +200,7 @@ export default {
if
(
typeof
line
===
"object"
){
//如果是对象,支持自定义处理
//{width,position,index,label,pattern,render}
let
{
width
,
position
,
index
,
label
,
pattern
,
render
,...
rest
}
=
line
let
{
width
,
position
,
index
,
label
,
pattern
,
render
,
code
,
...
rest
}
=
line
position
+=
''
if
(
!
obj
[
position
])
{
obj
[
position
]
=
[];
...
...
@@ -205,6 +212,7 @@ export default {
width
:
width
===
'auto'
?
width
:
width
+
'px'
,
pattern
,
render
,
code
,
...
rest
})
continue
...
...
@@ -321,12 +329,14 @@ export default {
},
//code映射
code
(
item
,
scope
){
console
.
log
(
this
.
codes
);
let
value
=
scope
.
row
[
item
.
prop
]
let
code
=
item
.
code
if
(
!
value
||
!
code
){
return
""
}
let
em
=
code
.
find
(
item
=>
item
.
value
.
trim
()
==
value
.
trim
())
let
args
=
this
.
codes
[
code
];
let
em
=
args
.
find
(
item
=>
item
.
value
.
trim
()
==
value
.
trim
())
if
(
!
em
){
return
value
}
...
...
src/model/Infbrd/Event.js
View file @
bcf0b96f
...
...
@@ -27,8 +27,24 @@ export default {
}
},
async
handleReset
()
{
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
.
model
.
infcon
.
seasta
=
""
;
this
.
stmData
.
data
=
""
;
},
async
onInfbutSearow
(){
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.searow"
)
...
...
src/views/Business/Brtlat/Utlp.vue
View file @
bcf0b96f
...
...
@@ -84,7 +84,7 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"单据状态"
prop=
"brdgrp.rec.docsta"
>
<c-select
v-model=
"model.brdgrp.rec.docsta"
style=
"width:100%"
placeholder=
"请选择单据状态"
:code=
"codes.docsta"
disabled
>
<c-select
v-model=
"model.brdgrp.rec.docsta"
style=
"width:100%"
placeholder=
"请选择单据状态"
:code=
"codes.docsta
1
"
disabled
>
</c-select>
</el-form-item>
</c-col>
...
...
src/views/Business/Brtlat/index.vue
View file @
bcf0b96f
...
...
@@ -200,6 +200,15 @@ export default {
/**
* do it yourself
**/
},
// 第二个表格
detail1
(
index
,
row
)
{
this
.
executeDefault
(
"setfel/det"
).
then
(
res
=>
{
this
.
dialogVisible
=
true
;
this
.
dialog
=
row
;
this
.
index
=
index
;
})
}
},
created
:
async
function
(){
...
...
src/views/Business/Infbrd/Infsea.vue
View file @
bcf0b96f
...
...
@@ -120,11 +120,12 @@
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Status"
prop=
"infcon.seasta"
>
<el-form-item
label=
"
Document
Status"
prop=
"infcon.seasta"
>
<c-select
v-model=
"model.infcon.seasta"
style=
"width: 100%"
placeholder=
"请选择Status"
:code=
"codes.seasta"
>
</c-select>
</el-form-item>
...
...
@@ -176,7 +177,7 @@
v-model=
"model.seadocflg"
style=
"width: 100%"
placeholder=
"请选择Document Type"
>
:code=
"codes.docflg"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -187,6 +188,7 @@
v-model=
"model.seagodcod"
style=
"width: 100%"
placeholder=
"请选择Goods Code"
:code=
"codes.godcod"
>
</c-select>
</el-form-item>
...
...
@@ -228,10 +230,8 @@
</c-col> -->
<c-col
:span=
"24"
>
<c-istream-table
:list=
"model.infbut.dspstm ? model.infbut.dspstm.rows : []"
:columns=
"columns"
>
<c-istream-table
:list=
"stmData.data"
:columns=
"columns"
>
<el-table-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"150px"
>
<
template
slot-scope=
"scope"
>
<el-popover
...
...
@@ -288,8 +288,7 @@
</el-table-column>
</c-istream-table>
</c-col>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
trnCode=
"litsel"
:model=
"litselModel"
ownrefPath=
"brdgrp"
tabIndex=
3
@
onChoose=
"onChoose"
>
11
</m-busbtn>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
trnCode=
"litsel"
:model=
"litselModel"
ownrefPath=
"brdgrp"
tabIndex=
3
@
onChoose=
"onChoose"
>
11
</m-busbtn>
</div>
</template>
...
...
@@ -298,8 +297,9 @@ import Api from "~/service/Api";
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Infbrd/Event"
;
import
BusNavbar
from
"~/views/Public/BusNavbar"
;
import
LitselModel
from
"~/model/Litsel"
import
BusNavbar
from
"~/views/Public/BusNavbar"
;
export
default
{
inject
:
[
"root"
],
...
...
@@ -309,6 +309,7 @@ export default {
data
()
{
return
{
litselModel
:
new
LitselModel
().
data
,
initdialog
:
false
,
ownref
:
""
,
trnData
:
{
columns
:
[
...
...
@@ -333,43 +334,45 @@ export default {
columns
:
[
'1 1 "Reference" 140'
,
'2 2 "Resp. User" 100'
,
'3 3 "Goods Code" 100 1 0 1 GODCOD'
,
// '4 4 "Opened" 500 4 7',
// '5 5 "Closed" 500 4 7',
{
index
:
4
,
position
:
4
,
width
:
100
,
pattern
:
"date"
,
label
:
"Opened"
},
{
index
:
5
,
position
:
5
,
width
:
100
,
pattern
:
"date"
,
label
:
"Closed"
},
'6 6 "PTA NO." 100'
,
'7 7 "Party Number" 133'
,
'8 8 "Applicant" 160'
,
'9 9 "Applicant CN" 133'
,
'10 10 "Party Number" 133'
,
'11 11 "Beneficiary" 150'
,
'12 12 "Party Number" 140'
,
'13 13 "Presenting Bank" 220'
,
//'3 3 "Goods Code" 100 1 0 1 GODCOD',
{
index
:
3
,
position
:
3
,
width
:
100
,
pattern
:
"code"
,
label
:
"Goods Code"
,
"code"
:
"godcod"
},
'7 4 "Party Number1" 133'
,
'8 5 "Applicant" 160'
,
'9 6 "Applicant CN" 133'
,
'10 7 "Party Number2" 133'
,
'11 8 "Beneficiary" 150'
,
'6 9 "PTA NO." 100'
,
'12 10 "Party Number3" 140'
,
'13 11 "Presenting Bank" 220'
,
{
index
:
4
,
position
:
12
,
width
:
100
,
pattern
:
"date"
,
label
:
"Opened"
},
{
index
:
5
,
position
:
13
,
width
:
100
,
pattern
:
"date"
,
label
:
"Closed"
},
'14 14 "Doc.Amount Cur" 120'
,
'15 15 "Doc.Amount" 120 2 8 1 14'
,
'16 16 "Open Amount Cur" 130'
,
'17 17 "Open Amount" 120 2 8 1 16'
,
],
stmData
:
{
data
:
[],
},
};
},
methods
:
{
...
Event
,
async
getButtons
(
ownref
){
this
.
ownref
=
ownref
this
.
$refs
.
childs
.
initdialog
=
true
console
.
log
(
"ownref:"
+
ownref
);
},
async
onChoose
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
}
,
async
getDitSelInfo
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
},
this
.
ownref
=
ownref
this
.
$refs
.
childs
.
initdialog
=
true
console
.
log
(
"ownref:"
+
ownref
);
},
async
onChoose
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
}
,
async
getDitSelInfo
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
},
async
getTrnInfo
(
idx
,
row
)
{
this
.
model
.
infcon
.
objinr
=
row
[
"INR"
];
this
.
model
.
brdgrp
.
rec
.
inr
=
row
[
"INR"
];
...
...
src/views/Business/Infbrd/index.vue
View file @
bcf0b96f
...
...
@@ -153,9 +153,10 @@ export default {
rules
:
null
,
codes
:
{
codeSet
:
{
"infcon.seacur"
:
[],
"infcon.searol"
:
[]
}
"infcon.seacur"
:
[],
"infcon.searol"
:
[],
},
...
CodeTable
},
}
},
...
...
src/views/Public/Setpan.vue
View file @
bcf0b96f
...
...
@@ -955,6 +955,7 @@ export default {
}
},
},
ogiamt
:{},
};
},
methods
:
{
...
...
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