Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
5bbb1b8c
Commit
5bbb1b8c
authored
Aug 07, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配套清单ing
parent
6d4133a0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
549 additions
and
10 deletions
+549
-10
addAccessory.vue
pages/aps/plan/addAccessory.vue
+5
-5
api.js
pages/aps/plan/api.js
+4
-0
detailAccessory.vue
pages/aps/plan/detailAccessory.vue
+1
-0
editAccessory.vue
pages/aps/plan/editAccessory.vue
+534
-0
index.vue
pages/aps/plan/index.vue
+5
-5
No files found.
pages/aps/plan/addAccessory.vue
View file @
5bbb1b8c
...
...
@@ -23,14 +23,14 @@
>
<template
slot-scope=
"
{ row, index }" slot="counts">
<InputNumber
:max=
"row.
materi
alCount"
:max=
"row.
tot
alCount"
:min=
"0"
v-model=
"row.count"
@
on-blur=
"inputChange1(i,row,index)"
/>
</
template
>
<
template
slot-scope=
"{ row, index }"
slot=
"remarks"
>
<Input
type=
"text"
v-model=
"row.remark
s
"
@
on-blur=
"inputChange1(i,row,index)"
/>
<Input
type=
"text"
v-model=
"row.remark"
@
on-blur=
"inputChange1(i,row,index)"
/>
</
template
>
</Table>
</div>
...
...
@@ -91,7 +91,7 @@ export default {
align
:
"left"
,
},
{
key
:
"
materi
alCount"
,
key
:
"
tot
alCount"
,
title
:
"需求数量"
,
align
:
"left"
,
},
...
...
@@ -155,7 +155,7 @@ export default {
r
.
result
.
forEach
((
e
)
=>
{
let
i
=
0
;
e
.
suport
.
forEach
((
el
)
=>
{
el
.
count
=
el
.
materi
alCount
;
el
.
count
=
el
.
tot
alCount
;
el
.
_checked
=
true
;
el
.
_index
=
i
++
;
//el._disabled=true
...
...
@@ -317,7 +317,7 @@ export default {
materialId
:
ele
.
materialId
,
materialName
:
ele
.
nameMaterial
,
materialNumber
:
ele
.
materialNumber
,
needCount
:
ele
.
materi
alCount
,
needCount
:
ele
.
tot
alCount
,
count
:
ele
.
count
,
//
remark
:
ele
.
remark
?
ele
.
remark
:
""
,
};
...
...
pages/aps/plan/api.js
View file @
5bbb1b8c
...
...
@@ -53,5 +53,9 @@ export default {
batchdelete
(
params
){
//批量撤回
return
Api
.
post
(
`
${
technologyUrl
}
supportitem/batchdelete`
,
params
);
},
matchdetaillist
(
params
){
//配套审核单列表
return
Api
.
get
(
`
${
technologyUrl
}
materiallist/matchdetaillist`
,
params
);
},
}
\ No newline at end of file
pages/aps/plan/detailAccessory.vue
View file @
5bbb1b8c
...
...
@@ -148,6 +148,7 @@ export default {
if
(
res
.
success
&&
res
.
result
)
{
this
.
$Message
.
success
(
"撤销成功"
);
this
.
load
(
this
.
eid
);
this
.
$emit
(
'on-ok'
)
}
})
...
...
pages/aps/plan/editAccessory.vue
0 → 100644
View file @
5bbb1b8c
This diff is collapsed.
Click to expand it.
pages/aps/plan/index.vue
View file @
5bbb1b8c
...
...
@@ -244,8 +244,8 @@ export default {
},
},
this
.
setName
(
params
.
row
.
isSupportingFinish
).
name
)
;
}
,
)
}
},
{
key
:
"projectNumber"
,
...
...
@@ -805,7 +805,7 @@ export default {
};
}
}
return
outPar
;
return
outPar
},
openAccessory
(
row
)
{
this
.
orderId
=
row
.
id
;
...
...
@@ -817,8 +817,8 @@ export default {
this
.
title
=
"申请配套"
;
this
.
details
=
()
=>
import
(
"./addAccessory"
);
}
else
{
this
.
title
=
"
申请
单"
;
this
.
details
=
()
=>
import
(
"./
detail
Accessory"
);
this
.
title
=
"
配套清
单"
;
this
.
details
=
()
=>
import
(
"./
edit
Accessory"
);
}
this
.
modalAccessory
=
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