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
ce3590de
Commit
ce3590de
authored
Aug 09, 2021
by
SunJie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://192.168.0.110:11080/fukai/vue-gjjs
parents
a9544dbb
6d55d388
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
457 additions
and
382 deletions
+457
-382
commonApi.js
src/mixin/commonApi.js
+1
-1
Event.js
src/model/Ditopn/Event.js
+33
-9
index.js
src/model/Ditopn/index.js
+3
-1
Event.js
src/model/Sptsel/Event.js
+6
-5
vuefunc.js
src/utils/vuefunc.js
+19
-0
Ccvpan.vue
src/views/Business/Ditopn/Ccvpan.vue
+145
-94
Detp.vue
src/views/Business/Ditopn/Detp.vue
+4
-6
Engp.vue
src/views/Business/Ditopn/Engp.vue
+37
-139
Limitbody.vue
src/views/Business/Ditopn/Limitbody.vue
+121
-99
Ovwp.vue
src/views/Business/Ditopn/Ovwp.vue
+18
-16
dialog.vue
src/views/Business/Ditopn/dialog.vue
+51
-0
index.vue
src/views/Business/Ditopn/index.vue
+19
-12
No files found.
src/mixin/commonApi.js
View file @
ce3590de
...
@@ -27,7 +27,7 @@ export default {
...
@@ -27,7 +27,7 @@ export default {
{
{
params
=
params
||
{}
params
=
params
||
{}
let
data
=
Utils
.
flatObject
(
this
.
model
)
let
data
=
Utils
.
flatObject
(
this
.
model
)
return
Api
.
post
(
this
.
declareParams
.
trnName
+
"/
d
efault/"
+
rulePath
,{...
data
,
params
})
return
Api
.
post
(
this
.
declareParams
.
trnName
+
"/
executeD
efault/"
+
rulePath
,{...
data
,
params
})
},
},
executeRule
(
rulePath
,
params
)
executeRule
(
rulePath
,
params
)
{
{
...
...
src/model/Ditopn/Event.js
View file @
ce3590de
...
@@ -282,19 +282,32 @@ export default {
...
@@ -282,19 +282,32 @@ export default {
}
}
})
})
},
},
onLiaccvAdd
()
{
async
onLiaccvAdd
()
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
// this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if
(
!
valid
)
// if (!valid)
return
;
// return;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/liaccv_add"
,
Utils
.
flatObject
(
this
.
model
))
// let rtnmsg = await Api.post("ditopn/liaccv_add", Utils.flatObject(this.model))
// if (rtnmsg.respCode == "AAAAAA") {
// //TODO 处理数据逻辑
// }
// else {
// this.$notify.error({ title: '错误', message: '服务请求失败!' });
// }
// })
let
rtnmsg
=
await
Api
.
post
(
"ditopn/executeRule/liaall.liaccv.add"
,
Utils
.
flatObject
(
this
.
model
))
//const that = this.$parent.$parent.$parent.$parent;
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
this
.
stmData
.
data
=
rtnmsg
.
data
.
stgStm
.
rows
;
this
.
dialogTableVisible
=
true
;
}
}
else
{
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
},
},
onLiaccvDel
()
{
onLiaccvDel
()
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
...
@@ -390,21 +403,21 @@ export default {
...
@@ -390,21 +403,21 @@ export default {
}
}
},
},
async
BlurBennam
(
e
){
async
BlurBennam
(
e
){
let
rtnmsg
=
await
Api
.
post
(
"ditopn/
d
efault/ditp.remark"
,
Utils
.
flatObject
(
this
.
model
))
let
rtnmsg
=
await
Api
.
post
(
"ditopn/
executeD
efault/ditp.remark"
,
Utils
.
flatObject
(
this
.
model
))
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
this
.
model
.
ditp
.
remark
=
rtnmsg
.
data
.
ditp_remark
this
.
model
.
ditp
.
remark
=
rtnmsg
.
data
.
ditp_remark
}
}
},
},
async
BlurAplname
(
e
){
async
BlurAplname
(
e
){
let
rtnmsg
=
await
Api
.
post
(
"ditopn/
d
efault/ditp.remark"
,
Utils
.
flatObject
(
this
.
model
))
let
rtnmsg
=
await
Api
.
post
(
"ditopn/
executeD
efault/ditp.remark"
,
Utils
.
flatObject
(
this
.
model
))
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
this
.
model
.
ditp
.
remark
=
rtnmsg
.
data
.
ditp_remark
this
.
model
.
ditp
.
remark
=
rtnmsg
.
data
.
ditp_remark
}
}
},
},
async
BlurSignam
(
e
){
async
BlurSignam
(
e
){
let
rtnmsg
=
await
Api
.
post
(
"ditopn/
d
efault/ditp.remark"
,
Utils
.
flatObject
(
this
.
model
))
let
rtnmsg
=
await
Api
.
post
(
"ditopn/
executeD
efault/ditp.remark"
,
Utils
.
flatObject
(
this
.
model
))
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
this
.
model
.
ditp
.
remark
=
rtnmsg
.
data
.
ditp_remark
this
.
model
.
ditp
.
remark
=
rtnmsg
.
data
.
ditp_remark
...
@@ -412,5 +425,15 @@ export default {
...
@@ -412,5 +425,15 @@ export default {
},
},
async
onExtkey
(
e
){
async
onExtkey
(
e
){
},
async
pickDepItem
(
row
){
var
params
=
{
'selsptinr'
:
row
[
0
]};
//{params:{'selsptinr':row[0]}}
let
rtnmsg
=
await
Api
.
post
(
"ditopn/executeRule/liaall.liaccv.add"
,{...
Utils
.
flatObject
(
this
.
model
),
params
})
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
this
.
dialogTableVisible
=
false
;
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
}
}
}
}
\ No newline at end of file
src/model/Ditopn/index.js
View file @
ce3590de
...
@@ -195,7 +195,8 @@ export default class Ditopn{
...
@@ -195,7 +195,8 @@ export default class Ditopn{
outpct
:
""
,
// Sight Amount Percentage .liaall.outpct
outpct
:
""
,
// Sight Amount Percentage .liaall.outpct
outamt
:
""
,
// Sight Amount .liaall.outamt
outamt
:
""
,
// Sight Amount .liaall.outamt
exttotoldamt
:
""
,
// Old Amount booked externally .liaall.exttotoldamt
exttotoldamt
:
""
,
// Old Amount booked externally .liaall.exttotoldamt
exttotamt
:
""
,
// Total booking amount external assinged .liaall.exttotamt
exttotamt
:
""
,
liaallg
:[],
// Total booking amount external assinged .liaall.exttotamt
limmod
:{
limmod
:{
limpts
:{
limpts
:{
wrklab
:
""
,
// Label .liaall.limmod.limpts.wrklab
wrklab
:
""
,
// Label .liaall.limmod.limpts.wrklab
...
@@ -245,6 +246,7 @@ export default class Ditopn{
...
@@ -245,6 +246,7 @@ export default class Ditopn{
gleflg
:
""
,
// Create gle flag .liaall.liaccv.gleflg
gleflg
:
""
,
// Create gle flag .liaall.liaccv.gleflg
chgcurflg
:
""
,
// Change currency flag .liaall.liaccv.chgcurflg
chgcurflg
:
""
,
// Change currency flag .liaall.liaccv.chgcurflg
pctresamt
:
""
,
// reserve amount based percent .liaall.liaccv.pctresamt
pctresamt
:
""
,
// reserve amount based percent .liaall.liaccv.pctresamt
liaccvg
:[],
},
},
},
},
litameadv
:
""
,
// 特殊规定 .litameadv
litameadv
:
""
,
// 特殊规定 .litameadv
...
...
src/model/Sptsel/Event.js
View file @
ce3590de
...
@@ -76,12 +76,12 @@ export default {
...
@@ -76,12 +76,12 @@ export default {
},
},
async
continueEdit
(
row
){
async
continueEdit
(
row
){
let
rtnmsg
=
await
Api
.
post
(
"sptsel/getPendingData"
,{
params
:{
'selsptinr'
:
row
[
0
]}})
//
let rtnmsg = await Api.post("sptsel/getPendingData",{params:{'selsptinr':row[0]}})
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//
if (rtnmsg.respCode == "AAAAAA") {
var
cacheFileName
=
rtnmsg
.
data
.
cacheFileName
;
//
var cacheFileName = rtnmsg.data.cacheFileName;
let
viewurl
=
"/business/ditopn?
cacheFileName="
+
cacheFileName
;
let
viewurl
=
"/business/ditopn?
selsptinr="
+
row
[
0
]
;
this
.
$router
.
push
(
viewurl
);
this
.
$router
.
push
(
viewurl
);
}
//
}
}
}
}
}
\ No newline at end of file
src/utils/vuefunc.js
View file @
ce3590de
...
@@ -39,9 +39,28 @@ export function dateFormat (date, format) {
...
@@ -39,9 +39,28 @@ export function dateFormat (date, format) {
return
_format
;
return
_format
;
}
}
// 数字展示成金额
export
function
moneyFormat
(
value
,
precision
=
2
)
{
//0
let
num
=
value
if
(
num
==
0
)
{
return
num
.
toLocaleString
();
}
if
(
num
)
{
num
=
typeof
num
==
'string'
?
parseFloat
(
num
)
:
num
num
=
num
.
toFixed
(
precision
);
num
=
parseFloat
(
num
);
num
=
num
.
toLocaleString
();
return
num
;
}
else
{
return
num
=
null
;
}
}
export
default
{
export
default
{
install
(
Vue
){
install
(
Vue
){
Vue
.
prototype
.
findCodeLabel
=
findCodeLabel
Vue
.
prototype
.
findCodeLabel
=
findCodeLabel
Vue
.
prototype
.
dateFormat
=
dateFormat
Vue
.
prototype
.
dateFormat
=
dateFormat
Vue
.
prototype
.
moneyFormat
=
moneyFormat
}
}
}
}
src/views/Business/Ditopn/Ccvpan.vue
View file @
ce3590de
...
@@ -10,19 +10,31 @@
...
@@ -10,19 +10,31 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"合同金额"
prop=
"liaall.liaccv.concur"
>
<el-form-item
label=
"合同金额"
prop=
"liaall.liaccv.concur"
>
<el-row>
<el-row>
<!--
<el-col
:span=
"8"
>
-->
<!--
<el-col
:span=
"8"
>
-->
<!--
<c-input
type=
"text"
:readonly=
"true"
value=
"CNY"
></c-input>
-->
<!--
<c-input
type=
"text"
:readonly=
"true"
value=
"CNY"
></c-input>
-->
<!--
</el-col>
-->
<!--
</el-col>
-->
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<c-select
v-model=
"model.liaall.liaccv.concur"
disabled
style=
"width:100%"
placeholder=
"请选择Type of settlement"
>
<c-select
<el-option
v-for=
"item in codes.curtxt"
:key=
"item.value"
:label=
"item.label"
v-model=
"model.liaall.liaccv.concur"
:value=
"item.value"
>
disabled
style=
"width: 100%"
placeholder=
"请选择Type of settlement"
>
<el-option
v-for=
"item in codes.curtxt"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-option>
</c-select>
</c-select>
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
<c-input
:readonly=
"true"
v-model=
"model.liaall.liaccv.newamt"
></c-input>
<c-input
:readonly=
"true"
v-model=
"model.liaall.liaccv.newamt"
></c-input>
</el-col>
</el-col>
</el-row>
</el-row>
</el-form-item>
</el-form-item>
...
@@ -45,7 +57,7 @@
...
@@ -45,7 +57,7 @@
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<c-input
v-model=
"model.liaall.liaccv.cshpct"
></c-input>
<c-input
v-model=
"model.liaall.liaccv.cshpct"
></c-input>
</el-col>
</el-col>
<el-col
:span=
"12"
style=
"margin-left:
20px"
>
<el-col
:span=
"12"
style=
"margin-left:
20px"
>
<span>
%
</span>
<span>
%
</span>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -62,18 +74,30 @@
...
@@ -62,18 +74,30 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"Reserved Amount"
prop=
"liaall.liaccv.newresamt"
>
<el-form-item
label=
"Reserved Amount"
prop=
"liaall.liaccv.newresamt"
>
<el-row>
<el-row>
<!--
<el-col
:span=
"8"
>
-->
<!--
<el-col
:span=
"8"
>
-->
<!--
<c-input
type=
"text"
:readonly=
"true"
value=
"CNY"
></c-input>
-->
<!--
<c-input
type=
"text"
:readonly=
"true"
value=
"CNY"
></c-input>
-->
<!--
</el-col>
-->
<!--
</el-col>
-->
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<c-select
v-model=
"model.liaall.liaccv.concur"
disabled
style=
"width:100%"
placeholder=
"请选择Type of settlement"
>
<c-select
<el-option
v-for=
"item in codes.curtxt"
:key=
"item.value"
:label=
"item.label"
v-model=
"model.liaall.liaccv.concur"
:value=
"item.value"
>
disabled
style=
"width: 100%"
placeholder=
"请选择Type of settlement"
>
<el-option
v-for=
"item in codes.curtxt"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-option>
</c-select>
</c-select>
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
<c-input
:readonly=
"true"
v-model=
"model.liaall.liaccv.newresamt"
></c-input>
<c-input
:readonly=
"true"
v-model=
"model.liaall.liaccv.newresamt"
></c-input>
</el-col>
</el-col>
</el-row>
</el-row>
</el-form-item>
</el-form-item>
...
@@ -91,7 +115,7 @@
...
@@ -91,7 +115,7 @@
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<c-input
:readonly=
"true"
v-model=
"model.liaall.misamt"
></c-input>
<c-input
:readonly=
"true"
v-model=
"model.liaall.misamt"
></c-input>
</el-col>
</el-col>
<el-col
:span=
"12"
style=
"margin-left:
20px"
>
<el-col
:span=
"12"
style=
"margin-left:
20px"
>
<span>
%
</span>
<span>
%
</span>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -117,25 +141,37 @@
...
@@ -117,25 +141,37 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"应付保证金金额"
prop=
"liaall.liaccv.concur"
>
<el-form-item
label=
"应付保证金金额"
prop=
"liaall.liaccv.concur"
>
<el-row>
<el-row>
<!--
<el-col
:span=
"8"
>
-->
<!--
<el-col
:span=
"8"
>
-->
<!--
<c-input
type=
"text"
:readonly=
"true"
value=
"CNY"
></c-input>
-->
<!--
<c-input
type=
"text"
:readonly=
"true"
value=
"CNY"
></c-input>
-->
<!--
</el-col>
-->
<!--
</el-col>
-->
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<c-select
v-model=
"model.liaall.liaccv.concur"
disabled
style=
"width:100%"
placeholder=
"请选择Type of settlement"
>
<c-select
<el-option
v-for=
"item in codes.curtxt"
:key=
"item.value"
:label=
"item.label"
v-model=
"model.liaall.liaccv.concur"
:value=
"item.value"
>
disabled
style=
"width: 100%"
placeholder=
"请选择Type of settlement"
>
<el-option
v-for=
"item in codes.curtxt"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-option>
</c-select>
</c-select>
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
<c-input
:readonly=
"true"
v-model=
"model.liaall.liaccv.pctresamt"
></c-input>
<c-input
:readonly=
"true"
v-model=
"model.liaall.liaccv.pctresamt"
></c-input>
</el-col>
</el-col>
</el-row>
</el-row>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<!--
<!--
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"o
nLiaccvAdd
"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"o
penMask
"
>
Add
Add
</c-button>
</c-button>
</el-col>
</el-col>
...
@@ -146,12 +182,31 @@
...
@@ -146,12 +182,31 @@
</c-button>
</c-button>
</el-col>
</el-col>
-->
-->
<el-col
:span=
"24"
style=
"text-align:
right"
>
<el-col
:span=
"24"
style=
"text-align:
right"
>
<el-row>
<el-row>
<el-col
:span=
"2"
>
<el-col
:span=
"2"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onLiaccvAdd"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onLiaccvAdd"
>
Add
Add
</c-button>
</c-button>
<el-dialog
:visible
.
sync=
"dialogTableVisible"
:close-on-click-modal=
"false"
:close-on-press-escape=
"false"
>
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
>
<el-table-column
prop=
"op"
label=
"OP"
width=
"100"
>
<template
slot-scope=
"scope"
>
<a
href=
"javascript:void(0)"
@
click=
"pickDepItem(scope.row)"
>
选择
</a>
</
template
>
</el-table-column>
</c-istream-table>
</el-dialog>
</el-col>
</el-col>
<el-col
:span=
"2"
>
<el-col
:span=
"2"
>
...
@@ -163,105 +218,101 @@
...
@@ -163,105 +218,101 @@
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<c-table
style=
"width:80%,text-align:center"
>
<c-table
:list=
"model.liaall.liaccv.liaccvg"
style=
"width:80%,text-align:center"
>
<el-table-column
<el-table-column
prop=
"ccdflg"
label=
"CFO"
width=
"auto"
>
</el-table-column>
label=
"CFO"
<el-table-column
prop=
"ownref"
label=
"保证金编号"
width=
"auto"
>
</el-table-column>
width=
"auto"
<el-table-column
prop=
"cur"
label=
"币种"
width=
"auto"
>
</el-table-column>
>
<el-table-column
prop=
"oldamt"
label=
"余额"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"amt"
label=
"变动金额"
width=
"auto"
>
</el-table-column>
<el-table-column
<el-table-column
prop=
"acc"
label=
"保证金账号"
width=
"auto"
>
</el-table-column>
label=
"保证金编号"
<el-table-column
prop=
"rat"
label=
"汇率"
width=
"auto"
>
</el-table-column>
width=
"auto"
<el-table-column
prop=
"concur"
label=
"币种"
width=
"auto"
>
</el-table-column>
>
<el-table-column
prop=
"covamt"
label=
"折算后金额"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"货币"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"余额"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"变动金额"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"保证金账号"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"汇率"
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-table>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<!--
<el-col :span="12">
<el-form-item label="Amount Covered">
<el-form-item label="Amount Covered">
<el-row>
<el-row>
<el-col :span="8">
<el-col :span="8">
<c-select
v-model=
"model.liaall.liaccv.concur"
disabled
style=
"width:100%"
placeholder=
"请选择Type of settlement"
>
<c-select
<el-option
v-for=
"item in codes.curtxt"
:key=
"item.value"
:label=
"item.label"
v-model="model.liaall.liaccv.concur"
:value=
"item.value"
>
disabled
style="width: 100%"
placeholder="请选择Type of settlement"
>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-option>
</c-select>
</c-select>
</el-col>
</el-col>
<el-col :span="14">
<el-col :span="14">
<c-input
v-model=
"model.liaall.liaccv.totcovamt"
:readonly=
"true"
></c-input>
<c-input
v-model="model.liaall.liaccv.totcovamt"
:readonly="true"
></c-input>
</el-col>
</el-col>
</el-row>
</el-row>
</el-form-item>
</el-form-item>
</el-col
>
</el-col> --
>
<!--
<el-col
:span=
"
12
"
>
<el-col
:span=
"
24
"
>
<el-form-item
label=
"金额总和"
>
<el-form-item
label=
"金额总和"
>
<el-col
:span=
"8"
>
<c-input
v-model=
"model.liaall.liaccv.totcovamt"
placeholder=
"请输入金额总和"
></c-input>
<c-input
v-model=
"model.liaall.liaccv.totcovamt"
placeholder=
"请输入金额总和"
></c-input>
</el-col>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"Additional Information "
>
<el-form-item
label=
"Additional Information "
>
<c-input
type=
"textarea"
v-model=
"model.liaall.liaccv.addinf"
maxlength=
"70"
show-word-limit
placeholder=
"请输入Additional Information "
></c-input>
<c-input
type=
"textarea"
v-model=
"model.liaall.liaccv.addinf"
maxlength=
"70"
show-word-limit
placeholder=
"请输入Additional Information "
></c-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
-->
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Ditopn/Event"
import
Event
from
"~/model/Ditopn/Event"
;
export
default
{
export
default
{
props
:[
"model"
,
"codes"
],
props
:
[
"model"
,
"codes"
],
data
()
{
data
()
{
return
{
return
{
dialogTableVisible
:
false
,
}
stmData
:
{
columns
:
[
'1 1:1 "Ref." 120'
,
'2 2:1 "User" 80'
,
'3 3:1 "Applicant" 196'
,
'4 4:1 "Account" 120'
,
'5 5:1 "Cur" 50'
,
'6 6:1 "Amount" 80 2 0 1 18.3'
,
'7 7:1 "Open date" 80 4 7'
,
'8 8:1 "flg" 40'
,
'9 9:1 "Remarks" 180'
,
"P COLORED TRUE"
,
"P VERTLINES TRUE"
,
"P HORZLINES TRUE"
,
"P MULTISELECT FALSE"
,
"P COLUMNSIZING TRUE"
,
],
data
:
[],
},
},
methods
:{...
Event
},
relrowDisabled
:
true
,
created
:
function
(){
};
},
}
methods
:
{
...
Event
},
}
created
:
function
()
{},
};
</
script
>
</
script
>
<
style
>
<
style
>
</
style
>
</
style
>
src/views/Business/Ditopn/Detp.vue
View file @
ce3590de
...
@@ -149,22 +149,20 @@ export default {
...
@@ -149,22 +149,20 @@ export default {
this
.
model
.
didgrp
.
blk
.
defdet
=
""
;
this
.
model
.
didgrp
.
blk
.
defdet
=
""
;
}
}
const
arg
=
Utils
.
flatObject
(
this
.
model
);
const
arg
=
Utils
.
flatObject
(
this
.
model
);
Api
.
post
(
"ditopn/
d
efault/didgrp.rec.avbby"
,
arg
).
then
(
Api
.
post
(
"ditopn/
executeD
efault/didgrp.rec.avbby"
,
arg
).
then
(
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
respCode
=
"AAAAAA"
){
if
(
res
.
respCode
=
"AAAAAA"
){
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
this
.
model
.
didgrp
.
blk
.
defdet
=
data
.
didgrp_blk_defdet
;
}
}
}
}
);
);
},
},
recTenmaxdayEvent
(){
recTenmaxdayEvent
(){
const
arg
=
Utils
.
flatObject
(
this
.
model
);
const
arg
=
Utils
.
flatObject
(
this
.
model
);
Api
.
post
(
"ditopn/
d
efault/didgrp.rec.tenmaxday"
,
arg
).
then
(
Api
.
post
(
"ditopn/
executeD
efault/didgrp.rec.tenmaxday"
,
arg
).
then
(
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
respCode
=
"AAAAAA"
){
if
(
res
.
respCode
=
"AAAAAA"
){
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
this
.
model
.
didgrp
.
blk
.
defdet
=
data
.
didgrp_blk_defdet
;
}
}
}
}
);
);
...
...
src/views/Business/Ditopn/Engp.vue
View file @
ce3590de
<
template
>
<
template
>
<div
class=
"eibs-tab"
>
<div
class=
"eibs-tab"
>
<el-col
:span=
"12"
>
Liability
<el-form-item
label=
"合同金额"
>
<el-col
:span=
"24"
>
<el-row>
<c-table
:list=
"model.liaall.liaallg"
style=
"width:80%,text-align:center"
>
<el-col
:span=
"8"
>
<el-table-column
prop=
"cbtpfx"
label=
"Type"
width=
"auto"
>
</el-table-column>
<c-input
type=
"text"
:disable=
"true"
value=
"CNY"
></c-input>
<el-table-column
prop=
"matdat"
label=
"Maturity"
width=
"auto"
>
</el-table-column>
</el-col>
<el-table-column
prop=
"tenday"
label=
"Tenor"
width=
"auto"
>
</el-table-column>
<el-col
:span=
"14"
>
<el-table-column
prop=
"rol"
label=
"Dbt."
width=
"auto"
>
</el-table-column>
<c-input
v-model=
"model.liaall.outamt"
default=
"0.00"
></c-input>
<el-table-column
prop=
"nam"
label=
"Name"
width=
"auto"
>
</el-table-column>
</el-col>
<el-table-column
prop=
"cdtrol"
label=
"Cdt."
width=
"auto"
>
</el-table-column>
</el-row>
<el-table-column
prop=
"cur"
label=
"Cur"
width=
"auto"
>
</el-table-column>
</el-form-item>
<el-table-column
prop=
"oldamt"
label=
"Old Amount"
width=
"auto"
>
</el-col>
<template
slot-scope=
"scope"
>
{{
moneyFormat
(
scope
.
row
.
oldamt
)
}}
<el-col
:span=
"12"
>
</
template
>
<el-form-item
label=
"保证金应收比例"
>
</el-table-column>
<el-row>
<el-table-column
prop=
"amt"
label=
"Booking Amo"
width=
"auto"
>
<el-col
:span=
"8"
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"model.liaall.outpct"
></c-input>
{{
moneyFormat
(
scope
.
row
.
amt
)
}}
</el-col>
</
template
>
<el-col
:span=
"12"
style=
"margin-left:20px"
>
</el-table-column>
<el-text>
%
</el-text>
<el-table-column
prop=
"tenpct"
label=
"%"
width=
"auto"
>
</el-table-column>
</el-col>
<el-table-column
prop=
"acc"
label=
"Account"
width=
"auto"
>
</el-table-column>
</el-row>
<el-table-column
prop=
"valdat"
label=
"Value Date"
width=
"auto"
>
</el-form-item>
<
template
slot-scope=
"scope"
>
</el-col>
{{
dateFormat
(
scope
.
row
.
valdat
)
}}
</
template
>
<el-col
:span=
"12"
>
</el-table-column>
<el-form-item
label=
"Reserved Amount"
>
</c-table>
<el-row>
<el-col
:span=
"8"
>
<c-input
type=
"text"
:disable=
"true"
value=
"CNY"
></c-input>
</el-col>
<el-col
:span=
"14"
>
<c-input
v-model=
"model.liaall.concur"
></c-input>
</el-col>
</el-row>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"保证金实收比例"
>
<el-row>
<el-col
:span=
"8"
>
<c-input
v-model=
"model.liaall.misamt"
></c-input>
</el-col>
<el-col
:span=
"12"
style=
"margin-left:20px"
>
<el-text>
%
</el-text>
</el-col>
</el-row>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"应付保证金金额"
>
<el-row>
<el-col
:span=
"8"
>
<c-input
type=
"text"
:disable=
"true"
value=
"CNY"
></c-input>
</el-col>
<el-col
:span=
"14"
>
<c-input
v-model=
"model.liaall.exttotamt"
></c-input>
</el-col>
</el-row>
</el-form-item>
</el-col>
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"Sight Amount"
>
<el-form-item
label=
"Sight Amount"
>
<c-input
v-model=
"model.liaall.outamt"
placeholder=
"请输入Sight Amount"
></c-input>
<c-input
v-model=
"model.liaall.outamt"
placeholder=
"请输入Sight Amount"
></c-input>
</el-form-item>
</el-form-item>
...
@@ -90,93 +55,26 @@
...
@@ -90,93 +55,26 @@
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"Old Amount booked externally"
>
<c-input
v-model=
"model.liaall.exttotoldamt"
placeholder=
"请输入Old Amount booked externally"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"Total booking amount external assinged"
>
<c-input
v-model=
"model.liaall.exttotamt"
placeholder=
"请输入Total booking amount external assinged"
></c-input>
</el-form-item>
</el-col>
-->
<el-col
:span=
"24"
>
<el-row>
<el-col
:span=
"2"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onLiaallButmisamt"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onLiaallButmisamt"
>
Add
Add to Current Line
</c-button>
</c-button>
</el-col>
</el-col>
<el-col
:span=
"
2"
>
<el-col
:span=
"1
2"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onLiaallButmissig"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onLiaallButmissig"
>
Del
Add to Sight Amount
</c-button>
</c-button>
</el-col>
</el-col>
</el-row>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"12"
>
<c-table
style=
"width:80%,text-align:center"
>
<el-form-item
label=
"Old Amount booked externally"
>
<el-table-column
<c-input
v-model=
"model.liaall.exttotoldamt"
placeholder=
"请输入Old Amount booked externally"
></c-input>
label=
"CFO"
</el-form-item>
width=
50
>
</el-table-column>
<el-table-column
label=
"保证金编号"
width=
50
>
</el-table-column>
<el-table-column
label=
"货币"
width=
50
>
</el-table-column>
<el-table-column
label=
"余额"
width=
50
>
</el-table-column>
<el-table-column
label=
"变动金额"
width=
50
>
</el-table-column>
<el-table-column
label=
"保证金账号"
width=
50
>
</el-table-column>
<el-table-column
label=
"汇率"
width=
50
>
</el-table-column>
<el-table-column
label=
""
width=
50
>
</el-table-column>
<el-table-column
label=
"折算后金额"
width=
50
>
</el-table-column>
</c-table>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"金额总和"
>
<el-form-item
label=
"Total booking amount external assinged"
>
<el-row>
<c-input
v-model=
"model.liaall.exttotamt"
placeholder=
"请输入Total booking amount external assinged"
></c-input>
<el-col
:span=
"8"
>
<c-input
type=
"text"
:disable=
"true"
value=
"CNY"
></c-input>
</el-col>
<el-col
:span=
"14"
>
<c-input
></c-input>
</el-col>
</el-row>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</div>
</div>
...
...
src/views/Business/Ditopn/Limitbody.vue
View file @
ce3590de
<
template
>
<
template
>
<div
class=
"eibs-tab"
>
<div
class=
"eibs-tab"
>
<!--
<!--
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"ECIFNO"
>
<el-form-item
label=
"ECIFNO"
>
...
@@ -34,58 +32,75 @@
...
@@ -34,58 +32,75 @@
</el-col>
</el-col>
-->
-->
<el-col
:span=
"8"
>
<!-- ====================左边======================= -->
<el-form-item
label=
"国内信用证项下开证授信额度:"
prop=
"liaall.limmod.limpts.wrk.pts.extkey"
>
<el-col
:span=
"12"
>
<c-input
v-model=
"model.liaall.limmod.limpts.wrk.pts.extkey"
:readonly=
"true"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
></c-input>
<el-col
:span=
"16"
>
<el-form-item
label=
"国内信用证项下开证授信额度:"
prop=
"liaall.limmod.limpts.wrk.pts.extkey"
>
<c-input
v-model=
"model.liaall.limmod.limpts.wrk.pts.extkey"
:disabled=
"true"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
></c-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4
"
>
<el-col
:span=
"8
"
>
<el-form-item
label=
""
label-width=
"20px"
>
<el-form-item
label=
""
label-width=
"20px"
>
<c-button
size=
"small"
type=
"primary;width:10%"
@
click=
"onSeainf"
>
i
</c-button>
<c-button
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onPreperButtxmsel"
>
size=
"small"
type=
"primary;width:10%"
@
click=
"onSeainf"
>
i
</c-button
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onPreperButtxmsel"
>
Details
Details
</c-button>
</c-button>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<!--
<el-col
:span=
"12"
>
-->
<!--
<el-form-item
label=
"开证授信额度主体名称"
prop=
"liaall.limmod.limpts.wrk.pts.nam"
>
-->
<!--
<c-input
v-model=
"model.liaall.limmod.limpts.wrk.pts.nam"
maxlength=
"40"
placeholder=
"请输入Name of Party"
></c-input>
-->
<!--
</el-form-item>
-->
<!--
</el-col>
-->
<el-col
:span=
"12"
>
<el-form-item
label=
"业务编号"
prop=
"liaall.limmod.ownref"
>
<c-input
v-model=
"model.liaall.limmod.ownref"
maxlength=
"16"
placeholder=
"请输入国结业务编号"
:readonly=
"true"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"liaall.limmod.limpts.wrk.pts.nam"
>
<el-form-item
label=
""
prop=
"liaall.limmod.limpts.wrk.pts.nam"
>
<c-input
v-model=
"model.liaall.limmod.limpts.wrk.pts.nam"
maxlength=
"16"
placeholder=
""
:readonly=
"true"
></c-input>
<c-input
v-model=
"model.liaall.limmod.limpts.wrk.pts.nam"
maxlength=
"16"
placeholder=
""
:disabled=
"true"
></c-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"业务余额"
prop=
"liaall.limmod.comamt"
>
<el-form-item
<c-input
v-model=
"model.liaall.limmod.comamt"
placeholder=
"请输入业务余额"
:readonly=
"true"
></c-input>
label=
"额度类型"
</el-form-item>
prop=
"liaall.limmod.limpts.nonrevflg1"
</el-col>
>
<c-select
v-model=
"model.liaall.limmod.limpts.nonrevflg1"
<el-col
:span=
"6"
>
style=
"width: 100%"
<el-form-item
label=
"额度类型"
prop=
"liaall.limmod.limpts.nonrevflg1"
>
placeholder=
"请选择Flag to Mark Non-revolving Limits"
<c-select
v-model=
"model.liaall.limmod.limpts.nonrevflg1"
style=
"width:100%"
disabled
placeholder=
"请选择Flag to Mark Non-revolving Limits"
>
@
change=
"nonrevflg1Change"
<el-option
v-for=
"item in codes.nonrevflg1"
:key=
"item.value"
:label=
"item.label"
>
:value=
"item.value"
>
<el-option
v-for=
"item in codes.nonrevflg1"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-option>
</c-select>
</c-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"12"
>
<el-form-item
label=
""
>
<el-form-item
label=
""
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onLimptsGet1"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onLimptsGet1"
>
查询
查询
...
@@ -93,24 +108,60 @@
...
@@ -93,24 +108,60 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"保证金余额"
prop=
"liaall.limmod.ccvamt"
>
<el-form-item
<c-input
v-model=
"model.liaall.limmod.ccvamt"
placeholder=
"请输入保证金余额"
:readonly=
"true"
></c-input>
label=
"合同流水号"
prop=
"liaall.limmod.limpts.pfcod1"
>
<c-input
v-model=
"model.liaall.limmod.limpts.pfcod1"
maxlength=
"14"
placeholder=
"请输入合同流水号"
:disabled=
"this.model.liaall.limmod.limpts.nonrevflg1 != '2'"
></c-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-col>
<!-- ========================右边======================= -->
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"合同流水号"
prop=
"liaall.limmod.limpts.pfcod1"
>
<el-col
:span=
"24"
>
<c-input
v-model=
"model.liaall.limmod.limpts.pfcod1"
maxlength=
"14"
placeholder=
"请输入合同流水号"
:readonly=
"true"
></c-input>
<el-form-item
label=
"业务编号"
prop=
"liaall.limmod.ownref"
>
<c-input
v-model=
"model.liaall.limmod.ownref"
maxlength=
"16"
placeholder=
"请输入国结业务编号"
:disabled=
"true"
></c-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-form-item
label=
"业务余额"
prop=
"liaall.limmod.comamt"
>
<c-input
v-model=
"model.liaall.limmod.comamt"
placeholder=
"请输入业务余额"
:disabled=
"true"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<el-form-item
label=
"保证金余额"
prop=
"liaall.limmod.ccvamt"
>
<c-input
v-model=
"model.liaall.limmod.ccvamt"
placeholder=
"请输入保证金余额"
:disabled=
"true"
></c-input>
</el-form-item>
</el-col>
</el-col>
<!--
<el-col
:span=
"12"
>
-->
<!--
<el-form-item
label=
"开证授信额度主体名称"
prop=
"liaall.limmod.limpts.wrk.pts.nam"
>
-->
<!--
<c-input
v-model=
"model.liaall.limmod.limpts.wrk.pts.nam"
maxlength=
"40"
placeholder=
"请输入Name of Party"
></c-input>
-->
<!--
</el-form-item>
-->
<!--
</el-col>
-->
<!--
<!--
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
...
@@ -166,79 +217,50 @@
...
@@ -166,79 +217,50 @@
</el-col>
</el-col>
-->
-->
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<c-table
style=
"text-align:center"
:data=
"tableData"
>
<c-table
style=
"text-align: center"
:data=
"tableData"
>
<el-table-column
<el-table-column
label=
"可否串用"
width=
"auto"
>
label=
"可否串用"
width=
"auto"
>
</el-table-column>
-->
<el-table-column
label=
"序号"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
-->
label=
"额度类型"
<el-table-column
label=
"序号"
width=
"auto"
>
</el-table-column>
width=
"auto"
<el-table-column
label=
"额度类型"
width=
"auto"
>
>
</el-table-column>
<el-table-column
label=
"入账机构"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"入账机构"
width=
"auto"
>
label=
"额度编号"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"额度编号"
width=
"auto"
>
label=
"额度明细编号"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"额度明细编号"
width=
"auto"
>
label=
"额度品种代码"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"额度品种代码"
width=
"auto"
>
label=
"品种代码描述"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"品种代码描述"
width=
"auto"
>
label=
""
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
""
width=
"auto"
>
</el-table-column>
</c-table>
</c-table>
</el-col>
</el-col>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Ditopn/Event"
import
Event
from
"~/model/Ditopn/Event"
;
export
default
{
export
default
{
props
:[
"model"
,
"codes"
],
props
:
[
"model"
,
"codes"
],
data
()
{
data
()
{
return
{
return
{
tableData
:{
tableData
:
{},
};
}
}
},
},
methods
:{...
Event
},
methods
:
{
...
Event
,
created
:
function
(){
nonrevflg1Change
(){
if
(
this
.
model
.
liaall
.
limmod
.
limpts
.
nonrevflg1
==
'1'
){
this
.
model
.
liaall
.
limmod
.
limpts
.
pfcod1
=
""
;
}
}
}
}
},
created
:
function
()
{},
};
</
script
>
</
script
>
<
style
>
<
style
>
</
style
>
</
style
>
src/views/Business/Ditopn/Ovwp.vue
View file @
ce3590de
...
@@ -77,6 +77,7 @@
...
@@ -77,6 +77,7 @@
v-model=
"model.didgrp.cbs.nom1.cur"
v-model=
"model.didgrp.cbs.nom1.cur"
style=
"width: 100%"
style=
"width: 100%"
placeholder=
"请选择Currency"
placeholder=
"请选择Currency"
@
keyup
.
enter
.
native=
"nom1CurEvent"
>
>
<el-option
<el-option
v-for=
"item in codes.cur"
v-for=
"item in codes.cur"
...
@@ -674,6 +675,7 @@
...
@@ -674,6 +675,7 @@
maxlength=
"35"
maxlength=
"35"
show-word-limit
show-word-limit
placeholder=
"请输入联行名称 电证用"
placeholder=
"请输入联行名称 电证用"
:disabled=
"this.jigomcFlag"
></c-input>
></c-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -701,6 +703,7 @@ export default {
...
@@ -701,6 +703,7 @@ export default {
uri
:
"/ditopn/getElcsRef"
,
uri
:
"/ditopn/getElcsRef"
,
},
},
flag
:
true
,
flag
:
true
,
jigomcFlag
:
false
,
trade
:
""
,
trade
:
""
,
};
};
},
},
...
@@ -713,13 +716,7 @@ export default {
...
@@ -713,13 +716,7 @@ export default {
if
(
res
.
respCode
=
"AAAAAA"
){
if
(
res
.
respCode
=
"AAAAAA"
){
//失去焦点,避免多次触发
//失去焦点,避免多次触发
document
.
getElementById
(
'extkey'
).
blur
();
document
.
getElementById
(
'extkey'
).
blur
();
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
this
.
model
.
didgrp
.
apl
.
namelc
=
data
.
didgrp_apl_namelc
;
this
.
model
.
didgrp
.
apl
.
adrelc
=
data
.
didgrp_apl_adrelc
;
this
.
model
.
didgrp
.
apl
.
pts
.
extkey
=
data
.
didgrp_apl_pts_extkey
;
this
.
model
.
didgrp
.
apl
.
rolsetflg
=
data
.
didgrp_apl_rolsetflg
;
this
.
model
.
didgrp
.
rec
.
nam
=
data
.
didgrp_rec_nam
;
//摘要
this
.
model
.
didgrp
.
apl
.
pts
.
extact
=
data
.
didgrp_apl_pts_extact
;
//申请人账号
this
.
flag
=
false
;
this
.
flag
=
false
;
}
}
}
}
...
@@ -730,12 +727,8 @@ export default {
...
@@ -730,12 +727,8 @@ export default {
Api
.
post
(
"ditopn/executeRule/didgrp.ben.pts.extkey"
,
data
).
then
(
Api
.
post
(
"ditopn/executeRule/didgrp.ben.pts.extkey"
,
data
).
then
(
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
respCode
=
"AAAAAA"
){
if
(
res
.
respCode
=
"AAAAAA"
){
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
this
.
model
.
didgrp
.
ben
.
namelc
=
data
.
didgrp_ben_namelc
;
this
.
model
.
didgrp
.
ben
.
adrelc
=
data
.
didgrp_ben_adrelc
;
this
.
model
.
didgrp
.
ben
.
pts
.
extkey
=
data
.
didgrp_ben_pts_extkey
;
}
}
}
}
);
);
},
},
...
@@ -745,7 +738,6 @@ export default {
...
@@ -745,7 +738,6 @@ export default {
if
(
temp
.
length
<
6
){
if
(
temp
.
length
<
6
){
return
;
return
;
}
}
// 011451000006
Api
.
post
(
"ditopn/executeRule/didgrp.beb.pts.bankno"
,
data
).
then
(
Api
.
post
(
"ditopn/executeRule/didgrp.beb.pts.bankno"
,
data
).
then
(
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
respCode
=
"AAAAAA"
){
if
(
res
.
respCode
=
"AAAAAA"
){
...
@@ -756,9 +748,8 @@ export default {
...
@@ -756,9 +748,8 @@ export default {
type
:
'error'
type
:
'error'
});
});
}
else
{
}
else
{
const
data
=
res
.
data
;
this
.
jigomcFlag
=
true
;
this
.
model
.
didgrp
.
beb
.
pts
.
bankno
=
data
.
didgrp_beb_pts_bankno
;
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
this
.
model
.
didgrp
.
beb
.
pts
.
jigomc
=
data
.
didgrp_beb_pts_jigomc
;
}
}
}
}
}
}
...
@@ -774,6 +765,17 @@ export default {
...
@@ -774,6 +765,17 @@ export default {
this
.
model
.
didgrp
.
rec
.
shppro
=
""
;
this
.
model
.
didgrp
.
rec
.
shppro
=
""
;
}
}
},
},
nom1CurEvent
(){
const
data
=
Utils
.
flatObject
(
this
.
model
);
Api
.
post
(
"ditopn/executeDefault/didgrp.cbs.nom1.cur"
,
data
).
then
(
(
res
)
=>
{
if
(
res
.
respCode
=
"AAAAAA"
){
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
this
.
flag
=
false
;
}
}
);
},
},
},
created
:
function
()
{},
created
:
function
()
{},
watch
:
{
watch
:
{
...
...
src/views/Business/Ditopn/dialog.vue
0 → 100644
View file @
ce3590de
<
template
>
<el-dialog
title=
"可用保证金条目"
:visible
.
sync=
"dialogTableVisible"
>
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
:showSelection=
"true"
v-on:multipleSelect=
"multipleSelect"
>
</c-istream-table>
</el-dialog>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
dialogTableVisible
:
false
,
stmData
:
{
columns
:
[
"10 1
\"
TRN
\"
50 1 tdViewTypeEdit:0 3 ATPTXT"
,
"11 2:1
\"
Own Reference
\"
112"
,
"17 2:2
\"
Addtional Text
\"
112"
,
"12 3
\"
Cur
\"
37"
,
"13 4
\"
Relevant Amount
\"
101 2 8:1 2 5"
,
"14 5
\"
Entry
\"
104 20 DateTime 1"
,
"9 6:1
\"
Req
\"
39"
,
"2 6:2
\"
Sig
\"
35"
,
"6 8:1
\"
Rq0
\"
40"
,
"3 8:2
\"
Rel0
\"
40"
,
"7 9:1
\"
Rq1
\"
40"
,
"4 9:2
\"
Rel1
\"
40"
,
"8 10:1
\"
Rq2
\"
40"
,
"5 10:2
\"
Rel2
\"
40"
,
"15 13
\"
Branch
\"
142"
,
"16 11:1
\"
User
\"
62"
,
"18 11:2
\"\"
62"
,
"0 12
\"
Status
\"
54 1 tdViewTypeEdit:0 1 RELSTA"
,
],
data
:
[
]
},
relrowDisabled
:
true
,
multipleSelection
:
[]
};
},
methods
:
{
closeMask
()
{
this
.
dialogTableVisible
=
true
;
},
},
};
</
script
>
src/views/Business/Ditopn/index.vue
View file @
ce3590de
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
<m-tk
:model=
"model"
:codes=
"codes"
/>
<m-tk
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
<!-- document rules
<!-- document rules
<el-tab-pane
label=
"经办夹查询"
>
<el-tab-pane
label=
"经办夹查询"
>
...
@@ -52,12 +53,13 @@
...
@@ -52,12 +53,13 @@
<m-setpan
:model=
"model"
:codes=
"codes"
/>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
<!--PD000027
<el-tab-pane
label=
"保证金"
>
<el-tab-pane
label=
"或有"
>
<!--PD000027 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<el-tab-pane
label=
"保证金"
>
<el-tab-pane
label=
"保证金"
>
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
...
@@ -156,17 +158,16 @@ export default {
...
@@ -156,17 +158,16 @@ export default {
},
},
methods
:{
methods
:{
tabClick
(
vm
){
tabClick
(
vm
){
// this.$refs.modelForm.validate(valid => {
// if (valid){
// console.log(1)
// }else{
// console.log(0)
// }
// })
if
(
this
.
isInDisplay
){
if
(
this
.
isInDisplay
){
return
return
}
}
const
label
=
vm
.
label
const
label
=
vm
.
label
if
(
label
===
"或有"
)
{
this
.
executeRule
(
"liaall.engp"
).
then
(
res
=>
{
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
})
}
if
(
label
===
"帐务"
)
{
if
(
label
===
"帐务"
)
{
this
.
executeRule
(
"setmod.setpan"
).
then
(
res
=>
{
this
.
executeRule
(
"setmod.setpan"
).
then
(
res
=>
{
if
(
res
.
respCode
==
"AAAAAA"
){
if
(
res
.
respCode
==
"AAAAAA"
){
...
@@ -176,7 +177,6 @@ export default {
...
@@ -176,7 +177,6 @@ export default {
})
})
}
}
if
(
label
===
"面函"
)
{
if
(
label
===
"面函"
)
{
//didgrp.adv.pts.extkey
this
.
executeRule
(
"trnmod.trndoc.docpan"
).
then
(
res
=>
{
this
.
executeRule
(
"trnmod.trndoc.docpan"
).
then
(
res
=>
{
if
(
res
.
respCode
==
"AAAAAA"
){
if
(
res
.
respCode
==
"AAAAAA"
){
const
data
=
res
.
data
;
const
data
=
res
.
data
;
...
@@ -192,12 +192,19 @@ export default {
...
@@ -192,12 +192,19 @@ export default {
}
}
})
})
}
}
if
(
label
===
"统一授信"
)
{
this
.
executeRule
(
"liaall.limmod.limitbody"
).
then
(
res
=>
{
if
(
res
.
respCode
==
"AAAAAA"
){
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
}
})
}
}
}
},
},
mounted
:
async
function
(){
mounted
:
async
function
(){
console
.
log
(
"进入ditopn交易"
);
console
.
log
(
"进入ditopn交易"
);
let
rtnmsg
=
await
this
.
init
(
this
.
$route
.
query
)
let
rtnmsg
=
await
this
.
init
(
this
.
$route
.
query
)
// let rtnmsg = {respCode: ''}
if
(
rtnmsg
.
respCode
==
SUCCESS
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
{
//更新数据
//更新数据
...
...
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