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
c2d55dbb
Commit
c2d55dbb
authored
Sep 09, 2022
by
liuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
账务拆账
parent
fc4abf0c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
2 deletions
+28
-2
Setpan.vue
src/views/Public/Setpan.vue
+28
-2
No files found.
src/views/Public/Setpan.vue
View file @
c2d55dbb
...
@@ -267,7 +267,7 @@
...
@@ -267,7 +267,7 @@
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"23"
style=
"margin-left: 9px"
>
<c-col
:span=
"23"
style=
"margin-left: 9px"
>
<c-table
style=
"text-align: center"
:list=
"
model.setmod.setglg.setgll
"
:paginationShow=
"false"
<c-table
style=
"text-align: center"
:list=
"
stmData3
"
:paginationShow=
"false"
:border=
"true"
>
:border=
"true"
>
<el-table-column
label=
"Mod"
prop=
"modflg"
width=
"46px"
>
<el-table-column
label=
"Mod"
prop=
"modflg"
width=
"46px"
>
</el-table-column>
</el-table-column>
...
@@ -284,6 +284,9 @@
...
@@ -284,6 +284,9 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"Amount Paid"
prop=
"fmtaccamt"
width=
"120px"
>
<el-table-column
label=
"Amount Paid"
prop=
"fmtaccamt"
width=
"120px"
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"scope.row.fmtaccamt"
@
change=
"fmtaccamtChange(scope.$index)"
/>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"Disp."
width=
"101px"
>
<el-table-column
label=
"Disp."
width=
"101px"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
...
@@ -298,7 +301,7 @@
...
@@ -298,7 +301,7 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"Account"
prop=
"act"
width=
"auto"
>
<el-table-column
label=
"Account"
prop=
"act"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-form-item
label=
"0"
:prop=
"'setmod.setglg.setgll.' + scope.$index + '.act'"
>
<el-form-item
label=
"
"
label-width=
"
0"
:prop=
"'setmod.setglg.setgll.' + scope.$index + '.act'"
>
<c-select
v-model=
"scope.row.act"
>
<c-select
v-model=
"scope.row.act"
>
<el-option
v-for=
"item in scope.act"
:key=
"item.value"
:label=
"item.label"
<el-option
v-for=
"item in scope.act"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
:value=
"item.value"
>
...
@@ -975,8 +978,23 @@ export default {
...
@@ -975,8 +978,23 @@ export default {
},
},
},
},
ogiamt
:{},
ogiamt
:{},
stmData3
:[],
};
};
},
},
watch
:
{
"model.setmod.setglg.setgll"
:
{
handler
(
val
,
oldVal
)
{
var
stm
=
[];
for
(
let
i
=
0
;
i
<
val
.
length
;
i
++
)
{
if
(
val
[
i
].
rol
!=
""
)
{
val
[
i
][
'idx'
]
=
i
stm
.
push
(
val
[
i
]);
}
}
this
.
stmData3
=
stm
},
}
},
methods
:
{
methods
:
{
//第一个表格
//第一个表格
addRowSetfol
()
{
addRowSetfol
()
{
...
@@ -1087,6 +1105,14 @@ export default {
...
@@ -1087,6 +1105,14 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
},
},
async
fmtaccamtChange
(
index
){
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.setglg.setgll("
+
(
index
+
1
)
+
").fmtaccamt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
}
}
},
},
created
:
function
()
{
},
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