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
fukai
vue-gjjs
Commits
6245f58a
Commit
6245f58a
authored
Jun 02, 2021
by
liuxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
3f60d0dc
4017802d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
16 deletions
+24
-16
Default.js
src/model/Ditopn/Default.js
+1
-1
Event.js
src/model/Ditopn/Event.js
+9
-13
index.vue
src/views/Business/Ditopn/index.vue
+14
-2
No files found.
src/model/Ditopn/Default.js
View file @
6245f58a
...
...
@@ -238,7 +238,7 @@ function defaultDidgrpCbsNom1Cur()
}
function
defaultDidgrpCbsNom1Amt
(
newVal
,
oldVal
)
{
const
that
=
this
;
that
.
executeDefault
(
"didgrp.cbs.max.amt"
,
Utils
.
flatObject
(
this
.
model
)
).
then
(
res
=>
{
that
.
executeDefault
(
"didgrp.cbs.max.amt"
).
then
(
res
=>
{
that
.
model
.
didgrp
.
cbs
.
max
.
amt
=
res
.
data
.
didgrp_cbs_max_amt
;
})
}
...
...
src/model/Ditopn/Event.js
View file @
6245f58a
...
...
@@ -15,19 +15,15 @@ export default {
}
})
},
onAplpDet
()
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"ditopn/aplp_det"
,
Utils
.
flatObject
(
this
.
model
))
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
async
onAplpDet
()
{
let
rtnmsg
=
await
Api
.
post
(
"ditopn/executeRule/ditp.aplp.det"
,
Utils
.
flatObject
(
this
.
model
))
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
console
.
log
(
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onBenpDet
()
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
...
...
src/views/Business/Ditopn/index.vue
View file @
6245f58a
...
...
@@ -170,7 +170,7 @@ export default {
}
},
methods
:{
tabClick
(){
tabClick
(
vm
){
this
.
$refs
.
modelForm
.
validate
(
valid
=>
{
if
(
valid
){
console
.
log
(
1
)
...
...
@@ -178,7 +178,19 @@ export default {
console
.
log
(
0
)
}
})
// this.executeDefault("didgrp.cbs.max.amt", Utils.flatObject(this.model))
const
label
=
vm
.
label
if
(
label
===
"账务"
)
{
this
.
executeRule
(
"setmod.setpan"
).
then
(
res
=>
{
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
})
}
if
(
label
===
"面函"
)
{
this
.
executeRule
(
"trnmod.trndoc.docpan"
).
then
(
res
=>
{
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
})
}
}
},
created
:
async
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