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
c4e70f82
Commit
c4e70f82
authored
Oct 29, 2024
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
smtame 交易优化修改
parent
07776e71
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
63 additions
and
74 deletions
+63
-74
index.js
src/page/Frontend/Smtame/event/index.js
+6
-3
index.js
src/page/Frontend/Smtame/model/index.js
+0
-5
Smtp03.vue
src/page/Frontend/Smtame/views/Smtp03.vue
+46
-44
index.vue
src/page/Frontend/Smtame/views/index.vue
+11
-22
No files found.
src/page/Frontend/Smtame/event/index.js
View file @
c4e70f82
import
Api
from
"~/service/Api"
;
import
Api
from
"~/service/Api"
;
import
moment
from
"moment"
;
import
moment
from
"moment"
;
import
Smtame
from
"../model"
;
import
Utils
from
"~/utils"
;
export
default
{
export
default
{
methods
:
{
methods
:
{
async
handleSearch
()
{
async
handleSearch
()
{
},
},
async
handleReset
()
{
async
handleReset
()
{
let
resetModel
=
new
Smtame
().
data
Utils
.
copyValueFromVoData
(
this
.
model
,
resetModel
);
this
.
handleSearch
();
},
},
// pageSize改变
// pageSize改变
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
...
@@ -20,7 +23,7 @@ export default {
...
@@ -20,7 +23,7 @@ export default {
this
.
pagination
.
pageNum
=
val
;
this
.
pagination
.
pageNum
=
val
;
this
.
handleSearch
();
this
.
handleSearch
();
},
},
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
this
.
multipleSelection
=
val
;
}
}
},
},
...
...
src/page/Frontend/Smtame/model/index.js
View file @
c4e70f82
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
export
default
class
Smtame
{
export
default
class
Smtame
{
constructor
()
{
constructor
()
{
this
.
data
=
{
this
.
data
=
{
...
@@ -30,7 +27,6 @@ export default class Smtame {
...
@@ -30,7 +27,6 @@ export default class Smtame {
lst
:
[],
// .smtgrp.smtsub.lst
lst
:
[],
// .smtgrp.smtsub.lst
},
},
},
},
pageId
:
""
// ctx的key
}
}
}
}
}
}
\ No newline at end of file
src/page/Frontend/Smtame/views/Smtp03.vue
View file @
c4e70f82
...
@@ -12,6 +12,12 @@
...
@@ -12,6 +12,12 @@
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"8"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"BIC"
prop=
"subtype"
style=
"width: 100%"
>
<c-input
v-model=
"model.smtp.smtsup.ptpmod.pty.extkey"
maxlength=
"24"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"开立日期"
prop=
"rcvdatsta"
style=
"width: 100%"
>
<el-form-item
label=
"开立日期"
prop=
"rcvdatsta"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.smtp.smtsup.begdat"
style=
"width: 100%"
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.smtp.smtsup.begdat"
style=
"width: 100%"
></c-date-picker>
...
@@ -24,12 +30,6 @@
...
@@ -24,12 +30,6 @@
</c-col>
</c-col>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"BIC"
prop=
"subtype"
style=
"width: 100%"
>
<c-input
v-model=
"model.smtp.smtsup.ptpmod.pty.extkey"
maxlength=
"24"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</el-row>
</el-row>
<!-- 可控展示区 -->
<!-- 可控展示区 -->
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
</c-col>
</c-col>
<c-col
:span=
"8"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"帐号"
prop=
"revbak"
style=
"width: 100%"
>
<el-form-item
label=
"帐号"
prop=
"revbak"
style=
"width: 100%"
>
<c-input
v-model=
"model.smtp.smtsup.act"
maxlength=
"40"
/>
<c-input
v-model=
"model.smtp.smtsup.act"
maxlength=
"40"
/>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"8"
>
<c-col
:span=
"8"
>
...
@@ -54,19 +54,15 @@
...
@@ -54,19 +54,15 @@
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<c-col
:span=
"8"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"错误类型"
prop=
"ownref"
style=
"width: 100%"
>
<el-form-item
label=
"错误类型"
prop=
"ownref"
style=
"width: 100%"
>
<c-select
v-model=
"model.smtp.smtsup.errtyp"
style=
"width:100%"
>
<c-select
v-model=
"model.smtp.smtsup.errtyp"
style=
"width:100%"
>
<el-option
<el-option
v-for=
"item in codes.errtyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
v-for=
"item in codes.errtyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-option>
</c-select>
</c-select>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"8"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"对账单参考号"
prop=
"othref"
style=
"width: 100%"
>
<el-form-item
label=
"对账单参考号"
prop=
"othref"
style=
"width: 100%"
>
<c-input
v-model=
"model.smtp.smtsup.ref"
maxlength=
"40"
>
<c-input
v-model=
"model.smtp.smtsup.ref"
maxlength=
"40"
>
</c-input>
</c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
...
@@ -97,11 +93,11 @@
...
@@ -97,11 +93,11 @@
</c-list-search>
</c-list-search>
<el-col
:span=
"24"
style=
"margin-top: 2px;margin-bottom: 1px;"
>
<el-col
:span=
"24"
style=
"margin-top: 2px;margin-bottom: 1px;"
>
<c-button
:disabled=
"isFoldDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 0"
<c-button
:disabled=
"isFoldDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 0"
type=
"primary"
>
type=
"primary"
>
{{ $t('public.归档') }}
{{ $t('public.归档') }}
</c-button>
</c-button>
<c-button
:disabled=
"isRoutingDisable"
class=
"medium_bcs"
size=
"medium"
<c-button
:disabled=
"isRoutingDisable"
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20"
type=
"primary"
>
style=
"margin-left: 20"
type=
"primary"
>
ReRouting
ReRouting
</c-button>
</c-button>
<c-button
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20"
type=
"primary"
>
<c-button
class=
"medium_bcs"
size=
"medium"
style=
"margin-left: 20"
type=
"primary"
>
{{ $t('public.导出Excel') }}
{{ $t('public.导出Excel') }}
...
@@ -111,24 +107,31 @@
...
@@ -111,24 +107,31 @@
<el-col
:span=
"24"
style=
"margin-top: 10px"
>
<el-col
:span=
"24"
style=
"margin-top: 10px"
>
<div
style=
"height: 90%"
>
<div
style=
"height: 90%"
>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-tab
s
v-model=
"activeTab"
class=
"y-tabs"
>
<el-tab
le
<el-tab-pane
label=
"问题、异常对账单"
name=
"fb"
>
:data=
"stmData.data"
:columns=
"stmData.columns"
<el-table
:data=
"stmData.data"
:columns=
"stmData.columns"
v-loading=
"load"
style=
"width: 100%"
v-loading=
"load"
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
size=
"small"
:border=
"true"
height=
"calc(100vh - 480px)"
:highlight-current-row=
"true"
>
size=
"small"
<el-table-column
type=
"selection"
width=
"55"
>
:border=
"true"
height=
"calc(100vh - 310px)"
</el-table-column>
:highlight-current-row=
"true"
>
<el-table-column
v-for=
"(item, key) in stmData.columns"
:key=
"key"
:label=
"item.label"
:prop=
"item.prop"
<el-table-column
type=
"selection"
width=
"55"
></el-table-column>
:min-width=
"item.width"
>
<el-table-column
v-for=
"(item, key) in stmData.columns"
:key=
"key"
:label=
"item.label"
:prop=
"item.prop"
:min-width=
"item.width"
>
<
template
slot-scope=
"scope"
>
<c-select-value-to-label
v-if=
"item.prop == 'sta'"
v-model=
"scope.row.sta"
:code=
"codes.stacod"
></c-select-value-to-label>
<span
v-else-if=
"item.prop == 'amt'"
>
{{
moneyFormat
(
scope
.
row
.
amt
,
scope
.
row
.
cur
)
}}
</span>
<span
v-else
>
{{
scope
.
row
[
item
.
prop
]
}}
</span>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"pagination.total"
<el-pagination
:page-size=
"pagination.pageSize"
:current-page
.
sync=
"pagination.pageNum"
@
size-change=
"handleSizeChange"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"pagination.total"
:page-size=
"pagination.pageSize"
:current-page
.
sync=
"pagination.pageNum"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
>
@
current-change=
"handleCurrentChange"
>
</el-pagination>
</el-pagination>
</el-tab-pane>
</el-tabs>
</c-col>
</c-col>
</div>
</div>
</el-col>
</el-col>
...
@@ -143,21 +146,20 @@ export default {
...
@@ -143,21 +146,20 @@ export default {
mixins
:
[
event
],
mixins
:
[
event
],
data
()
{
data
()
{
return
{
return
{
activeTab
:
'fb'
,
load
:
false
,
load
:
false
,
subtypCodes
:
[],
subtypCodes
:
[],
multipleSelection
:[],
multipleSelection
:
[],
stmData
:
{
stmData
:
{
columns
:
[
columns
:
[
{
{
label
:
"起息日"
,
label
:
"起息日"
,
prop
:
"valdat"
,
prop
:
"valdat"
,
width
:
"1
8
0px"
width
:
"1
2
0px"
},
},
{
{
label
:
"20域编号"
,
label
:
"20域编号"
,
prop
:
"ownref"
,
prop
:
"ownref"
,
width
:
"1
8
0px"
width
:
"1
2
0px"
},
},
{
{
label
:
"21域名编号"
,
label
:
"21域名编号"
,
...
@@ -167,7 +169,7 @@ export default {
...
@@ -167,7 +169,7 @@ export default {
{
{
label
:
"币种"
,
label
:
"币种"
,
prop
:
"cur"
,
prop
:
"cur"
,
width
:
"
12
0px"
width
:
"
8
0px"
},
},
{
{
label
:
"金额"
,
label
:
"金额"
,
...
@@ -202,12 +204,12 @@ export default {
...
@@ -202,12 +204,12 @@ export default {
{
{
label
:
"账户行BIC(53域)"
,
label
:
"账户行BIC(53域)"
,
prop
:
"actbic"
,
prop
:
"actbic"
,
width
:
"1
2
0px"
width
:
"1
5
0px"
},
},
{
{
label
:
"账户行BIC(54域)"
,
label
:
"账户行BIC(54域)"
,
prop
:
"actbic"
,
prop
:
"actbic"
,
width
:
"
2
50px"
width
:
"
1
50px"
},
},
{
{
label
:
"发报行BIC"
,
label
:
"发报行BIC"
,
...
@@ -227,17 +229,17 @@ export default {
...
@@ -227,17 +229,17 @@ export default {
{
{
label
:
"GPI标识"
,
label
:
"GPI标识"
,
prop
:
"gpi"
,
prop
:
"gpi"
,
width
:
"1
5
0px"
width
:
"1
2
0px"
},
},
{
{
label
:
"子系统"
,
label
:
"子系统"
,
prop
:
""
,
prop
:
""
,
width
:
"1
5
0px"
width
:
"1
2
0px"
},
},
{
{
label
:
"处理时间"
,
label
:
"处理时间"
,
prop
:
"sttdattim"
,
prop
:
"sttdattim"
,
width
:
"1
5
0px"
width
:
"1
7
0px"
},
},
],
],
data
:
[],
data
:
[],
...
@@ -250,11 +252,11 @@ export default {
...
@@ -250,11 +252,11 @@ export default {
},
},
};
};
},
},
computed
:{
computed
:
{
isFoldDisable
:
function
()
{
isFoldDisable
:
function
()
{
return
this
.
multipleSelection
.
length
==
0
;
return
this
.
multipleSelection
.
length
==
0
;
}
,
},
isRoutingDisable
:
function
()
{
isRoutingDisable
:
function
()
{
return
this
.
multipleSelection
.
length
==
0
;
return
this
.
multipleSelection
.
length
==
0
;
}
}
},
},
...
...
src/page/Frontend/Smtame/views/index.vue
View file @
c4e70f82
<
template
>
<
template
>
<div
class=
"eContainer-search"
>
<div
class=
"eContainer-search"
>
<el-form
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:model=
"model"
:validate-on-rule-change=
"false"
>
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-content>
<c-content>
<m-smtp03
:model=
"model"
:codes=
"codes"
ref=
"smtp03"
/>
<m-smtp03
:model=
"model"
:codes=
"codes"
ref=
"smtp03"
/>
</c-content>
</c-content>
</el-form>
</el-form>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
CodeTable
from
"~/config/CodeTable"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Smtame
from
"../model"
;
import
Smtame
from
"../model"
;
import
event
from
"../event"
import
event
from
"../event"
import
Smtp03
from
"./Smtp03.vue"
import
Smtp03
from
"./Smtp03.vue"
export
default
{
export
default
{
name
:
"Smtame"
,
name
:
"Smtame"
,
components
:{
components
:
{
"m-smtp03"
:
Smtp03
,
"m-smtp03"
:
Smtp03
,
},
},
provide
()
{
provide
()
{
...
@@ -35,20 +26,18 @@ export default {
...
@@ -35,20 +26,18 @@ export default {
root
:
this
root
:
this
}
}
},
},
mixins
:
[
event
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
event
],
data
(){
data
()
{
return
{
return
{
tabVal
:
"smtp03"
,
tabVal
:
"smtp03"
,
trnName
:
"smtame"
,
trnName
:
"smtame"
,
model
:
new
Smtame
().
data
,
model
:
new
Smtame
().
data
,
rules
:
null
,
rules
:
null
,
codes
:
{...
CodeTable
},
codes
:
{
...
CodeTable
},
};
};
},
},
methods
:{},
methods
:
{},
created
:
async
function
()
{
},
created
:
async
function
()
{
},
};
};
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
></
style
>
</
style
>
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