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
1d493746
Commit
1d493746
authored
Aug 10, 2022
by
huangxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brtcan页面布局和事件关联
parent
728a4d45
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
106 additions
and
110 deletions
+106
-110
Pattern.js
src/model/Brtcan/Pattern.js
+14
-14
index.js
src/model/Brtcan/index.js
+6
-80
Canp.vue
src/views/Business/Brtcan/Canp.vue
+57
-8
index.vue
src/views/Business/Brtcan/index.vue
+29
-8
No files found.
src/model/Brtcan/Pattern.js
View file @
1d493746
...
...
@@ -12,16 +12,16 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"lidgrp.rec.expdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
//
{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.cbs.opn1.cur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"lidgrp.cbs.opn1.amt"
:[
{
required
:
true
,
message
:
"必输项"
},
//{type: "string",
required: true, message: "必输项"},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
//
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brtp0.recget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -41,7 +41,7 @@ export default {
],
"brdgrp.cbs.max.amt"
:[
{
required
:
true
,
message
:
"必输项"
},
//{type: "string",
required: true, message: "必输项"},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
@@ -54,7 +54,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"brdgrp.cbs.opn1.amt"
:[
{
required
:
true
,
message
:
"必输项"
},
//{type: "string",
required: true, message: "必输项"},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
@@ -63,10 +63,10 @@ export default {
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"brdgrp.rec.rcvdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
//
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.advdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
//
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -91,8 +91,8 @@ export default {
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"strinf"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过
50"
}
//
{type: "string", required: true, message: "必输项"},
{
max
:
1750
,
message
:
"长度不能超过17
50"
}
],
...
...
@@ -119,18 +119,18 @@ export default {
"mtabut.coninf.oitinf.oit.inftxt"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
//
{type: "string", required: true, message: "必输项"},
//
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
//
{type: "string", required: true, message: "必输项"},
//
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
//
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/model/Brtcan/index.js
View file @
1d493746
import
Api
from
"~/service/Api"
import
Pts
from
"../Common/Pts"
import
Pub
from
"../Public"
import
Setmod
from
"../Public/Setmod"
...
...
@@ -69,86 +70,11 @@ export default class Brtcan{
sndmsg
:
""
,
// Send Message .sndmsg
rebkpflg
:
""
,
// Booking Procedure .rebkpflg
setmod
:
new
Setmod
().
data
,
mtabut
:{
coninf
:{
oitinf
:{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit
:{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset
:{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit
:{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitset.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat
:
""
,
// 执行日期 .mtabut.coninf.conexedat
usr
:{
extkey
:
""
,
// User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod
:{
trndoc
:{
advlabel
:
""
,
// ADVLABEL .trnmod.trndoc.advlabel
amdnam
:
""
,
// AMDNAM .trnmod.trndoc.amdnam
advdoc
:
""
,
// 国内证通知书 .trnmod.trndoc.advdoc
advnam
:
""
,
// 国内证落款 .trnmod.trndoc.advnam
amdapl
:
""
,
// 修改申请人名称 .trnmod.trndoc.amdapl
doclbl
:
""
,
// Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm
:
""
,
// Document tree .trnmod.trndoc.doctrestm
shwinc
:
""
,
// Show Incoming Messages .trnmod.trndoc.shwinc
shwout
:
""
,
// Show Outgoing Messages .trnmod.trndoc.shwout
condocstm
:
""
,
// Connected Documents .trnmod.trndoc.condocstm
rcvatt
:{
seainf
:
""
,
// .trnmod.trndoc.rcvatt.seainf
},
filrecv
:
""
,
// File Receiver .trnmod.trndoc.filrecv
},
},
liaall
:{
limmod
:{
limpts
:{
wrklab
:
""
,
// Label .liaall.limmod.limpts.wrklab
othlab
:
""
,
// Label .liaall.limmod.limpts.othlab
othlabss
:
""
,
// Label .liaall.limmod.limpts.othlabss
wrk
:{
pts
:
new
Pts
().
data
,
},
oth
:{
pts
:
new
Pts
().
data
,
},
lsh
:
""
,
// 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1
:
""
,
// Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1
:
""
,
// 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2
:
""
,
// Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2
:
""
,
// 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp
:{
ptsget
:{
sdamod
:{
dadsnd
:
""
,
// Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf
:
""
,
// .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp
:{
ptsget
:{
sdamod
:{
dadsnd
:
""
,
// Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf
:
""
,
// .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref
:
""
,
// 国结业务编号 .liaall.limmod.ownref
comamt
:
""
,
// 业务余额 .liaall.limmod.comamt
ccvamt
:
""
,
// 保证金余额 .liaall.limmod.ccvamt
ecifno
:
""
,
// ECIFNO .liaall.limmod.ecifno
},
},
liaall
:
new
Pub
().
data
.
Liaall
,
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
pageId
:
""
// ctx的key
}
}
...
...
src/views/Business/Brtcan/Canp.vue
View file @
1d493746
<
template
>
<div
class=
"eibs-tab"
>
<c-col>
<el-row>
<c-col
:span=
"8"
>
<c-fullbox>
<el-form-item
label=
"Import L/C"
prop=
"lidgrp.rec.ownref"
>
<c-input
disabled
v-model=
"model.lidgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入参考号"
...
...
@@ -15,7 +17,6 @@
style=
"margin: 0 10px 0 10px; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
"onSeainf"
>
<span
style=
"font-family: '宋体'; font-weight: bold"
>
i
</span>
</c-button>
...
...
@@ -34,13 +35,14 @@
v-model=
"model.lidgrp.rec.expdat"
style=
"width: 100%"
placeholder=
"请选择Date of Expiry"
disabled
=
"disabled"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"6"
>
<el-form-item
label=
"Open Amt. L/C"
prop=
"lidgrp.cbs.opn1.cur"
>
<c-select
disabled
v-model=
"model.lidgrp.cbs.opn1.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
...
...
@@ -51,6 +53,7 @@
<c-col
:span=
"6"
>
<el-form-item
prop=
"lidgrp.cbs.opn1.amt"
label-width=
"20px"
>
<c-input
disabled
v-model=
"model.lidgrp.cbs.opn1.amt"
placeholder=
"请输入Balance"
></c-input>
...
...
@@ -65,7 +68,7 @@
v-model=
"model.brdgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入单据参考号"
disabled
=
"disabled"
disabled
></c-input>
</el-form-item>
<
template
slot=
"footer"
>
...
...
@@ -73,7 +76,6 @@
style=
"margin: 0 0 0 10px; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
"onSeainf"
>
<span
style=
"font-family: '宋体'; font-weight: bold"
>
i
</span>
</c-button>
...
...
@@ -83,6 +85,7 @@
<c-col
:span=
"12"
>
<el-form-item
prop=
"brdgrp.rec.nam"
>
<c-input
disabled
v-model=
"model.brdgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入Name of Bill Contract"
...
...
@@ -90,7 +93,42 @@
</el-form-item>
</c-col>
</el-row>
<el-row>
</c-col>
<!-- ----------------------------------------------------------------- -->
<c-col
:span=
"24"
>
<c-litTemp
:model=
"model"
:argadr=
"{
title: '',
trans: 'brdgrp',
trans1:'brtp0',
}"
:rol=
"[
{
title: 'Applicant',
trans: 'apl',
},
{
title: 'Beneficiary',
trans: 'ben',
},
{
title: 'Presenting Bank',
trans: 'prb',
},
]"
:isAdvdat=
"true"
:isMattxtlab=
"false"
:isTenmaxday=
"false"
>
</c-litTemp>
</c-col>
<!-- <el-row>
<c-col :span="5">
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
<c-select
...
...
@@ -248,14 +286,15 @@
></c-input>
</el-form-item>
</c-col>
</el-row>
</el-row>
-->
<el-row>
<c-col
:span=
"12"
>
<el-form-item
label=
"Narrative"
prop=
"strinf"
>
<c-input
type=
"textarea"
v-model=
"model.strinf"
maxlength=
"50"
maxlength=
"1750"
:rows=
"10"
show-word-limit
placeholder=
"请输入Narrative"
></c-input>
...
...
@@ -275,6 +314,7 @@
v-model=
"model.rebkpflg"
style=
"width: 100%"
placeholder=
"请选择Booking Procedure"
:code=
"rebkpflg"
>
</c-select>
</el-form-item>
...
...
@@ -287,13 +327,22 @@ import commonProcess from "~/mixin/commonProcess";
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Brtcan/Event"
;
import
Brtcan
from
"~/model/Brtcan"
;
import
LitTemp
from
"~/views/Public/LitTemp"
;
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
components
:
{
"c-litTemp"
:
LitTemp
,
},
data
()
{
return
{};
return
{
rebkpflg
:
[
{
label
:
"Reverse Booking (Document Set)"
,
value
:
"N"
},
{
label
:
"Reverse Booking (Doc. Set, L/C)"
,
value
:
"B"
},
]
};
},
methods
:
{
...
Event
},
created
:
function
()
{},
...
...
src/views/Business/Brtcan/index.vue
View file @
1d493746
<
template
>
<div
class=
"eContainer"
>
<div
class=
"bus-button"
>
<c-button
type=
"primary"
v-on:click=
"handleSave"
>
{{
$t
(
"buttons.save"
)
}}
</c-button>
<c-button
type=
"primary"
v-on:click=
"handleCheck"
>
{{
$t
(
"buttons.check"
)
}}
</c-button>
</div>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<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>
<el-button
size=
"small"
>
拆分报文
</el-button>
<el-button
size=
"small"
>
智能提示
</el-button>
</c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"left"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000016 -->
<el-tab-pane
label=
"Cancelation"
name=
"canp"
>
<c-content>
<m-canp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<!--
<el-tab-pane
label=
"Liability"
name=
"engp"
>
<el-tab-pane
label=
"Liability"
name=
"engp"
>
<c-content>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"Settlement"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Bookings"
name=
"glepan"
>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000000 -->
...
...
@@ -55,9 +74,10 @@ import Check from "~/model/Brtcan/Check"
import
Default
from
"~/model/Brtcan/Default"
import
Pattern
from
"~/model/Brtcan/Pattern"
import
Canp
from
"./Canp"
// import Engp from "./Engp"
import
Engp
from
"../../Public/Engp"
import
Setpan
from
"../../Public/Setpan"
import
Glepan
from
"../../Public/Glepan"
import
Coninfp
from
"../../Public/Coninfp"
import
Docpan
from
"../../Public/Docpan"
import
Doctre
from
"../../Public/Doctre"
...
...
@@ -67,8 +87,9 @@ export default {
name
:
'Brtcan'
,
components
:{
"m-canp"
:
Canp
,
//
"m-engp" : Engp,
"m-engp"
:
Engp
,
"m-setpan"
:
Setpan
,
"m-glepan"
:
Glepan
,
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
...
...
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