Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
maintain_service
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
刘帅
maintain_service
Commits
90181202
Commit
90181202
authored
Sep 05, 2025
by
刘帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.项目维修管、项目故障管理-增加批量删除功能
parent
a110b7cb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
8 deletions
+30
-8
index.vue
maintain-ui/src/views/business/maintainProject/index.vue
+13
-2
index.vue
maintain-ui/src/views/business/malfunctionProject/index.vue
+13
-2
index.vue
maintain-ui/src/views/business/materialReturns/index.vue
+4
-4
No files found.
maintain-ui/src/views/business/maintainProject/index.vue
View file @
90181202
...
...
@@ -38,6 +38,17 @@
v-hasPermi=
"['business:maintainProject:add']"
>
新增
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"danger"
plain
icon=
"el-icon-delete"
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
v-hasPermi=
"['business:maintainProject:remove']"
>
删除
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
...
...
@@ -62,7 +73,7 @@
</el-row>
<el-table
v-loading=
"loading"
:data=
"maintainProjectList"
@
selection-change=
"handleSelectionChange"
>
<!--
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
--
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/
>
<el-table-column
label=
"序号"
align=
"center"
type=
"index"
/>
<el-table-column
label=
"维修项目类别"
align=
"center"
prop=
"typeName"
/>
<el-table-column
label=
"维修项目编号"
align=
"center"
prop=
"projectCode"
/>
...
...
@@ -471,7 +482,7 @@ export default {
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
ids
=
row
.
id
||
this
.
ids
;
this
.
$modal
.
confirm
(
'
是否确认删除维修项目
编号为"
'
+
row
.
projectCode
+
'
"的数据项?
'
).
then
(()
=>
{
this
.
$modal
.
confirm
(
'
是否确认删除维修项目
,删除后无法恢复!
'
).
then
(()
=>
{
this
.
loading
=
true
;
return
delMaintainProject
(
ids
);
}).
then
(()
=>
{
...
...
maintain-ui/src/views/business/malfunctionProject/index.vue
View file @
90181202
...
...
@@ -34,6 +34,17 @@
v-hasPermi=
"['business:malfunctionProject:add']"
>
新增
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"danger"
plain
icon=
"el-icon-delete"
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
v-hasPermi=
"['business:malfunctionProject:remove']"
>
删除
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
...
...
@@ -76,7 +87,7 @@
</el-row>
<el-table
v-loading=
"loading"
:data=
"malfunctionProjectList"
@
selection-change=
"handleSelectionChange"
>
<!--
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
--
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/
>
<el-table-column
label=
"序号"
align=
"center"
type=
"index"
/>
<el-table-column
label=
"故障类型名称"
align=
"center"
prop=
"typeName"
/>
<el-table-column
label=
"故障项目编号"
align=
"center"
prop=
"malfunctionCode"
/>
...
...
@@ -431,7 +442,7 @@ export default {
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
ids
=
row
.
id
||
this
.
ids
;
this
.
$modal
.
confirm
(
'
是否确认删除
故障项目编号为"
'
+
row
.
malfunctionCode
+
'
"的数据项?
'
).
then
(()
=>
{
this
.
$modal
.
confirm
(
'
是否确认删除
维修项目,删除后无法恢复!
'
).
then
(()
=>
{
this
.
loading
=
true
;
return
delMalfunctionProject
(
ids
);
}).
then
(()
=>
{
...
...
maintain-ui/src/views/business/materialReturns/index.vue
View file @
90181202
...
...
@@ -245,14 +245,14 @@
<
el
-
input
-
number
v
-
model
=
"
scope.row.returnsNumber
"
@
change
=
"
returnsNumberChange
"
controls
-
position
=
"
right
"
size
=
"
mini
"
:
min
=
"
0
"
:
precision
=
"
2
"
:
max
=
"
parseFloat(scope.row.putawayNumber) - parseFloat(scope.row.returnedNumber) - parseFloat(scope.row.issuedNumber)
"
style
=
"
width: 100%
"
placeholder
=
"
数量
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
退货单价
"
align
=
"
center
"
prop
=
"
returnsPrice
"
width
=
"
1
2
0px
"
>
<
el
-
table
-
column
label
=
"
退货单价
"
align
=
"
center
"
prop
=
"
returnsPrice
"
width
=
"
1
6
0px
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
input
-
number
v
-
model
=
"
scope.row.returnsPrice
"
disabled
controls
-
position
=
"
right
"
size
=
"
mini
"
:
min
=
"
1
"
:
precision
=
"
2
"
style
=
"
width: 100%
"
placeholder
=
"
单价
"
/>
<
el
-
input
-
number
v
-
model
=
"
scope.row.returnsPrice
"
disabled
controls
-
position
=
"
right
"
size
=
"
mini
"
:
precision
=
"
2
"
style
=
"
width: 100%
"
placeholder
=
"
单价
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
退货金额
"
align
=
"
center
"
prop
=
"
returnsMoney
"
width
=
"
1
2
0px
"
>
<
el
-
table
-
column
label
=
"
退货金额
"
align
=
"
center
"
prop
=
"
returnsMoney
"
width
=
"
1
6
0px
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
input
-
number
v
-
model
=
"
scope.row.returnsMoney
"
disabled
controls
-
position
=
"
right
"
size
=
"
mini
"
:
min
=
"
1
"
style
=
"
width: 100%
"
placeholder
=
"
金额
"
/>
<
el
-
input
-
number
v
-
model
=
"
scope.row.returnsMoney
"
disabled
controls
-
position
=
"
right
"
size
=
"
mini
"
:
precision
=
"
2
"
style
=
"
width: 100%
"
placeholder
=
"
金额
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作
"
align
=
"
center
"
fixed
=
"
right
"
class
-
name
=
"
small-padding fixed-width
"
>
...
...
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