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
99826be3
Commit
99826be3
authored
Feb 22, 2024
by
jzc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
协助提交pad代码(zj)
parent
7d2f8a30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
303 additions
and
6 deletions
+303
-6
index.vue
pages/mes/prodReport/index.vue
+303
-6
No files found.
pages/mes/prodReport/index.vue
View file @
99826be3
...
...
@@ -15,7 +15,7 @@
<!--
</view>
-->
<view
class=
"prod-body-left-task"
>
<zb-table
:columns=
"tableColumn"
:stripe=
"true"
@
rowClick=
"rowClick"
<zb-table
:columns=
"tableColumn"
:stripe=
"true"
@
rowClick=
"rowClick"
@
cellClick=
'cellClick'
@
toggleRowSelection=
"toggleRowSelection"
@
toggleAllSelection=
"toggleAllSelection"
:border=
"true"
:data=
"tableData"
></zb-table>
</view>
...
...
@@ -396,6 +396,14 @@
</u-form>
</view>
</u-modal>
<u-modal
title=
"详细数据"
:showConfirmButton=
"true"
:title-style=
"
{'background-color':'#1E3770','color': '#FFFFFF' ,'line-height': '37px','padding-top': '0px'}"
v-model="showRowDeatilFlag" width="1800rpx">
<view
class=
""
>
<zb-table
:columns=
"tableDetailColumn"
:stripe=
"true"
:border=
"true"
:data=
"tableDataDetail"
></zb-table>
</view>
</u-modal>
</view>
</
template
>
...
...
@@ -684,7 +692,35 @@ export default {
applyNum
:
null
},
materialReturnFormVisible
:
false
,
materialReturnSelected
:{}
materialReturnSelected
:{},
tableDetailColumn
:
[
{
name
:
'workorderCode'
,
label
:
'生产工单号'
,
width
:
140
,
},
{
name
:
'productCode'
,
label
:
'产品编号'
,
width
:
140
,
},
{
name
:
'productName'
,
label
:
'产品名称'
,
width
:
140
,
},
{
name
:
'productSpc'
,
label
:
'规格'
,
width
:
140
,
},
{
name
:
'requestDate'
,
label
:
'需求日期'
,
width
:
140
,
},
],
tableDataDetail
:
[],
}
},
mounted
()
{
//监听工作站切换事件
...
...
@@ -693,6 +729,262 @@ export default {
})
},
created
()
{
this
.
tableData
=
[
{
"searchValue"
:
null
,
"createBy"
:
"admin"
,
"createTime"
:
"2024-01-27 23:17:29"
,
"updateBy"
:
""
,
"updateTime"
:
"2024-02-22 09:47:41"
,
"remark"
:
""
,
"params"
:
{},
"taskId"
:
261
,
"taskCode"
:
"TASK20240058"
,
"taskName"
:
"【*】92721-05 比音勒芬 蓝底黑字史努比联名系列圆角合格证RFID吊牌5.0*11cm-清孔出货【210.0】PCS"
,
"workorderId"
:
60
,
"workorderCode"
:
"MO202401270036"
,
"workorderName"
:
"测测测2"
,
"workstationId"
:
22
,
"workstationCode"
:
"WS0107"
,
"workstationName"
:
"数码印刷工作站"
,
"routeId"
:
245
,
"routeName"
:
null
,
"routeCode"
:
"R1129"
,
"processId"
:
302
,
"processCode"
:
"PROCESS231"
,
"processName"
:
"数码印刷"
,
"isCheck"
:
"N"
,
"itemId"
:
92
,
"itemCode"
:
"IF2024012622"
,
"itemName"
:
"【*】92721-05 比音勒芬 蓝底黑字史努比联名系列圆角合格证RFID吊牌5.0*11cm-清孔出货"
,
"specification"
:
null
,
"unitOfMeasure"
:
"PCS"
,
"quantity"
:
210.0
,
"quantityProduced"
:
0.0
,
"quantityQuanlify"
:
0.0
,
"quantityUnquanlify"
:
0.0
,
"quantityChanged"
:
0.0
,
"clientId"
:
null
,
"clientCode"
:
null
,
"clientName"
:
null
,
"clientNick"
:
null
,
"startTime"
:
"2024-01-27 23:17:27"
,
"duration"
:
1
,
"endTime"
:
"2024-01-28 00:17:27"
,
"colorCode"
:
"#00AEF3"
,
"requestDate"
:
null
,
"status"
:
"START"
,
"attr1"
:
null
,
"attr2"
:
null
,
"attr3"
:
0
,
"attr4"
:
0
,
"workunitId"
:
null
,
"arrangeCode"
:
null
,
"proWorkorderList"
:
null
,
"workorderCodes"
:
"MO202401270036"
},
{
"searchValue"
:
null
,
"createBy"
:
"admin"
,
"createTime"
:
"2024-01-27 23:17:29"
,
"updateBy"
:
""
,
"updateTime"
:
"2024-02-22 09:47:41"
,
"remark"
:
""
,
"params"
:
{},
"taskId"
:
261
,
"taskCode"
:
"TASK20240058"
,
"taskName"
:
"【*】92721-05 比音勒芬 蓝底黑字史努比联名系列圆角合格证RFID吊牌5.0*11cm-清孔出货【210.0】PCS"
,
"workorderId"
:
60
,
"workorderCode"
:
"MO202401270036"
,
"workorderName"
:
"测测测2"
,
"workstationId"
:
22
,
"workstationCode"
:
"WS0107"
,
"workstationName"
:
"数码印刷工作站"
,
"routeId"
:
245
,
"routeName"
:
null
,
"routeCode"
:
"R1129"
,
"processId"
:
302
,
"processCode"
:
"PROCESS231"
,
"processName"
:
"数码印刷"
,
"isCheck"
:
"N"
,
"itemId"
:
92
,
"itemCode"
:
"IF2024012622"
,
"itemName"
:
"【*】92721-05 比音勒芬 蓝底黑字史努比联名系列圆角合格证RFID吊牌5.0*11cm-清孔出货"
,
"specification"
:
null
,
"unitOfMeasure"
:
"PCS"
,
"quantity"
:
210.0
,
"quantityProduced"
:
0.0
,
"quantityQuanlify"
:
0.0
,
"quantityUnquanlify"
:
0.0
,
"quantityChanged"
:
0.0
,
"clientId"
:
null
,
"clientCode"
:
null
,
"clientName"
:
null
,
"clientNick"
:
null
,
"startTime"
:
"2024-01-27 23:17:27"
,
"duration"
:
1
,
"endTime"
:
"2024-01-28 00:17:27"
,
"colorCode"
:
"#00AEF3"
,
"requestDate"
:
null
,
"status"
:
"START"
,
"attr1"
:
null
,
"attr2"
:
null
,
"attr3"
:
0
,
"attr4"
:
0
,
"workunitId"
:
null
,
"arrangeCode"
:
"BP20240203003"
,
"proWorkorderList"
:
[
{
"searchValue"
:
null
,
"createBy"
:
""
,
"createTime"
:
"2024-02-03 11:14:00"
,
"updateBy"
:
""
,
"updateTime"
:
"2024-02-04 10:48:02"
,
"remark"
:
""
,
"params"
:
{},
"parentName"
:
null
,
"parentId"
:
0
,
"orderNum"
:
null
,
"ancestors"
:
"0"
,
"children"
:
[],
"workorderId"
:
73
,
"routeId"
:
239
,
"routeCode"
:
"R1119"
,
"routeName"
:
"注塑工艺"
,
"workorderCode"
:
"MO202402030001"
,
"workorderName"
:
"12"
,
"workorderType"
:
"complements"
,
"orderSource"
:
null
,
"sourceCode"
:
null
,
"productId"
:
70
,
"productCode"
:
"IF2022082432"
,
"productName"
:
"PCB颗粒"
,
"productSpc"
:
null
,
"unitOfMeasure"
:
"KG"
,
"arrangeCode"
:
"BP20240203003"
,
"batchCode"
:
null
,
"quantity"
:
1.0
,
"quantityProduced"
:
0.0
,
"quantityChanged"
:
null
,
"quantityScheduled"
:
null
,
"clientId"
:
null
,
"clientCode"
:
null
,
"clientName"
:
null
,
"vendorId"
:
null
,
"vendorCode"
:
null
,
"vendorName"
:
null
,
"requestDate"
:
"2024-02-29"
,
"finishDate"
:
null
,
"status"
:
"TASKGENERATED"
,
"attr1"
:
null
,
"attr2"
:
null
,
"attr3"
:
0
,
"attr4"
:
0
,
"taskId"
:
null
,
"tasks"
:
null
},
{
"searchValue"
:
null
,
"createBy"
:
""
,
"createTime"
:
"2024-01-27 23:15:01"
,
"updateBy"
:
""
,
"updateTime"
:
null
,
"remark"
:
""
,
"params"
:
{},
"parentName"
:
null
,
"parentId"
:
0
,
"orderNum"
:
null
,
"ancestors"
:
"0"
,
"children"
:
[],
"workorderId"
:
59
,
"routeId"
:
245
,
"routeCode"
:
"R1129"
,
"routeName"
:
"鞋标生产工艺"
,
"workorderCode"
:
"MO202401270035"
,
"workorderName"
:
"测测测测测测测"
,
"workorderType"
:
"prototype"
,
"orderSource"
:
"ORDER"
,
"sourceCode"
:
""
,
"productId"
:
91
,
"productCode"
:
"IF2024012635"
,
"productName"
:
"【*】WU0001012 李宁鞋类24Q1大货通用 内盒标4.5*11cm(直角)V2"
,
"productSpc"
:
null
,
"unitOfMeasure"
:
"PCS"
,
"arrangeCode"
:
"BP20240203003"
,
"batchCode"
:
null
,
"quantity"
:
10.0
,
"quantityProduced"
:
0.0
,
"quantityChanged"
:
null
,
"quantityScheduled"
:
null
,
"clientId"
:
228
,
"clientCode"
:
"C00238"
,
"clientName"
:
"李宁体育用品有限公司"
,
"vendorId"
:
null
,
"vendorCode"
:
null
,
"vendorName"
:
null
,
"requestDate"
:
"2024-01-31"
,
"finishDate"
:
null
,
"status"
:
"LOCK"
,
"attr1"
:
null
,
"attr2"
:
null
,
"attr3"
:
0
,
"attr4"
:
0
,
"taskId"
:
null
,
"tasks"
:
null
},
{
"searchValue"
:
null
,
"createBy"
:
""
,
"createTime"
:
null
,
"updateBy"
:
""
,
"updateTime"
:
"2024-02-02 19:19:30"
,
"remark"
:
"123"
,
"params"
:
{},
"parentName"
:
null
,
"parentId"
:
0
,
"orderNum"
:
null
,
"ancestors"
:
"0"
,
"children"
:
[],
"workorderId"
:
57
,
"routeId"
:
239
,
"routeCode"
:
"R1119"
,
"routeName"
:
"注塑工艺"
,
"workorderCode"
:
"MO202401270031"
,
"workorderName"
:
"MO202401270031"
,
"workorderType"
:
"prototype"
,
"orderSource"
:
null
,
"sourceCode"
:
null
,
"productId"
:
69
,
"productCode"
:
"IF2022082437"
,
"productName"
:
"色粉【黑色】"
,
"productSpc"
:
null
,
"unitOfMeasure"
:
"g"
,
"arrangeCode"
:
"BP20240203003"
,
"batchCode"
:
null
,
"quantity"
:
13.0
,
"quantityProduced"
:
0.0
,
"quantityChanged"
:
null
,
"quantityScheduled"
:
null
,
"clientId"
:
200
,
"clientCode"
:
null
,
"clientName"
:
null
,
"vendorId"
:
null
,
"vendorCode"
:
null
,
"vendorName"
:
null
,
"requestDate"
:
"2024-02-01"
,
"finishDate"
:
null
,
"status"
:
"CANCELED"
,
"attr1"
:
null
,
"attr2"
:
null
,
"attr3"
:
0
,
"attr4"
:
0
,
"taskId"
:
null
,
"tasks"
:
null
}
],
"workorderCodes"
:
"MO202401270035"
}
],
//获取屏幕高度
uni
.
getSystemInfo
({
success
(
res
)
{
...
...
@@ -721,10 +1013,15 @@ export default {
uni
.
$off
(
'taskStatusChanged'
);
},
methods
:
{
numclik
(...
arg
)
{
console
.
log
(
'99999999'
,
arg
)
},
cellClick
(
row
,
index
,
column
){
if
(
column
.
name
===
"arrangeCode"
){
this
.
tableDataDetail
=
row
.
proWorkorderList
this
.
showRowDeatilFlag
=
true
}
},
numclik
(...
arg
)
{
console
.
log
(
'99999999'
,
arg
)
},
changeWorkstation
()
{
uni
.
$emit
(
'changeWorkstation'
);
},
...
...
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