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
9faffbee
Commit
9faffbee
authored
Jul 14, 2022
by
Eivi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
letdrv交易初始化及前后联动
parent
8e5aa729
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
273 additions
and
140 deletions
+273
-140
index.js
src/config/CodeTable/index.js
+0
-0
Check.js
src/model/Letdrv/Check.js
+41
-40
Event.js
src/model/Letdrv/Event.js
+100
-19
Pattern.js
src/model/Letdrv/Pattern.js
+36
-5
BusNavbar.vue
src/views/Business/Infbed/BusNavbar.vue
+1
-1
Infsea.vue
src/views/Business/Infbed/Infsea.vue
+1
-1
Infsea.vue
src/views/Business/Infled/Infsea.vue
+1
-2
Drv.vue
src/views/Business/Letdrv/Drv.vue
+56
-49
Dscins.vue
src/views/Business/Letdrv/Dscins.vue
+28
-23
index.vue
src/views/Business/Letdrv/index.vue
+9
-0
No files found.
src/config/CodeTable/index.js
View file @
9faffbee
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/model/Letdrv/Check.js
View file @
9faffbee
import
Utils
from
"~/utils"
/**
* Letdrv Check规则
*/
* Letdrv Check规则
*/
let
checkObj
=
{
"liaall.limmod.limpts.oth.pts.extkey"
:
null
,
"liaall.limmod.ownref"
:
null
,
"bedgrp.apl.pts.nam"
:
null
,
"bedgrp.oth.namelc"
:
null
,
"liaall.limmod.ecifno"
:
null
,
"bedgrp.prb.pts.nam"
:
null
,
"bedgrp.rec.invtyp"
:
null
,
"bedgrp.oth.adrelc"
:
null
,
"bedgrp.prb.namelc"
:
null
,
"bedgrp.blk.comcon"
:
null
,
"liaall.limmod.limpts.oth.pts.nam"
:
null
,
"bedgrp.blk.setinsbe"
:
null
,
"setmod.dspflg"
:
null
,
"bedgrp.rec.matdat"
:
null
,
"bedgrp.blk.docdis"
:
null
,
"bedgrp.srm.djuref"
:
null
,
"bedgrp.srm.djutyp"
:
null
,
"bedgrp.prb.adrelc"
:
null
,
"liaall.limmod.limpts.wrk.pts.nam"
:
null
,
"liaall.limmod.limpts.wrk.pts.extkey"
:
null
,
"bedgrp.blk.intdis"
:
null
,
"bedgrp.prb.pts.extkey"
:
null
,
"bedgrp.rec.doctypcod"
:
null
,
"mtabut.coninf.conexedat"
:
null
,
"bedgrp.rec.docprbrol"
:
null
,
"bedgrp.oth.pts.adrblk"
:
null
,
"liaall.limmod.limpts.nonrevflg1"
:
null
,
"bedgrp.prb.pts.adrblk"
:
null
,
"bedgrp.rec.rcvdat"
:
null
,
"bedgrp.oth.pts.extkey"
:
null
,
"setmod.docamt"
:
null
,
"bedgrp.srm.djudat"
:
null
,
"bedgrp.srm.djuusr"
:
null
,
"bedgrp.prb.pts.ref"
:
null
,
"bedgrp.cbs.max.amt"
:
null
,
"bedgrp.rec.orddat"
:
null
,
"bedgrp.iss.pts.nam"
:
null
,
"liaall.misamt"
:
null
,
"liaall.limmod.limpts.oth.pts.extkey"
:
null
,
"liaall.limmod.ownref"
:
null
,
"bedgrp.apl.pts.nam"
:
null
,
"bedgrp.oth.namelc"
:
null
,
"liaall.limmod.ecifno"
:
null
,
"bedgrp.prb.pts.nam"
:
null
,
"bedgrp.rec.invtyp"
:
null
,
"bedgrp.oth.adrelc"
:
null
,
"bedgrp.prb.namelc"
:
null
,
"bedgrp.blk.comcon"
:
null
,
"liaall.limmod.limpts.oth.pts.nam"
:
null
,
"bedgrp.blk.setinsbe"
:
null
,
"setmod.dspflg"
:
null
,
"bedgrp.rec.matdat"
:
null
,
"bedgrp.blk.docdis"
:
null
,
"bedgrp.srm.djuref"
:
null
,
"bedgrp.srm.djutyp"
:
null
,
"bedgrp.prb.adrelc"
:
null
,
"liaall.limmod.limpts.wrk.pts.nam"
:
null
,
"liaall.limmod.limpts.wrk.pts.extkey"
:
null
,
"bedgrp.blk.intdis"
:
null
,
"bedgrp.prb.pts.extkey"
:
null
,
"bedgrp.rec.doctypcod"
:
null
,
"mtabut.coninf.conexedat"
:
null
,
"bedgrp.rec.docprbrol"
:
null
,
"bedgrp.oth.pts.adrblk"
:
null
,
"liaall.limmod.limpts.nonrevflg1"
:
null
,
"bedgrp.prb.pts.adrblk"
:
null
,
"bedgrp.rec.rcvdat"
:
null
,
"bedgrp.oth.pts.extkey"
:
null
,
"setmod.docamt"
:
null
,
"bedgrp.srm.djudat"
:
null
,
"bedgrp.srm.djuusr"
:
null
,
"bedgrp.prb.pts.ref"
:
null
,
"bedgrp.cbs.max.amt"
:
null
,
"bedgrp.rec.orddat"
:
null
,
"bedgrp.iss.pts.nam"
:
null
,
}
for
(
const
key
in
checkObj
)
{
...
...
@@ -49,4 +50,3 @@ for (const key in checkObj) {
}
}
export
default
checkObj
\ No newline at end of file
src/model/Letdrv/Event.js
View file @
9faffbee
...
...
@@ -8,7 +8,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onPrbpDet
()
{
...
...
@@ -17,7 +20,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onDocdisButtxmsel
()
{
...
...
@@ -26,7 +32,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onIntdisButtxmsel
()
{
...
...
@@ -35,7 +44,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onOthpDet
()
{
...
...
@@ -44,7 +56,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onComconButtxmsel
()
{
...
...
@@ -53,7 +68,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetinstxmButtxmsel
()
{
...
...
@@ -62,7 +80,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onWrkpDet
()
{
...
...
@@ -71,7 +92,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onOthp1Det
()
{
...
...
@@ -80,7 +104,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimptsGet1
()
{
...
...
@@ -89,7 +116,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimptsGet2
()
{
...
...
@@ -98,7 +128,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimmodTrycal
()
{
...
...
@@ -107,7 +140,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButshw
()
{
...
...
@@ -116,7 +152,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButadd
()
{
...
...
@@ -125,7 +164,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButnew
()
{
...
...
@@ -134,7 +176,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButattto
()
{
...
...
@@ -143,7 +188,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButdel
()
{
...
...
@@ -152,7 +200,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButatt
()
{
...
...
@@ -161,7 +212,10 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetmodDet
()
{
...
...
@@ -170,7 +224,34 @@ export default {
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaallButmisamt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmisamt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaallButmissig
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmissig"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onSeainf
()
{},
...
...
src/model/Letdrv/Pattern.js
View file @
9faffbee
...
...
@@ -113,7 +113,7 @@ export default {
],
"bedgrp.cbs.max2.amt"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
@@ -141,8 +141,8 @@ export default {
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"bedgrp.prb.pts.adrblk"
:
[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
type
:
"string"
,
max
:
999
,
message
:
"长度不能超过35"
}
],
"bedgrp.prb.dbfadrblkcn"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -166,7 +166,7 @@ export default {
"ledgrp.rec.utlnbr"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过3"
}
],
"bedgrp.blk.docdis"
:
[
...
...
@@ -209,7 +209,7 @@ export default {
],
"bedgrp.oth.pts.adrblk"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
{
type
:
"string"
,
max
:
999
,
message
:
"长度不能超过35"
}
],
"bedgrp.oth.dbfadrblkcn"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -385,4 +385,34 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"liaall.outamt"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"liaall.outpct"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
6
,
message
:
"长度不能超过6"
}
],
"liaall.concur"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"liaall.misamt"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"liaall.exttotoldamt"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"liaall.exttotamt"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
}
\ No newline at end of file
src/views/Business/Infbed/BusNavbar.vue
View file @
9faffbee
...
...
@@ -79,7 +79,7 @@ export default {
//this.model.didgrp.rec.ownref = 'KZ3500210540AA'
this
.
model
.
bedgrp
.
rec
.
ownref
=
this
.
ownref
;
console
.
log
(
"ownref:"
+
this
.
ownref
);
let
rtnmsg
=
await
this
.
executeRule
(
"
d
edgrp.rec.ownref"
);
//didgrp_rec_ownref
let
rtnmsg
=
await
this
.
executeRule
(
"
b
edgrp.rec.ownref"
);
//didgrp_rec_ownref
// let rtnmsg0 = await this.executeRule("bedgrp.rec.ownref"); //cfgfil.hotreg3
// if (rtnmsg0.respCode == SUCCESS) {
...
...
src/views/Business/Infbed/Infsea.vue
View file @
9faffbee
...
...
@@ -238,7 +238,7 @@
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
trnCode=
"
ditsel
"
:model=
"letselModel"
@
onChoose=
"onChoose"
>
11
</m-busbtn>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
trnCode=
"
letsel"
ownrefPath=
"bedgrp
"
:model=
"letselModel"
@
onChoose=
"onChoose"
>
11
</m-busbtn>
</div>
</el-dialog>
</div>
...
...
src/views/Business/Infled/Infsea.vue
View file @
9faffbee
...
...
@@ -443,7 +443,7 @@
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
trnCode=
"letsel"
:model=
"letselModel"
@
onChoose=
"onChoose"
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
trnCode=
"letsel"
ownrefPath=
"ledgrp"
:model=
"letselModel"
@
onChoose=
"onChoose"
>
11
</m-busbtn
>
</div>
...
...
@@ -469,7 +469,6 @@ export default {
letselModel
:
new
LetselModel
().
data
,
curinr
:
""
,
ownref
:
""
,
initdialog
:
false
,
dialogTableVisible
:
false
,
trnData
:
{
...
...
src/views/Business/Letdrv/Drv.vue
View file @
9faffbee
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"12"
>
<!-- left -->
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"Reference"
...
...
@@ -23,7 +25,8 @@
type=
"primary"
@
click=
"onSeainf"
>
<span
style=
"font-size: 15px; font-family: '宋体'; font-weight: bold"
<span
style=
"font-size: 15px; font-family: '宋体'; font-weight: bold"
>
i
</span
>
</c-button>
...
...
@@ -36,23 +39,10 @@
:disabled=
"this.flag"
@
click=
"onDetpButgetref"
>
获取
Get
</c-button>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Name"
prop=
"ledgrp.rec.nam"
>
<c-input
v-model=
"model.ledgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入Externally Displayed Name to Identify the Contract"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- left -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"L/C Amount"
prop=
"ledgrp.cbs.nom1.cur"
>
<c-fullbox>
...
...
@@ -123,13 +113,14 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"by"
prop=
"ledgrp.rec.avbby"
>
<c-fullbox>
<c-
inpu
t
<c-
selec
t
v-model=
"model.ledgrp.rec.avbby"
maxlength=
"3"
style=
"width: 100%"
placeholder=
"
请输入
Open Amount"
placeholder=
"
Please input
Open Amount"
disabled
></c-input>
:code=
"codes.avbby"
></c-select>
<
template
slot=
"footer"
>
<c-checkbox
v-model=
"model.ledgrp.rec.revflg"
...
...
@@ -213,7 +204,17 @@
</c-col>
<!-- right -->
<c-col
:span=
"12"
>
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Name"
prop=
"ledgrp.rec.nam"
>
<c-input
v-model=
"model.ledgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入Externally Displayed Name to Identify the Contract"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
...
...
@@ -222,6 +223,8 @@
grp: 'bedgrp',
rol: 'apl',
}"
:enRef=
"true"
:enNam=
"true"
:disabled=
"true"
></c-ptsmsg>
</c-col>
...
...
@@ -233,6 +236,8 @@
grp: 'bedgrp',
rol: 'iss',
}"
:enRef=
"true"
:enNam=
"true"
:disabled=
"true"
></c-ptsmsg>
</c-col>
...
...
@@ -244,6 +249,8 @@
grp: 'bedgrp',
rol: 'prb',
}"
:enRef=
"true"
:enNam=
"true"
:disabled=
"true"
></c-ptsmsg>
</c-col>
...
...
@@ -255,7 +262,10 @@
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<!-- next part -->
<!-- left -->
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"Document Reference"
...
...
@@ -291,25 +301,10 @@
:disabled=
"this.flag"
@
click=
"onDetpButgetref"
>
获取
Get
</c-button>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Name"
prop=
"bedgrp.rec.nam"
>
<c-input
v-model=
"model.bedgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入Externally Displayed Name to Identify the Contract"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- next part -->
<!-- left -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Document Type"
...
...
@@ -356,19 +351,19 @@
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Draw
m Add. Amount"
prop=
"ledgrp.cbs.max
.cur"
>
<el-form-item
label=
"Draw
n Add. Amount"
prop=
"bedgrp.cbs.opn2
.cur"
>
<c-input
v-model=
"model.
ledgrp.cbs.max
.cur"
v-model=
"model.
bedgrp.cbs.opn2
.cur"
maxlength=
"3"
placeholder=
"Please input Draw
m
Add. Amount"
placeholder=
"Please input Draw
n
Add. Amount"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"
ledgrp.cbs.max
.amt"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"
bedgrp.cbs.max2
.amt"
>
<c-input
v-model=
"model.
ledgrp.cbs.max
.amt"
v-model=
"model.
bedgrp.cbs.max2
.amt"
placeholder=
"Please input Balance"
disabled
></c-input>
...
...
@@ -406,7 +401,6 @@
v-model=
"model.bedgrp.rec.matdat"
style=
"width: 100%"
placeholder=
"Please select Maturity Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
...
...
@@ -443,9 +437,12 @@
>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Previous Drawings under this L/C"
prop=
"ledgrp.rec.utlnbr"
>
<el-form-item
label=
"Previous Drawings under this L/C"
prop=
"ledgrp.rec.utlnbr"
>
<c-input
v-model=
"model.ledgrp.rec.utlnbr"
v-model
.
number
=
"model.ledgrp.rec.utlnbr"
placeholder=
"Please input Previous Drawings under this L/C"
disabled
></c-input>
...
...
@@ -454,7 +451,17 @@
</c-col>
<!-- right -->
<c-col
:span=
"12"
>
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Name"
prop=
"bedgrp.rec.nam"
>
<c-input
v-model=
"model.bedgrp.rec.nam"
maxlength=
"40"
placeholder=
"Please input Externally Displayed Name to Identify the Contract"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Presented by"
prop=
"bedgrp.rec.docprbrol"
>
<c-select
...
...
@@ -478,8 +485,8 @@
:model=
"model"
:argadr=
"{
title: '',
grp: '
l
edgrp',
rol: '
adv
',
grp: '
b
edgrp',
rol: '
prb
',
}"
:noRef=
"false"
:disabled=
"true"
...
...
@@ -863,7 +870,7 @@ import Event from "~/model/Letdrv/Event";
import
Ptap
from
"~/views/Public/Ptap"
;
export
default
{
components
:
{
"c-ptsmsg"
:
Ptsmsg
,
"c-ptap"
:
Ptap
},
components
:
{
"c-ptsmsg"
:
Ptsmsg
,
"c-ptap"
:
Ptap
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
...
...
src/views/Business/Letdrv/Dscins.vue
View file @
9faffbee
<
template
>
<div
class=
"eibs-tab"
>
<!-- left -->
<c-col
:span=
"1
2
"
>
<c-col
:span=
"1
1
"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Discrepancies"
...
...
@@ -114,7 +114,7 @@
</c-col>
<!-- right -->
<c-col
:span=
"1
2
"
>
<c-col
:span=
"1
1"
:offset=
"1
"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Further Handling"
prop=
"betp.folwupopt"
>
<c-fullbox>
...
...
@@ -125,7 +125,7 @@
disabled
>
<el-option
v-for=
"item in codes.folwupopt
1
"
v-for=
"item in codes.folwupopt"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
...
...
@@ -162,8 +162,8 @@
:model=
"model"
:argadr=
"{
title: '',
grp: '
l
edgrp',
rol: '
adv
',
grp: '
b
edgrp',
rol: '
oth
',
}"
:noRef=
"false"
:disabled=
"true"
...
...
@@ -225,7 +225,7 @@
</el-table-column>
<el-table-column
label=
"操作"
width=
"170px"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<c-button
@
click=
"deleteTable(scope.
row
)"
type=
"primary"
<c-button
@
click=
"deleteTable(scope.
$index
)"
type=
"primary"
>
删除
</c-button
>
</
template
>
...
...
@@ -476,6 +476,7 @@ import commonProcess from "~/mixin/commonProcess";
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Letdrv/Event"
;
import
Ptap
from
"~/views/Public/Ptap"
;
import
Utils
from
"~/utils"
;
export
default
{
components
:
{
"c-ptap"
:
Ptap
},
...
...
@@ -487,9 +488,14 @@ export default {
TableValue
:
[
{
id
:
0
,
cmail1
:
"1"
,
cmail2
:
"2"
,
docnam
:
"1"
,
cmail1
:
""
,
cmail2
:
""
,
docnam
:
""
,
description
:
""
,
docnam
:
""
,
serialNum
:
""
,
tableName
:
""
,
tcddoc
:
""
,
},
],
newValue
:
{
...
...
@@ -497,6 +503,12 @@ export default {
cmail1
:
""
,
cmail2
:
""
,
docnam
:
""
,
docnam
:
""
,
description
:
""
,
docnam
:
""
,
serialNum
:
""
,
tableName
:
""
,
tcddoc
:
""
,
},
codeTable
:
[
{
label
:
"Airway Bills"
,
value
:
"1"
},
...
...
@@ -533,21 +545,14 @@ export default {
},
methods
:
{
...
Event
,
addTableValue
()
{
var
index
=
this
.
TableValue
.
length
;
var
newTableValue
=
this
.
newValue
;
if
(
index
>
0
)
{
newTableValue
.
id
=
this
.
TableValue
[
index
-
1
].
id
+
1
;
}
this
.
TableValue
.
push
(
newTableValue
);
addTableValue
(
index
)
{
var
newTableValue
=
Object
.
assign
({},
this
.
newValue
);
const
serial
=
Utils
.
generateUUID
();
newTableValue
.
serialNum
=
serial
;
this
.
model
.
betp
.
docgrdm
.
docgrd
.
splice
(
index
-
1
,
0
,
newTableValue
);
},
deleteTable
(
row
)
{
for
(
let
i
=
0
;
i
<
this
.
TableValue
.
length
;
i
++
)
{
if
(
this
.
TableValue
[
i
].
id
==
row
.
id
)
{
this
.
TableValue
.
splice
(
i
,
1
);
break
;
}
}
deleteTable
(
index
)
{
this
.
model
.
betp
.
docgrdm
.
docgrd
.
splice
(
index
,
1
);
},
},
created
:
function
()
{},
...
...
src/views/Business/Letdrv/index.vue
View file @
9faffbee
...
...
@@ -28,12 +28,19 @@
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--letdrv PD000002 Docs. Received -->
<el-tab-pane
label=
"Docs.Received"
name=
"drv"
>
<c-content>
<m-drv
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--letdrv PD000034 Discr./Instr. -->
<el-tab-pane
label=
"Discr./Instr."
name=
"dscins"
>
<m-dscins
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--Liability -->
<el-tab-pane
label=
"Liability"
name=
"engp"
>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane
label=
"Settlement"
name=
"setpan"
>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
...
...
@@ -74,6 +81,7 @@ import Pattern from "~/model/Letdrv/Pattern";
import
Drv
from
"./Drv"
;
import
Dscins
from
"./Dscins"
;
import
Srmp
from
"./Srmp"
;
import
Engp
from
"~/views/Public/Engp"
import
Doctre
from
"~/views/Public/Doctre"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
...
...
@@ -85,6 +93,7 @@ export default {
components
:
{
"m-drv"
:
Drv
,
"m-dscins"
:
Dscins
,
"m-engp"
:
Engp
,
"m-limitbody"
:
Limitbody
,
"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