Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
9b5057a4
Commit
9b5057a4
authored
Nov 12, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
费用批量修改申请审批业务修改
parent
94746a9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
feeApplication.vue
src/views/ecw/order/feeApplication.vue
+16
-16
No files found.
src/views/ecw/order/feeApplication.vue
View file @
9b5057a4
...
...
@@ -119,7 +119,7 @@
<!--el-button type="text" v-if="scope.row.status == 1" @click="examineFn">
{{
$t
(
'
审核中
'
)
}}
</el-button-->
<el-button
type=
"text"
v-if=
"modifable(scope.
$index
)"
v-if=
"modifable(scope.
row
)"
@
click=
"modify(scope.row)"
>
{{
$t
(
"
修改
"
)
}}
</el-button
...
...
@@ -236,13 +236,13 @@ export default {
return
!!
this
.
currentItem
;
},
modifable
()
{
return
(
i
ndex
)
=>
{
return
(
i
tem
)
=>
{
// 审核中不允许修改
if
(
this
.
processInstanceId
)
return
false
;
// 有未提交的不允许修改
if
(
this
.
feeList
.
length
)
return
false
;
//
有
修改中的不允许修改
if
(
this
.
list
.
findIndex
((
item
)
=>
item
.
editMode
)
>
-
1
)
return
false
;
// 修改中的不允许修改
if
(
item
.
editMode
)
return
false
;
return
true
;
}
}
...
...
@@ -317,18 +317,18 @@ export default {
if
(
errList
.
length
)
{
return
this
.
$message
.
error
(
"
请填写完整费用申请信息
"
);
}
if
(
this
.
editMode
)
{
// 要提交status=1,否则保持原状态
const
data
=
{
...
this
.
currentItem
,
status
:
1
,
copyUserId
:
this
.
selectedUsers
,
};
return
applicationUpdate
(
data
).
then
((
r
)
=>
{
this
.
$message
.
success
(
this
.
$t
(
"
修改成功
"
));
this
.
$emit
(
"
update:dialogVisible
"
,
false
);
});
}
//
if (this.editMode) {
//
// 要提交status=1,否则保持原状态
//
const data = {
//
...this.currentItem,
//
status: 1,
//
copyUserId: this.selectedUsers,
//
};
//
return applicationUpdate(data).then((r) => {
//
this.$message.success(this.$t("修改成功"));
//
this.$emit("update:dialogVisible", false);
//
});
//
}
feeApplicationCreateBatch
({
orderFeeApplicationCreateReqVOList
:
this
.
feeList
,
...
...
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