Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pad
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
ximai
mes-pad
Commits
9db3f6af
Commit
9db3f6af
authored
Mar 15, 2024
by
张海景
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:修改生产工单一屏显示
parent
67d6f8bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
16 deletions
+18
-16
index.vue
pages/mes/prodReport/index.vue
+18
-16
No files found.
pages/mes/prodReport/index.vue
View file @
9db3f6af
...
...
@@ -754,12 +754,12 @@ export default {
tableColumn
:
[
{
type
:
'selection'
,
width
:
8
0
width
:
6
0
},
{
name
:
'arrangeCode'
,
label
:
'编排单号'
,
width
:
120
,
width
:
85
,
cellFun
:
(
row
,
index
)
=>
{
console
.
log
(
row
,
index
)
this
.
tableDataDetail
=
row
.
proWorkorderList
;
...
...
@@ -767,20 +767,19 @@ export default {
}
},
{
name
:
'scheduleStartDate'
,
name
:
'scheduleStartDate
Str
'
,
label
:
'计划开始时间'
,
width
:
140
,
width
:
95
,
},
{
name
:
'scheduleEndDate'
,
name
:
'scheduleEndDate
Str
'
,
label
:
'计划结束时间'
,
width
:
140
width
:
95
},
{
name
:
'quantity'
,
label
:
'排产数量'
,
width
:
80
,
align
:
'center'
width
:
70
,
},
{
name
:
'quantityWait'
,
...
...
@@ -797,8 +796,7 @@ export default {
ERROR_STOP
:
'异常停工'
,
FINISH
:
'完工'
},
width
:
100
,
align
:
'center'
width
:
65
,
},
// {
// name: 'date',
...
...
@@ -808,7 +806,7 @@ export default {
{
name
:
'taskCode'
,
label
:
'任务单号'
,
width
:
1
2
0
width
:
1
0
0
},
// {
// name: 'workorderCode',
...
...
@@ -827,19 +825,17 @@ export default {
{
name
:
'processName'
,
label
:
'工序'
,
width
:
6
0
width
:
8
0
},
{
name
:
'quantityQualify'
,
label
:
'合格数量'
,
width
:
80
,
align
:
'center'
width
:
70
,
},
{
name
:
'quantityUnqualify'
,
label
:
'不合格数量'
,
width
:
80
,
align
:
'center'
},
// {
// name: 'clientName',
...
...
@@ -1318,7 +1314,13 @@ userTempVisible: false,
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
// 过滤可加工数量为0的数据
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
.
map
(
item
=>
{
return
{
...
item
,
scheduleStartDateStr
:
item
.
scheduleStartDate
.
substring
(
2
,
16
),
scheduleEndDateStr
:
item
.
scheduleEndDate
.
substring
(
2
,
16
),
}
})
if
(
this
.
tableData
.
length
>
0
)
{
this
.
curTaskInfo
=
this
.
tableData
[
0
];
this
.
getMaterialUsageRecordList
();
...
...
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