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
8bf0f4d6
Commit
8bf0f4d6
authored
Sep 20, 2022
by
liuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
账务拆账详情与优惠调整
parent
a8a341e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
7 deletions
+15
-7
Setpan.vue
src/views/Public/Setpan.vue
+5
-5
SetpanDialog.vue
src/views/Public/SetpanDialog.vue
+10
-2
No files found.
src/views/Public/Setpan.vue
View file @
8bf0f4d6
...
...
@@ -1022,9 +1022,9 @@ export default {
},
detail1
(
index
,
row
)
{
this
.
executeDefault
(
"setfel.det"
).
then
(
res
=>
{
this
.
index
=
index
;
this
.
dialogVisible
=
true
;
this
.
dialog
=
row
;
this
.
index
=
index
;
})
},
dispDefault
(
index
)
{
...
...
@@ -1037,9 +1037,9 @@ export default {
const
that
=
this
;
const
rule
=
"setmod.setfeg.setfel("
+
(
index
+
1
)
+
").det"
;
that
.
executeRule
(
rule
).
then
(
res
=>
{
that
.
$refs
.
setpanDialog
.
visiable
=
true
;
that
.
$refs
.
setpanDialog
.
formData
=
Object
.
assign
({},
that
.
model
.
setmod
.
setfeg
.
setfel
[
index
]);
that
.
index
=
index
;
that
.
$refs
.
setpanDialog
.
visiable
=
true
;
that
.
$refs
.
setpanDialog
.
formData
=
that
.
model
.
setmod
.
setfeg
.
setfel
[
index
];
that
.
dialog2
=
row
})
},
...
...
@@ -1054,10 +1054,10 @@ export default {
const
rule
=
"setmod.setglg.setgll("
+
(
index
+
1
)
+
").det"
;
let
rtnmsg
=
await
this
.
executeRule
(
rule
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
that
.
index
=
index
;
that
.
$refs
.
detpDialog
.
visiable
=
true
;
this
.
detpDialogVisible
=
true
;
that
.
dialog3
=
Object
.
assign
({},
that
.
model
.
setmod
.
setglg
.
setgll
[
index
]);
that
.
index
=
index
;
that
.
dialog3
=
that
.
model
.
setmod
.
setglg
.
setgll
[
index
];
that
.
rattyp
=
that
.
strCalCode
(
that
.
dialog3
.
rattyp
,
that
.
codes
.
ratetype
);
that
.
dcbrattyp
=
that
.
strCalCode
(
that
.
dialog3
.
dcbrattyp
,
that
.
codes
.
ratetype
);
that
.
scbrattyp
=
that
.
strCalCode
(
that
.
dialog3
.
scbrattyp
,
that
.
codes
.
ratetype
);
...
...
src/views/Public/SetpanDialog.vue
View file @
8bf0f4d6
...
...
@@ -109,7 +109,7 @@
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"优惠百分比"
>
<c-input
v-model=
"formData.dctrat"
>
<c-input
v-model=
"formData.dctrat"
@
keyup
.
enter
.
native=
"eventFunction('setmod.setfeg.setfel(1).dctrat')"
>
<template
#
suffix
>
%
</
template
>
</c-input>
</el-form-item>
...
...
@@ -355,7 +355,11 @@
</template>
<
script
>
import
commonProcess
from
"~/mixin/commonProcess"
;
export
default
{
inject
:
[
'root'
],
mixins
:
[
commonProcess
],
props
:
{
model
:
Object
,
idx
:
Number
,
...
...
@@ -363,10 +367,14 @@ export default {
},
data
()
{
return
{
formData
:
{},
visiable
:
false
,
};
},
computed
:
{
formData
()
{
return
this
.
model
.
setmod
.
setfeg
.
setfel
[
this
.
idx
]
}
},
methods
:
{
saveDialog
()
{
this
.
model
.
setmod
.
setfeg
.
setfel
.
splice
(
this
.
idx
,
1
,
this
.
formData
);
...
...
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