Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
teach-ltk-ui
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
黄麒宇
teach-ltk-ui
Commits
241e9c1b
Commit
241e9c1b
authored
Dec 21, 2022
by
huangqy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
正式的也修改
parent
34a4f341
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
46 行增加
和
13 行删除
+46
-13
queue.vue
src/views/work/queue.vue
+23
-2
moveCar.vue
src/views/workQueue/moveCar.vue
+23
-11
没有找到文件。
src/views/work/queue.vue
View file @
241e9c1b
...
@@ -40,18 +40,23 @@
...
@@ -40,18 +40,23 @@
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<a-button
type=
"primary"
ghost
icon=
"search"
@
click=
"getQueuData()"
>
查询
</a-button>
<a-button
type=
"primary"
ghost
icon=
"search"
@
click=
"getQueuData()"
>
查询
</a-button>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<a-button
type=
"primary"
ghost
@
click=
"resClick()"
icon=
"reload"
>
重置
</a-button>
<a-button
type=
"primary"
ghost
@
click=
"resClick()"
icon=
"reload"
>
重置
</a-button>
</el-form-item>
</el-form-item>
<el-form-item>
<a-button
type=
"primary"
ghost
@
click=
"trajectory()"
v-if=
"selection"
>
轨迹模拟
</a-button>
</el-form-item>
</el-form>
</el-form>
<el-divider
style=
"marin-top: -10px"
></el-divider>
<el-divider
style=
"marin-top: -10px"
></el-divider>
<!-- 列表区域 -->
<!-- 列表区域 -->
<!-- 主表 -->
<!-- 主表 -->
<el-table
:data=
"queueData"
style=
"width: 100%;height: 486px;overflow-y: auto;"
size=
"medium"
highlight-current-row
>
<el-table
:data=
"queueData"
style=
"width: 100%;"
size=
"medium"
highlight-current-row
@
row-click=
"rowClick"
>
<el-table-column
prop=
"palletId"
label=
"托盘号"
align=
"center"
width=
"120"
/>
<el-table-column
prop=
"palletId"
label=
"托盘号"
align=
"center"
width=
"120"
/>
<el-table-column
prop=
"aisle"
label=
"巷道"
align=
"center"
width=
"100"
/>
<el-table-column
prop=
"aisle"
label=
"巷道"
align=
"center"
width=
"100"
/>
<el-table-column
prop=
"sLayer"
label=
"起始层"
align=
"center"
width=
"100"
/>
<el-table-column
prop=
"sLayer"
label=
"起始层"
align=
"center"
width=
"100"
/>
...
@@ -129,6 +134,7 @@ export default {
...
@@ -129,6 +134,7 @@ export default {
workStatusList
:
[],
workStatusList
:
[],
// 作业队列
// 作业队列
queueData
:
[],
queueData
:
[],
selection
:
''
,
// 筛选数据
// 筛选数据
searchData
:
{
searchData
:
{
...
@@ -283,6 +289,21 @@ export default {
...
@@ -283,6 +289,21 @@ export default {
}
,
}
,
this
.
getQueuData
()
this
.
getQueuData
()
}
,
}
,
rowClick
(
value
)
{
this
.
selection
=
value
// this.selection =
}
,
trajectory
()
{
this
.
$router
.
push
(
{
path
:
'/workQueue/moveCar'
,
query
:
{
workId
:
this
.
selection
.
id
,
workTypeName
:
this
.
selection
.
workTypeName
}
}
)
}
}
,
}
,
computed
:
{
computed
:
{
...
...
src/views/workQueue/moveCar.vue
View file @
241e9c1b
...
@@ -1693,8 +1693,8 @@
...
@@ -1693,8 +1693,8 @@
<el-button
@
click=
"ruku"
>
入库
</el-button>
<el-button
@
click=
"ruku"
v-if=
"workTypeName == '入库'"
>
入库
</el-button>
<el-button
@
click=
"chuku"
>
出库
</el-button>
<el-button
@
click=
"chuku"
v-if=
"workTypeName == '出库'"
>
出库
</el-button>
<el-button
@
click=
"fuwei"
>
复位
</el-button>
<el-button
@
click=
"fuwei"
>
复位
</el-button>
...
@@ -1729,21 +1729,17 @@ export default {
...
@@ -1729,21 +1729,17 @@ export default {
move1
:
false
,
move1
:
false
,
goodsLan
:
false
,
goodsLan
:
false
,
move3
:
false
,
move3
:
false
,
goodsLan3
:
false
goodsLan3
:
false
,
workTypeName
:
''
,
workId
:
''
}
}
},
},
created
()
{
created
()
{
this
.
workTypeName
=
this
.
$route
.
query
.
workTypeName
this
.
workId
=
this
.
$route
.
query
.
workId
},
},
mounted
()
{
const
that
=
this
window
.
onresize
=
function
temp
()
{
that
.
height
=
document
.
documentElement
.
clientHeight
-
176
}
},
methods
:
{
methods
:
{
ruku
()
{
ruku
()
{
this
.
move
=
true
// 小车入库的一生走完
this
.
move
=
true
// 小车入库的一生走完
...
@@ -1788,8 +1784,24 @@ export default {
...
@@ -1788,8 +1784,24 @@ export default {
},
16000
)
},
16000
)
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
showGoods
=
false
this
.
showGoods
=
false
let
url
=
'/work/makeFinish'
var
params
=
{
workId
:
this
.
workId
}
this
.
alertWin
(
url
,
params
)
},
20000
)
},
20000
)
},
},
async
alertWin
(
url
,
params
)
{
const
{
data
:
res
}
=
await
this
.
$axios
.
get
(
url
,
{
params
})
if
(
res
.
code
===
99200
)
{
this
.
$message
.
success
(
res
.
message
)
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
},
fuwei
()
{
fuwei
()
{
this
.
move
=
false
this
.
move
=
false
this
.
moveY
=
false
this
.
moveY
=
false
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论