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
92f14b29
Commit
92f14b29
authored
Mar 13, 2024
by
张海景
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:修改刀模版改成刀模板
parent
956819fd
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
29 additions
and
29 deletions
+29
-29
warehouse.js
src/api/mes/tm/warehouse.js
+3
-3
index.vue
src/components/TmTool/index.vue
+1
-1
index.vue
src/views/mes/tm/toolmachinesrecord/index.vue
+4
-4
index.vue
src/views/mes/tm/toolrequest/index.vue
+7
-7
index.vue
src/views/mes/tm/toolrequestlist/index.vue
+9
-9
index.vue
src/views/mes/tm/toolrequestuse/index.vue
+1
-1
index.vue
src/views/mes/tm/warehouse/index.vue
+3
-3
selectmachinesrecord.vue
src/views/mes/tm/warehouse/selectmachinesrecord.vue
+1
-1
No files found.
src/api/mes/tm/warehouse.js
View file @
92f14b29
import
request
from
'@/utils/request'
// 查询刀模
版
入库列表
// 查询刀模
板
入库列表
export
function
lisWoreHouse
(
query
)
{
return
request
({
url
:
"/md/warehouse/list"
,
...
...
@@ -9,7 +9,7 @@ export function lisWoreHouse(query) {
});
}
// 查询刀模
版
入库详情列表
// 查询刀模
板
入库详情列表
export
function
lisWoreHouseDetail
(
query
)
{
return
request
({
url
:
`/md/warehouse/item/list`
,
...
...
@@ -18,7 +18,7 @@ export function lisWoreHouseDetail(query) {
});
}
// 新增刀模
版
入库
// 新增刀模
板
入库
export
function
addWoreHouse
(
data
)
{
return
request
({
url
:
"/md/warehouse"
,
...
...
src/components/TmTool/index.vue
View file @
92f14b29
<
template
>
<el-dialog
title=
"刀模
版
具选择"
title=
"刀模
板
具选择"
v-if=
"showFlag"
:visible
.
sync=
"showFlag"
:modal=
"true"
...
...
src/views/mes/tm/toolmachinesrecord/index.vue
View file @
92f14b29
...
...
@@ -211,7 +211,7 @@ export default {
showSearch
:
true
,
// 总条数
total
:
0
,
// 刀模
版
上下机记录表格数据
// 刀模
板
上下机记录表格数据
recordList
:
[],
// 弹出层标题
title
:
""
,
...
...
@@ -257,7 +257,7 @@ export default {
handleInWareHouse
(
e
)
{
console
.
log
(
e
,
'House'
)
},
/** 查询刀模
版
上下机记录列表 */
/** 查询刀模
板
上下机记录列表 */
getList
()
{
this
.
loading
=
true
;
const
params
=
Object
.
assign
({},
this
.
queryParams
)
...
...
@@ -308,7 +308,7 @@ export default {
handleAdd
()
{
this
.
reset
();
this
.
open
=
true
;
this
.
title
=
"添加刀模
版
上下机记录"
;
this
.
title
=
"添加刀模
板
上下机记录"
;
},
/** 修改按钮操作 */
handleUpdate
(
row
)
{
...
...
@@ -346,7 +346,7 @@ export default {
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
toolMachinesRecordIds
=
row
.
toolMachinesRecordId
||
this
.
ids
;
this
.
$modal
.
confirm
(
'是否确认删除刀模
版
上下机记录编号为"'
+
toolMachinesRecordIds
+
'"的数据项?'
).
then
(
function
()
{
this
.
$modal
.
confirm
(
'是否确认删除刀模
板
上下机记录编号为"'
+
toolMachinesRecordIds
+
'"的数据项?'
).
then
(
function
()
{
return
delRecord
(
toolMachinesRecordIds
);
}).
then
(()
=>
{
this
.
getList
();
...
...
src/views/mes/tm/toolrequest/index.vue
View file @
92f14b29
...
...
@@ -181,7 +181,7 @@
@
pagination
=
"getList"
/>
<!--
添加或修改刀模
版
申请单对话框
-->
<!--
添加或修改刀模
板
申请单对话框
-->
<
el
-
dialog
v
-
if
=
"open"
:
destroy
-
on
-
close
=
"true"
:
title
=
"title"
:
visible
.
sync
=
"open"
width
=
"960px"
append
-
to
-
body
:
close
-
on
-
click
-
modal
=
"false"
>
<
el
-
form
ref
=
"form"
:
model
=
"form"
:
rules
=
"rules"
label
-
width
=
"100px"
>
<
el
-
row
>
...
...
@@ -257,7 +257,7 @@
<
el
-
input
v
-
model
=
"form.arrangeCode"
placeholder
=
"请输入编排单号"
/>
<
/el-form-item> --
>
<
/el-form
>
<
el
-
divider
content
-
position
=
"center"
>
刀模
版
申请详细
<
/el-divider
>
<
el
-
divider
content
-
position
=
"center"
>
刀模
板
申请详细
<
/el-divider
>
<
el
-
card
shadow
=
"always"
class
=
"box-card"
>
<
itemline
ref
=
"line"
:
quantity
=
"form.quantity"
:
toolRequestId
=
"form.toolRequestId"
:
taskId
=
"form.taskWorkunitId"
:
optType
=
"optType"
@
sum
=
"handleSumNum"
><
/itemline
>
<
/el-card
>
...
...
@@ -328,7 +328,7 @@ export default {
showSearch
:
true
,
// 总条数
total
:
0
,
// 刀模
版
申请单表格数据
// 刀模
板
申请单表格数据
tmToolRequestList
:
[],
// 弹出层标题
title
:
""
,
...
...
@@ -386,7 +386,7 @@ export default {
pdf_path
:
'http://192.168.23.19:8081/static/123.pdf'
,
}
);
}
,
/** 查询刀模
版
申请单列表 */
/** 查询刀模
板
申请单列表 */
getList
()
{
this
.
loading
=
true
;
listTmToolRequest
(
this
.
queryParams
).
then
(
response
=>
{
...
...
@@ -465,7 +465,7 @@ export default {
handleAdd
()
{
this
.
reset
()
this
.
gCode
()
this
.
title
=
'添加刀模
版
申请单'
this
.
title
=
'添加刀模
板
申请单'
this
.
open
=
true
;
this
.
optType
=
"add"
}
,
...
...
@@ -500,7 +500,7 @@ export default {
getTmToolRequest
(
toolRequestId
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
this
.
open
=
true
;
this
.
title
=
"修改刀模
版
申请单"
;
this
.
title
=
"修改刀模
板
申请单"
;
}
);
}
,
/** 提交按钮 */
...
...
@@ -534,7 +534,7 @@ export default {
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
toolRequestIds
=
row
.
toolRequestId
||
this
.
ids
;
this
.
$modal
.
confirm
(
'是否确认删除刀模
版
申请单编号为"'
+
toolRequestIds
+
'"的数据项?'
).
then
(
function
()
{
this
.
$modal
.
confirm
(
'是否确认删除刀模
板
申请单编号为"'
+
toolRequestIds
+
'"的数据项?'
).
then
(
function
()
{
return
delTmToolRequest
(
toolRequestIds
);
}
).
then
(()
=>
{
this
.
getList
();
...
...
src/views/mes/tm/toolrequestlist/index.vue
View file @
92f14b29
...
...
@@ -108,14 +108,14 @@
@
pagination=
"getList"
/>
<!-- 添加或修改刀模
版
上下机记录对话框 -->
<!-- 添加或修改刀模
板
上下机记录对话框 -->
<!-- <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="刀模
版
上下机主表ID" prop="toolMachinesId">
<el-input v-model="form.toolMachinesId" placeholder="请输入刀模
版
上下机主表ID" />
<el-form-item label="刀模
板
上下机主表ID" prop="toolMachinesId">
<el-input v-model="form.toolMachinesId" placeholder="请输入刀模
板
上下机主表ID" />
</el-form-item>
<el-form-item label="刀模
版
领用单附表id" prop="toolRequestUseItemId">
<el-input v-model="form.toolRequestUseItemId" placeholder="请输入刀模
版
领用单附表id" />
<el-form-item label="刀模
板
领用单附表id" prop="toolRequestUseItemId">
<el-input v-model="form.toolRequestUseItemId" placeholder="请输入刀模
板
领用单附表id" />
</el-form-item>
<el-form-item label="上下机类型(1上机2下机)" prop="type">
<el-select v-model="form.type" placeholder="请选择上下机类型(1上机2下机)">
...
...
@@ -166,7 +166,7 @@ export default {
showSearch
:
true
,
// 总条数
total
:
0
,
// 刀模
版
上下机记录表格数据
// 刀模
板
上下机记录表格数据
recordList
:
[],
// 弹出层标题
title
:
""
,
...
...
@@ -234,7 +234,7 @@ export default {
handleAdd
()
{
this
.
reset
();
this
.
open
=
true
;
this
.
title
=
"添加刀模
版
上下机记录"
;
this
.
title
=
"添加刀模
板
上下机记录"
;
},
/** 修改按钮操作 */
handleUpdate
(
row
)
{
...
...
@@ -243,7 +243,7 @@ export default {
getRecord
(
toolMachinesRecordId
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
this
.
open
=
true
;
this
.
title
=
"修改刀模
版
上下机记录"
;
this
.
title
=
"修改刀模
板
上下机记录"
;
});
},
/** 提交按钮 */
...
...
@@ -269,7 +269,7 @@ export default {
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
toolMachinesRecordIds
=
row
.
toolMachinesRecordId
||
this
.
ids
;
this
.
$modal
.
confirm
(
'是否确认删除刀模
版
上下机记录编号为"'
+
toolMachinesRecordIds
+
'"的数据项?'
).
then
(
function
()
{
this
.
$modal
.
confirm
(
'是否确认删除刀模
板
上下机记录编号为"'
+
toolMachinesRecordIds
+
'"的数据项?'
).
then
(
function
()
{
return
delRecord
(
toolMachinesRecordIds
);
}).
then
(()
=>
{
this
.
getList
();
...
...
src/views/mes/tm/toolrequestuse/index.vue
View file @
92f14b29
...
...
@@ -302,7 +302,7 @@
<
/el-row
>
<
/el-form
>
<
el
-
divider
content
-
position
=
"left"
>
申请单刀模
版
具数据
<
/el-divider
>
<
el
-
divider
content
-
position
=
"left"
>
申请单刀模
板
具数据
<
/el-divider
>
<
el
-
table
:
data
=
"tmToolRequestList"
>
<
el
-
table
-
column
label
=
"物料"
prop
=
"itemName"
/>
<
el
-
table
-
column
label
=
"数量"
prop
=
"allQuantity"
/>
...
...
src/views/mes/tm/warehouse/index.vue
View file @
92f14b29
...
...
@@ -128,7 +128,7 @@ export default {
showSearch
:
true
,
// 总条数
total
:
0
,
// 刀模
版
上下机记录表格数据
// 刀模
板
上下机记录表格数据
recordList
:
[],
// 弹出层标题
title
:
""
,
...
...
@@ -176,7 +176,7 @@ export default {
handleInWareHouse
(
e
)
{
console
.
log
(
e
,
'House'
)
},
/** 查询刀模
版
上下机记录列表 */
/** 查询刀模
板
上下机记录列表 */
getList
()
{
this
.
loading
=
true
;
const
params
=
Object
.
assign
({},
this
.
queryParams
)
...
...
@@ -299,7 +299,7 @@ export default {
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
toolMachinesRecordIds
=
row
.
toolMachinesRecordId
||
this
.
ids
;
this
.
$modal
.
confirm
(
'是否确认删除刀模
版
上下机记录编号为"'
+
toolMachinesRecordIds
+
'"的数据项?'
).
then
(
function
()
{
this
.
$modal
.
confirm
(
'是否确认删除刀模
板
上下机记录编号为"'
+
toolMachinesRecordIds
+
'"的数据项?'
).
then
(
function
()
{
return
delRecord
(
toolMachinesRecordIds
);
}).
then
(()
=>
{
this
.
getList
();
...
...
src/views/mes/tm/warehouse/selectmachinesrecord.vue
View file @
92f14b29
<
template
>
<el-dialog
title=
"请选择刀模
版
入库申请单"
title=
"请选择刀模
板
入库申请单"
v-if=
"showFlag"
:visible
.
sync=
"showFlag"
:modal=
"true"
...
...
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