Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-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
pda
pda-ui
Commits
0bf77811
Commit
0bf77811
authored
Jul 08, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
作业分派和生产工单
parent
e336f266
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
6 deletions
+29
-6
protask.js
src/api/mes/pro/protask.js
+9
-0
ProogingProcess.vue
src/views/mes/pro/workorder/components/ProogingProcess.vue
+1
-0
indexApply.vue
src/views/mes/pro/workorder/indexApply.vue
+17
-4
index.vue
src/views/mes/qc/ipqc/index.vue
+2
-2
No files found.
src/api/mes/pro/protask.js
View file @
0bf77811
...
@@ -18,6 +18,15 @@ export function listGanttTaskList(query) {
...
@@ -18,6 +18,15 @@ export function listGanttTaskList(query) {
});
});
}
}
// 作业分派
export
function
putProtaskSplit
(
query
)
{
return
request
({
url
:
"/mes/pro/protask/split"
,
method
:
"put"
,
data
:
query
,
});
}
// 查询生产任务列表加上了字段workunitName
// 查询生产任务列表加上了字段workunitName
export
function
listTaskListDetail
(
query
)
{
export
function
listTaskListDetail
(
query
)
{
return
request
({
return
request
({
...
...
src/views/mes/pro/workorder/components/ProogingProcess.vue
View file @
0bf77811
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<el-table-column
label=
"序号"
prop=
"idx"
width=
"80"
align=
"center"
/>
<el-table-column
label=
"序号"
prop=
"idx"
width=
"80"
align=
"center"
/>
<el-table-column
label=
"工序编码"
prop=
"processCode"
width=
"150"
align=
"center"
/>
<el-table-column
label=
"工序编码"
prop=
"processCode"
width=
"150"
align=
"center"
/>
<el-table-column
label=
"工序名称"
prop=
"processName"
align=
"center"
/>
<el-table-column
label=
"工序名称"
prop=
"processName"
align=
"center"
/>
<el-table-column
label=
"工序顺序"
prop=
"idx"
align=
"center"
/>
<el-table-column
label=
"工作中心编码"
prop=
"workstationCode"
width=
"150"
align=
"center"
/>
<el-table-column
label=
"工作中心编码"
prop=
"workstationCode"
width=
"150"
align=
"center"
/>
<el-table-column
label=
"工作中心"
prop=
"workstationName"
align=
"center"
/>
<el-table-column
label=
"工作中心"
prop=
"workstationName"
align=
"center"
/>
<el-table-column
v-if=
"mode === 'make'"
label=
"工作单元名称"
width=
"200"
prop=
"workunitName"
align=
"center"
>
<el-table-column
v-if=
"mode === 'make'"
label=
"工作单元名称"
width=
"200"
prop=
"workunitName"
align=
"center"
>
...
...
src/views/mes/pro/workorder/indexApply.vue
View file @
0bf77811
...
@@ -155,15 +155,19 @@
...
@@ -155,15 +155,19 @@
v-hasPermi=
"['mes:pro:workorder:dofinish']"
>
生产打样下达
v-hasPermi=
"['mes:pro:workorder:dofinish']"
>
生产打样下达
</el-button>
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.
5
"
>
<el-col
:span=
"1.
2
"
>
<el-button
type=
"warning"
plain
size=
"mini"
v-print=
"printContent"
id=
"printbtn"
style=
"display: none"
<el-button
type=
"warning"
plain
size=
"mini"
v-print=
"printContent"
id=
"printbtn"
style=
"display: none"
>
打印工单
>
打印工单
</el-button>
</el-button>
<el-button
type=
"warning"
plain
size=
"mini"
ref=
"printbtn"
@
click=
"handlePrint"
:loading=
"printloading
"
<el-button
type=
"warning"
plain
size=
"mini"
style=
"margin-left: 0;"
icon=
"el-icon-printer"
ref=
"printbtn"
@
click=
"handlePrint"
:loading=
"printloading"
v-hasPermi=
"['mes:pro:workorder:print']
"
>
打印工单
>
打印工单
</el-button>
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-close"
size=
"mini"
@
click=
"handleClose"
v-hasPermi=
"['mes:pro:workorder:close']"
>
关闭
</el-button>
</el-col>
<!--
<right-toolbar
<!--
<right-toolbar
:showSearch
.
sync=
"showSearch"
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
@
queryTable=
"getList"
...
@@ -559,7 +563,7 @@ import {
...
@@ -559,7 +563,7 @@ import {
updateWorkorder
,
updateWorkorder
,
dofinish
,
dofinish
,
printInfo
,
printInfo
,
doCheckToolNum
doCheckToolNum
,
}
from
"@/api/mes/pro/workorder"
;
}
from
"@/api/mes/pro/workorder"
;
import
{
addProtaskList
}
from
"@/api/mes/pro/protask"
;
import
{
addProtaskList
}
from
"@/api/mes/pro/protask"
;
...
@@ -790,6 +794,15 @@ export default {
...
@@ -790,6 +794,15 @@ export default {
}
}
this
.
combinationCodes
=
[
combinationCode
];
this
.
combinationCodes
=
[
combinationCode
];
}
,
}
,
handleClose
(){
if
(
this
.
ids
.
length
===
0
)
return
this
.
$message
.
warning
(
'请勾选要关闭的工单'
)
updateWorkorder
({
"workorderId"
:
this
.
ids
.
join
(
','
),
"status"
:
"CLOSE"
}
).
then
(({
data
}
)
=>
{
}
)
}
,
showArrangDetail
(
row
,
arrangeCode
)
{
showArrangDetail
(
row
,
arrangeCode
)
{
this
.
arrangeOpen
=
true
;
this
.
arrangeOpen
=
true
;
if
(
row
.
status
===
'ORCHESTRATED'
)
{
if
(
row
.
status
===
'ORCHESTRATED'
)
{
...
...
src/views/mes/qc/ipqc/index.vue
View file @
0bf77811
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
</el-form>
</el-form>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<
!--
<
el-col
:span=
"1.5"
>
<el-button
<el-button
type=
"primary"
type=
"primary"
plain
plain
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
@
click=
"handleAdd"
@
click=
"handleAdd"
v-hasPermi=
"['mes:qc:ipqc:add']"
v-hasPermi=
"['mes:qc:ipqc:add']"
>
新增
</el-button>
>
新增
</el-button>
</el-col>
</el-col>
-->
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
<el-button
type=
"success"
type=
"success"
...
...
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