|
@@ -9,8 +9,20 @@
|
|
|
:activeName="activeName"
|
|
:activeName="activeName"
|
|
|
>
|
|
>
|
|
|
</productionPlan-search>
|
|
</productionPlan-search>
|
|
|
-
|
|
|
|
|
- <el-tabs v-model="activeName" type="card">
|
|
|
|
|
|
|
+ <div class="btn_box">
|
|
|
|
|
+ <el-button type="success" size="mini">齐套性检查</el-button>
|
|
|
|
|
+ <el-button type="primary" size="mini">计划分解</el-button>
|
|
|
|
|
+ <el-button type="danger" size="mini">计划行事历</el-button>
|
|
|
|
|
+ <el-button type="warning" size="mini">预警设置</el-button>
|
|
|
|
|
+ <el-button type="primary" size="mini" @click="handleMerge"
|
|
|
|
|
+ >合批</el-button
|
|
|
|
|
+ >
|
|
|
|
|
+
|
|
|
|
|
+ <el-button type="info" size="mini">延期申请</el-button>
|
|
|
|
|
+ <el-button type="info" size="mini">变更申请</el-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <el-tabs v-model="activeName" type="card" size="mini">
|
|
|
<el-tab-pane label="未发布" name="first"></el-tab-pane>
|
|
<el-tab-pane label="未发布" name="first"></el-tab-pane>
|
|
|
<el-tab-pane label="已发布" name="second"></el-tab-pane>
|
|
<el-tab-pane label="已发布" name="second"></el-tab-pane>
|
|
|
<el-tab-pane label="已变更" name="change"></el-tab-pane>
|
|
<el-tab-pane label="已变更" name="change"></el-tab-pane>
|
|
@@ -28,12 +40,6 @@
|
|
|
:cache-key="`${activeName}ProductionPlanTable`"
|
|
:cache-key="`${activeName}ProductionPlanTable`"
|
|
|
@sort-change="onSortChange"
|
|
@sort-change="onSortChange"
|
|
|
>
|
|
>
|
|
|
- <template v-slot:toolbar>
|
|
|
|
|
- <el-button type="primary" size="mini" @click="handleMerge"
|
|
|
|
|
- >合批</el-button
|
|
|
|
|
- >
|
|
|
|
|
- </template>
|
|
|
|
|
-
|
|
|
|
|
<template v-slot:batchNo="{ row }">
|
|
<template v-slot:batchNo="{ row }">
|
|
|
<el-link type="primary" :underline="false">
|
|
<el-link type="primary" :underline="false">
|
|
|
{{ row.batchNo }}
|
|
{{ row.batchNo }}
|
|
@@ -89,13 +95,10 @@
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
<template v-slot:productNum="{ row }">
|
|
<template v-slot:productNum="{ row }">
|
|
|
{{ row.productNum }} {{ row.unit }}
|
|
{{ row.productNum }} {{ row.unit }}
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
<template v-slot:productWeight="{ row }">
|
|
<template v-slot:productWeight="{ row }">
|
|
|
{{ row.productWeight }} {{ row.weightUnit }}
|
|
{{ row.productWeight }} {{ row.weightUnit }}
|
|
|
</template>
|
|
</template>
|
|
@@ -114,7 +117,7 @@
|
|
|
</span>
|
|
</span>
|
|
|
</template>
|
|
</template>
|
|
|
<!-- 操作列 -->
|
|
<!-- 操作列 -->
|
|
|
- <template v-slot:action="{ row }" >
|
|
|
|
|
|
|
+ <template v-slot:action="{ row }">
|
|
|
<el-link
|
|
<el-link
|
|
|
type="primary"
|
|
type="primary"
|
|
|
:underline="false"
|
|
:underline="false"
|
|
@@ -132,7 +135,9 @@
|
|
|
重新发布
|
|
重新发布
|
|
|
</el-link>
|
|
</el-link>
|
|
|
<el-link
|
|
<el-link
|
|
|
- v-if="row.splitBatch != 2 && !row.joinPlanCode && activeName == 'first'"
|
|
|
|
|
|
|
+ v-if="
|
|
|
|
|
+ row.splitBatch != 2 && !row.joinPlanCode && activeName == 'first'
|
|
|
|
|
+ "
|
|
|
type="primary"
|
|
type="primary"
|
|
|
:underline="false"
|
|
:underline="false"
|
|
|
@click="planEdit(row)"
|
|
@click="planEdit(row)"
|
|
@@ -152,8 +157,6 @@
|
|
|
>
|
|
>
|
|
|
拆批
|
|
拆批
|
|
|
</el-link>
|
|
</el-link>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
</template>
|
|
</template>
|
|
|
</ele-pro-table>
|
|
</ele-pro-table>
|
|
|
</el-card>
|
|
</el-card>
|
|
@@ -336,12 +339,9 @@
|
|
|
label: '销售订单号',
|
|
label: '销售订单号',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
- minWidth: 160,
|
|
|
|
|
-
|
|
|
|
|
|
|
+ minWidth: 160
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
{
|
|
{
|
|
|
prop: 'productCode',
|
|
prop: 'productCode',
|
|
|
label: '产品编码',
|
|
label: '产品编码',
|
|
@@ -397,7 +397,7 @@
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
prop: 'productNum',
|
|
prop: 'productNum',
|
|
|
- label: '计划数量' ,
|
|
|
|
|
|
|
+ label: '计划数量',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
slot: 'productNum'
|
|
slot: 'productNum'
|
|
@@ -411,8 +411,7 @@
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
prop: 'requiredFormingNum',
|
|
prop: 'requiredFormingNum',
|
|
|
- label:
|
|
|
|
|
- '要求生产数量',
|
|
|
|
|
|
|
+ label: '要求生产数量',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
slot: 'requiredFormingNum'
|
|
slot: 'requiredFormingNum'
|
|
@@ -426,7 +425,6 @@
|
|
|
slot: 'newSumOrderWeight'
|
|
slot: 'newSumOrderWeight'
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
-
|
|
|
|
|
{
|
|
{
|
|
|
prop: 'scheduleStatusName',
|
|
prop: 'scheduleStatusName',
|
|
|
label: '进度状态',
|
|
label: '进度状态',
|
|
@@ -439,36 +437,30 @@
|
|
|
prop: '',
|
|
prop: '',
|
|
|
label: '已排产数量',
|
|
label: '已排产数量',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
-
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
prop: '',
|
|
prop: '',
|
|
|
label: '未排产数量',
|
|
label: '未排产数量',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
-
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
prop: '',
|
|
prop: '',
|
|
|
label: '已生产数量',
|
|
label: '已生产数量',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
-
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
prop: '',
|
|
prop: '',
|
|
|
label: '未生产数量',
|
|
label: '未生产数量',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
{
|
|
{
|
|
|
prop: 'moCount',
|
|
prop: 'moCount',
|
|
|
label: '模数',
|
|
label: '模数',
|
|
@@ -536,7 +528,6 @@
|
|
|
return obj && obj.label;
|
|
return obj && obj.label;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
];
|
|
];
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -738,4 +729,8 @@
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
-<style lang="scss" scoped></style>
|
|
|
|
|
|
|
+<style lang="scss" scoped>
|
|
|
|
|
+ .btn_box {
|
|
|
|
|
+ margin-bottom: 6px;
|
|
|
|
|
+ }
|
|
|
|
|
+</style>
|