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
34ce6fa5
Commit
34ce6fa5
authored
Apr 23, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
领料申请页面修改
parent
e71445cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
9 deletions
+19
-9
index.vue
src/views/mes/pro/request/index.vue
+19
-9
No files found.
src/views/mes/pro/request/index.vue
View file @
34ce6fa5
...
...
@@ -121,17 +121,17 @@
<el-table
v-loading=
"loading"
:data=
"materialRequestList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"产品编号"
align=
"center"
prop=
"itemCode"
/>
<el-table-column
label=
"产品名称"
align=
"center"
prop=
"itemName"
/>
<el-table-column
label=
"生产工单"
align=
"center"
prop=
"workorderCode"
/>
<el-table-column
label=
"工作单元"
align=
"center"
prop=
"workunitName"
/>
<el-table-column
label=
"申请单号"
align=
"center"
prop=
"applyNo"
/>
<el-table-column
label=
"产品编号"
align=
"center"
prop=
"itemCode"
width=
"150"
/>
<el-table-column
label=
"产品名称"
align=
"center"
prop=
"itemName"
width=
"100"
/>
<el-table-column
label=
"生产工单"
align=
"center"
prop=
"workorderCode"
width=
"150"
/>
<el-table-column
label=
"工作单元"
align=
"center"
prop=
"workunitName"
width=
"100"
/>
<el-table-column
label=
"申请单号"
align=
"center"
prop=
"applyNo"
width=
"150"
/>
<el-table-column
label=
"领料类型"
align=
"center"
prop=
"applyType"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.pro_requisition_type"
:value=
"scope.row.applyType"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"编排单号"
align=
"center"
prop=
"arrangeCode"
/>
<el-table-column
label=
"编排单号"
align=
"center"
prop=
"arrangeCode"
width=
"150"
/>
<el-table-column
label=
"领用数量"
align=
"center"
prop=
"applyNum"
/>
<el-table-column
label=
"创建人"
align=
"center"
prop=
"createBy"
/>
<el-table-column
label=
"领料方式"
align=
"center"
prop=
"materialType"
>
...
...
@@ -139,6 +139,12 @@
<dict-tag
:options=
"dict.type.pro_material_from"
:value=
"scope.row.materialType"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"是否结案"
align=
"center"
prop=
"windCase"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.sys_yes_no"
:value=
"scope.row.windCase"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"已发放数量"
align=
"center"
prop=
"grantNum"
/>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
width=
"180"
>
<!-- <template slot-scope="scope">
<span>{{ parseTime(scope.row.CreateTime, '{y}-{m}-{d}') }}</span>
...
...
@@ -146,7 +152,7 @@
</el-table-column>
<el-table-column
label=
"预开始时间"
align=
"center"
prop=
"startTime"
width=
"180"
/>
<el-table-column
label=
"预结束时间"
align=
"center"
prop=
"endTime"
width=
"180"
/>
<el-table-column
label=
"操作"
width=
"
100"
align=
"center"
class-name=
"small-padding fixed-width
"
>
<el-table-column
label=
"操作"
width=
"
80"
align=
"center"
class-name=
"small-padding fixed-width"
fixed=
"right
"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
...
...
@@ -263,7 +269,7 @@ import { listMaterialRequest, getMaterialRequest, delMaterialRequest, addMateria
export
default
{
name
:
"MaterialRequest"
,
dicts
:
[
'pro_requisition_type'
,
'pro_material_from'
],
dicts
:
[
'pro_requisition_type'
,
'pro_material_from'
,
'sys_yes_no'
],
data
()
{
return
{
// 遮罩层
...
...
@@ -302,6 +308,8 @@ export default {
attr4
:
null
,
workorderCode
:
null
,
WorkunitName
:
null
,
windCase
:
null
,
grantNum
:
null
,
},
// 表单参数
form
:
{},
...
...
@@ -357,7 +365,9 @@ export default {
createBy
:
null
,
createTime
:
null
,
updateBy
:
null
,
updateTime
:
null
};
updateTime
:
null
,
windCase
:
null
,
grantNum
:
null
,
};
this
.
resetForm
(
"form"
);
},
...
...
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