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
5c6bddaa
Commit
5c6bddaa
authored
Jan 18, 2023
by
“wufan”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FCTCAN交易转换
parent
4621e8e1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
76 additions
and
84 deletions
+76
-84
index.js
src/model/Fctcan/index.js
+6
-0
Opnp1.vue
src/views/Business/Fctcan/Opnp1.vue
+8
-35
index.vue
src/views/Business/Fctcan/index.vue
+50
-49
Infsea.vue
src/views/Business/Infgid/Infsea.vue
+12
-0
No files found.
src/model/Fctcan/index.js
View file @
5c6bddaa
import
Api
from
"~/service/Api"
import
Pts
from
"../Common/Pts"
import
Pub
from
"../Public"
export
default
class
Fctcan
{
constructor
()
{
...
...
@@ -31,6 +32,11 @@ export default class Fctcan{
gleflg
:
""
,
// 是否过�'� .gleflg
cshstm
:
""
,
// stream of csh .cshstm
errflg
:
""
,
// 已使用保证金 .errflg
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
pageId
:
""
// ctx的key
}
}
...
...
src/views/Business/Fctcan/Opnp1.vue
View file @
5c6bddaa
...
...
@@ -53,11 +53,11 @@
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"
Our Reference
"
prop=
"fcdgrp.rec.ownref"
>
<el-form-item
label=
"
参考号
"
prop=
"fcdgrp.rec.ownref"
>
<c-input
v-model=
"model.fcdgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入
Our Reference
"
placeholder=
"请输入
参考号
"
disabled
></c-input>
</el-form-item>
...
...
@@ -123,8 +123,10 @@
<
template
slot=
"footer"
>
<el-form-item
label=
""
label-width=
"0"
prop=
"gleflg"
>
<c-checkbox
v-model=
"model.gleflg"
style=
"margin-left: 10px"
class=
""
@
change=
"eventFunction('model.gleflg')"
>
是否过帐
</c-checkbox
>
</el-form-item>
</
template
>
</c-fullbox>
...
...
@@ -161,41 +163,11 @@ export default {
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
columns
:
[
'0 1 "INR" 100'
,
'1 2 "Own Reference" 150'
,
'2 3 "收取日期" 120 4 7'
,
'3 4 "Cur" 56'
,
'4 5 "Relevant Amount" 150 2 8:1 2 5'
,
'5 6 "" auto'
,
'6 7 "保证金帐号" 120'
,
'7 8 "是否过帐" 120'
,
'8 9 "是否到帐" 120'
,
'9 10 "是否被用" 120'
,
'10 11 "说明 " 200'
,
'11 12 "被用在交易" 120'
,
"P COLORED TRUE"
,
"P VERTLINES TRUE"
,
"P HORZLINES TRUE"
,
"P MULTISELECT FLASE"
,
],
};
},
methods
:
{
...
Event
,
async
chooseRowEvent
(
row
)
{
const
selIds
=
[
row
.
IDX
+
1
];
//rowno选中行
const
selDst
=
"cshstm"
//列表对应后台模型中的stream
let
params
=
{
selDst
:
selDst
,
selIds
:
selIds
};
let
rtnmsg
=
await
this
.
executeRule
(
"cshstm"
,
params
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
}
}
return
{};
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
</
style
>
\ No newline at end of file
src/views/Business/Fctcan/index.vue
View file @
5c6bddaa
<
template
>
<c-page
title=
"保证金注销"
>
<div
class=
"eContainer"
>
<div
class=
"bus-button"
>
<c-button
type=
"primary"
v-on:click=
"handleSave"
>
{{
$t
(
"buttons.save"
)
}}
</c-button>
<c-button
type=
"primary"
v-on:click=
"handleCheck"
>
{{
$t
(
"buttons.check"
)
}}
</c-button>
</div>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--PD000001 -->
<el-tab-pane
label=
"PD000001"
name=
"opnp1"
>
<c-content>
<m-opnp1
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"业务信息"
name=
"ovwp"
>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane
label=
"费用/账务"
name=
"setpan"
v-if=
"model.gleflg"
>
<c-content>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
>
<el-collapse-item
title=
"结算"
name=
"setpan"
>
<!-- 结算 -->
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
>
</c-grid-ety-prompt-dialog>
</el-form>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
</c-function-btn>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
>
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</
template
>
...
...
@@ -35,30 +55,38 @@ import Check from "~/model/Fctcan/Check"
import
Default
from
"~/model/Fctcan/Default"
import
Pattern
from
"~/model/Fctcan/Pattern"
import
Opnp1
from
"./Opnp1"
import
Ovwp
from
"./Ovwp"
import
Setpan
from
"~/views/Public/Setpan"
;
export
default
{
name
:
"Fctcan"
,
components
:{
"m-opnp1"
:
Opnp1
,
"m-ovwp"
:
Ovwp
,
"m-setpan"
:
Setpan
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
"opnp1"
,
tabVal
:
"ovwp"
,
activeNames
:
[
"Setpan"
],
trnName
:
"fctcan"
,
trnType
:
""
,
model
:
new
Fctcan
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
},
...
CodeTable
,
},
}
},
methods
:{
...
...
@@ -67,35 +95,6 @@ export default {
/**
* do it yourself
**/
},
async
handleSave
()
{
let
result
=
await
this
.
save
();
if
(
result
.
respCode
==
SUCCESS
&&
Object
.
keys
(
result
.
fieldErrors
).
length
==
0
)
{
this
.
$notify
({
title
:
"成功"
,
message
:
"保存成功"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"TagsView/delView"
,
this
.
$route
)
this
.
$router
.
go
(
-
1
)
}
else
if
(
result
.
fieldErrors
&&
Object
.
keys
(
result
.
fieldErrors
).
length
>
0
){
const
tab
=
this
.
showBackendErrors
(
result
.
fieldErrors
)
if
(
tab
)
{
// tab切换之后,需出发tab-click的事件
this
.
tabClick
(
tab
);
}
this
.
$notify
({
title
:
"错误"
,
message
:
"检核失败!"
,
type
:
"error"
,
});
}
else
{
this
.
$notify
({
title
:
"失败"
,
message
:
"保存失败"
,
type
:
"error"
,
});
}
}
},
created
:
async
function
(){
...
...
@@ -105,7 +104,9 @@ export default {
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
{
...
...
src/views/Business/Infgid/Infsea.vue
View file @
5c6bddaa
...
...
@@ -462,6 +462,15 @@
@
click=
"toGetopn"
>
出口保函通知
</c-button>
<c-button
style=
"margin-left: 20"
class=
"medium_bcs"
size=
"medium"
type=
"primary"
@
click=
"toFctcan"
>
保证金撤销
</c-button>
</el-col>
<div
style=
"height: 90%"
>
...
...
@@ -706,6 +715,9 @@ export default {
toGetopn
()
{
this
.
$router
.
history
.
push
(
"/business/getopn"
);
},
toFctcan
()
{
this
.
$router
.
history
.
push
(
"/business/Fctcan"
);
},
// handleReset: function () {
// this.model = {
// instNo: "",
...
...
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