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
3761e416
Commit
3761e416
authored
Jan 06, 2023
by
nanrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbjadd缺陷修改以及cfasel“新增接口”灰亮控制。
parent
bbe6ef88
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
73 additions
and
94 deletions
+73
-94
index.js
src/model/Cfasel/index.js
+22
-4
index.js
src/model/Eadinf/index.js
+0
-1
Selp.vue
src/views/Business/Cfasel/Selp.vue
+50
-88
Selection.vue
src/views/Business/Dbjadd/Selection.vue
+1
-1
No files found.
src/model/Cfasel/index.js
View file @
3761e416
...
...
@@ -5,10 +5,6 @@ export default class Cfasel{
constructor
()
{
this
.
data
=
{
eblstm
:
""
,
// Selection .eblstm
eadstm
:
""
,
// Selection .eadstm
eafstm
:
""
,
// Selection .eafstm
ebastm
:
""
,
// Selection .ebastm
ecastm
:
""
,
// Selection .ecastm
cfaquep
:{
cfatyp
:
""
,
// 申报类型 .cfaquep.cfatyp
frmdat
:
""
,
// From .cfaquep.frmdat
...
...
@@ -28,6 +24,28 @@ export default class Cfasel{
msgstm
:
""
,
// Select Error Message .errcfa.msgstm
rptno
:
""
,
// 申报编号 .errcfa.rptno
},
cfarec
:
{
eadgrp
:
{
bas
:
{
sta
:
""
}
},
eafgrp
:
{
bas
:
{
sta
:
""
}
},
ebagrp
:
{
bas
:
{
sta
:
""
}
},
ecagrp
:
{
bas
:
{
sta
:
""
}
},
},
pageId
:
""
// ctx的key
}
}
...
...
src/model/Eadinf/index.js
View file @
3761e416
...
...
@@ -52,7 +52,6 @@ export default class Eadinf{
inltcabuscode
:
""
,
// 信用证承兑业务参号 .recgrp.bas.inltcabuscode
remark
:
""
,
// 备注 .recgrp.bas.remark
relation
:
""
,
// 对方与本机构的关系 .recgrp.bas.relation
sta
:
""
},
},
recp
:{
...
...
src/views/Business/Cfasel/Selp.vue
View file @
3761e416
...
...
@@ -79,7 +79,7 @@
<c-col
:span=
"24"
style=
"margin-top: 10px"
>
<c-button
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 0px"
type=
"primary"
>
导出Excel
</c-button>
<c-button
class=
"medium_bcs"
size=
"medium"
type=
"primary"
>
新增接口
<c-button
class=
"medium_bcs"
size=
"medium"
type=
"primary"
@
click=
"addInterface"
:disabled=
"addFlag == true"
>
新增接口
</c-button>
<c-button
class=
"medium_bcs"
size=
"medium"
type=
"primary"
>
代付利息
</c-button>
...
...
@@ -99,7 +99,7 @@
<div
style=
"height:90%"
>
<c-col
:span=
"24"
>
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
:showButtonFlg=
"true"
>
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
:showButtonFlg=
"true"
@
chooseRowEvent=
"chooseRowEvent"
>
<!-- 自定义组件里加了最右边的一列”操作“ -->
<el-table-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"200px"
>
<
template
slot=
"header"
>
...
...
@@ -110,10 +110,12 @@
<c-button
style=
"margin-left: 0"
size=
"small"
@
click=
"getInfo(scope.$index, scope.row)"
>
详情
</c-button>
<c-button
style=
"margin-left: 3px"
size=
"small"
@
click=
"getAmend(scope.$index, scope.row)"
:disabled=
"scope.row.状态 == 'D'"
>
<c-button
style=
"margin-left: 3px"
size=
"small"
@
click=
"getAmend(scope.$index, scope.row)"
:disabled=
"scope.row.状态 == 'D'"
>
修改
</c-button>
<c-button
style=
"margin-left: 3px"
size=
"small"
@
click=
"getDelete(scope.$index, scope.row)"
:disabled=
"scope.row.状态 == 'D'"
>
<c-button
style=
"margin-left: 3px"
size=
"small"
@
click=
"getDelete(scope.$index, scope.row)"
:disabled=
"scope.row.状态 == 'D'"
>
删除
</c-button>
</
template
>
...
...
@@ -121,90 +123,6 @@
</c-istream-table>
</c-col>
</div>
<!-- <c-col :span="12">
<c-form-item label="Selection" prop="eblstm">
<c-input v-model="model.eblstm" :placeholder="$t('other.please_enter') + 'Selection'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="EAD Selection" prop="eadstm">
<c-input v-model="model.eadstm" :placeholder="$t('other.please_enter') + 'EAD Selection'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="EAF Selection" prop="eafstm">
<c-input v-model="model.eafstm" :placeholder="$t('other.please_enter') + 'EAF Selection'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="EBA Selection" prop="ebastm">
<c-input v-model="model.ebastm" :placeholder="$t('other.please_enter') + 'EBA Selection'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="ECA Selection" prop="ecastm">
<c-input v-model="model.ecastm" :placeholder="$t('other.please_enter') + 'ECA Selection'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSerbut">
{{ $t('cfasel.C0000010') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDtlbut">
{{ $t('cfasel.C0000011') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAddbut">
{{ $t('cfasel.C0000012') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAmebut">
{{ $t('cfasel.C0000013') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onDelbut">
{{ $t('cfasel.C0000014') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onExpbut">
{{ $t('cfasel.C0000016') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAddbut2">
{{ $t('cfasel.C0000017') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAmelixi">
{{ $t('cfasel.C0000019') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onExi">
{{ $t('errcfa.C0000012') }}
</c-button>
</c-col> -->
</div>
</template>
<
script
>
...
...
@@ -220,6 +138,9 @@ export default {
mixins
:
[
commonProcess
],
data
()
{
return
{
addFlag
:
true
,
selectRowParamstRow
:
{},
selectRowType
:
""
,
stmDataAll
:
{
columns
:
[
"0 1
\"
业务流水
\"
100 1 0:2 1 "
,
...
...
@@ -570,6 +491,7 @@ export default {
selDst
=
this
.
model
.
cfaquep
.
cfatyp
.
toLowerCase
()
+
"stm"
//列表对应后台模型中的stream
}
let
params
=
{
selDst
,
selIds
};
this
.
seletRowParams
=
params
;
this
.
executeRule
(
"delbut"
,
params
).
then
((
res
)
=>
{
if
((
res
.
respCode
==
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
...
...
@@ -581,6 +503,46 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
h
(
'p'
,
{
style
:
'word-break:break-all;'
},
msg
)
})
}
});
},
async
chooseRowEvent
(
row
)
{
console
.
log
(
row
);
const
selIds
=
[
row
.
IDX
+
1
];
console
.
log
(
selIds
);
let
selDst
;
if
(
this
.
model
.
cfaquep
.
cfatyp
==
"ALL"
)
{
selDst
=
"eblstm"
//列表对应后台模型中的stream
}
else
{
selDst
=
this
.
model
.
cfaquep
.
cfatyp
.
toLowerCase
()
+
"stm"
//列表对应后台模型中的stream
}
let
params
=
{
selDst
,
selIds
};
this
.
seleseletRowParamstRow
=
params
;
this
.
selectRowType
=
row
.
申报类型
;
this
.
executeRule
(
"dtlbut"
,
params
).
then
((
res
)
=>
{
if
((
res
.
respCode
==
SUCCESS
))
{
console
.
log
(
res
.
data
);
let
sta
=
res
.
data
.
cfarec_eadgrp_bas_sta
||
res
.
data
.
cfarec_eafgrp_bas_sta
||
res
.
data
.
cfarec_ebagrp_bas_sta
||
res
.
data
.
cfarec_ecagrp_bas_sta
;
console
.
log
(
sta
);
if
(
sta
!==
'D'
&&
sta
!==
'G'
&&
sta
!==
'N'
&&
sta
!==
'P'
)
{
this
.
addFlag
=
false
;
}
else
{
this
.
addFlag
=
true
;
}
}
else
{
this
.
$notify
.
error
(
"Record Missing"
);
}
});
},
addInterface
()
{
this
.
executeRule
(
"delbut"
,
this
.
selectRowParamstRow
).
then
((
res
)
=>
{
if
((
res
.
respCode
==
SUCCESS
))
{
// Utils.copyValueFromVO(this.model, res.data);
this
.
$router
.
push
({
name
:
this
.
selectRowType
.
charAt
(
0
)
+
this
.
selectRowType
.
substring
(
1
).
toLowerCase
()
+
'add'
,
params
:
{
prePageId
:
this
.
model
.
pageId
}
});
}
else
{
const
h
=
this
.
$createElement
;
const
msg
=
res
.
respMsg
||
'请求执行失败!'
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
h
(
'p'
,
{
style
:
'word-break:break-all;'
},
msg
)
})
}
});
}
},
// created: function () {
...
...
src/views/Business/Dbjadd/Selection.vue
View file @
3761e416
...
...
@@ -31,7 +31,7 @@
style=
"width: 100%"
placeholder=
"请输入款项去向"
disabled
:code=
"codes.acttyp"
:code=
"codes.
bop
acttyp"
>
</c-select>
</el-form-item>
...
...
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