Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-web-vue
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
isc-v3.1-tmp
isc-web-vue
Commits
541bd934
Commit
541bd934
authored
Oct 31, 2024
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
smtsel 交易增加导出功能
parent
82471bdd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
77 additions
and
10 deletions
+77
-10
index.js
src/page/Frontend/Smtsel/event/index.js
+73
-4
index.js
src/page/Frontend/Smtsel/model/index.js
+0
-2
Smtp01.vue
src/page/Frontend/Smtsel/views/Smtp01.vue
+4
-4
No files found.
src/page/Frontend/Smtsel/event/index.js
View file @
541bd934
import
Api
from
"~/service/Api"
;
import
Api
from
"~/service/Api"
;
import
Smtsel
from
"../model"
;
import
Smtsel
from
"../model"
;
import
Utils
from
"~/utils"
;
import
Utils
from
"~/utils"
;
import
exportExcel
from
'~/page/Frontend/Rcvsel/event/exportExcel.js'
;
export
default
{
export
default
{
mixins
:
[],
mixins
:
[
exportExcel
],
methods
:
{
methods
:
{
async
handleSearch
()
{
async
handleSearch
()
{
this
.
load
=
true
;
this
.
load
=
true
;
let
rtnmsg
=
await
Api
.
post
(
"/frontend/smtsel"
,
{
let
rtnmsg
=
await
Api
.
post
(
"/frontend/smtsel
/query
"
,
{
...
this
.
model
,
...
this
.
model
.
smtp
,
pageNum
ber
:
this
.
pagenation
.
pageNum
,
pageNum
:
this
.
pagenation
.
pageNum
,
pageSize
:
this
.
pagenation
.
pageSize
,
pageSize
:
this
.
pagenation
.
pageSize
,
});
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
...
@@ -42,5 +43,72 @@ export default {
...
@@ -42,5 +43,72 @@ export default {
this
.
pagenation
.
pageNum
=
val
;
this
.
pagenation
.
pageNum
=
val
;
this
.
handleSearch
();
this
.
handleSearch
();
},
},
exportToExcel
()
{
let
codeKeysMap
=
{
typ
:
'kpatyp'
};
let
params
=
{
...
this
.
model
.
smtp
,
}
let
columns
=
[
{
label
:
"收报日期"
,
prop
:
"recdat"
,
},
{
label
:
"起息日期"
,
prop
:
"valdat"
,
},
{
label
:
"账户行名称"
,
prop
:
"chnnam"
,
},
{
label
:
"BIC"
,
prop
:
"bic"
,
},
{
label
:
"帐号"
,
prop
:
"acc"
,
},
{
label
:
"币种"
,
prop
:
"cur"
,
},
{
label
:
"对账单参考号"
,
prop
:
"ref"
,
},
{
label
:
"单编号"
,
prop
:
"smtno"
,
},
{
label
:
"期初金额"
,
prop
:
"begamt"
,
},
{
label
:
"期末金额"
,
prop
:
"endamt"
,
},
{
label
:
"期末可用金额"
,
prop
:
"endvalamt"
,
},
{
label
:
"对账单类型"
,
prop
:
"typ"
,
},
{
label
:
"页数"
,
prop
:
"pag"
,
},
{
label
:
"明细条数"
,
prop
:
"dtl"
,
},
]
this
.
exportExcel
(
columns
,
'/frontend/smtsel/exportExcel'
,
params
,
codeKeysMap
,
'对账单查询'
);
}
}
}
}
}
\ No newline at end of file
src/page/Frontend/Smtsel/model/index.js
View file @
541bd934
...
@@ -29,7 +29,6 @@ export default class Smtsel {
...
@@ -29,7 +29,6 @@ export default class Smtsel {
lst
:
[],
// .smtgrp.smtsub.lst
lst
:
[],
// .smtgrp.smtsub.lst
},
},
},
},
pageId
:
""
// ctx的key
}
}
}
}
}
}
\ No newline at end of file
src/page/Frontend/Smtsel/views/Smtp01.vue
View file @
541bd934
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
<el-col
:span=
"24"
style=
"margin-left: 0px"
>
<el-col
:span=
"24"
style=
"margin-left: 0px"
>
<c-button
class=
"medium_bcs"
style=
"margin-left: 20"
size=
"medium"
type=
"primary"
<c-button
class=
"medium_bcs"
style=
"margin-left: 20"
size=
"medium"
type=
"primary"
@
click=
"
batchupdateAck
"
>
导出
</c-button>
@
click=
"
exportToExcel
"
>
导出
</c-button>
</el-col>
</el-col>
<el-col
:span=
"24"
style=
"margin-top: 10px"
>
<el-col
:span=
"24"
style=
"margin-top: 10px"
>
...
@@ -135,6 +135,9 @@
...
@@ -135,6 +135,9 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"typ"
label=
"对账单类型"
width=
"150"
>
<el-table-column
prop=
"typ"
label=
"对账单类型"
width=
"150"
>
<
template
slot-scope=
"scope"
>
<c-select-value-to-label
v-model=
"scope.row.typ"
dbCode=
"KPATYP"
></c-select-value-to-label>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"pag"
label=
"页数"
width=
"100"
>
<el-table-column
prop=
"pag"
label=
"页数"
width=
"100"
>
</el-table-column>
</el-table-column>
...
@@ -204,9 +207,6 @@ export default {
...
@@ -204,9 +207,6 @@ export default {
updateAck
(
row
)
{
updateAck
(
row
)
{
},
},
batchupdateAck
()
{
},
async
currentchange
(
num
)
{
async
currentchange
(
num
)
{
this
.
pagination
.
pageNum
=
num
;
this
.
pagination
.
pageNum
=
num
;
this
.
formsubmit
();
this
.
formsubmit
();
...
...
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