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
2c1695d4
Commit
2c1695d4
authored
Jan 24, 2022
by
wangguangchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
汇入汇款查询调试及信用证查询页面优化
parent
6e52e28e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
118 additions
and
77 deletions
+118
-77
ListSearch.vue
src/components/ListSearch.vue
+2
-2
Check.js
src/model/Cptadv/Check.js
+0
-0
Default.js
src/model/Cptadv/Default.js
+0
-0
Event.js
src/model/Cptadv/Event.js
+0
-0
Pattern.js
src/model/Cptadv/Pattern.js
+14
-9
index.js
src/model/Cptadv/index.js
+16
-19
Opnp1.vue
src/views/Business/Cptadv/Opnp1.vue
+55
-37
index.vue
src/views/Business/Cptadv/index.vue
+26
-6
index.vue
src/views/Business/Infbdd/index.vue
+3
-2
index.vue
src/views/Business/Infdid/index.vue
+2
-2
No files found.
src/components/ListSearch.vue
View file @
2c1695d4
...
...
@@ -52,8 +52,8 @@ export default {
<
style
>
.m-table-search
{
position
:
relative
;
margin
:
-20px
-20px
0
-30px
;
padding
:
20px
2
0px
10px
20px
;
margin
:
-20px
0
0
0
;
padding
:
20px
0px
10px
20px
;
border-bottom
:
10px
solid
rgb
(
232
,
232
,
232
);
}
.m-table-search-operation
{
...
...
src/model/Cptadv/Check.js
View file @
2c1695d4
This diff is collapsed.
Click to expand it.
src/model/Cptadv/Default.js
View file @
2c1695d4
This diff is collapsed.
Click to expand it.
src/model/Cptadv/Event.js
View file @
2c1695d4
This diff is collapsed.
Click to expand it.
src/model/Cptadv/Pattern.js
View file @
2c1695d4
...
...
@@ -306,15 +306,6 @@ export default {
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bopmod.outchargeamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
}
],
"setmod.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
...
...
@@ -336,6 +327,10 @@ export default {
],
"setmod.glemod.gleshwstm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
"mtabut.coninf.oitinf.oit.inftxt"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -412,4 +407,13 @@ export default {
"bopmod.outchargeamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
}
],
}
\ No newline at end of file
src/model/Cptadv/index.js
View file @
2c1695d4
import
Api
from
"~/service/Api"
;
import
Api
from
"~/service/Api"
import
Pts
from
"../Common/Pts"
export
default
class
Cptadv
{
constructor
()
{
this
.
data
=
{
...
...
@@ -17,9 +18,9 @@ export default class Cptadv{
cur71f
:
""
,
// 发报行扣费金额 .cpdgrp.rec.cur71f
amt71f
:
""
,
// 发报行扣费金额 .cpdgrp.rec.amt71f
f23b
:
""
,
// 银行操作码 .cpdgrp.rec.f23b
pyeact
:
""
,
// 收款人
账
号 .cpdgrp.rec.pyeact
pyeact
:
""
,
// 收款人
帐
号 .cpdgrp.rec.pyeact
sztyp
:
""
,
// 收支类型 .cpdgrp.rec.sztyp
orcact
:
""
,
// 汇款人
账
号 .cpdgrp.rec.orcact
orcact
:
""
,
// 汇款人
帐
号 .cpdgrp.rec.orcact
trntyp
:
""
,
// 汇款性�'� .cpdgrp.rec.trntyp
paytype
:
""
,
// 汇款方式 .cpdgrp.rec.paytype
gors
:
""
,
// 收款对象 .cpdgrp.rec.gors
...
...
@@ -140,16 +141,6 @@ export default class Cptadv{
payeecountcode
:
""
,
// 收款人常驻国家/地区代码 .cptp.payeecountcode
uetr
:
""
,
// Uetr .cptp.uetr
},
bopmod
:{
szflg
:
""
,
// 申报类型 .bopmod.szflg
basflg
:
""
,
// 基础数据 .bopmod.basflg
dclflg
:
""
,
// 申报数据 .bopmod.dclflg
vrfflg
:
""
,
// 核销数据 .bopmod.vrfflg
ownextkey
:
""
,
// 地区机构号 .bopmod.ownextkey
outchargeccy
:
""
,
// 国外银行扣费(涉外收入申报专用) .bopmod.outchargeccy
outchargeamt
:
""
,
// 国外银行扣费(涉外收入申报专用) .bopmod.outchargeamt
acttyp
:
""
,
// 款项来源 .bopmod.acttyp
},
setmod
:{
docamttyplab
:
""
,
// settled amount description as label .setmod.docamttyplab
retmsg
:
""
,
// Label showing Retry overflow condition .setmod.retmsg
...
...
@@ -163,11 +154,8 @@ export default class Cptadv{
},
zmqacclab
:
""
,
// 主�'�号LABEL .setmod.zmqacclab
zmqacc
:
""
,
// 自�'�区主�'�号 .setmod.zmqacc
setfog
:
{
setfol
:
[]
},
setfeg
:
{
setfel
:
[]
glemod
:{
gleshwstm
:
""
,
// Booking stream to Display .setmod.glemod.gleshwstm
},
},
mtabut
:{
...
...
@@ -208,7 +196,6 @@ export default class Cptadv{
seainf
:
""
,
// .trnmod.trndoc.rcvatt.seainf
},
filrecv
:
""
,
// File Receiver .trnmod.trndoc.filrecv
doceot
:
[],
},
},
lendoc
:{
...
...
@@ -217,6 +204,16 @@ export default class Cptadv{
vercerref
:
""
,
// Verification Certificate Number .lendoc.vercerref
decnum
:
""
,
// Declaration Number .lendoc.decnum
},
bopmod
:{
szflg
:
""
,
// 申报类型 .bopmod.szflg
basflg
:
""
,
// 基础数据 .bopmod.basflg
dclflg
:
""
,
// 申报数据 .bopmod.dclflg
vrfflg
:
""
,
// 核销数据 .bopmod.vrfflg
ownextkey
:
""
,
// 地区机构号 .bopmod.ownextkey
outchargeccy
:
""
,
// 国外银行扣费(涉外收入申报专用) .bopmod.outchargeccy
outchargeamt
:
""
,
// 国外银行扣费(涉外收入申报专用) .bopmod.outchargeamt
acttyp
:
""
,
// 款项来源 .bopmod.acttyp
},
cnybop
:{
cnyflg
:
""
,
// 是否报送跨境人民币2101表 .cnybop.cnyflg
traflg
:
""
,
// 是否报送跨境人民币2107表 .cnybop.traflg
...
...
src/views/Business/Cptadv/Opnp1.vue
View file @
2c1695d4
<
template
>
<div
class=
"eibs-tab"
>
<c-row>
<!-- ============== 顶部============================== -->
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"业务编号"
style=
"width:100%"
>
<el-form-item
label=
"业务编号"
style=
"width:100%"
prop=
"cpdgrp.rec.ownref"
>
<c-fullbox>
<c-input
v-model=
"model.cpdgrp.rec.ownref"
...
...
@@ -36,7 +35,7 @@
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Name"
>
<el-form-item
label=
"Name"
prop=
"cpdgrp.rec.nam"
>
<c-input
v-model=
"model.cpdgrp.rec.nam"
maxlength=
"40"
...
...
@@ -50,7 +49,7 @@
<!-- ========================左边======================= -->
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"清算编号"
style=
"width:100%"
>
<el-form-item
label=
"清算编号"
style=
"width:100%"
prop=
"cpdgrp.rec.sysno"
>
<c-fullbox>
<c-input
v-model=
"model.cpdgrp.rec.sysno"
...
...
@@ -73,11 +72,12 @@
</c-col>
<c-col
:span=
"13"
>
<el-form-item
label=
"汇款金额"
>
<el-form-item
label=
"汇款金额"
prop=
"cpdgrp.cbs.nom1.cur"
>
<c-select
v-model=
"model.cpdgrp.cbs.nom1.cur"
style=
"width: 95%"
placeholder=
"请选择Currency"
@
change=
"commonExecuteRule('cpdgrp.cbs.nom1.cur')"
>
<el-option
v-for=
"item in codes.cur"
...
...
@@ -89,26 +89,26 @@
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<el-form-item
label=
""
label-width=
"0"
style=
"text-align: left"
>
<el-form-item
label=
""
label-width=
"0"
style=
"text-align: left"
prop=
"cpdgrp.cbs.nom1.amt"
>
<c-input
v-model=
"model.cpdgrp.cbs.nom1.amt"
style=
"text-align: left; width: 100%"
placeholder=
"请输入汇款金额"
@
change=
"commonExecuteNotify()"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"1
3
"
>
<el-form-item
label=
"所属行"
>
<c-col
:span=
"1
4
"
>
<el-form-item
label=
"所属行"
prop=
"cpdgrp.rec.othbch"
>
<c-input
v-model=
"model.cpdgrp.rec.othbch"
maxlength=
"8"
placeholder=
"请输入所属行"
style=
"width:95%"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"1
1
"
>
<el-form-item
label=
"汇款语种"
label-width=
"
100px
"
>
<c-col
:span=
"1
0
"
>
<el-form-item
label=
"汇款语种"
label-width=
"
60px"
style=
"margin-left: 12px"
prop=
"cptp.payuil
"
>
<c-select
v-model=
"model.cptp.payuil"
style=
"width: 100%"
...
...
@@ -125,7 +125,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"付款人常驻国家/地区代码"
>
<el-form-item
label=
"付款人常驻国家/地区代码"
prop=
"cptp.draweecountcode"
>
<c-fullbox>
<c-input
v-model=
"model.cptp.draweecountcode"
...
...
@@ -147,7 +147,7 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"我行费用负担"
>
<el-form-item
label=
"我行费用负担"
prop=
"cpdgrp.rec.detchgcod"
>
<c-select
v-model=
"model.cpdgrp.rec.detchgcod"
style=
"width: 100%"
...
...
@@ -163,7 +163,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"货物类型"
>
<el-form-item
label=
"货物类型"
prop=
"cpdgrp.rec.stagod"
>
<c-select
v-model=
"model.cpdgrp.rec.stagod"
style=
"width: 100%"
...
...
@@ -182,8 +182,8 @@
<!-- ========================右边======================= -->
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"1
2
"
>
<el-form-item
label=
"汇款性质"
>
<c-col
:span=
"1
3
"
>
<el-form-item
label=
"汇款性质"
prop=
"cpdgrp.rec.trntyp"
>
<c-select
v-model=
"model.cpdgrp.rec.trntyp"
style=
"width: 100%"
...
...
@@ -198,8 +198,8 @@
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"1
2
"
>
<el-form-item
label=
"汇款方式"
>
<c-col
:span=
"1
1
"
>
<el-form-item
label=
"汇款方式"
label-width=
"40%"
prop=
"cpdgrp.rec.paytype"
>
<c-select
v-model=
"model.cpdgrp.rec.paytype"
style=
"width: 100%"
...
...
@@ -214,8 +214,8 @@
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"1
2
"
>
<el-form-item
label=
"收款对象"
>
<c-col
:span=
"1
3
"
>
<el-form-item
label=
"收款对象"
prop=
"cpdgrp.rec.gors"
>
<c-select
v-model=
"model.cpdgrp.rec.gors"
style=
"width: 100%"
...
...
@@ -231,8 +231,8 @@
</el-form-item>
</c-col>
<c-col
:span=
"1
2
"
>
<el-form-item
label=
"收支类型"
>
<c-col
:span=
"1
1
"
>
<el-form-item
label=
"收支类型"
label-width=
"40%"
prop=
"cpdgrp.rec.sztyp"
>
<c-select
v-model=
"model.cpdgrp.rec.sztyp"
style=
"width: 100%"
...
...
@@ -248,7 +248,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Uetr"
>
<el-form-item
label=
"Uetr"
prop=
"cptp.uetr"
>
<c-fullbox>
<c-input
v-model=
"model.cptp.uetr"
...
...
@@ -264,8 +264,8 @@
</el-form-item>
</c-col>
<c-col
:span=
"1
2
"
>
<el-form-item
label=
"解付日期"
>
<c-col
:span=
"1
3
"
>
<el-form-item
label=
"解付日期"
prop=
"cpdgrp.rec.paydat"
>
<c-date-picker
type=
"date"
v-model=
"model.cpdgrp.rec.paydat"
...
...
@@ -274,18 +274,19 @@
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"1
2
"
>
<el-form-item
label=
"起息日"
>
<c-col
:span=
"1
1
"
>
<el-form-item
label=
"起息日"
label-width=
"40%"
prop=
"cpdgrp.rec.valdat"
>
<c-date-picker
type=
"date"
v-model=
"model.cpdgrp.rec.valdat"
style=
"width: 100%"
placeholder=
"请选择起息日"
@
change=
"commonExecuteNotify()"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"1
2
"
>
<el-form-item
label=
"客户类型"
>
<c-col
:span=
"1
3
"
>
<el-form-item
label=
"客户类型"
prop=
"cpdgrp.rec.clityp"
>
<c-select
v-model=
"model.cpdgrp.rec.clityp"
style=
"width: 100%"
...
...
@@ -301,12 +302,14 @@
</el-form-item>
</c-col>
<c-col
:span=
"1
2
"
>
<el-form-item
label=
"报文类型"
>
<c-col
:span=
"1
1
"
>
<el-form-item
label=
"报文类型"
label-width=
"40%"
prop=
"cpdgrp.rec.swftyp"
>
<c-select
v-model=
"model.cpdgrp.rec.swftyp"
style=
"width: 100%"
placeholder=
"请选择报文类型"
@
change=
"commonExecuteRule('cpdgrp.rec.swftyp')"
>
<el-option
v-for=
"item in codes.swftypOpnp"
...
...
@@ -318,8 +321,8 @@
</el-form-item>
</c-col>
<c-col
:span=
"1
2
"
>
<el-form-item
label=
"国外费用"
>
<c-col
:span=
"1
1
"
>
<el-form-item
label=
"国外费用"
prop=
"cpdgrp.rec.feecur"
>
<c-select
v-model=
"model.cpdgrp.rec.feecur"
style=
"width: 100%"
...
...
@@ -336,11 +339,12 @@
</el-form-item>
</c-col>
<c-col
:span=
"1
2
"
>
<el-form-item
label=
""
label-width=
"20px
"
>
<c-col
:span=
"1
3
"
>
<el-form-item
label=
""
label-width=
"10px"
prop=
"cpdgrp.rec.feeamt
"
>
<c-input
v-model=
"model.cpdgrp.rec.feeamt"
placeholder=
"请输入国外费用金额"
style=
"width: 64%"
></c-input>
<c-checkbox
v-model=
"model.cpdgrp.rec.tsnflg"
>
同名划转标志
</c-checkbox
...
...
@@ -1006,11 +1010,11 @@
<c-input type="textarea" v-model="model.cpdgrp.pye.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col> -->
</c-row>
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils/index"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Cptadv/Event"
;
...
...
@@ -1034,7 +1038,21 @@ export default {
};
},
methods
:
{
...
Event
,
onSeainf
(){}
onSeainf
(){},
commonExecuteRule
(
ruleName
){
this
.
executeRule
(
ruleName
).
then
((
res
)
=>
{
if
((
res
.
respCode
==
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
});
},
commonExecuteNotify
(){
this
.
executeNotify
().
then
((
res
)
=>
{
if
((
res
.
respCode
==
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
});
},
},
created
:
function
()
{
console
.
log
(
this
.
root
);
...
...
src/views/Business/Cptadv/index.vue
View file @
2c1695d4
<
template
>
<c-page
title=
"汇入汇款"
>
<div
class=
"eContainer"
>
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
<!--
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
-->
<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"
...
...
@@ -10,13 +23,13 @@
size=
"small"
>
<c-tabs
ref=
"elment"
:value=
"tabVal"
type=
"card"
@
tab-click=
"tabClick"
>
<el-tab-pane
label=
"
Overview
"
name=
"opnp1"
>
<el-tab-pane
label=
"
基本信息
"
name=
"opnp1"
>
<!--PD000020 -->
<c-content>
<m-opnp1
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"
账务"
name=
"setpan"
>
<el-tab-pane
label=
"费用及
账务"
name=
"setpan"
>
<!--PD000006 -->
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
...
...
@@ -55,10 +68,13 @@ import Utils from "~/utils/index";
import
CodeTable
from
"~/config/CodeTable"
;
import
Cptadv
from
"~/model/Cptadv"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
Pattern
from
"~/model/Cptadv/Pattern
"
;
import
CommonFuncs
from
"~/mixin/CommonFuncs
"
;
import
Opnp1
from
"./Opnp1"
;
import
Docpan2
from
"./Docpan2"
;
import
Wg
from
"./Wg"
;
import
Pattern
from
"~/model/Cptadv/Pattern"
;
import
Default
from
"~/model/Cptadv/Default"
;
import
Check
from
"~/model/Cptadv/Check"
;
// import Setpan from "./Setpan";
// import Coninfp from "./Coninfp";
// import Docpan from "./Docpan";
...
...
@@ -88,7 +104,8 @@ export default {
root
:
this
,
};
},
mixins
:
[
CommonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
CommonProcess
,
CommonFuncs
],
// 里面包含了Default、Check等的公共处理
computed
:
{},
data
()
{
return
{
tabVal
:
"opnp1"
,
...
...
@@ -96,7 +113,10 @@ export default {
model
:
new
Cptadv
().
data
,
// defaultRule:Default,
// rules:this.mergeRules(Pattern,Check),
rules
:
Pattern
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
},
};
},
...
...
src/views/Business/Infbdd/index.vue
View file @
2c1695d4
...
...
@@ -170,7 +170,7 @@
padding
:
10px
0
10px
30px
;
background-color
:
#f7faff
;
}
.eContainer
{
/*
.eContainer {
padding: 3px 15px;
}
}
*/
</
style
>
\ No newline at end of file
src/views/Business/Infdid/index.vue
View file @
2c1695d4
...
...
@@ -254,8 +254,8 @@ export default {
}
</
script
>
<
style
scoped
>
.eContainer
{
/*
.eContainer {
padding: 3px 15px;
}
}
*/
</
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