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
56dc1f8c
Commit
56dc1f8c
authored
Nov 12, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
费用批量修改申请审批业务逻辑补充修改
parent
9b5057a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
feeApplication.vue
src/views/ecw/order/feeApplication.vue
+5
-4
No files found.
src/views/ecw/order/feeApplication.vue
View file @
56dc1f8c
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
>
>
<el-form-item>
<el-form-item>
<el-button
<el-button
:disabled=
"!!processInstanceId
|| editMode
"
:disabled=
"!!processInstanceId "
@
click=
"addCost"
@
click=
"addCost"
>
{{
$t
(
"
添加申请
"
)
}}
>
{{
$t
(
"
添加申请
"
)
}}
</el-button
</el-button
...
@@ -119,7 +119,7 @@
...
@@ -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="scope.row.status == 1" @click="examineFn">
{{
$t
(
'
审核中
'
)
}}
</el-button-->
<el-button
<el-button
type=
"text"
type=
"text"
v-if=
"modifable(scope.row)"
v-if=
"
scope.row.id &&
modifable(scope.row)"
@
click=
"modify(scope.row)"
@
click=
"modify(scope.row)"
>
{{
$t
(
"
修改
"
)
}}
>
{{
$t
(
"
修改
"
)
}}
</el-button
</el-button
...
@@ -225,7 +225,8 @@ export default {
...
@@ -225,7 +225,8 @@ export default {
return
this
.
$i18n
.
locale
===
"
zh_CN
"
;
return
this
.
$i18n
.
locale
===
"
zh_CN
"
;
},
},
feeList
()
{
feeList
()
{
return
this
.
list
.
filter
((
item
)
=>
item
.
status
===
0
);
// return this.list.filter((item) => item.status === 0);
return
this
.
list
;
},
},
// 正在编辑的费用申请
// 正在编辑的费用申请
currentItem
()
{
currentItem
()
{
...
@@ -240,7 +241,7 @@ export default {
...
@@ -240,7 +241,7 @@ export default {
// 审核中不允许修改
// 审核中不允许修改
if
(
this
.
processInstanceId
)
return
false
;
if
(
this
.
processInstanceId
)
return
false
;
// 有未提交的不允许修改
// 有未提交的不允许修改
if
(
this
.
feeList
.
length
)
return
false
;
//
if (this.feeList.length) return false;
// 修改中的不允许修改
// 修改中的不允许修改
if
(
item
.
editMode
)
return
false
;
if
(
item
.
editMode
)
return
false
;
return
true
;
return
true
;
...
...
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