Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-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
pda
pda-ui
Commits
c420ffaa
Commit
c420ffaa
authored
Mar 05, 2024
by
张海景
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:修改刀模板上下机记录
parent
49f1f334
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
17 deletions
+24
-17
single.vue
src/components/toolRequest/single.vue
+1
-1
index.vue
src/views/mes/tm/toolmachinesrecord/index.vue
+16
-15
index.vue
src/views/mes/tm/toolrequestuse/index.vue
+7
-1
No files found.
src/components/toolRequest/single.vue
View file @
c420ffaa
...
...
@@ -68,7 +68,7 @@
</el-table-column>
<el-table-column
label=
"申请单编码"
width=
"12
0"
min-width=
"13
0"
align=
"center"
key=
"toolRequestCode"
prop=
"toolRequestCode"
...
...
src/views/mes/tm/toolmachinesrecord/index.vue
View file @
c420ffaa
...
...
@@ -16,8 +16,8 @@
<el-option
label=
"待上机"
value=
"3"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"是否入库"
prop=
"
inWareH
ouseStr"
>
<el-select
v-model=
"queryParams.
inWareH
ouseStr"
placeholder=
"请选择是否入库"
clearable
>
<el-form-item
label=
"是否入库"
prop=
"
wareh
ouseStr"
>
<el-select
v-model=
"queryParams.
wareh
ouseStr"
placeholder=
"请选择是否入库"
clearable
>
<el-option
label=
"是"
value=
"1"
/>
<el-option
label=
"否"
value=
"0"
/>
</el-select>
...
...
@@ -92,29 +92,28 @@
<el-table
v-loading=
"loading"
:data=
"recordList"
@
selection-change=
"handleSelectionChange"
>
<!--
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
-->
<el-table-column
label=
"申请单编码"
width=
"12
0"
align=
"center"
prop=
"toolRequestCode"
/>
<el-table-column
label=
"上下机编码"
width=
"12
0"
align=
"center"
prop=
"toolMachinesCode"
/>
<el-table-column
label=
"上下机记录编码"
width=
"150"
align=
"center"
prop=
"toolMachinesRecordCode"
/>
<el-table-column
label=
"申请单编码"
min-width=
"13
0"
align=
"center"
prop=
"toolRequestCode"
/>
<el-table-column
label=
"上下机编码"
min-width=
"15
0"
align=
"center"
prop=
"toolMachinesCode"
/>
<el-table-column
label=
"上下机记录编码"
min-
width=
"150"
align=
"center"
prop=
"toolMachinesRecordCode"
/>
<el-table-column
label=
"上下机记录id"
width=
"120"
align=
"center"
prop=
"toolMachinesRecordId"
/>
<el-table-column
label=
"工序任务id"
width=
"120"
align=
"center"
prop=
"taskId"
/>
<el-table-column
label=
"上机时间"
width=
"120"
align=
"center"
prop=
"upDate"
/>
<el-table-column
label=
"创建人"
width=
"100"
align=
"center"
prop=
"createBy"
/>
<el-table-column
label=
"更新人"
width=
"100"
align=
"center"
prop=
"updateBy"
/>
<el-table-column
label=
"创建时间"
width=
"12
0"
align=
"center"
prop=
"createTime"
/>
<el-table-column
label=
"更新时间"
width=
"12
0"
align=
"center"
prop=
"updateTime"
/>
<el-table-column
label=
"创建时间"
min-width=
"17
0"
align=
"center"
prop=
"createTime"
/>
<el-table-column
label=
"更新时间"
min-width=
"17
0"
align=
"center"
prop=
"updateTime"
/>
<el-table-column
label=
"物料名称"
width=
"150"
align=
"center"
prop=
"itemName"
/>
<el-table-column
label=
"物料编码"
width=
"150"
align=
"center"
prop=
"itemCode"
/>
<el-table-column
label=
"工装夹具台账编码"
width=
"180"
align=
"center"
prop=
"toolCode"
/>
<el-table-column
label=
"工装夹具台账名称"
width=
"180"
align=
"center"
prop=
"toolName"
/>
<el-table-column
label=
"上机状态"
width=
"120"
align=
"center"
prop=
"type"
/>
<el-table-column
label=
"上机状态"
align=
"center"
prop=
"inWareHouse"
width=
"120"
>
<template
slot-scope=
"scope"
>
<span>
{{
getTypes
(
scope
.
row
.
type
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"是否入库"
align=
"center"
prop=
"
inWareH
ouse"
width=
"180"
>
<el-table-column
label=
"是否入库"
align=
"center"
prop=
"
wareh
ouse"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
inWareH
ouse
==
'1'
?
'是'
:
'否'
}}
</span>
<span>
{{
scope
.
row
.
wareh
ouse
==
'1'
?
'是'
:
'否'
}}
</span>
</
template
>
</el-table-column>
<!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
...
...
@@ -215,7 +214,7 @@ export default {
pageSize
:
10
,
type
:
null
,
typeStr
:
null
,
inWareH
ouseStr
:
null
,
wareh
ouseStr
:
null
,
toolRequestUseItemId
:
null
,
upDate
:
null
,
downDate
:
null
,
...
...
@@ -233,11 +232,11 @@ export default {
methods
:
{
getTypes
(
type
)
{
switch
(
type
)
{
case
'1'
:
case
1
:
return
'上机'
case
'2'
:
case
2
:
return
'下机'
case
'3'
:
case
3
:
return
'待上机'
default
:
return
'--'
...
...
@@ -258,7 +257,9 @@ export default {
/** 查询刀模板上下机记录列表 */
getList
()
{
this
.
loading
=
true
;
listRecord
(
this
.
queryParams
).
then
(
response
=>
{
const
params
=
Object
.
assign
({},
this
.
queryParams
)
delete
params
.
type
listRecord
(
params
).
then
(
response
=>
{
this
.
recordList
=
response
.
rows
;
this
.
total
=
response
.
total
;
this
.
loading
=
false
;
...
...
src/views/mes/tm/toolrequestuse/index.vue
View file @
c420ffaa
...
...
@@ -190,6 +190,7 @@
<
el
-
form
-
item
label
=
"领用单编码"
prop
=
"toolRequestUseCode"
>
<
el
-
input
readonly
style
=
"width: 220px;"
v
-
model
=
"form.toolRequestUseCode"
placeholder
=
"请输入领用单编码"
/>
...
...
@@ -197,7 +198,7 @@
<
/el-col
>
<
el
-
col
:
span
=
"8"
>
<
el
-
form
-
item
label
=
"申请单"
prop
=
"toolRequestId"
>
<
el
-
input
v
-
model
=
"form.toolRequestCode"
readonly
>
<
el
-
input
style
=
"width: 220px;"
v
-
model
=
"form.toolRequestCode"
readonly
>
<
el
-
button
slot
=
"append"
icon
=
"el-icon-search"
...
...
@@ -214,6 +215,7 @@
<
el
-
col
:
span
=
"8"
>
<
el
-
form
-
item
label
=
"工序"
prop
=
"processId"
>
<
el
-
input
style
=
"width: 220px;"
v
-
model
=
"form.processName"
placeholder
=
"请输入工序"
disabled
...
...
@@ -226,6 +228,7 @@
<
el
-
col
:
span
=
"8"
>
<
el
-
form
-
item
label
=
"作业单元"
prop
=
"workunitId"
>
<
el
-
input
style
=
"width: 220px;"
v
-
model
=
"form.workunitName"
placeholder
=
"作业单元"
disabled
...
...
@@ -279,6 +282,7 @@
<
el
-
form
-
item
label
=
"申请数量"
prop
=
"requestNum"
>
<
el
-
input
disabled
style
=
"width: 220px;"
v
-
model
=
"form.requestNum"
placeholder
=
"请输入申请数量"
/>
...
...
@@ -289,6 +293,7 @@
<
el
-
form
-
item
label
=
"编排单号"
prop
=
"arrangeCode"
>
<
el
-
input
disabled
style
=
"width: 220px;"
v
-
model
=
"form.arrangeCode"
placeholder
=
"编排单号"
/>
...
...
@@ -541,6 +546,7 @@ export default {
this
.
form
.
processName
=
row
.
processName
;
this
.
form
.
workunitName
=
row
.
workunitName
;
this
.
form
.
requestDate
=
row
.
requestDate
;
this
.
form
.
arrangeCode
=
row
.
arrangeCode
;
this
.
form
.
startTime
=
row
.
startTime
;
this
.
form
.
endTime
=
row
.
endTime
;
this
.
form
.
requestNum
=
row
.
requestNum
;
...
...
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