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
94563429
Commit
94563429
authored
Jun 24, 2022
by
Eivi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bftdrv、bftdcr、bftsnd交易优化
parent
a2447b28
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
125 additions
and
63 deletions
+125
-63
Pattern.js
src/model/Bftacc/Pattern.js
+1
-1
index.js
src/model/Bftdcr/index.js
+1
-0
Pattern.js
src/model/Bftdrv/Pattern.js
+1
-1
index.js
src/model/Bftdrv/index.js
+1
-0
Default.js
src/model/Bftset/Default.js
+38
-37
index.js
src/model/Bftsnd/index.js
+1
-0
Pattern.js
src/model/Detdrv/Pattern.js
+0
-0
Betdcrd.vue
src/views/Business/Bftdcr/Betdcrd.vue
+18
-6
Drv2.vue
src/views/Business/Bftdrv/Drv2.vue
+6
-0
Dscins.vue
src/views/Business/Bftdrv/Dscins.vue
+18
-6
Setp.vue
src/views/Business/Bftset/Setp.vue
+20
-4
index.vue
src/views/Business/Bftset/index.vue
+2
-1
Rgfp.vue
src/views/Business/Bftsnd/Rgfp.vue
+18
-6
Drv.vue
src/views/Business/Detdrv/Drv.vue
+0
-1
No files found.
src/model/Bftacc/Pattern.js
View file @
94563429
...
...
@@ -149,7 +149,7 @@ export default {
"dedgrp.cbs.opn1.amt"
:
[
{
type
:
"string"
,
required
:
false
,
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位"
}
],
"bftp.recget.sdamod.dadsnd"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/model/Bftdcr/index.js
View file @
94563429
...
...
@@ -102,6 +102,7 @@ export default class Bftdcr {
},
docgrdm
:
{
docdsclab
:
""
,
// Label of document description .bftp.docgrdm.docdsclab
docgrd
:
""
,
//.bftp.docgrdm.docgrd
},
},
dedgrp
:
{
...
...
src/model/Bftdrv/Pattern.js
View file @
94563429
...
...
@@ -18,7 +18,7 @@ export default {
"dedgrp.cbs.opn1.amt"
:
[
{
type
:
"string"
,
required
:
false
,
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位"
}
],
"bftp.recget.sdamod.dadsnd"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/model/Bftdrv/index.js
View file @
94563429
...
...
@@ -112,6 +112,7 @@ export default class Bftdrv {
msgtyp
:
""
,
// 报文类型 .bftp.msgtyp
docgrdm
:
{
docdsclab
:
""
,
// Label of document description .bftp.docgrdm.docdsclab
docgrd
:
""
,
//.bftp.docgrdm.docgrd
},
folwupopt
:
""
,
// Processing Options .bftp.folwupopt
othp
:
{
...
...
src/model/Bftset/Default.js
View file @
94563429
/**
* Bftset Default规则
*/
* Bftset Default规则
*/
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils/index"
export
default
{
"setmod.doccur"
:
Utils
.
defaultFunction
,
"setmod.docamt"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.oth.pts.extkey"
:
Utils
.
defaultFunction
,
"setmod.setamt"
:
Utils
.
defaultFunction
,
"setmod.dspflg"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.wrk.pts.extkey"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.nonrevflg2"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.nonrevflg1"
:
Utils
.
defaultFunction
,
"bfdgrp.rec.frepayflg"
:
Utils
.
defaultFunction
,
"bfdgrp.cbs.max.amt"
:
Utils
.
defaultFunction
,
"bfdgrp.prb.pts.nam"
:
Utils
.
defaultFunction
,
"bfdgrp.cbs.max.cur"
:
Utils
.
defaultFunction
,
"bfdgrp.iss.pts.nam"
:
Utils
.
defaultFunction
,
"trtcre.crefinflg"
:
Utils
.
defaultFunction
,
"setmod.redamt"
:
Utils
.
defaultFunction
,
"dedgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"liaall.limmod.comamt"
:
Utils
.
defaultFunction
,
"liaall.limmod.ccvamt"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.wrk.pts.nam"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inftxt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inflev"
:
Utils
.
defaultFunction
,
"bfdgrp.apl.pts.nam"
:
Utils
.
defaultFunction
,
"bfdgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"mtabut.coninf.usr.extkey"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.oth.pts.nam"
:
Utils
.
defaultFunction
,
"aamset.utlamt"
:
Utils
.
defaultFunction
,
"bfdgrp.cbs.opn2.cur"
:
Utils
.
defaultFunction
,
"aamset.utlamt2"
:
Utils
.
defaultFunction
,
"bfdgrp.cbs.opn1.amt"
:
Utils
.
defaultFunction
,
"liaall.misamt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitinf.oit.inftxt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitinf.oit.inflev"
:
Utils
.
defaultFunction
,
"mtabut.clsflg"
:
Utils
.
defaultFunction
,
"mtabut.coninf.conexedat"
:
Utils
.
defaultFunction
,
"setmod.doccur"
:
Utils
.
defaultFunction
,
"setmod.docamt"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.oth.pts.extkey"
:
Utils
.
defaultFunction
,
"setmod.setamt"
:
Utils
.
defaultFunction
,
"setmod.dspflg"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.wrk.pts.extkey"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.nonrevflg2"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.nonrevflg1"
:
Utils
.
defaultFunction
,
"bfdgrp.rec.frepayflg"
:
Utils
.
defaultFunction
,
"bfdgrp.cbs.max.amt"
:
Utils
.
defaultFunction
,
"bfdgrp.prb.pts.nam"
:
Utils
.
defaultFunction
,
"bfdgrp.cbs.max.cur"
:
Utils
.
defaultFunction
,
"bfdgrp.iss.pts.nam"
:
Utils
.
defaultFunction
,
"trtcre.crefinflg"
:
Utils
.
defaultFunction
,
"setmod.redamt"
:
Utils
.
defaultFunction
,
"dedgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"liaall.limmod.comamt"
:
Utils
.
defaultFunction
,
"liaall.limmod.ccvamt"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.wrk.pts.nam"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inftxt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitset.oit.inflev"
:
Utils
.
defaultFunction
,
"bfdgrp.apl.pts.nam"
:
Utils
.
defaultFunction
,
"bfdgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"mtabut.coninf.usr.extkey"
:
Utils
.
defaultFunction
,
"liaall.limmod.limpts.oth.pts.nam"
:
Utils
.
defaultFunction
,
"aamset.utlamt"
:
Utils
.
defaultFunction
,
"bfdgrp.cbs.opn2.cur"
:
Utils
.
defaultFunction
,
"aamset.utlamt2"
:
Utils
.
defaultFunction
,
"bfdgrp.cbs.opn1.amt"
:
Utils
.
defaultFunction
,
"liaall.misamt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitinf.oit.inftxt"
:
Utils
.
defaultFunction
,
"mtabut.coninf.oitinf.oit.inflev"
:
Utils
.
defaultFunction
,
"mtabut.clsflg"
:
Utils
.
defaultFunction
,
"mtabut.coninf.conexedat"
:
Utils
.
defaultFunction
,
}
//你可以添加自动default处理
\ No newline at end of file
src/model/Bftsnd/index.js
View file @
94563429
...
...
@@ -20,6 +20,7 @@ export default class Bftsnd {
},
docgrdm
:
{
docdsclab
:
""
,
// Label of document description .bftp.docgrdm.docdsclab
docgrd
:
""
,
//.bftp.docgrdm.docgrd
},
prbp
:
{
ptsget
:
{
...
...
src/model/Detdrv/Pattern.js
View file @
94563429
This diff is collapsed.
Click to expand it.
src/views/Business/Bftdcr/Betdcrd.vue
View file @
94563429
...
...
@@ -115,23 +115,35 @@
<c-col
:span=
"24"
style=
"height: 0px"
>
<el-divider></el-divider>
</c-col>
<c-col
:span=
"24"
style=
""
>
<c-col
:span=
"24"
style=
"
margin-bottom: 30px;
"
>
<c-table
height=
"200px"
style=
"text-align: center"
:list=
"
TableValue
"
:list=
"
this.model.bftp.docgrdm.docgrd || []
"
:paginationShow=
"false"
:border=
"true"
>
<el-table-column
label=
"1st"
prop=
"cmail1"
width=
"auto"
></el-table-column>
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"scope.row.cmail1"
></c-input>
</
template
>
</el-table-column>
<el-table-column
label=
"2st"
prop=
"cmail2"
width=
"auto"
></el-table-column>
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"scope.row.cmail2"
></c-input>
</
template
>
</el-table-column>
<el-table-column
label=
"Document"
prop=
"docnam"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<!--
{{
scope
.
row
.
docnam
}}
-->
...
...
src/views/Business/Bftdrv/Drv2.vue
View file @
94563429
<
template
>
<div
class=
"eibs-tab"
>
<!-- left -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"交单批注行行号"
prop=
"bfdgrp.rec.anobnkcod"
>
<c-input
...
...
@@ -22,7 +24,10 @@
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"交单批注描述"
prop=
"bfdgrp.rec.anodsp"
>
<c-input
...
...
@@ -54,6 +59,7 @@
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</
template
>
<
script
>
...
...
src/views/Business/Bftdrv/Dscins.vue
View file @
94563429
...
...
@@ -226,23 +226,35 @@
<c-col
:span=
"24"
style=
"height: 0px"
>
<el-divider></el-divider>
</c-col>
<c-col
:span=
"24"
style=
""
>
<c-col
:span=
"24"
style=
"
margin-bottom: 30px;
"
>
<c-table
height=
"200px"
style=
"text-align: center"
:list=
"
TableValue
"
:list=
"
this.model.bftp.docgrdm.docgrd || []
"
:paginationShow=
"false"
:border=
"true"
>
<el-table-column
label=
"1st"
prop=
"cmail1"
width=
"auto"
></el-table-column>
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"scope.row.cmail1"
></c-input>
</
template
>
</el-table-column>
<el-table-column
label=
"2st"
prop=
"cmail2"
width=
"auto"
></el-table-column>
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"scope.row.cmail2"
></c-input>
</
template
>
</el-table-column>
<el-table-column
label=
"Document"
prop=
"docnam"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<!--
{{
scope
.
row
.
docnam
}}
-->
...
...
src/views/Business/Bftset/Setp.vue
View file @
94563429
...
...
@@ -313,6 +313,7 @@
<!-- next part -->
<c-col
:span=
"24"
style=
"margin-bottom: 35px"
>
<c-istream-table
ref=
"table"
:list=
"model.liaall.tenstm.rows || []"
:columns=
"stmData.columns"
:showSelection=
"true"
...
...
@@ -419,7 +420,7 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"frepayflg"
>
<el-form-item
label=
""
prop=
"
bfdgrp.rec.
frepayflg"
>
<c-checkbox
v-model=
"frepayflg"
>
无偿放单
</c-checkbox>
</el-form-item>
</c-col>
...
...
@@ -845,6 +846,7 @@ import commonProcess from "~/mixin/commonProcess";
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Bftset/Event"
;
import
Ptsmsg
from
"~/views/Public/Ptsmsg"
;
import
Utils
from
"~/utils/index"
// import PtapDome from "~/views/Public/PtapDome";
// import Ptap from "~/views/Public/Ptap"; "c-ptapdome": PtapDome, "c-ptap": Ptap
...
...
@@ -889,16 +891,30 @@ export default {
return
this
.
model
.
mtabut
.
coninf
.
usr
.
extkey
==
""
;
},
},
mounted
(){
this
.
$nextTick
(()
=>
{
})
},
methods
:
{
...
Event
,
multipleSelect
(
selection
)
{
async
multipleSelect
(
selection
)
{
console
.
log
(
selection
);
if
(
selection
)
{
const
rtnmsg
=
this
.
executeRule
(
"tenstm"
);
this
.
updateModel
(
rtnmsg
.
data
);
let
selIds
=
selection
.
map
(
x
=>
x
+
1
);
let
params
=
{
selDst
:
"liaall.tenstm"
,
selIds
}
const
rtnmsg
=
await
this
.
executeRule
(
"liaall.tenstm"
,
params
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
},
},
created
:
function
()
{},
};
</
script
>
...
...
src/views/Business/Bftset/index.vue
View file @
94563429
...
...
@@ -24,7 +24,7 @@
<!--PD000034 -->
<el-tab-pane
label=
"收款"
name=
"setp"
>
<c-content>
<m-setp
:model=
"model"
:codes=
"codes"
/>
<m-setp
ref=
"setp"
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
...
...
@@ -118,6 +118,7 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
this
.
$refs
.
setp
.
$refs
.
table
.
$refs
.
table
.
toggleAllSelection
();
}
else
{
...
...
src/views/Business/Bftsnd/Rgfp.vue
View file @
94563429
...
...
@@ -320,23 +320,35 @@
<c-col
:span=
"24"
style=
"height: 0px"
>
<el-divider></el-divider>
</c-col>
<c-col
:span=
"24"
style=
"margin-bottom: 30px"
>
<c-col
:span=
"24"
style=
"margin-bottom: 30px
;
"
>
<c-table
height=
"200px"
style=
"text-align: center"
:list=
"
TableValue
"
:list=
"
this.model.bftp.docgrdm.docgrd || []
"
:paginationShow=
"false"
:border=
"true"
>
<el-table-column
label=
"1st"
prop=
"cmail1"
width=
"auto"
></el-table-column>
>
<template
slot-scope=
"scope"
>
<c-input
v-model=
"scope.row.cmail1"
></c-input>
</
template
>
</el-table-column>
<el-table-column
label=
"2st"
prop=
"cmail2"
width=
"auto"
></el-table-column>
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"scope.row.cmail2"
></c-input>
</
template
>
</el-table-column>
<el-table-column
label=
"Document"
prop=
"docnam"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<!--
{{
scope
.
row
.
docnam
}}
-->
...
...
src/views/Business/Detdrv/Drv.vue
View file @
94563429
...
...
@@ -345,7 +345,6 @@
v-model=
"model.bfdgrp.rec.matdat"
style=
"width: 100%"
placeholder=
"请选择到期日"
disabled
></c-date-picker>
</el-form-item>
</c-col>
...
...
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