Commit c6d584df authored by hiyonx's avatar hiyonx

Merge remote-tracking branch 'origin/dev' into dev

parents c9935464 8726ee94
<!--客户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>
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment