|
|
|
@ -9,10 +9,12 @@
|
|
|
|
|
<!-- <el-input v-model="queryParams.productOrderId" placeholder="请输入生产订单ID" clearable @keyup.enter="handleQuery" />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<el-form-item label='计划编号' prop='planCode'>
|
|
|
|
|
<el-input v-model='queryParams.planCode' placeholder='请输入计划编号' clearable @keyup.enter='handleQuery' />
|
|
|
|
|
<el-input v-model='queryParams.planCode' placeholder='请输入计划编号' clearable
|
|
|
|
|
@keyup.enter='handleQuery' />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label='物料名称' prop='materialName'>
|
|
|
|
|
<el-input v-model='queryParams.materialName' placeholder='请输入物料名称' clearable @keyup.enter='handleQuery' />
|
|
|
|
|
<el-input v-model='queryParams.materialName' placeholder='请输入物料名称' clearable
|
|
|
|
|
@keyup.enter='handleQuery' />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<!-- <el-form-item label="物料BOM" prop="materialBomId">-->
|
|
|
|
|
<!-- <el-input v-model="queryParams.materialBomId" placeholder="请输入物料BOM" clearable @keyup.enter="handleQuery" />-->
|
|
|
|
@ -113,7 +115,8 @@
|
|
|
|
|
<el-table v-loading='loading' :data='planInfoList' @selection-change='handleSelectionChange'>
|
|
|
|
|
<el-table-column type='selection' width='55' align='center' />
|
|
|
|
|
<el-table-column label='主键标识' align='center' prop='planId' v-if='columns[0].visible' />
|
|
|
|
|
<el-table-column label='生产订单ID' align='center' prop='productOrderId' v-if='columns[2].visible' width='100' />
|
|
|
|
|
<el-table-column label='生产订单ID' align='center' prop='productOrderId' v-if='columns[2].visible'
|
|
|
|
|
width='100' />
|
|
|
|
|
<el-table-column label='销售订单ID' align='center' prop='saleOrderId' v-if='columns[3].visible' />
|
|
|
|
|
<el-table-column label='销售订单编号' align='center' prop='saleorderCode' v-if='columns[4].visible' />
|
|
|
|
|
<el-table-column label='计划编号' align='center' prop='planCode' v-if='columns[5].visible' width='120' />
|
|
|
|
@ -122,8 +125,10 @@
|
|
|
|
|
<el-table-column label='物料BOM' align='center' prop='materialBomName' v-if='columns[8].visible' width='160' />
|
|
|
|
|
<el-table-column label='工序名称' align='center' prop='processName' v-if='columns[9].visible' />
|
|
|
|
|
<el-table-column label='顺序' align='center' prop='processOrder' v-if='columns[10].visible' />
|
|
|
|
|
<el-table-column label='上一工序ID' align='center' prop='lastProcessId' v-if='columns[11].visible' width='100' />
|
|
|
|
|
<el-table-column label='最后工序标识' align='center' prop='finalProcessFlag' v-if='columns[12].visible' width='110'>
|
|
|
|
|
<el-table-column label='上一工序ID' align='center' prop='lastProcessId' v-if='columns[11].visible'
|
|
|
|
|
width='100' />
|
|
|
|
|
<el-table-column label='最后工序标识' align='center' prop='finalProcessFlag' v-if='columns[12].visible'
|
|
|
|
|
width='110'>
|
|
|
|
|
<template #default='scope'>
|
|
|
|
|
<dict-tag :options='active_flag' :value='scope.row.finalProcessFlag' />
|
|
|
|
|
</template>
|
|
|
|
@ -148,7 +153,8 @@
|
|
|
|
|
<span>{{ parseTime(scope.row.planEndTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label='实际开始时间' align='center' prop='realBeginTime' width='180' v-if='columns[21].visible'>
|
|
|
|
|
<el-table-column label='实际开始时间' align='center' prop='realBeginTime' width='180'
|
|
|
|
|
v-if='columns[21].visible'>
|
|
|
|
|
<template #default='scope'>
|
|
|
|
|
<span>{{ parseTime(scope.row.realBeginTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
|
|
|
|
|
</template>
|
|
|
|
@ -226,7 +232,8 @@
|
|
|
|
|
</el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label='物料BOM' prop='materialBoMName'>
|
|
|
|
|
<el-input v-model='form.materialBoMName' placeholder='请点击检索物料BOM' @click='handleMaterialBomAdd' readonly>
|
|
|
|
|
<el-input v-model='form.materialBoMName' placeholder='请点击检索物料BOM' @click='handleMaterialBomAdd'
|
|
|
|
|
readonly>
|
|
|
|
|
<template #append>
|
|
|
|
|
<el-icon class='el-input__icon'>
|
|
|
|
|
<search />
|
|
|
|
@ -296,14 +303,14 @@
|
|
|
|
|
placeholder='请选择计划时间'>
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<!-- <el-form-item label='计划结束时间' prop='planEndTime'>-->
|
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
|
<!-- v-model='form.planEndTime'-->
|
|
|
|
|
<!-- type='datetime'-->
|
|
|
|
|
<!-- value-format='YYYY-MM-DD HH:mm:ss'-->
|
|
|
|
|
<!-- placeholder='请选择计划结束时间'>-->
|
|
|
|
|
<!-- </el-date-picker>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item label='计划结束时间' prop='planEndTime'>-->
|
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
|
<!-- v-model='form.planEndTime'-->
|
|
|
|
|
<!-- type='datetime'-->
|
|
|
|
|
<!-- value-format='YYYY-MM-DD HH:mm:ss'-->
|
|
|
|
|
<!-- placeholder='请选择计划结束时间'>-->
|
|
|
|
|
<!-- </el-date-picker>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item label="附件信息" prop="attachId">-->
|
|
|
|
|
<!-- <el-input v-model="form.attachId" placeholder="请输入附件信息" />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
@ -422,14 +429,14 @@
|
|
|
|
|
placeholder='请选择计划时间'>
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<!-- <el-form-item label='计划结束时间' prop='planEndTime'>-->
|
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
|
<!-- v-model='form.planEndTime'-->
|
|
|
|
|
<!-- type='date'-->
|
|
|
|
|
<!-- value-format='YYYY-MM-DD HH:mm:ss'-->
|
|
|
|
|
<!-- placeholder='请选择计划结束时间'>-->
|
|
|
|
|
<!-- </el-date-picker>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item label='计划结束时间' prop='planEndTime'>-->
|
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
|
<!-- v-model='form.planEndTime'-->
|
|
|
|
|
<!-- type='date'-->
|
|
|
|
|
<!-- value-format='YYYY-MM-DD HH:mm:ss'-->
|
|
|
|
|
<!-- placeholder='请选择计划结束时间'>-->
|
|
|
|
|
<!-- </el-date-picker>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<el-form-item label='班组' prop='classTeamId'>
|
|
|
|
|
<el-select v-model='form.classTeamId' placeholder='请选择班组'>
|
|
|
|
|
<el-option
|
|
|
|
@ -505,14 +512,14 @@
|
|
|
|
|
placeholder='请选择计划时间'>
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<!-- <el-form-item label='计划结束时间' prop='planEndTime'>-->
|
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
|
<!-- v-model='form.planEndTime'-->
|
|
|
|
|
<!-- type='date'-->
|
|
|
|
|
<!-- value-format='YYYY-MM-DD HH:mm:ss'-->
|
|
|
|
|
<!-- placeholder='请选择计划结束时间'>-->
|
|
|
|
|
<!-- </el-date-picker>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item label='计划结束时间' prop='planEndTime'>-->
|
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
|
<!-- v-model='form.planEndTime'-->
|
|
|
|
|
<!-- type='date'-->
|
|
|
|
|
<!-- value-format='YYYY-MM-DD HH:mm:ss'-->
|
|
|
|
|
<!-- placeholder='请选择计划结束时间'>-->
|
|
|
|
|
<!-- </el-date-picker>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<el-form-item label='班组' prop='classTeamId'>
|
|
|
|
|
<el-select v-model='form.classTeamId' placeholder='请选择班组'>
|
|
|
|
|
<el-option
|
|
|
|
@ -547,7 +554,12 @@
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
<!-- 批量添加硫化计划信息对话框 -->
|
|
|
|
|
<el-dialog :title='vulBatchDialog.title' v-model='vulBatchDialog.visible' width='1200px' append-to-body>
|
|
|
|
|
<el-dialog v-model='vulBatchDialog.visible' width='1200px' append-to-body>
|
|
|
|
|
<template #header="{ close, titleId, titleClass }">
|
|
|
|
|
<div class="my-header">
|
|
|
|
|
{{ vulBatchDialog.title }}
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<el-container style='height: 500px; border: 1px solid #eee'>
|
|
|
|
|
<div style='width: 400px; height: 100%; overflow: auto'>
|
|
|
|
|
<el-table v-loading='loading' :data='prodBaseMachineInfoList'
|
|
|
|
@ -564,7 +576,8 @@
|
|
|
|
|
<el-row :gutter='10' class='mb8'>
|
|
|
|
|
<el-col :span='12'>
|
|
|
|
|
<el-form-item label='物料名称' prop='materialId'>
|
|
|
|
|
<el-input v-model='form.materialName' placeholder='请点击检索物料' @click='handleMaterialAdd' readonly>
|
|
|
|
|
<el-input v-model='form.materialName' placeholder='请点击检索物料' @click='handleMaterialAdd'
|
|
|
|
|
readonly>
|
|
|
|
|
<template #append>
|
|
|
|
|
<el-icon class='el-input__icon'>
|
|
|
|
|
<search />
|
|
|
|
@ -575,7 +588,8 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span='12'>
|
|
|
|
|
<el-form-item label='物料BOM' prop='materialBoMName'>
|
|
|
|
|
<el-input v-model='form.materialBoMName' placeholder='请点击检索物料BOM' @click='handleMaterialBomAdd'
|
|
|
|
|
<el-input v-model='form.materialBoMName' placeholder='请点击检索物料BOM'
|
|
|
|
|
@click='handleMaterialBomAdd'
|
|
|
|
|
readonly>
|
|
|
|
|
<template #append>
|
|
|
|
|
<el-icon class='el-input__icon'>
|
|
|
|
@ -634,14 +648,14 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span='12'>
|
|
|
|
|
<!-- <el-form-item label='计划结束时间' prop='planEndTime'>-->
|
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
|
<!-- v-model='form.planEndTime'-->
|
|
|
|
|
<!-- type='date'-->
|
|
|
|
|
<!-- value-format='YYYY-MM-DD HH:mm:ss'-->
|
|
|
|
|
<!-- placeholder='请选择计划结束时间'>-->
|
|
|
|
|
<!-- </el-date-picker>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item label='计划结束时间' prop='planEndTime'>-->
|
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
|
<!-- v-model='form.planEndTime'-->
|
|
|
|
|
<!-- type='date'-->
|
|
|
|
|
<!-- value-format='YYYY-MM-DD HH:mm:ss'-->
|
|
|
|
|
<!-- placeholder='请选择计划结束时间'>-->
|
|
|
|
|
<!-- </el-date-picker>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-form-item label='班组' prop='classTeamId'>
|
|
|
|
@ -1209,3 +1223,9 @@ onMounted(() => {
|
|
|
|
|
// }
|
|
|
|
|
// );
|
|
|
|
|
</script>
|
|
|
|
|
<style>
|
|
|
|
|
.my-header {
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|