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
cb21f144
Commit
cb21f144
authored
Jun 13, 2023
by
wanggang_yf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
betrcl 修改页面
parent
1bf22d71
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
245 additions
and
231 deletions
+245
-231
buildCommons.js
src/business/betrcl/event/buildCommons.js
+6
-6
index.js
src/business/betrcl/model/index.js
+103
-57
Ovwp.vue
src/business/betrcl/views/Ovwp.vue
+46
-48
Rclp.vue
src/business/betrcl/views/Rclp.vue
+0
-0
index.vue
src/business/betrcl/views/index.vue
+90
-120
No files found.
src/business/betrcl/event/buildCommons.js
View file @
cb21f144
...
...
@@ -113,9 +113,9 @@ export default {
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'
GID
'
,
objinr
:
model
.
gi
dgrp
.
rec
.
objinr
,
ownref
:
model
.
gi
dgrp
.
rec
.
ownref
,
objtyp
:
'
bed
'
,
objinr
:
model
.
be
dgrp
.
rec
.
objinr
,
ownref
:
model
.
be
dgrp
.
rec
.
ownref
,
},
};
return
params
...
...
@@ -124,9 +124,9 @@ export default {
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'
li
d'
,
objinr
:
model
.
b
r
dgrp
.
rec
.
objinr
,
ownref
:
model
.
b
r
dgrp
.
rec
.
ownref
,
objtyp
:
'
be
d'
,
objinr
:
model
.
b
e
dgrp
.
rec
.
objinr
,
ownref
:
model
.
b
e
dgrp
.
rec
.
ownref
,
swiftflg
:
model
.
brtp
.
swiftflg
,
},
};
...
...
src/business/betrcl/model/index.js
View file @
cb21f144
...
...
@@ -3,78 +3,124 @@ import Pub from '~/components/business/commonModel/index.js';
export
default
class
Betrcl
{
constructor
()
{
this
.
data
=
{
brdgrp
:
{
adv
:
{
pts
:
new
Pts
().
data
,
},
prb
:
{
adrelc
:
''
,
dbfadrblkcn
:
''
,
namelc
:
''
,
pts
:
new
Pts
().
data
,
},
acb
:
{
adrelc
:
''
,
dbfadrblkcn
:
''
,
namelc
:
''
,
pts
:
new
Pts
().
data
,
},
apl
:
{
adrelc
:
''
,
dbfadrblkcn
:
''
,
namelc
:
''
,
pts
:
new
Pts
().
data
,
},
ben
:
{
adrelc
:
''
,
dbfadrblkcn
:
''
,
namelc
:
''
,
pts
:
new
Pts
().
data
,
},
blk
:
{
chaded
:
''
,
docdisflg
:
''
,
chaadd
:
''
,
docdis
:
''
,
},
rec
:
{
inr
:
''
,
branchinr
:
''
,
totcur
:
''
,
ownref
:
''
,
disdat
:
''
,
totamt
:
''
,
nam
:
''
,
docprbrol
:
''
},
cbs
:
{
opn1
:
{
cur
:
''
},
opn2
:
{
cur
:
''
},
max
:
{
cur
:
''
,
amt
:
''
},
max2
:
{
amt
:
''
}
},
matp
:
{
mattxtlab
:
''
}
},
betp
:
{
adaflg
:
''
},
ledgrp
:
{
},
ledgrp
:
{
rec
:
{
ownref
:
''
ownref
:
''
},
cbs
:
{
opn1
:
{
cur
:
''
,
amt
:
''
}
opn1
:
{
cur
:
''
,
amt
:
''
}
}
},
aamset
:
{
},
aamset
:
{
utlamt
:
''
,
utlamt2
:
''
},
mtabut
:
{
coninf
:
{
usr
:
{
extkey
:
''
}
}
},
rmbclm
:
{
},
rmbclm
:
{
valdat
:
''
,
clmrmbflg
:
''
,
rmbrol
:
''
},
liaall
:
{
tenstm
:
{
rows
:
||=
''
},
tensetstm
:
''
},
bedgrp
:
{
},
bedgrp
:
{
rec
:
{
predat
:
''
,
rcvdat
:
''
,
doctypcod
:
''
,
docsta
:
''
,
ownref
:
''
,
lescom
:
''
,
matdat
:
''
,
nam
:
''
objinr
:
''
,
predat
:
''
,
rcvdat
:
''
,
doctypcod
:
''
,
docsta
:
''
,
ownref
:
''
,
lescom
:
''
,
matdat
:
''
,
nam
:
''
},
cbs
:
{
opn1
:
{
cur
:
''
},
opn2
:
{
cur
:
''
},
max
:
{
cur
:
''
,
amt
:
''
}
}
},
trnmod
:
{
trndoc
:
{
nar754
:
''
opn1
:
{
cur
:
''
},
opn2
:
{
cur
:
''
},
max
:
{
cur
:
''
,
amt
:
''
}
}
},
payinstxt
:
''
,
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
liaall
:
new
Pub
().
data
.
Liaall
,
liaccv
:
new
Pub
().
data
.
Liaccv
,
docpan
:
new
Pub
().
data
.
Docpan
,
},
payinstxt
:
''
,
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
liaall
:
new
Pub
().
data
.
Liaall
,
liaccv
:
new
Pub
().
data
.
Liaccv
,
docpan
:
new
Pub
().
data
.
Docpan
,
};
}
}
src/business/betrcl/views/Ovwp.vue
View file @
cb21f144
<
template
>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
@
change=
"handleChange
"
>
<el-collapse-item
title=
"索汇信息"
name=
"rclp"
>
<c-content>
<m-rclp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-collapse-item>
<el-collapse-item
title=
"索汇详情"
name=
"remp"
v-if=
"model.rmbclm.clmrmbflg != ''"
>
<c-content>
<m-remp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-collapse-item>
<!--
<el-tab-pane
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames
"
>
<el-collapse-item
title=
"索汇信息"
name=
"rclp"
>
<c-content>
<m-rclp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-collapse-item>
<el-collapse-item
title=
"索汇详情"
name=
"remp"
v-if=
"model.rmbclm.clmrmbflg != ''"
>
<c-content>
<m-remp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-collapse-item>
<!--
<el-tab-pane
v-if=
"model.rmbclm.clmrmbflg"
label=
"索汇详情"
name=
"remp"
>
...
...
@@ -21,38 +21,36 @@
</el-tab-pane>
-->
</el-collapse>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Gitcrj/Event"
;
import
Rclp
from
"./Rclp"
import
Remp
from
"./Remp"
</el-collapse>
</div>
</
template
>
<
script
>
export
default
{
components
:{
"m-rclp"
:
Rclp
,
"m-remp"
:
Remp
,
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
activeNames
:
[
"rclp"
],
};
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
import
Rclp
from
"./Rclp"
import
Remp
from
"./Remp"
import
event
from
"../event"
;
export
default
{
components
:
{
"m-rclp"
:
Rclp
,
"m-remp"
:
Remp
,
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
event
],
data
()
{
return
{
activeNames
:
[
"rclp"
],
};
},
methods
:
{},
created
:
function
()
{
},
};
</
script
>
<
style
></
style
>
src/business/betrcl/views/Rclp.vue
View file @
cb21f144
This diff is collapsed.
Click to expand it.
src/business/betrcl/views/index.vue
View file @
cb21f144
...
...
@@ -2,8 +2,8 @@
<div
class=
"eContainer"
>
<c-page
title=
"出口信用证单据承兑"
>
<!--
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
-->
<!--
<el-button
size=
"small"
>
流程附言
</el-button>
<!--
<el-button
size=
"small"
>
流程附言
</el-button>
<el-button
size=
"small"
>
交易历史
</el-button>
<el-button
size=
"small"
>
备忘录
</el-button>
<el-button
size=
"small"
>
影像信息
</el-button>
...
...
@@ -14,25 +14,18 @@
<el-button
size=
"small"
>
智能提示
</el-button>
</c-function-btn>
-->
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000033 -->
<el-tab-pane
label=
"业务信息"
name=
"ovwp"
>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000033 -->
<el-tab-pane
label=
"业务信息"
name=
"ovwp"
>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<c-content>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</c-content>
...
...
@@ -40,146 +33,123 @@
<!--PD000027 -->
<el-tab-pane
label=
"表外记账"
name=
"engp"
>
<c-content>
<!-- 表外记账 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"费用/账务"
name=
"setmod"
>
<c-content>
<m-setmod
:model=
"model"
:codes=
"codes"
@
changeSetmodModel=
"changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"会计分录"
name=
"glepan"
>
<c-content>
<m-glentry
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"备查/附言"
name=
"coninfp"
>
<c-content>
<!-- 表外记账 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"费用/账务"
name=
"setmod"
>
<c-content>
<m-setmod
:model=
"model"
:codes=
"codes"
@
changeSetmodModel=
"changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"会计分录"
name=
"glepan"
>
<c-content>
<m-glentry
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--
<el-tab-pane
label=
"备查/附言"
name=
"addbcb"
>
<c-content>
<m-
coninfp
:model=
"model"
:codes=
"codes"
/>
<m-
addbcb
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000529 -->
<el-tab-pane
label=
"报文/面函"
name=
"docpan"
>
<!--PD000529 -->
<el-tab-pane
label=
"报文/面函"
name=
"docpan"
>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane
label=
"附件信息"
name=
"doctre"
>
<el-tab-pane
label=
"附件信息"
name=
"doctre"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref=
"doxpDialog"
:isPty=
"false"
:promptData=
"promptData"
@
select-ety=
"selectMsg"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
</c-function-btn>
</c-page>
</c-page>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
event
from
'../event'
;
import
operationFunc
from
"~/mixin/operationFunc"
;
import
CodeTable
from
"~/config/CodeTable"
import
formRules
from
'../model/check'
import
Betrcl
from
"~/model/Betrcl"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Betrcl/Check"
;
import
Default
from
"~/model/Betrcl/Default"
;
import
Pattern
from
"~/model/Betrcl/Pattern"
;
import
Ovwp
from
"./Ovwp"
;
import
Remp
from
"./Remp"
;
import
Engp
from
"~/views/Public/Engp"
;
import
Doctre
from
"~/views/Public/Doctre"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
import
Docpan
from
"~/views/Public/Docpan"
;
import
Limitbody
from
"~/views/Public/Limitbody"
;
// import Addbcb from "./Addbcb"
import
Engp
from
"~/components/business/engp/views"
;
// import Ccvpan from "~/components/business/ccvpan/views";
import
Setmod
from
"~/components/business/setmod/views"
;
import
Glentry
from
"~/components/business/glentry/views"
;
import
Docpan
from
"~/components/business/docpan/views"
;
import
Doctre
from
"~/components/business/doctre/views"
;
import
Limitbody
from
"~/components/business/limitbody/views"
;
import
Glepan
from
"~/components/business/glentry/views"
;
// import Addbcb from "~/components/business/addbcb/views";
// import Coninfp from "~/components/business/coninfp/views";
export
default
{
name
:
"Betrcl"
,
components
:
{
"m-ovwp"
:
Ovwp
,
// "m-addbcb": Addbcb,
"m-engp"
:
Engp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-coninfp"
:
Coninfp
,
"m-remp"
:
Remp
,
// "m-coninfp": Coninfp,
"m-limitbody"
:
Limitbody
,
"m-setpan"
:
Setpan
,
"m-setmod"
:
Setmod
,
"m-glentry"
:
Glentry
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-limitbody"
:
Limitbody
,
"m-glepan"
:
Glepan
,
},
provide
()
{
return
{
root
:
this
,
};
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
event
,
operationFunc
],
data
()
{
return
{
tabVal
:
"ovwp"
,
trnName
:
"betrcl"
,
trnType
:
""
,
//
trnType: "",
model
:
new
Betrcl
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
,
},
activeNames
:
[
"engp"
],
};
},
methods
:
{
tabClick
(
tab
)
{
this
.
tabClick
(
tab
);
/**
* do it yourself
**/
},
},
created
:
async
function
()
{
console
.
log
(
"进入betrcl交易"
);
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
rules
:
formRules
,
codes
:
{
...
CodeTable
},
activeNames
:
[
"setpan"
],
}
this
.
$refs
.
rclp
.
$refs
.
table
.
$refs
.
table
.
toggleAllSelection
();
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
};
methods
:{
},
mounted
()
{
this
.
init
()
},
}
</
script
>
<
style
>
</
style
>
<
style
></
style
>
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