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
c6d584df
Commit
c6d584df
authored
Jan 23, 2024
by
hiyonx
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
c9935464
8726ee94
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
90 additions
and
0 deletions
+90
-0
productionPlan.vue
src/views/mes/md/product/components/productionPlan.vue
+85
-0
index.vue
src/views/mes/md/product/index.vue
+5
-0
No files found.
src/views/mes/md/product/components/productionPlan.vue
0 → 100644
View file @
c6d584df
<!--客户loss信息-->
<
template
>
<div
class=
"app-container"
>
<el-table
v-loading=
"loading"
:data=
"productionPlanList"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"生产方案编码"
align=
"center"
prop=
"customerName"
/>
<el-table-column
label=
"生产方案名称"
align=
"center"
prop=
"segmentCount"
/>
<el-table-column
label=
"工艺路线编码"
align=
"center"
prop=
"segmentCount"
/>
<el-table-column
label=
"工艺路线名称"
align=
"center"
prop=
"segmentCount"
/>
<el-table-column
label=
"用途编码"
align=
"center"
prop=
"segmentCount"
/>
<el-table-column
label=
"用途名称"
align=
"center"
prop=
"segmentCount"
/>
</el-table>
<pagination
v-show=
"total > 0"
:total=
"total"
:page
.
sync=
"queryParams.pageNum"
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
</div>
</
template
>
<
script
>
import
{
listProductionSolution
,
}
from
"@/api/mes/pro/productionSolution"
;
export
default
{
name
:
"ProductionPlan"
,
components
:
{
},
data
()
{
return
{
// 遮罩层
loading
:
true
,
// 选中数组
ids
:
[],
// 非单个禁用
single
:
true
,
// 非多个禁用
multiple
:
true
,
// 显示搜索条件
showSearch
:
true
,
// 总条数
total
:
0
,
// 产品生产方案表格数据
productionPlanList
:
[],
// 弹出层标题
title
:
""
,
// 是否显示弹出层
open
:
false
,
// 查询参数
queryParams
:
{
pageNum
:
1
,
pageSize
:
10
,
itemId
:
this
.
itemId
,
},
// 表单参数
form
:
{},
// 表单校验
rules
:
{},
};
},
props
:
{
optType
:
undefined
,
itemId
:
undefined
,
},
created
()
{
this
.
getList
();
},
methods
:
{
/** 查询产品loss配置列表 */
getList
()
{
this
.
loading
=
true
;
listProductionSolution
(
this
.
queryParams
).
then
((
response
)
=>
{
this
.
productionPlanList
=
response
.
rows
;
this
.
total
=
response
.
total
;
this
.
loading
=
false
;
});
},
},
};
</
script
>
src/views/mes/md/product/index.vue
View file @
c6d584df
...
...
@@ -540,6 +540,9 @@
<el-tab-pane
label=
"产品外观"
name=
"Look"
>
<Look
ref=
"Look"
:optType=
"optType"
:itemId=
"form.itemId"
></Look>
</el-tab-pane>
<el-tab-pane
label=
"生产方案"
name=
"ProductionPlan"
>
<ProductionPlan
ref=
"ProductionPlan"
:optType=
"optType"
:itemId=
"form.itemId"
></ProductionPlan>
</el-tab-pane>
<el-tab-pane
label=
"排版参数"
name=
"PublishedConf"
>
<PublishedConf
ref=
"PublishedConf"
...
...
@@ -648,6 +651,7 @@ import SaleUnit from "./components/saleUnitCon.vue";
import
Factory
from
"./components/factory.vue"
;
import
Customer
from
"./components/customer.vue"
;
import
Look
from
"./components/look.vue"
;
import
ProductionPlan
from
"./components/productionPlan.vue"
;
import
PublishedConf
from
"./components/publishedConf.vue"
;
import
FaceColor
from
"./components/faceColor.vue"
;
import
BackFaceColor
from
"./components/backFaceColor.vue"
;
...
...
@@ -672,6 +676,7 @@ export default {
Factory
,
Customer
,
Look
,
ProductionPlan
,
PublishedConf
,
FaceColor
,
BackFaceColor
,
...
...
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