Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
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
mes
mes-ui
Commits
2072d1d0
Commit
2072d1d0
authored
Mar 12, 2024
by
张海景
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:修改领用单传参
parent
d6810e06
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
28 deletions
+4
-28
index.vue
src/views/mes/tm/toolrequest/index.vue
+2
-2
selectTask.vue
src/views/mes/tm/toolrequest/selectTask.vue
+1
-1
itemIndex.vue
src/views/mes/tm/warehouse/itemIndex.vue
+1
-25
No files found.
src/views/mes/tm/toolrequest/index.vue
View file @
2072d1d0
...
...
@@ -191,8 +191,8 @@
<
/el-form-item
>
<
/el-col
>
<
el
-
col
v
-
if
=
"optType === 'add'"
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"任务排产单"
prop
=
"taskId"
>
<
el
-
input
v
-
model
=
"form.taskId"
placeholder
=
"请选择任务排产单"
<
el
-
form
-
item
label
=
"任务排产单"
prop
=
"task
Workunit
Id"
>
<
el
-
input
v
-
model
=
"form.task
Workunit
Id"
placeholder
=
"请选择任务排产单"
disabled
>
<
el
-
button
v
-
if
=
"optType === 'add'"
...
...
src/views/mes/tm/toolrequest/selectTask.vue
View file @
2072d1d0
...
...
@@ -222,7 +222,7 @@ export default {
queryParams
:
{
pageNum
:
1
,
pageSize
:
10
,
statusArr
:
''
,
//
statusArr: '',
workorderType
:
'SELF'
,
// statusStr: 'PREPARE,BEGINNING,ISSUEGENERATED'
}
,
...
...
src/views/mes/tm/warehouse/itemIndex.vue
View file @
2072d1d0
...
...
@@ -58,7 +58,6 @@
<
script
>
import
{
lisWoreHouseDetail
}
from
"@/api/mes/tm/warehouse"
;
import
{
getTaskIdMaxProcessTool
}
from
"@/api/mes/pro/protask"
;
import
ItemSelect
from
"./selectmachinesrecord.vue"
;
export
default
{
name
:
"TmToolRequestItem"
,
...
...
@@ -105,11 +104,7 @@ export default {
};
},
watch
:
{
'$attrs.taskId'
(
newVal
,
oldVal
){
if
(
this
.
$attrs
.
optType
===
'add'
)
{
this
.
getTaskList
()
}
}
},
created
()
{
if
(
this
.
$attrs
.
optType
!==
'add'
)
{
...
...
@@ -149,25 +144,6 @@ export default {
this
.
loading
=
false
;
});
},
/** 查询任务刀模板申请单列表 */
getTaskList
()
{
this
.
loading
=
true
;
this
.
queryParams
.
taskId
=
this
.
$attrs
.
taskId
;
this
.
queryParams
.
pageSize
=
10000
;
getTaskIdMaxProcessTool
(
this
.
queryParams
).
then
(
response
=>
{
const
datas
=
response
.
data
.
map
(
item
=>
{
return
{
...
item
,
allQuantity
:
item
.
AllQuantity
}
});
this
.
tmToolRequestItemList
=
this
.
tmToolRequestItemList
.
concat
(
datas
)
// this.total = response.total;
this
.
loading
=
false
;
this
.
$emit
(
'sum'
)
});
},
handleRemove
(
row
,
index
)
{
console
.
log
(
row
,
index
)
// this.tags.splice(this.tags.indexOf(tag), 1)
...
...
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