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
4bca847e
Commit
4bca847e
authored
Feb 08, 2022
by
杜大兵
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://114.115.138.98:8900/fukai/vue-gjjs
parents
ab864d55
c5f13e9b
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
200 additions
and
193 deletions
+200
-193
index.js
src/config/CodeTable/index.js
+6
-8
commonFuncs.js
src/mixin/commonFuncs.js
+1
-1
Pattern.js
src/model/Cptadv/Pattern.js
+9
-9
Check.js
src/model/Cptopn/Check.js
+1
-1
Default.js
src/model/Cptopn/Default.js
+1
-1
Event.js
src/model/Cptopn/Event.js
+12
-0
Pattern.js
src/model/Cptopn/Pattern.js
+8
-8
index.js
src/model/Cptopn/index.js
+1
-1
CptAdvChangePanel.vue
src/views/Business/Cptadv/CptAdvChangePanel.vue
+71
-82
Opnp1.vue
src/views/Business/Cptadv/Opnp1.vue
+11
-11
Opnp1.vue
src/views/Business/Cptopn/Opnp1.vue
+12
-10
Outp.vue
src/views/Business/Cptopn/Outp.vue
+0
-1
Sbxx.vue
src/views/Business/Cptopn/Sbxx.vue
+2
-1
BusNavbar.vue
src/views/Business/Infcpd/BusNavbar.vue
+20
-23
Infsea.vue
src/views/Business/Infcpd/Infsea.vue
+23
-4
InftrnpsDetail.vue
src/views/Business/Trnrel/InftrnpsDetail.vue
+12
-12
Doctre.vue
src/views/Public/Doctre.vue
+10
-20
No files found.
src/config/CodeTable/index.js
View file @
4bca847e
...
...
@@ -103,9 +103,8 @@ const CodeTable = {
{
label
:
"正常还款"
,
value
:
"0"
},
],
acttyp
:
[
{
label
:
"储蓄存款账户"
,
value
:
"3"
},
{
label
:
"支票存款账户"
,
value
:
"2"
},
{
label
:
"活期存款账户"
,
value
:
"1"
},
{
label
:
"境外"
,
value
:
"(JW)"
},
{
label
:
"境内非居民"
,
value
:
"(JN)"
},
],
addamtflg
:
[
{
label
:
"No"
,
value
:
""
},
...
...
@@ -4107,9 +4106,7 @@ const CodeTable = {
{
label
:
"N"
,
value
:
"N"
},
],
ownextkey
:
[
{
label
:
"修改"
,
value
:
"C"
},
{
label
:
"新建"
,
value
:
"A"
},
{
label
:
"删除"
,
value
:
"D"
},
{
label
:
"08350012北京分行"
,
value
:
"08350012"
},
],
ownexttyp
:
[
{
label
:
"手工录入"
,
value
:
"OE"
},
...
...
@@ -5207,9 +5204,10 @@ const CodeTable = {
{
label
:
"新系统"
,
value
:
"N"
},
],
szflg
:
[
{
value
:
"1"
,
label
:
"
境外汇款申请书
"
},
{
value
:
"2"
,
label
:
"境内
汇款申请书
"
},
{
value
:
"1"
,
label
:
"
跨境收支
"
},
{
value
:
"2"
,
label
:
"境内
收支
"
},
{
value
:
"3"
,
label
:
"不申报"
},
// { value: "4", label: "买方信贷" },
],
sztyp
:
[
{
label
:
"跨境收支"
,
value
:
"1"
},
...
...
src/mixin/commonFuncs.js
View file @
4bca847e
...
...
@@ -85,7 +85,7 @@ export default {
message
:
"校验成功"
,
type
:
"success"
,
});
re
ut
rn
re
tu
rn
}
const
tab
=
this
.
showBackendErrors
(
fieldErrors
)
...
...
src/model/Cptadv/Pattern.js
View file @
4bca847e
...
...
@@ -228,7 +228,7 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"cpdgrp.orc.pts.ref"
:[
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"cpdgrp.pye.pts.ref"
:[
...
...
@@ -332,16 +332,16 @@ export default {
{
max
:
1
,
message
:
"长度不能超过1"
}
],
"mtabut.coninf.oitinf.oit.inftxt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
//
"mtabut.coninf.oitinf.oit.inftxt":[
//
{type: "string", required: false, message: "必输项"},
//
{max: 60,message:"长度不能超过60"}
//
],
"mtabut.coninf.oitset.oit.inftxt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
//
"mtabut.coninf.oitset.oit.inftxt":[
//
{type: "string", required: false, message: "必输项"},
//
{max: 60,message:"长度不能超过60"}
//
],
"mtabut.coninf.conexedat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
...
...
src/model/Cptopn/Check.js
View file @
4bca847e
...
...
@@ -86,7 +86,7 @@ let checkObj = {
"cnybop.libflg"
:
null
,
"cpdgrp.cbs.max.cur"
:
null
,
"cpdgrp.rec.prechkdat"
:
null
,
"bopmod.ownextkey"
:
null
,
//
"bopmod.ownextkey" :null,
"cpdgrp.rec.sysno"
:
null
,
"setmod.docamt"
:
null
,
"bopmod.acttyp"
:
null
,
...
...
src/model/Cptopn/Default.js
View file @
4bca847e
...
...
@@ -88,7 +88,7 @@ export default {
"mtabut.coninf.oitset.oit.inflev"
:
Utils
.
defaultFunction
,
"finmod.intdat"
:
Utils
.
defaultFunction
,
"trdgrp.rec.ownref"
:
Utils
.
defaultFunction
,
"cptp.payeecountcode"
:
Utils
.
defaultFunction
,
//
"cptp.payeecountcode" :Utils.defaultFunction,
"cpdgrp.rec.ischktyp"
:
Utils
.
defaultFunction
,
}
//你可以添加自动default处理
src/model/Cptopn/Event.js
View file @
4bca847e
...
...
@@ -247,4 +247,15 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onCptpGetInfpta
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp.payeecountcode"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
\ No newline at end of file
src/model/Cptopn/Pattern.js
View file @
4bca847e
...
...
@@ -353,16 +353,16 @@ export default {
{
max
:
1
,
message
:
"长度不能超过1"
}
],
"mtabut.coninf.oitinf.oit.inftxt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
//
"mtabut.coninf.oitinf.oit.inftxt":[
//
{type: "string", required: false, message: "必输项"},
//
{max: 60,message:"长度不能超过60"}
//
],
"mtabut.coninf.oitset.oit.inftxt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
//
"mtabut.coninf.oitset.oit.inftxt":[
//
{type: "string", required: false, message: "必输项"},
//
{max: 60,message:"长度不能超过60"}
//
],
"mtabut.coninf.conexedat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
...
...
src/model/Cptopn/index.js
View file @
4bca847e
...
...
@@ -144,7 +144,7 @@ export default class Cptopn{
payeecountcode
:
""
,
// 收款人常驻国家/地区代码 .cptp.payeecountcode
uetr
:
""
,
// Uetr .cptp.uetr
},
pyenam
:
""
,
// 收款人名称 pyenam
setmod
:{
docamttyplab
:
""
,
// settled amount description as label .setmod.docamttyplab
retmsg
:
""
,
// Label showing Retry overflow condition .setmod.retmsg
...
...
src/views/Business/Cptadv/CptAdvChangePanel.vue
View file @
4bca847e
...
...
@@ -358,33 +358,31 @@
style=
"margin-top: 10px"
>
<c-col
:span=
"24"
>
<c-
col
:span=
"18"
>
<c-
fullbox
>
<el-form-item
label=
"发报行"
prop=
"cpdgrp.snd.pts.extkey"
>
<c-input
placeholder=
"请输入发报行"
v-model=
"model.cpdgrp.snd.pts.extkey"
@
keyup
.
enter
.
native=
"showGridPromptDialog('cpdgrp.snd.pts.extkey')"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"6"
style=
"text-align: right"
>
<el-form-item
label=
""
label-width=
"15px"
>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
>
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</c-col>
</el-form-item>
</c-col>
<
template
slot=
"footer"
>
<c-button
style=
"margin:0 10px 0 10;padding: 0 12px;"
size=
"small"
type=
"primary"
icon=
"el-icon-search"
>
</c-button>
<c-button
style=
"margin:0 0"
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</
template
>
</c-fullbox>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -424,7 +422,7 @@
</c-col>
<c-col
:span=
"24"
>
<c-
col
:span=
"18"
>
<c-
fullbox
>
<el-form-item
label=
""
>
<c-input
v-model=
"model.cpdgrp.pye.pts.extkey"
...
...
@@ -432,29 +430,26 @@
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"6"
style=
"text-align: right"
>
<el-form-item
label=
""
label-width=
"15px"
>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
>
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</c-col>
</el-form-item>
</c-col>
<
template
slot=
"footer"
>
<c-button
style=
"margin:0 10px 0 10;padding: 0 12px;"
size=
"small"
type=
"primary"
icon=
"el-icon-search"
>
</c-button>
<c-button
style=
"margin:0 0"
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</
template
>
</c-fullbox>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -479,23 +474,21 @@
style=
"margin-top: 10px"
>
<c-col
:span=
"24"
>
<c-
col
:span=
"18"
>
<c-
fullbox
>
<el-form-item
label=
"发报行"
prop=
"cpdgrp.snd.pts.extkey"
>
<c-input
placeholder=
"请输入发报行"
v-model=
"model.cpdgrp.snd.pts.extkey"
@
keyup
.
enter
.
native=
"showGridPromptDialog('cpdgrp.snd.pts.extkey')"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"6"
style=
"text-align: right"
>
<el-form-item
label=
""
label-width=
"15px"
>
<c-col
:span=
"12"
>
<
template
slot=
"footer"
>
<c-button
style=
"margin:0 10px 0 10;padding: 0 12px;"
size=
"small"
type=
"primary"
icon=
"el-icon-search"
>
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
style=
"margin:0 0"
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
...
...
@@ -503,9 +496,8 @@
>
详情
</c-button>
</c-col>
</el-form-item>
</c-col>
</
template
>
</c-fullbox>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -554,7 +546,7 @@
</c-col>
<c-col
:span=
"24"
>
<c-
col
:span=
"18"
>
<c-
fullbox
>
<el-form-item
label=
""
prop=
"cpdgrp.pye.pts.extkey"
>
<c-input
v-model=
"model.cpdgrp.pye.pts.extkey"
...
...
@@ -562,29 +554,26 @@
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"6"
style=
"text-align: right"
>
<el-form-item
label=
""
label-width=
"15px"
>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
>
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</c-col>
</el-form-item>
</c-col>
<
template
slot=
"footer"
>
<c-button
style=
"margin:0 10px 0 10;padding: 0 12px;"
size=
"small"
type=
"primary"
icon=
"el-icon-search"
>
</c-button>
<c-button
style=
"margin:0 0"
size=
"small"
type=
"primary"
@
click=
"onSndpDet"
disabled
>
详情
</c-button>
</
template
>
</c-fullbox>
</c-col>
<c-col
:span=
"24"
>
...
...
src/views/Business/Cptadv/Opnp1.vue
View file @
4bca847e
...
...
@@ -78,7 +78,7 @@
</c-col>
<c-col
:span=
"13"
>
<
el-form-item
label=
"汇款金额
"
prop=
"cpdgrp.cbs.nom1.cur"
>
<
c-form-item
label=
"汇款金额"
previewLabel=
"汇款金额币种
"
prop=
"cpdgrp.cbs.nom1.cur"
>
<c-select
v-model=
"model.cpdgrp.cbs.nom1.cur"
style=
"width: 100%"
...
...
@@ -92,10 +92,10 @@
:value=
"item.value"
></el-option>
</c-select>
</
el
-form-item>
</
c
-form-item>
</c-col>
<c-col
:span=
"11"
>
<
el-form-item
label=
"
"
label-width=
"8px"
prop=
"cpdgrp.cbs.nom1.amt"
>
<
c-form-item
label=
""
previewLabel=
"汇款金额
"
label-width=
"8px"
prop=
"cpdgrp.cbs.nom1.amt"
>
<c-input
class=
"m-input-currency"
v-model=
"model.cpdgrp.cbs.nom1.amt"
...
...
@@ -103,7 +103,7 @@
placeholder=
"请输入汇款金额"
@
change=
"commonExecuteNotify()"
></c-input>
</
el
-form-item>
</
c
-form-item>
</c-col>
<c-col
:span=
"13"
>
<el-form-item
label=
"所属行"
prop=
"cpdgrp.rec.othbch"
>
...
...
@@ -115,7 +115,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<el-form-item
label=
"汇款语种"
label-width=
"40%"
style=
"margin-left: 12px"
prop=
"cptp.payuil"
>
<el-form-item
label=
"汇款语种"
label-width=
"40%"
prop=
"cptp.payuil"
>
<c-select
v-model=
"model.cptp.payuil"
style=
"width: 100%"
...
...
@@ -207,7 +207,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<
el
-form-item
label=
"汇款方式"
label-width=
"40%"
prop=
"cpdgrp.rec.paytype"
>
<
c
-form-item
label=
"汇款方式"
label-width=
"40%"
prop=
"cpdgrp.rec.paytype"
>
<c-select
v-model=
"model.cpdgrp.rec.paytype"
style=
"width: 100%"
...
...
@@ -220,7 +220,7 @@
:value=
"item.value"
></el-option>
</c-select>
</
el
-form-item>
</
c
-form-item>
</c-col>
<c-col
:span=
"13"
>
<el-form-item
label=
"收款对象"
prop=
"cpdgrp.rec.gors"
>
...
...
@@ -240,7 +240,7 @@
</c-col>
<c-col
:span=
"11"
>
<
el
-form-item
label=
"收支类型"
label-width=
"40%"
prop=
"cpdgrp.rec.sztyp"
>
<
c
-form-item
label=
"收支类型"
label-width=
"40%"
prop=
"cpdgrp.rec.sztyp"
>
<c-select
v-model=
"model.cpdgrp.rec.sztyp"
style=
"width: 100%"
...
...
@@ -253,7 +253,7 @@
:value=
"item.value"
></el-option>
</c-select>
</
el
-form-item>
</
c
-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Uetr"
prop=
"cptp.uetr"
>
...
...
@@ -311,7 +311,7 @@
</c-col>
<c-col
:span=
"11"
>
<
el
-form-item
label=
"报文类型"
label-width=
"40%"
prop=
"cpdgrp.rec.swftyp"
>
<
c
-form-item
label=
"报文类型"
label-width=
"40%"
prop=
"cpdgrp.rec.swftyp"
>
<c-select
v-model=
"model.cpdgrp.rec.swftyp"
style=
"width: 100%"
...
...
@@ -327,7 +327,7 @@
:key=
"item.value"
></el-option>
</c-select>
</
el
-form-item>
</
c
-form-item>
</c-col>
<c-col
:span=
"11"
>
...
...
src/views/Business/Cptopn/Opnp1.vue
View file @
4bca847e
...
...
@@ -106,8 +106,9 @@
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<
el
-form-item
<
c
-form-item
label=
"汇款金额"
previewLabel=
"汇款金额币种"
prop=
"cpdgrp.cbs.nom1.cur"
>
<c-select
...
...
@@ -123,11 +124,12 @@
:value=
"item.value"
></el-option>
</c-select>
</
el
-form-item>
</
c
-form-item>
</c-col>
<c-col
:span=
"11"
>
<
el
-form-item
<
c
-form-item
label=
""
previewLabel=
"汇款金额"
label-width=
"8px"
prop=
"cpdgrp.cbs.nom1.amt"
>
...
...
@@ -137,7 +139,7 @@
placeholder=
"请输入汇款金额"
@
keyup
.
enter
.
native=
"defaultFunction('cpdgrp.cbs.nom1.amt', model.cpdgrp.cbs.nom1.amt)"
></c-input>
</
el
-form-item>
</
c
-form-item>
</c-col>
</c-col>
...
...
@@ -248,7 +250,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<
el
-form-item
<
c
-form-item
label=
"汇款方式"
prop=
"cpdgrp.rec.paytype"
label-width=
"40%"
...
...
@@ -265,7 +267,7 @@
:value=
"item.value"
></el-option>
</c-select>
</
el
-form-item>
</
c
-form-item>
</c-col>
</c-col>
...
...
@@ -287,7 +289,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<
el
-form-item
label=
"收支类型"
prop=
"cpdgrp.rec.sztyp"
label-width=
"40%"
>
<
c
-form-item
label=
"收支类型"
prop=
"cpdgrp.rec.sztyp"
label-width=
"40%"
>
<c-select
v-model=
"model.cpdgrp.rec.sztyp"
placeholder=
"请选择收支类型"
...
...
@@ -300,7 +302,7 @@
:value=
"item.value"
></el-option>
</c-select>
</
el
-form-item>
</
c
-form-item>
</c-col>
</c-col>
...
...
@@ -322,7 +324,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<
el
-form-item
label=
"报文类型"
prop=
"cpdgrp.rec.swftyp"
label-width=
"40%"
>
<
c
-form-item
label=
"报文类型"
prop=
"cpdgrp.rec.swftyp"
label-width=
"40%"
>
<c-select
style=
"width: 100%"
placeholder=
""
...
...
@@ -340,7 +342,7 @@
:key=
"item.value"
></el-option>
</c-select>
</
el
-form-item>
</
c
-form-item>
</c-col>
</c-col>
...
...
src/views/Business/Cptopn/Outp.vue
View file @
4bca847e
...
...
@@ -29,7 +29,6 @@
<c-button
size=
"small"
type=
"primary"
@
click=
"onCptpGetInfpta"
icon=
"el-icon-search"
></c-button>
</c-col>
...
...
src/views/Business/Cptopn/Sbxx.vue
View file @
4bca847e
...
...
@@ -37,7 +37,7 @@
v-model=
"model.bopmod.acttyp"
style=
"width: 100%"
placeholder=
"请选择"
:disabled=
"model.bopmod.szflg==='2'"
:disabled=
"model.bopmod.szflg==='
3' || model.bopmod.szflg==='
2'"
>
<el-option
v-for=
"item in codes.acttyp"
...
...
@@ -55,6 +55,7 @@
v-model=
"model.bopmod.ownextkey"
style=
"width: 100%"
placeholder=
"请选择"
:disabled=
"model.bopmod.szflg==='3'"
>
<el-option
v-for=
"item in codes.ownextkey"
...
...
src/views/Business/Infcpd/BusNavbar.vue
View file @
4bca847e
...
...
@@ -32,7 +32,6 @@ export default {
async
onNarBtnClick
(
code
,
i
){
this
.
model
.
cfgfil
.
subtrn1
=
code
let
rtnmsg
=
await
this
.
executeRule
(
"cfgfil.hotsub1"
)
console
.
log
(
"cfgfil.code:"
+
this
.
model
.
cfgfil
.
subtrn1
);
if
(
rtnmsg
.
respCode
==
SUCCESS
){
this
.
navcode
=
[]
this
.
$emit
(
"onChoose"
,
code
.
toLowerCase
());
...
...
@@ -71,8 +70,6 @@ export default {
this
.
navcode
=
[]
//请求按钮数据
this
.
model
.
cpdgrp
.
rec
.
ownref
=
this
.
ownref
console
.
log
(
"ownref:"
+
this
.
ownref
);
let
rtnmsg
=
await
this
.
executeRule
(
"cpdgrp.rec.ownref"
);
//didgrp_rec_ownref
if
(
rtnmsg
.
respCode
==
SUCCESS
){
//重置数组
...
...
@@ -84,39 +81,39 @@ export default {
const
length
=
this
.
model
.
cfgfil
.
btnstm
.
rows
.
length
let
btnStr
=
this
.
model
.
cfgfil
.
btnstm
.
rows
// let j = 0;
//
let m = 0;
let
m
=
0
;
// const buttonIndex = ['信用证修改','减额修改接受','到单','修改通知行']
for
(
let
i
=
0
;
i
<
length
;
i
++
){
//获取数组中每行的数据
// if(!( btnStr[i].indexOf("保证金") >= 0) && !(btnStr[i].indexOf("开立信用证
") >= 0)){
//
let arr = btnStr[i].split("\t");
//
let newList = {
//
code:arr[0],
//
label:arr[1],
//
isDis:arr[2],
//
title:arr[3]
//
}
//
m++;
if
(
!
(
btnStr
[
i
].
indexOf
(
"payment"
)
>=
0
)
&&
!
(
btnStr
[
i
].
indexOf
(
"境内外币
"
)
>=
0
)){
let
arr
=
btnStr
[
i
].
split
(
"
\
t"
);
let
newList
=
{
code
:
arr
[
0
],
label
:
arr
[
1
],
isDis
:
arr
[
2
],
title
:
arr
[
3
]
}
m
++
;
// j = buttonIndex.indexOf(arr[1].replace(/(^\s*)|(\s*$)/g, ""));
// if(j
<
0
){
// j = m;
// }
// //添加到navcode数组中
// this.navcode.splice(j,0,newList)
// }
let
arr
=
btnStr
[
i
].
split
(
"
\
t"
);
let
newList
=
{
code
:
arr
[
0
],
label
:
arr
[
1
],
isDis
:
arr
[
2
],
title
:
arr
[
3
]
this
.
navcode
.
splice
(
m
,
0
,
newList
)
}
this
.
navcode
.
splice
(
i
,
0
,
newList
)
// let arr = btnStr[i].split("\t");
// let newList = {
// code:arr[0],
// label:arr[1],
// isDis:arr[2],
// title:arr[3]
// }
// this.navcode.splice(i,0,newList)
}
this
.
navcode
.
push
({
code
:
""
,
label
:
"退汇"
,
isDis
:
"N"
,
title
:
""
})
//屏蔽cptsel sptcpt
this
.
navcode
.
splice
(
5
,
2
)
this
.
navcode
.
splice
(
1
,
2
)
}
else
{
...
...
src/views/Business/Infcpd/Infsea.vue
View file @
4bca847e
...
...
@@ -303,7 +303,19 @@
<!-- </c-infsearch-group> -->
<c-col
style=
"margin-top: 10px"
>
<c-button
size=
"small"
type=
"primary"
style=
"margin-left: 0"
<c-button
class=
"medium_bcs"
size=
"medium"
type=
"primary"
style=
"margin-left: 0"
@
click=
"toCptopn"
>
swift汇入
</c-button
>
<c-button
class=
"medium_bcs"
size=
"medium"
type=
"primary"
style=
"margin-left: 0"
@
click=
"toCptadv"
>
swift汇出
</c-button
>
<c-button
class=
"medium_bcs"
size=
"medium"
type=
"primary"
style=
"margin-left: 0"
>
境内外币汇入
</c-button
>
<c-button
class=
"medium_bcs"
size=
"medium"
type=
"primary"
style=
"margin-left: 0"
>
境内外币汇出
</c-button
>
<c-button
class=
"medium_bcs"
size=
"medium"
type=
"primary"
style=
"float:right;margin-right:10px;"
>
导Excel
</c-button
>
<!-- <c-button size="small" type="primary" style="margin-left: 0"
...
...
@@ -503,7 +515,6 @@ export default {
async
getButtons
(
ownref
){
this
.
initdialog
=
true
this
.
ownref
=
ownref
console
.
log
(
"ownref:"
+
ownref
);
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
)
},
10
)
...
...
@@ -514,8 +525,6 @@ export default {
this
.
initdialog
=
false
}
,
async
getTrnInfo
(
idx
,
row
)
{
console
.
log
(
row
)
this
.
model
.
infcon
.
objinr
=
row
[
"INR"
];
this
.
model
.
cpdgrp
.
rec
.
inr
=
row
[
"INR"
];
this
.
model
.
infcon
.
chksubcon
=
"X"
;
...
...
@@ -531,9 +540,18 @@ export default {
this
.
$refs
[
refId
].
doClose
();
},
handleReset
()
{},
toCptopn
(){
this
.
$router
.
history
.
push
(
"/business/cptopn"
)
},
toCptadv
(){
this
.
$router
.
history
.
push
(
"/business/cptadv"
)
}
},
created
:
function
()
{},
};
</
script
>
<
style
>
.el-dialog__body
{
padding
:
10px
5px
50px
;
}
</
style
>
\ No newline at end of file
src/views/Business/Trnrel/InftrnpsDetail.vue
View file @
4bca847e
...
...
@@ -81,27 +81,27 @@
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"1
2
"
>
<c-col
:span=
"1
3
"
>
<el-form-item
label=
"Relevant Amount"
>
<c-input
v-model=
"model.trn.reloricur"
maxlength=
"3"
disabled
placeholder=
"请输入Relevant Amount"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"1
2
"
>
<el-form-item
label=
""
label-width=
"
2%
"
>
<c-col
:span=
"1
1
"
>
<el-form-item
label=
""
label-width=
"
8px
"
>
<c-input
v-model=
"model.trn.reloriamt"
disabled
placeholder=
"请输入Relevant Amount for Release in Original Currency"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"1
2
"
>
<c-col
:span=
"1
3
"
>
<el-form-item
label=
"Responsible"
>
<c-input
v-model=
"model.trn.usr"
maxlength=
"8"
disabled
placeholder=
"请输入Responsible"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"1
2
"
>
<el-form-item
label-width=
"
35
%"
label=
"Group"
>
<c-col
:span=
"1
1
"
>
<el-form-item
label-width=
"
40
%"
label=
"Group"
>
<!--
<c-input
v-model=
"model.trn.usg"
maxlength=
"6"
disabled
placeholder=
"请输入Responsible Group"
></c-input>
-->
<el-select
v-model=
"model.trn.usg"
style=
"width: 100%"
disabled
>
<el-option
...
...
@@ -116,14 +116,14 @@
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"
12
"
>
<c-col
:span=
"
24
"
>
<el-form-item
label=
"Based on Ident No."
>
<c-input
v-model=
"model.trn.cortrninr"
maxlength=
"8"
disabled
placeholder=
"请输入Based on Ident No."
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"
12
"
>
<el-form-item
label
-width=
"35%"
label
=
"Execution Date"
>
<c-col
:span=
"
24
"
>
<el-form-item
label=
"Execution Date"
>
<c-date-picker
type=
"date"
v-model=
"model.trn.exedat"
style=
"width:100%"
disabled
placeholder=
"请选择Execution Date"
></c-date-picker>
</el-form-item>
</c-col>
...
...
@@ -224,14 +224,14 @@
</el-form-item>
</c-col>
-->
<c-col
:span=
"24"
>
<c-col
:span=
"
12
"
>
<c-col
:span=
"
24
"
>
<el-form-item
label=
"Entered by"
>
<c-input
v-model=
"model.recpan.cretrs.usr"
maxlength=
"8"
disabled
placeholder=
"请输入Entered by"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"
12
"
>
<el-form-item
label
-width=
"35%"
label
=
"Timestamp"
>
<c-col
:span=
"
24
"
>
<el-form-item
label=
"Timestamp"
>
<c-input
v-model=
"model.recpan.cretrs.dattim"
disabled
placeholder=
"请输入Timestamp"
></c-input>
</el-form-item>
</c-col>
...
...
src/views/Public/Doctre.vue
View file @
4bca847e
...
...
@@ -15,22 +15,7 @@
>
<el-table-column
label=
"Type"
width=
"auto"
>
<template
slot-scope=
"scope"
>
<c-select
v-model=
"
model.trnmod.trndoc.doceot[scope.row.index].cortyp
"
style=
"width: 100%"
disabled
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.doceotCortyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
<span>
{{
getType
(
scope
.
row
.
index
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"Document"
width=
"auto"
>
...
...
@@ -44,8 +29,6 @@
<span>
{{
getNow
()
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
""
width=
"auto"
></el-table-column>
<el-table-column
label=
""
width=
"auto"
></el-table-column>
</c-istream-table-docpan>
</c-col>
...
...
@@ -65,8 +48,6 @@
<el-table-column
label=
"Document"
width=
"auto"
></el-table-column>
<el-table-column
label=
"Cre.TRN"
width=
"auto"
></el-table-column>
<el-table-column
label=
"Date"
width=
"auto"
></el-table-column>
<el-table-column
label=
""
width=
"auto"
></el-table-column>
<el-table-column
label=
""
width=
"auto"
></el-table-column>
</c-table>
</c-col>
...
...
@@ -200,6 +181,15 @@ export default {
}
},
methods
:{
getType
(
idx
)
{
for
(
let
i
=
0
;
i
<
this
.
codes
.
doceotCortyp
.
length
;
i
++
)
{
const
c
=
this
.
codes
.
doceotCortyp
[
i
];
if
(
this
.
model
.
trnmod
.
trndoc
.
doceot
[
idx
].
cortyp
===
c
.
value
)
{
return
c
.
label
;
}
}
return
""
;
},
getNow
()
{
return
moment
().
format
(
'yyyy-MM-DD'
)
},
...
...
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