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
ximai
mes-ui
Commits
a75cd3c8
Commit
a75cd3c8
authored
Nov 16, 2024
by
李驰骋
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
a2bade75
bbfa2c9a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
3 deletions
+36
-3
th_TH.json
src/i18n/lang/th_TH.json
+3
-2
zh_CN.json
src/i18n/lang/zh_CN.json
+2
-1
ProogingProcess.vue
...mes/pro/productionSolution/components/ProogingProcess.vue
+21
-0
index.vue
src/views/mes/pro/qrcodeRecord/index.vue
+10
-0
No files found.
src/i18n/lang/th_TH.json
View file @
a75cd3c8
...
@@ -387,7 +387,7 @@
...
@@ -387,7 +387,7 @@
"研发管理系统"
:
"ระบบการจัดการการพัฒนา"
,
"研发管理系统"
:
"ระบบการจัดการการพัฒนา"
,
"生产执行管理系统"
:
"ระบบการจัดการการผลิต"
,
"生产执行管理系统"
:
"ระบบการจัดการการผลิต"
,
"订单管理系统"
:
"ระบบจัดการใบสั่งซื้อ"
,
"订单管理系统"
:
"ระบบจัดการใบสั่งซื้อ"
,
"希迈MES系统"
:
"
ระบบ HIMAI MES
"
,
"希迈MES系统"
:
"
Thai Xi Mai MES System
"
,
"设备总数"
:
"จำนวนอุปกรณ์ทั้งหมด"
,
"设备总数"
:
"จำนวนอุปกรณ์ทั้งหมด"
,
"运行中"
:
"กำลังทำงาน"
,
"运行中"
:
"กำลังทำงาน"
,
"待机"
:
"รอการทำงาน"
,
"待机"
:
"รอการทำงาน"
,
...
@@ -2992,5 +2992,6 @@
...
@@ -2992,5 +2992,6 @@
"是否故障"
:
"ไม่ว่าจะเป็นความล้มเหลว"
,
"是否故障"
:
"ไม่ว่าจะเป็นความล้มเหลว"
,
"排程日期"
:
"วันที ่ กําหนดการ"
,
"排程日期"
:
"วันที ่ กําหนดการ"
,
"该工序已添加,请勿重复添加"
:
"มีการเพิ่มขั้นตอนห้ามเพิ่มซ้ำ"
,
"该工序已添加,请勿重复添加"
:
"มีการเพิ่มขั้นตอนห้ามเพิ่มซ้ำ"
,
"所属产线"
:
"สายการผลิต"
"所属产线"
:
"สายการผลิต"
,
"打印次数必须是整数"
:
"จำนวนการพิมพ์ต้องเป็นจำนวนเต็ม"
}
}
src/i18n/lang/zh_CN.json
View file @
a75cd3c8
...
@@ -2992,5 +2992,6 @@
...
@@ -2992,5 +2992,6 @@
"是否故障"
:
"是否故障"
,
"是否故障"
:
"是否故障"
,
"排程日期"
:
"排程日期"
,
"排程日期"
:
"排程日期"
,
"该工序已添加,请勿重复添加"
:
"该工序已添加,请勿重复添加"
,
"该工序已添加,请勿重复添加"
:
"该工序已添加,请勿重复添加"
,
"所属产线"
:
"所属产线"
"所属产线"
:
"所属产线"
,
"打印次数必须是整数"
:
"打印次数必须是整数"
}
}
src/views/mes/pro/productionSolution/components/ProogingProcess.vue
View file @
a75cd3c8
...
@@ -76,6 +76,19 @@
...
@@ -76,6 +76,19 @@
/>
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('工序流向')"
prop=
"directionProcessId"
align=
"center"
width=
"160"
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.row.directionProcessId"
filterable
:disabled=
"mode == 'info'"
@
change=
"(v) => choosedirectionProcess(v, scope.row, scope.$index)"
>
<el-option
v-for=
"item in processOptions"
:key=
"item.processId"
:label=
"item.processName"
:value=
"item.processId"
></el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('common.workstation_code')"
prop=
"workstationCode"
align=
"center"
width=
"130"
>
<el-table-column
:label=
"$t('common.workstation_code')"
prop=
"workstationCode"
align=
"center"
width=
"130"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.row.workstationId"
:disabled=
"mode == 'info'"
filterable
@
change=
"(v) => chooseworkstationName(v, scope.row, scope.$index)"
>
<el-select
v-model=
"scope.row.workstationId"
:disabled=
"mode == 'info'"
filterable
@
change=
"(v) => chooseworkstationName(v, scope.row, scope.$index)"
>
...
@@ -554,6 +567,9 @@ export default {
...
@@ -554,6 +567,9 @@ export default {
processId
:
null
,
processId
:
null
,
processCode
:
null
,
processCode
:
null
,
workstationName
:
null
,
workstationName
:
null
,
directionProcessId
:
null
,
directionProcessCode
:
null
,
directionProcessName
:
null
,
workstationId
:
null
,
workstationId
:
null
,
workstationCode
:
null
,
workstationCode
:
null
,
stdWorkingTime
:
null
,
stdWorkingTime
:
null
,
...
@@ -844,6 +860,11 @@ export default {
...
@@ -844,6 +860,11 @@ export default {
this
.
tableData
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
breakData
)))
this
.
tableData
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
breakData
)))
}
}
},
},
choosedirectionProcess
(
e
,
row
,
index
)
{
const
item
=
this
.
processOptions
.
find
(
v
=>
v
.
processId
===
e
)
row
[
'directionProcessCode'
]
=
item
.
processCode
row
[
'directionProcessName'
]
=
item
.
processName
},
chooseworkstationName
(
e
,
row
,
index
)
{
chooseworkstationName
(
e
,
row
,
index
)
{
const
item
=
this
.
workstationList
.
find
(
v
=>
v
.
workstationId
===
e
)
const
item
=
this
.
workstationList
.
find
(
v
=>
v
.
workstationId
===
e
)
row
[
'workstationName'
]
=
item
.
workstationName
row
[
'workstationName'
]
=
item
.
workstationName
...
...
src/views/mes/pro/qrcodeRecord/index.vue
View file @
a75cd3c8
...
@@ -92,6 +92,13 @@
...
@@ -92,6 +92,13 @@
@
keyup
.
enter
.
native=
"handleQuery"
@
keyup
.
enter
.
native=
"handleQuery"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('打印次数')"
prop=
"printTime"
>
<el-input
v-model=
"queryParams.printTime"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
...
@@ -485,6 +492,9 @@ export default {
...
@@ -485,6 +492,9 @@ export default {
},
},
/** 搜索按钮操作 */
/** 搜索按钮操作 */
handleQuery
()
{
handleQuery
()
{
if
(
!
this
.
queryWorkParams
.
printTime
&&
this
.
queryParams
.
printTime
.
indexOf
(
'.'
)
>
-
1
)
{
return
this
.
$message
.
error
(
this
.
$t
(
'打印次数必须是整数'
))
}
if
(
!
this
.
queryWorkParams
.
workorderCode
&&
!
this
.
queryParams
.
qrcode
)
{
if
(
!
this
.
queryWorkParams
.
workorderCode
&&
!
this
.
queryParams
.
qrcode
)
{
return
this
.
$message
.
error
(
this
.
$t
(
'请输入查询条件'
))
return
this
.
$message
.
error
(
this
.
$t
(
'请输入查询条件'
))
}
}
...
...
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