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
c51447e5
Commit
c51447e5
authored
Oct 28, 2024
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rcvsel交易优化修改
parent
7b95c46c
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
55 additions
and
115 deletions
+55
-115
index.js
src/page/Frontend/Rcvsel/event/index.js
+5
-18
Check.js
src/page/Frontend/Rcvsel/model/Check.js
+41
-22
Default.js
src/page/Frontend/Rcvsel/model/Default.js
+0
-10
Pattern.js
src/page/Frontend/Rcvsel/model/Pattern.js
+0
-56
index.js
src/page/Frontend/Rcvsel/model/index.js
+0
-2
Schpnl.vue
src/page/Frontend/Rcvsel/views/Schpnl.vue
+3
-2
index.vue
src/page/Frontend/Rcvsel/views/index.vue
+4
-5
index.js
src/page/Frontend/Smpsel/event/index.js
+1
-0
index.js
src/page/Frontend/Smtsel/event/index.js
+1
-0
No files found.
src/page/Frontend/Rcvsel/event/index.js
View file @
c51447e5
import
Api
from
"~/service/Api"
;
import
Api
from
"~/service/Api"
;
import
getSubtyp
from
'~/page/Frontend/Rcvsel/event/getSubtyp.js'
;
import
getSubtyp
from
'~/page/Frontend/Rcvsel/event/getSubtyp.js'
;
import
moment
from
"moment"
;
import
moment
from
"moment"
;
import
Rcvsel
from
"../model"
;
import
Utils
from
"~/utils"
;
export
default
{
export
default
{
mixins
:
[
getSubtyp
],
mixins
:
[
getSubtyp
],
...
@@ -60,24 +62,9 @@ export default {
...
@@ -60,24 +62,9 @@ export default {
this
.
load
=
false
;
this
.
load
=
false
;
},
},
async
handleReset
()
{
async
handleReset
()
{
this
.
model
.
rcvp
.
msgtyp
=
""
;
let
resetModel
=
new
Rcvsel
().
data
this
.
model
.
rcvp
.
rcvdatsta
=
new
Date
();
Utils
.
copyValueFromVoData
(
this
.
model
,
resetModel
);
this
.
model
.
rcvp
.
rcvdatend
=
new
Date
();
this
.
handleSearch
();
this
.
model
.
rcvp
.
subtyp
=
""
;
this
.
model
.
rcvp
.
sndbak
=
""
;
this
.
model
.
rcvp
.
revbak
=
""
;
this
.
model
.
rcvp
.
actbic
=
""
;
this
.
model
.
rcvp
.
othref
=
""
;
this
.
model
.
rcvp
.
ownref
=
""
;
this
.
model
.
rcvp
.
cur
=
""
;
this
.
model
.
rcvp
.
act
=
""
;
this
.
model
.
rcvp
.
amtmin
=
""
;
this
.
model
.
rcvp
.
amtmax
=
""
;
this
.
model
.
rcvp
.
chnipt
=
""
;
this
.
model
.
rcvp
.
rspsta
=
""
;
this
.
model
.
rcvp
.
dtlchg
=
""
;
this
.
model
.
rcvp
.
sta
=
""
;
this
.
model
.
rcvp
.
gpi
=
""
;
},
},
// pageSize改变
// pageSize改变
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
...
...
src/page/Frontend/Rcvsel/model/Check.js
View file @
c51447e5
import
Utils
from
"~/utils"
export
default
{
/**
"rcvp.rcvdatsta"
:
[
* Rcvselblk Check规则
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
*/
],
let
checkObj
=
{
"rcvp.rcvdatend"
:
[
"rcvp.sndbak"
:
null
,
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
"rcvp.actbic"
:
null
,
],
"rcvp.revbak"
:
null
,
"rcvp.msgtyp"
:
null
,
"rcvp.othref"
:
null
,
"rcvp.rcvdatend"
:
null
,
"rcvp.ownref"
:
null
,
"rcvp.amtmax"
:
null
,
"rcvp.amtmin"
:
null
,
"rcvp.rcvdatsta"
:
null
,
}
"rcvp.sndbak"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"rcvp.revbak"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"rcvp.actbic"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"rcvp.othref"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"rcvp.ownref"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
for
(
const
key
in
checkObj
)
{
"rcvp.act"
:
[
if
(
Object
.
hasOwnProperty
.
call
(
checkObj
,
key
))
{
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
checkObj
[
key
]
=
checkObj
[
key
]
?
checkObj
[
key
]
:
Utils
.
reflectCheck
(
key
)
{
max
:
0
,
message
:
"长度不能超过0"
}
}
],
}
export
default
checkObj
"rcvp.amtmin"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"长度不能超过18"
}
],
"rcvp.amtmax"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"长度不能超过18"
}
],
}
\ No newline at end of file
src/page/Frontend/Rcvsel/model/Default.js
deleted
100644 → 0
View file @
7b95c46c
/**
* Rcvselblk Default规则
*/
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils/index"
export
default
{
}
//你可以添加自动default处理
src/page/Frontend/Rcvsel/model/Pattern.js
deleted
100644 → 0
View file @
7b95c46c
export
default
{
"rcvp.rcvdatsta"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"rcvp.rcvdatend"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"rcvp.sndbak"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"rcvp.revbak"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"rcvp.actbic"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"rcvp.othref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"rcvp.ownref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"rcvp.act"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"rcvp.amtmin"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"长度不能超过18"
}
],
"rcvp.amtmax"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"长度不能超过18"
}
],
}
\ No newline at end of file
src/page/Frontend/Rcvsel/model/index.js
View file @
c51447e5
...
@@ -28,7 +28,6 @@ export default class Rcvsel {
...
@@ -28,7 +28,6 @@ export default class Rcvsel {
msggrp
:
{
msggrp
:
{
rcvlst
:
[],
// .msggrp.rcvlst
rcvlst
:
[],
// .msggrp.rcvlst
},
},
pageId
:
""
// ctx的key
}
}
}
}
}
}
\ No newline at end of file
src/page/Frontend/Rcvsel/views/Schpnl.vue
View file @
c51447e5
...
@@ -161,6 +161,7 @@
...
@@ -161,6 +161,7 @@
<el-table-column
v-for=
"(item, key) in stmData.columns"
:key=
"key"
:label=
"item.label"
:prop=
"item.prop"
: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"
>
<
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>
<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>
<span
v-else
>
{{
scope
.
row
[
item
.
prop
]
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -253,12 +254,12 @@ export default {
...
@@ -253,12 +254,12 @@ export default {
{
{
label
:
"发报行BIC"
,
label
:
"发报行BIC"
,
prop
:
"sndbic"
,
prop
:
"sndbic"
,
width
:
"1
2
0px"
width
:
"1
5
0px"
},
},
{
{
label
:
"收报行BIC"
,
label
:
"收报行BIC"
,
prop
:
"rcvbic"
,
prop
:
"rcvbic"
,
width
:
"1
2
0px"
width
:
"1
5
0px"
},
},
{
{
label
:
"报文标准"
,
label
:
"报文标准"
,
...
...
src/page/Frontend/Rcvsel/views/index.vue
View file @
c51447e5
...
@@ -18,11 +18,10 @@
...
@@ -18,11 +18,10 @@
<
script
>
<
script
>
import
CodeTable
from
"~/config/CodeTable"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Snd
sel
from
"../model"
;
import
Rcv
sel
from
"../model"
;
import
event
from
"../event"
import
event
from
"../event"
import
Schpnl
from
"./Schpnl.vue"
import
Schpnl
from
"./Schpnl.vue"
export
default
{
export
default
{
name
:
"Rcvsel"
,
name
:
"Rcvsel"
,
components
:{
components
:{
...
@@ -34,12 +33,12 @@ export default {
...
@@ -34,12 +33,12 @@ export default {
root
:
this
root
:
this
}
}
},
},
mixins
:
[
event
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
event
],
data
(){
data
(){
return
{
return
{
tabVal
:
"schpnl"
,
tabVal
:
"schpnl"
,
trnName
:
"
snd
sel"
,
trnName
:
"
rcv
sel"
,
model
:
new
Snd
sel
().
data
,
model
:
new
Rcv
sel
().
data
,
rules
:
null
,
rules
:
null
,
codes
:{...
CodeTable
},
codes
:{...
CodeTable
},
};
};
...
...
src/page/Frontend/Smpsel/event/index.js
View file @
c51447e5
...
@@ -31,6 +31,7 @@ export default {
...
@@ -31,6 +31,7 @@ export default {
async
handleReset
()
{
async
handleReset
()
{
let
resetModel
=
new
Smpsel
().
data
let
resetModel
=
new
Smpsel
().
data
Utils
.
copyValueFromVoData
(
this
.
model
,
resetModel
);
Utils
.
copyValueFromVoData
(
this
.
model
,
resetModel
);
this
.
handleSearch
();
},
},
// pageSize改变
// pageSize改变
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
...
...
src/page/Frontend/Smtsel/event/index.js
View file @
c51447e5
...
@@ -29,6 +29,7 @@ export default {
...
@@ -29,6 +29,7 @@ export default {
async
handleReset
()
{
async
handleReset
()
{
let
resetModel
=
new
Smtsel
().
data
let
resetModel
=
new
Smtsel
().
data
Utils
.
copyValueFromVoData
(
this
.
model
,
resetModel
);
Utils
.
copyValueFromVoData
(
this
.
model
,
resetModel
);
this
.
handleSearch
();
},
},
// pageSize改变
// pageSize改变
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
...
...
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