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
7b95c46c
Commit
7b95c46c
authored
Oct 28, 2024
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
smtsel和smpsel交易调整
parent
f6fee93e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
97 additions
and
175 deletions
+97
-175
index.js
src/page/Frontend/Smpsel/event/index.js
+4
-4
index.js
src/page/Frontend/Smpsel/model/index.js
+4
-4
Smpp01.vue
src/page/Frontend/Smpsel/views/Smpp01.vue
+25
-10
index.vue
src/page/Frontend/Smpsel/views/index.vue
+2
-2
index.js
src/page/Frontend/Smtsel/event/index.js
+4
-9
Smtp01.vue
src/page/Frontend/Smtsel/views/Smtp01.vue
+57
-145
index.vue
src/page/Frontend/Smtsel/views/index.vue
+1
-1
No files found.
src/page/Frontend/Smpsel/event/index.js
View file @
7b95c46c
import
Api
from
"~/service/Api"
;
import
moment
from
"moment"
;
import
Smpsel
from
"../model"
;
import
Utils
from
"~/utils"
;
export
default
{
methods
:
{
async
handleSearch
()
{
...
...
@@ -28,9 +29,8 @@ export default {
this
.
load
=
false
;
},
async
handleReset
()
{
this
.
model
.
smdp
.
smdsup
.
ptpmod
.
pty
.
extkey
=
''
this
.
model
.
smdp
.
smdsup
.
act
=
''
this
.
model
.
smdp
.
smdsup
.
cur
=
''
let
resetModel
=
new
Smpsel
().
data
Utils
.
copyValueFromVoData
(
this
.
model
,
resetModel
);
},
// pageSize改变
handleSizeChange
(
val
)
{
...
...
src/page/Frontend/Smpsel/model/index.js
View file @
7b95c46c
...
...
@@ -12,10 +12,10 @@ export default class Smpsel {
smtno
:
""
,
begnum
:
""
,
endnum
:
""
,
begdat
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
))
,
enddat
:
new
Date
()
,
valdatbeg
:
new
Date
((
new
Date
).
getTime
()
-
(
3
*
24
*
60
*
60
*
1000
))
,
valdatend
:
new
Date
()
,
begdat
:
''
,
enddat
:
''
,
valdatbeg
:
''
,
valdatend
:
''
,
smpp
:
{
smpsup
:
{
smtno
:
""
,
// : .smpp.smpsup.smtno
...
...
src/page/Frontend/Smpsel/views/Smpp01.vue
View file @
7b95c46c
...
...
@@ -97,37 +97,52 @@
height=
"calc(100vh - 280px)"
:highlight-current-row=
"true"
>
<el-table-column
prop=
"chk"
label=
""
width=
"30"
>
<!-- <el-table-column prop="chk" label="" width="30">
</el-table-column> -->
<el-table-column
prop=
"recdat"
label=
"收报日期"
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"recdat"
label=
"收报日期"
width=
"90"
>
</el-table-column>
<el-table-column
prop=
"valdat"
label=
"起息日期"
width=
"90"
>
<el-table-column
prop=
"valdat"
label=
"起息日期"
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"chnnam"
label=
"账户行名称"
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"bic"
label=
"BIC"
width=
"
9
0"
>
<el-table-column
prop=
"bic"
label=
"BIC"
width=
"
15
0"
>
</el-table-column>
<el-table-column
prop=
"act"
label=
"帐号"
width=
"1
0
0"
>
<el-table-column
prop=
"act"
label=
"帐号"
width=
"1
5
0"
>
</el-table-column>
<el-table-column
prop=
"cur"
label=
"币种"
width=
"
10
0"
>
<el-table-column
prop=
"cur"
label=
"币种"
width=
"
8
0"
>
</el-table-column>
<el-table-column
prop=
"ref"
label=
"对账单参考号"
width=
"1
3
0"
>
<el-table-column
prop=
"ref"
label=
"对账单参考号"
width=
"1
5
0"
>
</el-table-column>
<el-table-column
prop=
"smtno"
label=
"所属单编号"
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"pagnum"
label=
"页码"
width=
"
5
0"
>
<el-table-column
prop=
"pagnum"
label=
"页码"
width=
"
10
0"
>
</el-table-column>
<el-table-column
prop=
"pagamenum"
label=
"修改后页码"
width=
"1
5
0"
>
<el-table-column
prop=
"pagamenum"
label=
"修改后页码"
width=
"1
2
0"
>
</el-table-column>
<el-table-column
prop=
"begamt"
label=
"页初金额"
width=
"120"
>
<
template
slot-scope=
"scope"
>
{{
moneyFormat
(
scope
.
row
.
begamt
,
scope
.
row
.
cur
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"newbegamt"
label=
"修改后页初金额"
width=
"150"
>
<
template
slot-scope=
"scope"
>
{{
moneyFormat
(
scope
.
row
.
newbegamt
,
scope
.
row
.
cur
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"endamt"
label=
"页末金额"
width=
"120"
>
<
template
slot-scope=
"scope"
>
{{
moneyFormat
(
scope
.
row
.
endamt
,
scope
.
row
.
cur
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"newendamt"
label=
"修改后页末金额"
width=
"150"
>
<
template
slot-scope=
"scope"
>
{{
moneyFormat
(
scope
.
row
.
newendamt
,
scope
.
row
.
cur
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"endvalamt"
label=
"页末可用金额"
width=
"150"
>
<
template
slot-scope=
"scope"
>
{{
moneyFormat
(
scope
.
row
.
endvalamt
,
scope
.
row
.
cur
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"dtlamt"
label=
"明细条数"
width=
"100"
>
</el-table-column>
...
...
src/page/Frontend/Smpsel/views/index.vue
View file @
7b95c46c
<
template
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"1
5
0px"
label-position=
"right"
size=
"small"
<div
class=
"eContainer
-search
"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"1
2
0px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-content>
<m-smpp01
:model=
"model"
:codes=
"codes"
/>
...
...
src/page/Frontend/Smtsel/event/index.js
View file @
7b95c46c
import
Api
from
"~/service/Api"
;
import
Smtsel
from
"../model"
;
import
Utils
from
"~/utils"
;
export
default
{
mixins
:
[],
methods
:
{
...
...
@@ -25,15 +27,8 @@ export default {
this
.
load
=
false
;
},
async
handleReset
()
{
this
.
model
.
extkey
=
""
;
this
.
model
.
sndref
=
""
;
this
.
model
.
flg
=
""
;
this
.
model
.
sta
=
""
;
this
.
model
.
acksrv
=
""
;
this
.
model
.
elcmsgtyp
=
""
this
.
model
.
rcvdat
=
$CurDate
();
this
.
model
.
gendat
=
new
Date
((
$CurDate
()).
getTime
()
-
(
7
*
24
*
60
*
60
*
1800
));
this
.
model
.
endgendat
=
$CurDate
();
let
resetModel
=
new
Smtsel
().
data
Utils
.
copyValueFromVoData
(
this
.
model
,
resetModel
);
},
// pageSize改变
handleSizeChange
(
val
)
{
...
...
src/page/Frontend/Smtsel/views/Smtp01.vue
View file @
7b95c46c
...
...
@@ -7,138 +7,86 @@
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"对账单类型"
prop=
"smtp.smtsup.typ"
>
<c-select
v-model=
"model.smtp.smtsup.typ"
style=
"width: 100%"
:code=
"codes.smttyp"
/>
<c-select
v-model=
"model.smtp.smtsup.typ"
style=
"width: 100%"
:code=
"codes.smttyp"
/>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<c-col
:span=
"22"
>
<c-form-item
label=
"BIC"
prop=
"smtp.smtsup.ptpmod.pty.extkey"
>
<c-input
v-model=
"model.smtp.smtsup.ptpmod.pty.extkey"
maxlength=
"24"
placeholder=
"请输入BIC"
></c-input>
<c-input
v-model=
"model.smtp.smtsup.ptpmod.pty.extkey"
maxlength=
"24"
placeholder=
"请输入BIC"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"2"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
>
</c-button>
</c-col>
</c-col>
<c-col
:span=
"8"
>
<c-form-item
label=
"账户行名称"
prop=
"smtp.smtsup.ptpmod.pty.chnnam"
>
<c-input
v-model=
"model.smtp.smtsup.ptpmod.pty.chnnam"
maxlength=
"100"
placeholder=
"请输入账户行名称"
></c-input>
<c-form-item
label=
"账户行名称"
prop=
"smtp.smtsup.ptpmod.pty.chnnam"
>
<c-input
v-model=
"model.smtp.smtsup.ptpmod.pty.chnnam"
maxlength=
"100"
placeholder=
"请输入账户行名称"
></c-input>
</c-form-item>
</c-col>
</c-col>
</el-row>
<el-row
v-show=
"searchSlot.searchToggle"
>
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<c-form-item
label=
"帐号"
prop=
"smtp.smtsup.act"
>
<c-input
v-model=
"model.smtp.smtsup.act"
maxlength=
"40"
placeholder=
"请输入帐号"
></c-input>
<c-input
v-model=
"model.smtp.smtsup.act"
maxlength=
"40"
placeholder=
"请输入帐号"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"币种"
prop=
"smtp.smtsup.cur"
>
<c-select
v-model=
"model.smtp.smtsup.cur"
style=
"width: 100%"
dbCode=
"curtxt"
/>
<c-select
v-model=
"model.smtp.smtsup.cur"
style=
"width: 100%"
dbCode=
"curtxt"
/>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<c-form-item
label=
"对账单参考号"
prop=
"smtp.smtsup.ref"
>
<c-input
v-model=
"model.smtp.smtsup.ref"
maxlength=
"16"
placeholder=
"请输入对账单参考号"
></c-input>
<c-input
v-model=
"model.smtp.smtsup.ref"
maxlength=
"16"
placeholder=
"请输入对账单参考号"
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<c-form-item
label=
"对账单编号"
prop=
"smtp.smtsup.smtno"
>
<c-input
v-model=
"model.smtp.smtsup.smtno"
maxlength=
"16"
placeholder=
"请输入对账单编号"
></c-input>
<c-input
v-model=
"model.smtp.smtsup.smtno"
maxlength=
"16"
placeholder=
"请输入对账单编号"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"收报日期"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.smtp.smtsup.begdat"
style=
"width: 100%"
placeholder=
"请选择收报日期"
value-format=
"yyyy-MM-dd"
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.smtp.smtsup.begdat"
style=
"width: 100%"
placeholder=
"请选择收报日期"
value-format=
"yyyy-MM-dd"
></c-date-picker>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
至
</label>
</c-col>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.smtp.smtsup.enddat"
style=
"width: 100%"
placeholder=
""
value-format=
"yyyy-MM-dd"
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.smtp.smtsup.enddat"
style=
"width: 100%"
placeholder=
""
value-format=
"yyyy-MM-dd"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"起息日期"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.smtp.smtsup.valdatbeg"
style=
"width: 100%"
placeholder=
"请选择起息日期"
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.smtp.smtsup.valdatbeg"
style=
"width: 100%"
placeholder=
"请选择起息日期"
></c-date-picker>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
至
</label>
</c-col>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.smtp.smtsup.valdatend"
style=
"width: 100%"
placeholder=
""
value-format=
"yyyy-MM-dd"
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.smtp.smtsup.valdatend"
style=
"width: 100%"
placeholder=
""
value-format=
"yyyy-MM-dd"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
...
...
@@ -148,79 +96,49 @@
</c-list-search>
<el-col
:span=
"24"
style=
"margin-left: 0px"
>
<c-button
class=
"medium_bcs"
style=
"margin-left: 20"
size=
"medium"
type=
"primary"
@
click=
"batchupdateAck"
>
导出
</c-button>
<c-button
class=
"medium_bcs"
style=
"margin-left: 20"
size=
"medium"
type=
"primary"
@
click=
"batchupdateAck"
>
导出
</c-button>
</el-col>
<el-col
:span=
"24"
style=
"margin-top: 10px"
>
<div>
<c-col
:span=
"24"
>
<el-table
:span=
"24"
id=
"infgidSptableRef"
:data=
"tableData"
:highlight-current-row=
"true"
:border=
"true"
v-loading=
"load"
style=
"width: 100%"
height=
"calc(100vh - 320px)"
size=
"medium"
>
<el-table-column
prop=
"recdat"
label=
"收报日期"
width=
"150"
>
<el-table
:span=
"24"
id=
"infgidSptableRef"
:data=
"tableData"
:highlight-current-row=
"true"
:border=
"true"
v-loading=
"load"
style=
"width: 100%"
height=
"calc(100vh - 320px)"
size=
"medium"
>
<el-table-column
prop=
"recdat"
label=
"收报日期"
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"valdat"
label=
"起息日期"
width=
"150"
>
<el-table-column
prop=
"valdat"
label=
"起息日期"
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"chnnam"
label=
"账户行名称"
width=
"150"
></el-table-column>
<el-table-column
prop=
"chnnam"
label=
"账户行名称"
width=
"150"
></el-table-column>
<el-table-column
prop=
"bic"
label=
"BIC"
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"acc"
label=
"帐号"
width=
"1
0
0"
>
<el-table-column
prop=
"acc"
label=
"帐号"
width=
"1
2
0"
>
</el-table-column>
<el-table-column
prop=
"cur"
label=
"币种"
width=
"
10
0"
>
<el-table-column
prop=
"cur"
label=
"币种"
width=
"
8
0"
>
</el-table-column>
<el-table-column
prop=
"ref"
label=
"对账单参考号"
width=
"180"
></el-table-column>
<el-table-column
prop=
"ref"
label=
"对账单参考号"
width=
"150"
></el-table-column>
<el-table-column
prop=
"smtno"
label=
"单编号"
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"begamt"
label=
"期初金额"
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"endamt"
label=
"期末金额"
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"endvalamt"
label=
"期末可用金额"
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"typ"
label=
"对账单类型"
width=
"1
8
0"
>
<el-table-column
prop=
"begamt"
label=
"期初金额"
width=
"120"
>
<
template
slot-scope=
"scope"
>
{{
moneyFormat
(
scope
.
row
.
begamt
,
scope
.
row
.
cur
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"endamt"
label=
"期末金额"
width=
"120"
>
<
template
slot-scope=
"scope"
>
{{
moneyFormat
(
scope
.
row
.
endamt
,
scope
.
row
.
cur
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"endvalamt"
label=
"期末可用金额"
width=
"150"
>
<
template
slot-scope=
"scope"
>
{{
moneyFormat
(
scope
.
row
.
endvalamt
,
scope
.
row
.
cur
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"typ"
label=
"对账单类型"
width=
"1
5
0"
>
</el-table-column>
<el-table-column
prop=
"pag"
label=
"页数"
width=
"
8
0"
>
<el-table-column
prop=
"pag"
label=
"页数"
width=
"
10
0"
>
</el-table-column>
<el-table-column
prop=
"dtl"
label=
"明细条数"
width=
"1
5
0"
>
<el-table-column
prop=
"dtl"
label=
"明细条数"
width=
"1
0
0"
>
</el-table-column>
<!-- <el-table-column label="操作" fixed="right" min-width="150">
<template slot-scope="scope">
...
...
@@ -241,14 +159,9 @@
</el-table-column> -->
</el-table>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"pagenation.total"
:page-size=
"pagenation.pageSize"
:current-page=
"pagenation.pageNum"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
></el-pagination>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"pagenation.total"
:page-size=
"pagenation.pageSize"
:current-page=
"pagenation.pageNum"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
></el-pagination>
</c-col>
<!--预览弹框-->
<message-view
ref=
"msgView"
:model=
"model"
></message-view>
...
...
@@ -308,5 +221,4 @@ export default {
},
};
</
script
>
<
style
>
</
style
>
<
style
></
style
>
src/page/Frontend/Smtsel/views/index.vue
View file @
7b95c46c
<
template
>
<div
class=
"eContainer"
>
<div
class=
"eContainer
-search
"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-content>
...
...
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