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
17791549
Commit
17791549
authored
Sep 09, 2022
by
wangna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
infccd修改
parent
7644c663
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
36 deletions
+52
-36
index.js
src/config/CodeTable/index.js
+6
-0
Infsea.vue
src/views/Business/Infccd/Infsea.vue
+4
-1
index.vue
src/views/Business/Infccd/index.vue
+42
-35
No files found.
src/config/CodeTable/index.js
View file @
17791549
...
...
@@ -4143,6 +4143,12 @@ const CodeTable = {
searol2
:[
{
label
:
"Collecting Bank"
,
value
:
"COL"
},
],
searol3
:[
{
label
:
"Collecting Bank"
,
value
:
"COL"
},
{
label
:
"Correspondent"
,
value
:
"COR"
},
{
label
:
"Drawee Bank"
,
value
:
"DRO"
},
{
label
:
"Presenting Bnk"
,
value
:
"PRE"
},
],
seacur
:[
{
label
:
`CNY-人民币`
,
value
:
`CNY`
},
{
label
:
`KRW-韩元`
,
value
:
`KRW`
},
...
...
src/views/Business/Infccd/Infsea.vue
View file @
17791549
...
...
@@ -99,6 +99,8 @@
v-model=
"model.infcon.pty.extkey"
maxlength=
"16"
placeholder=
"请输入Select Single Party"
:disabled=
"model.infcon.seapty != ''"
@
keyup
.
enter
.
native=
"showGridPromptDialog('infcon.pty.extkey')"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -129,6 +131,7 @@
v-model=
"model.infcon.seapty"
maxlength=
"24"
placeholder=
"请输入Party Name/BIC"
:disabled=
"model.infcon.pty.extkey != ''"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -144,7 +147,7 @@
placeholder=
"请选择Role"
>
<el-option
v-for=
"item in codes.
payrol
"
v-for=
"item in codes.
searol3
"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
...
...
src/views/Business/Infccd/index.vue
View file @
17791549
<
template
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"left"
size=
"small"
:validate-on-rule-change=
"false"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"left"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<c-content>
<m-infsea
:model=
"model"
:codes=
"codes"
ref=
"infsea"
/>
</c-content>
...
...
@@ -106,19 +113,25 @@
<!--
<el-tab-pane
label=
"CIPS2.0"
name=
"cips3"
>
<m-cips3
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
>
</c-grid-ety-prompt-dialog>
</c-tabs>
</el-form>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Infccd
from
"~/model/Infccd"
import
commonProcess
from
"~/mixin/commonProcess"
import
Check
from
"~/model/Infccd/Check"
import
Default
from
"~/model/Infccd/Default"
import
Pattern
from
"~/model/Infccd/Pattern"
import
Infsea
from
"./Infsea"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Infccd
from
"~/model/Infccd"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
Check
from
"~/model/Infccd/Check"
;
import
Default
from
"~/model/Infccd/Default"
;
import
Pattern
from
"~/model/Infccd/Pattern"
;
import
Infsea
from
"./Infsea"
;
// import Trnpan from "./Trnpan"
// import Cbsinfp from "./Cbsinfp"
// import Cbeinfp from "./Cbeinfp"
...
...
@@ -139,10 +152,9 @@ import Infsea from "./Infsea"
// import Cips2 from "./Cips2"
// import Cips3 from "./Cips3"
export
default
{
components
:
{
"m-infsea"
:
Infsea
,
components
:
{
"m-infsea"
:
Infsea
,
// "m-trnpan" : Trnpan,
// "m-cbsinfp" : Cbsinfp,
// "m-cbeinfp" : Cbeinfp,
...
...
@@ -165,11 +177,11 @@ export default {
},
provide
()
{
return
{
root
:
this
}
root
:
this
,
};
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
()
{
data
()
{
return
{
tabVal
:
""
,
trnName
:
"infccd"
,
...
...
@@ -179,34 +191,29 @@ export default {
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
...
CodeTable
,
},
}
};
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
)
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
/**
* do it yourself
**/
}
},
created
:
async
function
(){
},
created
:
async
function
()
{
console
.
log
(
"进入infccd交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
},
};
</
script
>
<
style
>
</
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