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
a5403819
Commit
a5403819
authored
Nov 07, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工作中心查询页面修改
parent
f7664204
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
51 deletions
+10
-51
index.vue
src/views/mes/md/workstation/index.vue
+10
-51
No files found.
src/views/mes/md/workstation/index.vue
View file @
a5403819
...
@@ -303,7 +303,7 @@
...
@@ -303,7 +303,7 @@
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"12"
>
<
!-- <
el-col :span="12">
<el-form-item label="所属工序" prop="processName">
<el-form-item label="所属工序" prop="processName">
<el-select v-model="form.process" placeholder="请选择工序" multiple>
<el-select v-model="form.process" placeholder="请选择工序" multiple>
<el-option
<el-option
...
@@ -314,8 +314,14 @@
...
@@ -314,8 +314,14 @@
></el-option>
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col> -->
<el-col
:span=
"12"
>
<el-form-item
label=
"转间时间"
label-width=
"120px"
prop=
"transferTime"
>
<el-input
v-model=
"form.transferTime"
placeholder=
"请输入转间时间"
>
<i
slot=
"suffix"
style=
"font-style:normal;margin-right: 10px; line-height: 30px; color: #1e1e1e"
>
MIN
</i>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"标准工时"
prop=
"stdWorkingTime"
>
<el-form-item
label=
"标准工时"
prop=
"stdWorkingTime"
>
...
@@ -403,13 +409,7 @@
...
@@ -403,13 +409,7 @@
></el-input>
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"转间时间"
label-width=
"120px"
prop=
"transferTime"
>
<el-input
v-model=
"form.transferTime"
placeholder=
"请输入转间时间"
>
<i
slot=
"suffix"
style=
"font-style:normal;margin-right: 10px; line-height: 30px; color: #1e1e1e"
>
MIN
</i>
</el-input>
</el-form-item>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
...
@@ -577,7 +577,6 @@ export default {
...
@@ -577,7 +577,6 @@ export default {
//工序选项
//工序选项
processOptions
:
[],
processOptions
:
[],
processList
:
[],
// 弹出层标题
// 弹出层标题
title
:
""
,
title
:
""
,
// 是否显示弹出层
// 是否显示弹出层
...
@@ -658,47 +657,9 @@ export default {
...
@@ -658,47 +657,9 @@ export default {
});
});
},
},
getProcessList
()
{
listProcess
().
then
((
response
)
=>
{
this
.
processList
=
response
.
rows
;
});
},
//获取仓库
// getWarehouseList() {
// getTreeList().then((response) => {
// this.warehouseOptions = response.data;
// this.warehouseOptions.map((w) => {
// w.children.map((l) => {
// let lstr = JSON.stringify(l.children)
// .replace(/locationId/g, "lId")
// .replace(/areaId/g, "pId")
// .replace(/areaName/g, "pName");
// l.children = JSON.parse(lstr);
// });
// let wstr = JSON.stringify(w.children)
// .replace(/warehouseId/g, "wId")
// .replace(/locationId/g, "pId")
// .replace(/locationName/g, "pName");
// w.children = JSON.parse(wstr);
// });
// let ostr = JSON.stringify(this.warehouseOptions)
// .replace(/warehouseId/g, "pId")
// .replace(/warehouseName/g, "pName");
// this.warehouseOptions = JSON.parse(ostr);
// });
// },
//选择默认的仓库、库区、库位
// handleWarehouseChanged(obj) {
// if (obj != null) {
// this.form.warehouseId = obj[0];
// this.form.locationId = obj[1];
// this.form.areaId = obj[2];
// }
// },
// 取消按钮
// 取消按钮
cancel
()
{
cancel
()
{
this
.
open
=
false
;
this
.
open
=
false
;
...
@@ -781,7 +742,6 @@ export default {
...
@@ -781,7 +742,6 @@ export default {
/** 新增按钮操作 */
/** 新增按钮操作 */
handleAdd
()
{
handleAdd
()
{
this
.
reset
();
this
.
reset
();
this
.
getProcessList
();
this
.
handleAutoGenChange
(
true
);
this
.
handleAutoGenChange
(
true
);
this
.
getWorkshops
();
this
.
getWorkshops
();
this
.
open
=
true
;
this
.
open
=
true
;
...
@@ -792,7 +752,6 @@ export default {
...
@@ -792,7 +752,6 @@ export default {
handleView
(
row
)
{
handleView
(
row
)
{
this
.
reset
();
this
.
reset
();
this
.
getWorkshops
();
this
.
getWorkshops
();
this
.
getProcessList
();
const
workstationId
=
row
.
workstationId
||
this
.
ids
;
const
workstationId
=
row
.
workstationId
||
this
.
ids
;
getWorkstation
(
workstationId
).
then
((
response
)
=>
{
getWorkstation
(
workstationId
).
then
((
response
)
=>
{
this
.
form
=
response
.
data
;
this
.
form
=
response
.
data
;
...
...
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