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
1c081cce
Commit
1c081cce
authored
Oct 13, 2022
by
huangxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bttdrv,bttcan新交易转换
parent
b59a9834
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
683 additions
and
90 deletions
+683
-90
index.js
src/model/Brteus/index.js
+34
-0
Default.js
src/model/Bttcan/Default.js
+7
-0
Check.js
src/model/Bttdrv/Check.js
+9
-7
Default.js
src/model/Bttdrv/Default.js
+34
-19
Event.js
src/model/Bttdrv/Event.js
+157
-0
Pattern.js
src/model/Bttdrv/Pattern.js
+147
-15
index.js
src/model/Bttdrv/index.js
+9
-0
index.vue
src/views/Business/Brteus/index.vue
+8
-0
index.vue
src/views/Business/Bttcan/index.vue
+15
-1
Adapan.vue
src/views/Business/Bttdrv/Adapan.vue
+14
-9
Drv.vue
src/views/Business/Bttdrv/Drv.vue
+77
-38
Dscinsp.vue
src/views/Business/Bttdrv/Dscinsp.vue
+147
-0
index.vue
src/views/Business/Bttdrv/index.vue
+25
-1
No files found.
src/model/Brteus/index.js
View file @
1c081cce
...
...
@@ -14,7 +14,35 @@ export default class Brteus{
liaall
:
new
Pub
().
data
.
Liaall
,
//加入公共面板表外字段
brdgrp
:{
acb
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .brdgrp.acb.namelc
adrelc
:
""
,
// 地址 .brdgrp.acb.adrelc
dbfadrblkcn
:
""
,
// Chinese address .brdgrp.acb.dbfadrblkcn
},
rmb
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .brdgrp.rmb.namelc
adrelc
:
""
,
// 地址 .brdgrp.rmb.adrelc
dbfadrblkcn
:
""
,
// Chinese address .brdgrp.rmb.dbfadrblkcn
},
beb
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .brdgrp.beb.namelc
adrelc
:
""
,
// 地址 .brdgrp.beb.adrelc
dbfadrblkcn
:
""
,
// Chinese address .brdgrp.beb.dbfadrblkcn
},
blk
:
{
docdis
:
""
,
// Discrepancies .brdgrp.blk.docdis
docdisflg
:
""
,
// discrepancies modified .brdgrp.blk.docdisflg
chaded
:
""
,
// Charges Deducted .brdgrp.blk.chaded
chaadd
:
""
,
// Charges .brdgrp.blk.chaadd
nartxt77a
:
""
,
// Narrative TAG 77A of MT754 .brdgrp.blk.nartxt77a
},
rec
:{
totdat
:
""
,
// 付款日期 .brdgrp.rec.totdat
totcur
:
""
,
// Total Amount Claimed .brdgrp.rec.totcur
totamt
:
""
,
// Total Amount to be Paid .brdgrp.rec.totamt
ownref
:
""
,
// 单据参考号 .brdgrp.rec.ownref
nam
:
""
,
// Name of Bill Contract .brdgrp.rec.nam
rcvdat
:
""
,
// 到单日期 .brdgrp.rec.rcvdat
...
...
@@ -35,6 +63,12 @@ export default class Brteus{
cur
:
""
,
// 单据余额 .brdgrp.cbs.opn1.cur
amt
:
""
,
// Balance .brdgrp.cbs.opn1.amt
},
opn2
:
{
cur
:
""
,
// 附加金额 .brdgrp.cbs.opn2.cur
},
max2
:{
amt
:
""
,
// 附加金额 .brdgrp.cbs.max2.amt
},
},
apl
:{
pts
:
new
Pts
().
data
,
...
...
src/model/Bttcan/Default.js
View file @
1c081cce
...
...
@@ -15,10 +15,17 @@ export default {
"trnmod.trndoc.condocstm"
:
Utils
.
defaultFunction
,
"trnmod.trndoc.shwinc"
:
Utils
.
defaultFunction
,
"trnmod.trndoc.shwout"
:
Utils
.
defaultFunction
,
"btdgrp.cbs.max.cur"
:
Utils
.
defaultFunction
,
"btdgrp.cbs.max.amt"
:
Utils
.
defaultFunction
,
"btdgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"btdgrp.be1.pts.nam"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inftxt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inflev"
:
Utils
.
defaultFunction
,
"btdgrp.be2.pts.nam"
:
Utils
.
defaultFunction
,
"mtabut.coninf.usr.extkey"
:
Utils
.
defaultFunction
,
"setmod.glemod.gleshwstm"
:
Utils
.
defaultFunction
,
"btdgrp.cbs.max.cur"
:
Utils
.
defaultFunction
,
"ledgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"liaall.misamt"
:
Utils
.
defaultFunction
,
"liaall.liaccv.addinf"
:
Utils
.
defaultFunction
,
"liaall.liaccv.newamt"
:
Utils
.
defaultFunction
,
...
...
src/model/Bttdrv/Check.js
View file @
1c081cce
...
...
@@ -4,27 +4,29 @@ import Utils from "~/utils"
* Bttdrv Check规则
*/
let
checkObj
=
{
"liaall.misamt"
:
null
,
"btdgrp.blk.comcon"
:
null
,
"btdgrp.prb.pts.adrblk"
:
null
,
"bttp.prpp.ptsget.sdamod.dadsnd"
:
null
,
"btdgrp.prp.pts.extkey"
:
null
,
"btdgrp.prp.namelc"
:
null
,
"btdgrp.prb.namelc"
:
null
,
"bttp.othp.ptsget.sdamod.dadsnd"
:
null
,
"btdgrp.blk.setinsbt"
:
null
,
"btdgrp.blk.docdis"
:
null
,
"btdgrp.prb.pts.nam"
:
null
,
"btdgrp.prb.adrelc"
:
null
,
"btdgrp.oth.pts.adrblk"
:
null
,
"setmod.dspflg"
:
null
,
"btdgrp.prb.pts.extkey"
:
null
,
"btdgrp.rec.rcvdatbe1"
:
null
,
"btdgrp.be1.pts.nam"
:
null
,
"btdgrp.rec.rcvdatbe1"
:
null
,
"btdgrp.prp.adrelc"
:
null
,
"bt
tp.prbp.ptsget.sdamod.dadsnd
"
:
null
,
"bt
dgrp.blk.intdis
"
:
null
,
"btdgrp.oth.adrelc"
:
null
,
"
bttp.ltdget.sdamod.dadsnd
"
:
null
,
"
mtabut.coninf.conexedat
"
:
null
,
"btdgrp.prp.pts.adrblk"
:
null
,
"bttp.recget.sdamod.dadsnd"
:
null
,
"btdgrp.cbs.opnbe1amt.amt"
:
null
,
"btdgrp.oth.pts.extkey"
:
null
,
"
bttp.ledget.sdamod.dadsnd
"
:
null
,
"
setmod.docamt
"
:
null
,
"btdgrp.oth.namelc"
:
null
,
"btdgrp.be2.pts.nam"
:
null
,
}
...
...
src/model/Bttdrv/Default.js
View file @
1c081cce
...
...
@@ -6,42 +6,57 @@ import Api from "~/service/Api";
import
Utils
from
"~/utils/index"
export
default
{
"btdgrp.be2.pts.nam"
:
Utils
.
defaultFunction
,
"btdgrp.prp.pts.extkey"
:
Utils
.
defaultFunction
,
"btdgrp.blk.docdis"
:
Utils
.
defaultFunction
,
"btdgrp.oth.pts.extkey"
:
Utils
.
defaultFunction
,
"btdgrp.oth.adrelc"
:
Utils
.
defaultFunction
,
"btdgrp.oth.namelc"
:
Utils
.
defaultFunction
,
"btdgrp.oth.dbfadrblkcn"
:
Utils
.
defaultFunction
,
"btdgrp.prb.pts.nam"
:
Utils
.
defaultFunction
,
"btdgrp.be2amt"
:
Utils
.
defaultFunction
,
"oldbtdgrp.be2amt"
:
Utils
.
defaultFunction
,
"setmod.doccur"
:
Utils
.
defaultFunction
,
"setmod.dspflg"
:
Utils
.
defaultFunction
,
"setmod.docamt"
:
Utils
.
defaultFunction
,
"trnmod.trndoc.condocstm"
:
Utils
.
defaultFunction
,
"trnmod.trndoc.shwinc"
:
Utils
.
defaultFunction
,
"trnmod.trndoc.shwout"
:
Utils
.
defaultFunction
,
"btdgrp.cbs.max2.amt"
:
Utils
.
defaultFunction
,
"btdgrp.prb.pts.extkey"
:
Utils
.
defaultFunction
,
"btdgrp.prb.adrelc"
:
Utils
.
defaultFunction
,
"btdgrp.prb.namelc"
:
Utils
.
defaultFunction
,
"btdgrp.prb.dbfadrblkcn"
:
Utils
.
defaultFunction
,
"btdgrp.be2amt"
:
Utils
.
defaultFunction
,
"oldbtdgrp.be2amt"
:
Utils
.
defaultFunction
,
"btdgrp.oth.pts.adrblk"
:
Utils
.
defaultFunction
,
"ltdgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"btdgrp.prb.pts.adrblk"
:
Utils
.
defaultFunction
,
"btdgrp.prp.pts.adrblk"
:
Utils
.
defaultFunction
,
"btdgrp.oth.pts.adrblk"
:
Utils
.
defaultFunction
,
"ledgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"btdgrp.cbs.max.cur"
:
Utils
.
defaultFunction
,
"btdgrp.cbs.max.amt"
:
Utils
.
defaultFunction
,
"btdgrp.prb.pts.nam"
:
Utils
.
defaultFunction
,
"btdgrp.be1.pts.nam"
:
Utils
.
defaultFunction
,
"oldbtdgrp.cbs.max.amt"
:
Utils
.
defaultFunction
,
"btdgrp.cbs.max2.amt"
:
Utils
.
defaultFunction
,
"btdgrp.cbs.opnbe1amt.amt"
:
Utils
.
defaultFunction
,
"oldbtdgrp.cbs.opnbe1amt.amt"
:
Utils
.
defaultFunction
,
"btdgrp.prp.pts.extkey"
:
Utils
.
defaultFunction
,
"btdgrp.prp.adrelc"
:
Utils
.
defaultFunction
,
"btdgrp.prp.namelc"
:
Utils
.
defaultFunction
,
"btdgrp.prp.dbfadrblkcn"
:
Utils
.
defaultFunction
,
"btdgrp.be1.pts.nam"
:
Utils
.
defaultFunction
,
"btdgrp.cbs.max2.cur"
:
Utils
.
defaultFunction
,
"btdgrp.cbs.max.amt"
:
Utils
.
defaultFunction
,
"btdgrp.cbs.opnbe1amt.amt"
:
Utils
.
defaultFunction
,
"btdgrp.cbs.opnbe1amt.cur"
:
Utils
.
defaultFunction
,
"oldbtdgrp.cbs.opnbe1amt.amt"
:
Utils
.
defaultFunction
,
"btdgrp.prp.pts.adrblk"
:
Utils
.
defaultFunction
,
"btdgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"oldbtdgrp.cbs.max2.amt"
:
Utils
.
defaultFunction
,
"ledgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"btdgrp.rec.dscinsflg"
:
Utils
.
defaultFunction
,
"btdgrp.rec.nam"
:
Utils
.
defaultFunction
,
"btdgrp.rec.docprbrol"
:
Utils
.
defaultFunction
,
"btdgrp.rec.dscinsflg"
:
Utils
.
defaultFunction
,
"btdgrp.rec.rcvdatbe1"
:
Utils
.
defaultFunction
,
"btdgrp.rec.rcvdatbe2"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inftxt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inflev"
:
Utils
.
defaultFunction
,
"btdgrp.be2.pts.nam"
:
Utils
.
defaultFunction
,
"ltdgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"mtabut.coninf.usr.extkey"
:
Utils
.
defaultFunction
,
"btdgrp.cbs.opnbe1amt.cur"
:
Utils
.
defaultFunction
,
"btdgrp.blk.docdisflg"
:
Utils
.
defaultFunction
,
"btdgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"btdgrp.rec.nam"
:
Utils
.
defaultFunction
,
"btdgrp.cbs.max2.cur"
:
Utils
.
defaultFunction
,
"liaall.misamt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitinf.oit.inftxt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitinf.oit.inflev"
:
Utils
.
defaultFunction
,
"mtabut.coninf.conexedat"
:
Utils
.
defaultFunction
,
}
//你可以添加自动default处理
src/model/Bttdrv/Event.js
View file @
1c081cce
...
...
@@ -38,5 +38,161 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onDocdisButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"docdis.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onIntdisButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"intdis.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onComconButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"comcon.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetinsButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"setins.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
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
:
'服务请求失败!'
});
}
},
async
onSetmodDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButshw
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butshw"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButadd
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butadd"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButnew
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butnew"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButattto
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butattto"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButdel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butdel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButatt
(){
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butatt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
\ No newline at end of file
src/model/Bttdrv/Pattern.js
View file @
1c081cce
This diff is collapsed.
Click to expand it.
src/model/Bttdrv/index.js
View file @
1c081cce
...
...
@@ -15,6 +15,7 @@ export default class Bttdrv{
mtabut
:
new
Pub
().
data
.
Mtabut
,
setmod
:
new
Pub
().
data
.
Setmod
,
liaall
:
new
Pub
().
data
.
Liaall
,
trnmod
:
new
Pub
().
data
.
Liaall
,
bttp
:{
ltdget
:{
sdamod
:{
...
...
@@ -67,6 +68,7 @@ export default class Bttdrv{
},
},
},
futhndflg
:
""
,
// further handling .bttp.futhndflg
},
ledgrp
:{
rec
:{
...
...
@@ -139,6 +141,13 @@ export default class Bttdrv{
adrelc
:
""
,
// 地址 .btdgrp.prp.adrelc
dbfadrblkcn
:
""
,
// Chinese address .btdgrp.prp.dbfadrblkcn
},
blk
:{
intdis
:
""
,
// Internal Discrepancies .btdgrp.blk.intdis
comcon
:
""
,
// Comments and Conclusions .btdgrp.blk.comcon
setinsbt
:
""
,
// Settlement Instructions transaction field .btdgrp.blk.setinsbt
docdis
:
""
,
// Discrepancies .btdgrp.blk.docdis
docdisflg
:
""
,
// discrepancies modified .btdgrp.blk.docdisflg
},
},
be2addlab
:
""
,
// Label for Additionan Amount 2nd Beneficiary .be2addlab
be2doclab
:
""
,
// Label for Document Amount 2nd Beneficiary .be2doclab
...
...
src/views/Business/Brteus/index.vue
View file @
1c081cce
...
...
@@ -28,7 +28,9 @@
<!--PD000024 -->
<el-tab-pane
label=
"展期"
name=
"brteus"
>
<c-content>
<m-brteus
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!-- ======新增隐藏面板(从brtudp交易的隐藏页面传(沿用)过来的)mt750p、mt754p、othadvtypp====== -->
...
...
@@ -48,18 +50,24 @@
<!--PD000213 -->
<el-tab-pane
label=
"其他通知"
name=
"othadvtypp"
v-if=
"model.brdgrp.rec.advtyp=='oth'"
>
<c-content>
<m-othadvtypp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"表外记账"
name=
"engp"
>
<c-content>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"结算"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"会计分录"
name=
"glepan"
>
...
...
src/views/Business/Bttcan/index.vue
View file @
1c081cce
...
...
@@ -19,17 +19,23 @@
<!--PD000016 -->
<el-tab-pane
label=
"注销"
name=
"canp"
>
<c-content>
<m-canp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"或有"
name=
"engp"
>
<c-content>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"费用及财务"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000020
...
...
@@ -54,17 +60,23 @@
<!--PD000001 -->
<el-tab-pane
label=
"DTA fields"
name=
"dtatag"
>
<c-content>
<m-dtatag
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"DTA fields"
name=
"dtetag"
>
<c-content>
<m-dtetag
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000010 -->
<el-tab-pane
label=
"Incoming Tag 72/79"
name=
"coninftag"
>
<c-content>
<m-coninftag
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000529 -->
...
...
@@ -107,6 +119,7 @@ import Ccvpan from "~/views/Public/Ccvpan"
export
default
{
name
:
"Bttcan"
,
components
:{
"m-canp"
:
Canp
,
"m-engp"
:
Engp
,
...
...
@@ -149,7 +162,8 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//更新数据
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
...
...
src/views/Business/Bttdrv/Adapan.vue
View file @
1c081cce
...
...
@@ -6,10 +6,11 @@
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"修改后的第一受益人单据总金额"
prop=
"btdgrp.cbs.max.cur"
>
<c-input
v-model=
"model.btdgrp.cbs.max.cur"
maxlength=
"3"
placeholder=
"请输入"
disabled
<c-select
v-model=
"model.btdgrp.cbs.max.cur"
style=
"width:100%"
:code=
"codes.curtxt1"
placeholder=
"请选择"
disabled
></c-
inpu
t>
></c-
selec
t>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
...
...
@@ -22,6 +23,7 @@
<c-col
:span=
"12"
>
<el-form-item
label=
"修改后的第一受益人单据附加总金额"
prop=
"btdgrp.cbs.max2.cur"
>
<c-select
v-model=
"model.btdgrp.cbs.max2.cur"
style=
"width:100%"
placeholder=
"请选择"
:code=
"codes.curtxt1"
disabled
>
</c-select>
...
...
@@ -36,7 +38,7 @@
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"修改后的第二受益人单据总金额"
prop=
"btdgrp.cbs.max.cur"
>
<c-
input
v-model=
"model.btdgrp.cbs.max.cur"
maxlength=
"3"
placeholder=
"请输入"
disabled
></c-inpu
t>
<c-
select
v-model=
"model.btdgrp.cbs.max.cur"
style=
"width:100%"
placeholder=
"请选择"
:code=
"codes.curtxt1"
disabled
></c-selec
t>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
...
...
@@ -49,10 +51,11 @@
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"修改后的第二受益人单据附加总金额"
prop=
"btdgrp.cbs.opnbe1amt.cur"
>
<c-
input
v-model=
"model.btdgrp.cbs.opnbe1amt.cur"
maxlength=
"3
"
placeholder=
"请
输入
"
<c-
select
v-model=
"model.btdgrp.cbs.opnbe1amt.cur"
style=
"width:100%
"
placeholder=
"请
选择
"
disabled
></c-input>
:code=
"codes.curtxt1"
></c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
...
...
@@ -65,9 +68,10 @@
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"展示第一和第二受益人的单据金额之差"
prop=
"btdgrp.cbs.opnbe1amt.cur"
>
<c-input
v-model=
"model.btdgrp.cbs.opnbe1amt.cur"
maxlength=
"3"
<c-select
v-model=
"model.btdgrp.cbs.opnbe1amt.cur"
style=
"width:100%"
:code=
"codes.curtxt1"
disabled
placeholder=
"请
输入"
></c-inpu
t>
placeholder=
"请
选择"
></c-selec
t>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
...
...
@@ -83,6 +87,7 @@
<c-col
:span=
"12"
>
<el-form-item
label=
"展示第一和第二受益人的单据附加金额之差"
prop=
"btdgrp.cbs.opnbe1amt2.cur"
>
<c-select
v-model=
"model.btdgrp.cbs.opnbe1amt2.cur"
:code=
"codes.curtxt1"
disabled
style=
"width:100%"
placeholder=
"请选择"
>
</c-select>
...
...
src/views/Business/Bttdrv/Drv.vue
View file @
1c081cce
...
...
@@ -26,8 +26,8 @@
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
""
prop=
"bt
tp.recget.sdamod.seainf
"
>
<c-input
v-model=
"model.bt
tp.recget.sdamod.seainf
"
placeholder=
"请输入"
disabled
></c-input>
<el-form-item
label=
""
prop=
"bt
dgrp.rec.nam
"
>
<c-input
v-model=
"model.bt
dgrp.rec.nam
"
placeholder=
"请输入"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -37,33 +37,35 @@
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<c-col
:span=
"
8
"
>
<c-col
:span=
"
10
"
>
<el-form-item
label=
"单据金额"
prop=
"btdgrp.cbs.max.cur"
>
<c-select
v-model=
"model.btdgrp.cbs.max.cur"
style=
"width:100%"
placeholder=
"请选择单据金额币种"
disabled
>
<el-option
v-for=
"item in codes.cur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"1
2
"
>
<el-form-item
label=
""
label-width=
"
6
5px"
prop=
"btdgrp.cbs.max.amt"
>
<c-col
:span=
"1
0
"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"btdgrp.cbs.max.amt"
>
<c-input
v-model=
"model.btdgrp.cbs.max.amt"
placeholder=
"请输入单据金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"4"
class=
"centerLable"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"bttp.aammod.addamtflg"
>
<c-checkbox
v-model=
"model.bttp.aammod.addamtflg"
disabled
>
附加金额
</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"
8
"
>
<c-col
:span=
"
10
"
>
<el-form-item
label=
"余额"
prop=
"btdgrp.cbs.opn1.cur"
>
<c-select
v-model=
"model.btdgrp.cbs.max.cur"
style=
"width:100%"
placeholder=
"请选择余额币种"
disabled
>
<el-option
v-for=
"item in codes.cur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"1
2
"
>
<el-form-item
label=
""
label-width=
"
6
5px"
prop=
"btdgrp.cbs.opn1.cur"
>
<c-col
:span=
"1
0
"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"btdgrp.cbs.opn1.cur"
>
<c-input
v-model=
"model.btdgrp.cbs.opn1.cur"
placeholder=
"请输入余额"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -71,7 +73,7 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"单据类型"
prop=
"btdgrp.rec.doctypcod"
>
<c-
input
v-model=
"model.btdgrp.rec.doctypcod"
maxlength=
"1"
placeholder=
"请输入单据类型"
disabled
></c-inpu
t>
<c-
select
v-model=
"model.btdgrp.rec.doctypcod"
style=
"width:100%"
placeholder=
"请输入单据类型"
disabled
:code=
"doctypcod"
></c-selec
t>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -89,11 +91,40 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"单据状态"
prop=
"btdgrp.rec.docsta"
>
<c-
input
v-model=
"model.btdgrp.rec.docsta"
maxlength=
"40"
placeholder=
"请输入单据状态"
disabled
></c-inpu
t>
<c-
select
v-model=
"model.btdgrp.rec.docsta"
style=
"width:100%"
placeholder=
"请输入单据状态"
disabled
:code=
"codes.docsta2"
></c-selec
t>
</el-form-item>
</c-col>
<el-row>
<c-col
:span=
"24"
>
<c-docpre
:model=
"model"
rol=
"docgrdmbe1"
:argadr=
"
{
path: 'btdgrp.blk.prsdocbe1',
grp: 'bttp',
code: 'docpre',
}"
>
</c-docpre>
</c-col>
</el-row>
<el-row>
<c-col
:span=
"24"
>
<c-docpre
:model=
"model"
rol=
"docgrdmbe2"
:argadr=
"
{
path: 'btdgrp.blk.prsdocbe2',
grp: 'bttp',
code: 'docpre',
}"
>
</c-docpre>
</c-col>
</el-row>
<!--
<c-col
:span=
"24"
>
<c-col
:span=
"6"
>
<el-form-item
label=
"第一受益人提交的单据品种及份数"
>
</el-form-item>
...
...
@@ -123,7 +154,7 @@
</el-table-column>
</c-edit-table>
</c-col>
</c-col>
</c-col>
-->
</c-col>
...
...
@@ -153,7 +184,7 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"寄单行"
prop=
"btdgrp.prb.pts.ref"
>
<c-input
v-model=
"model.btdgrp.prb.pts.ref"
maxlength=
"16"
placeholder=
"请输入寄单行"
disabled
></c-input>
<c-input
v-model=
"model.btdgrp.prb.pts.ref"
maxlength=
"16"
placeholder=
"请输入寄单行"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -164,7 +195,7 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"单据类型"
prop=
"btdgrp.rec.doctypcod"
>
<c-select
v-model=
"model.btdgrp.rec.doctypcod"
style=
"width:100%"
placeholder=
"请选择单据类型"
>
<c-select
v-model=
"model.btdgrp.rec.doctypcod"
style=
"width:100%"
placeholder=
"请选择单据类型"
disabled
:code=
"doctypcod"
>
</c-select>
</el-form-item>
...
...
@@ -175,9 +206,9 @@
</c-col>
</c-col>
<c-col
:span=
"24"
>
<
!-- <
c-col :span="24">
<c-checkbox v-model="model.btdgrp.rec.dscinsflg">输入单据,不符点和指示</c-checkbox>
</c-col>
</c-col>
-->
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
...
...
@@ -196,13 +227,13 @@
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"从第二受益人那收到单据日期"
prop=
"btdgrp.rec.rcvdatbe2"
>
<c-date-picker
type=
"date"
v-model=
"model.btdgrp.rec.rcvdatbe2"
style=
"width:100%"
placeholder=
"请选择从第二受益人那收到单据日期"
></c-date-picker>
<c-date-picker
disabled
type=
"date"
v-model=
"model.btdgrp.rec.rcvdatbe2"
style=
"width:100%"
placeholder=
"请选择从第二受益人那收到单据日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"订单日期"
prop=
"btdgrp.rec.orddatbe2"
>
<c-date-picker
type=
"date"
v-model=
"model.btdgrp.rec.orddatbe2"
style=
"width:100%"
placeholder=
"请选择订单日期"
></c-date-picker>
<c-date-picker
disabled
type=
"date"
v-model=
"model.btdgrp.rec.orddatbe2"
style=
"width:100%"
placeholder=
"请选择订单日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -224,35 +255,43 @@
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Bttdrv/Event"
import
Docpre
from
"~/views/Public/Docpre"
;
export
default
{
components
:
{
"c-docpre"
:
Docpre
},
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
ptsaddg
:
{
columns
:
[{
title
:
"1st"
,
width
:
"120px"
,
dataIndex
:
"ptyextkey1"
,
show
:
"input"
,
},
{
title
:
"2nd"
,
width
:
"180px"
,
dataIndex
:
"ptyextkey2"
,
show
:
"input"
,
},
{
title
:
"单据"
,
width
:
"300px"
,
dataIndex
:
"nam"
,
show
:
"select"
,
},
doctypcod
:
[
{
label
:
"Mixed Payment Documents"
,
value
:
"M"
},
{
label
:
"Sight Documents"
,
value
:
"P"
},
{
label
:
"Usance Documents(Acceptance)"
,
value
:
"A"
},
{
label
:
"Usance Documents(Deferred)"
,
value
:
"D"
},
],
urls
:
"letp.ptsaddp.ptsaddg"
,
},
// ptsaddg: {
// columns: [{
// title: "1st",
// width: "120px",
// dataIndex: "ptyextkey1",
// show: "input",
// },
// {
// title: "2nd",
// width: "180px",
// dataIndex: "ptyextkey2",
// show: "input",
// },
// {
// title: "单据",
// width: "300px",
// dataIndex: "nam",
// show: "select",
// },
// ],
// urls: "letp.ptsaddp.ptsaddg",
// },
};
},
methods
:
{
...
...
src/views/Business/Bttdrv/Dscinsp.vue
0 → 100644
View file @
1c081cce
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"14"
>
<el-row>
<c-col
:span=
"20"
>
<el-form-item
label=
"不符点描述"
prop=
"btdgrp.blk.docdis"
>
<c-input
type=
"textarea"
v-model=
"model.btdgrp.blk.docdis"
maxlength=
"50"
show-word-limit
placeholder=
"请输入不符点描述"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"showGridPromptDialog('bttp.docdis.buttxmsel', null, null,
{TXT:'btdgrp.blk.docdis'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
</el-row>
<el-row>
<c-col
:span=
"20"
>
<el-form-item
label=
"国内不符点描述"
prop=
"btdgrp.blk.intdis"
>
<c-input
type=
"textarea"
v-model=
"model.btdgrp.blk.intdis"
maxlength=
"65"
show-word-limit
placeholder=
"请输入国内不符点描述"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"showGridPromptDialog('bttp.intdis.buttxmsel', null, null,
{TXT:'btdgrp.blk.intdis'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
</el-row>
<el-row>
<c-col
:span=
"20"
>
<el-form-item
label=
"评论和结论"
prop=
"btdgrp.blk.comcon"
>
<c-input
type=
"textarea"
v-model=
"model.btdgrp.blk.comcon"
maxlength=
"65"
show-word-limit
placeholder=
"请输入评论和结论"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"showGridPromptDialog('bttp.comcon.buttxmsel', null, null,
{TXT:'btdgrp.blk.comcon'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
</el-row>
<el-row>
<c-col
:span=
"20"
>
<el-form-item
label=
"结汇指示交易记录"
prop=
"btdgrp.blk.setinsbt"
>
<c-input
type=
"textarea"
v-model=
"model.btdgrp.blk.setinsbt"
maxlength=
"65"
show-word-limit
placeholder=
"请输入结汇指示交易记录"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"showGridPromptDialog('bttp.setins.buttxmsel', null, null,
{TXT:'btdgrp.blk.setinsbt'}, {TXT: false},'doxpDialog')">
...
</c-button>
</c-col>
</el-row>
<el-row>
<c-col
:span=
"24"
>
<c-docpre
:model=
"model"
rol=
"docgrdmbe1"
:argadr=
"
{
path: 'btdgrp.blk.prsdocbe1',
grp: 'bttp',
code: 'docpre',
}"
>
</c-docpre>
</c-col>
</el-row>
<el-row>
<c-col
:span=
"24"
>
<c-docpre
:model=
"model"
rol=
"docgrdmbe2"
:argadr=
"
{
path: 'btdgrp.blk.prsdocbe2',
grp: 'bttp',
code: 'docpre',
}"
>
</c-docpre>
</c-col>
</el-row>
</c-col>
<c-col
:span=
"9"
:offset=
"1"
>
<c-col
:span=
"20"
:offset=
"3"
>
<c-checkbox
v-model=
"model.btdgrp.blk.docdisflg"
>
不符点描述修改
</c-checkbox>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"进一步处理"
prop=
"bttp.futhndflg"
>
<c-select
v-model=
"model.bttp.futhndflg"
style=
"width:100%"
placeholder=
"请选择进一步处理"
:code=
"codes.futhndflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"单据状态"
prop=
"btdgrp.rec.docsta"
>
<c-input
v-model=
"model.btdgrp.rec.docsta"
style=
"width:100%"
placeholder=
"请选择单据状态"
disabled
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Bttdck/Event"
import
Docpre
from
"~/views/Public/Docpre"
;
export
default
{
components
:
{
"c-docpre"
:
Docpre
},
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
}
},
methods
:{...
Event
},
created
:
function
(){
}
}
</
script
>
<
style
>
</
style
>
src/views/Business/Bttdrv/index.vue
View file @
1c081cce
...
...
@@ -20,21 +20,35 @@
<!--PD000003 -->
<el-tab-pane
label=
"到单"
name=
"drv"
>
<c-content>
<m-drv
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"单据金额和当事人描述"
name=
"adapan"
>
<c-content>
<m-adapan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"不符点/指示"
name=
"dscinsp"
>
<c-content>
<m-dscinsp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"表外"
name=
"engp"
>
<c-content>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"费用及账务"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
...
...
@@ -65,6 +79,8 @@ import Default from "~/model/Bttdrv/Default"
import
Pattern
from
"~/model/Bttdrv/Pattern"
import
Drv
from
"./Drv"
import
Adapan
from
"./Adapan"
import
Dscinsp
from
"./Dscinsp"
import
Engp
from
"~/views/Public/Engp"
;
import
Setpan
from
"~/views/Public/Setpan"
;
...
...
@@ -74,7 +90,9 @@ import Coninfp from "~/views/Public/Coninfp";
export
default
{
name
:
"Bttdrv"
,
components
:{
"m-dscinsp"
:
Dscinsp
,
"m-drv"
:
Drv
,
"m-adapan"
:
Adapan
,
"m-engp"
:
Engp
,
...
...
@@ -98,7 +116,7 @@ export default {
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
codes
:
{
...
CodeTable
},
}
},
...
...
@@ -111,6 +129,12 @@ export default {
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
//TODO 处理数据逻辑
}
...
...
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