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
zhouqian
vue-gjjs
Commits
73c69653
Commit
73c69653
authored
Jun 21, 2021
by
denyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reject
parent
c3644195
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
10 deletions
+11
-10
Event.js
src/model/Trnrel/Event.js
+6
-3
Pattern.js
src/model/Trnrel/Pattern.js
+0
-5
index.js
src/model/Trnrel/index.js
+1
-1
Inftrnps.vue
src/views/Business/Trnrel/Inftrnps.vue
+4
-1
No files found.
src/model/Trnrel/Event.js
View file @
73c69653
...
...
@@ -173,10 +173,13 @@ export default {
})
},
onRejrow
()
{
console
.
log
(
this
.
getSelectedData
())
this
.
model
.
trncorco
.
selinr
[
'rows'
]
=
this
.
getSelectedData
();
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/rejrow"
,
Utils
.
flatObject
(
this
.
model
))
//
if (!valid)
//
return;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/
executeRule/
rejrow"
,
Utils
.
flatObject
(
this
.
model
))
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
...
...
src/model/Trnrel/Pattern.js
View file @
73c69653
...
...
@@ -93,11 +93,6 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"recpan.atp.cod"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
6
,
message
:
"长度不能超过6"
}
],
"trn.reloricur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
...
...
src/model/Trnrel/index.js
View file @
73c69653
...
...
@@ -9,7 +9,7 @@ export default class Trnrel{
inidattil
:
""
,
// Date of entry of Transaction until .trncorco.inidattil
trnstm
:
""
,
// List of transaction sfor display .trncorco.trnstm
dflg
:
""
,
// 国内证标志 .trncorco.dflg
selinr
:
""
selinr
:
{},
},
atp
:{
cod
:
""
,
// Transaction Type .atp.cod
...
...
src/views/Business/Trnrel/Inftrnps.vue
View file @
73c69653
...
...
@@ -119,7 +119,7 @@
<c-button
size=
"small"
type=
"primary"
disabled=
"disabled"
@
click=
"onReprow"
>
Repair
</c-button>
<c-button
size=
"small"
type=
"primary"
disabled=
"d
isabled"
@
click=
"onRejrow"
>
<c-button
size=
"small"
type=
"primary"
:disabled=
"relrowD
isabled"
@
click=
"onRejrow"
>
Reject
</c-button>
<c-button
size=
"small"
type=
"primary"
@
click=
"onExi"
>
...
...
@@ -283,6 +283,9 @@ export default {
this
.
relrowDisabled
=
!
(
val
.
length
>
0
);
this
.
multipleSelection
=
val
;
},
getSelectedData
()
{
return
this
.
multipleSelection
.
map
(
idx
=>
this
.
stmData
.
data
[
idx
])
},
...
Event
},
created
:
function
(){
...
...
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