|
|
|
@ -297,7 +297,7 @@
|
|
|
|
|
<el-table-column v-if="false" label="主键" align="center" prop="planId" />
|
|
|
|
|
<el-table-column width="60" align="center" label="序号" type="index"></el-table-column>
|
|
|
|
|
<el-table-column width="120" label="计划编码" align="center" prop="planCode" />
|
|
|
|
|
<el-table-column width="120" label="计划名称" align="center" prop="planName" />
|
|
|
|
|
<el-table-column width="200" label="计划名称" align="center" prop="planName" />
|
|
|
|
|
<el-table-column label="车间编码" align="center" prop="planWorkshop" />
|
|
|
|
|
<el-table-column width="150" label="车间" align="center" prop="workCenterName"/>
|
|
|
|
|
<el-table-column v-if="false" label="产线" align="center" prop="planProdLine" />
|
|
|
|
@ -384,9 +384,6 @@
|
|
|
|
|
<!-- 添加或修改点检计划对话框 -->
|
|
|
|
|
<el-dialog v-loading="planLoading" :title="title" :visible.sync="open" width="900px" append-to-body>
|
|
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
|
|
|
|
<el-form-item v-if="false" label="计划编码" prop="planCode">
|
|
|
|
|
<el-input v-model="form.planCode" placeholder="请输入计划编码" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<div class="my-step-mar">
|
|
|
|
|
<el-steps :active="spotCheckStep" finish-status="success" align-center>
|
|
|
|
|
<el-step title="点检计划基本信息"></el-step>
|
|
|
|
@ -396,12 +393,12 @@
|
|
|
|
|
<!-- 点检计划基本信息 -->
|
|
|
|
|
<div class="my-step-body" v-if="spotCheckStep==0">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-col :span="8" :offset="2">
|
|
|
|
|
<el-form-item label="计划名称">
|
|
|
|
|
<el-input v-model="form.planName" placeholder="请输入计划名称"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6" :offset="1">
|
|
|
|
|
<el-col :span="6" :offset="2">
|
|
|
|
|
<el-form-item label="循环周期">
|
|
|
|
|
<el-input v-model="form.planLoop" placeholder="请输入循环周期"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -418,8 +415,8 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item label-width="100px" label="计划状态">
|
|
|
|
|
<el-col :span="8" :offset="2">
|
|
|
|
|
<el-form-item label="计划状态">
|
|
|
|
|
<el-select v-model="form.planStatus" placeholder="计划状态" clearable>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.sys_normal_disable"
|
|
|
|
@ -430,7 +427,7 @@
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="9" :offset="2">
|
|
|
|
|
<el-col :span="8" :offset="1">
|
|
|
|
|
<el-form-item label-width="100px" label="点检开始时间">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="form.planLoopStart"
|
|
|
|
@ -450,7 +447,7 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-col :span="8" offset="2" >
|
|
|
|
|
<el-form-item label="车间">
|
|
|
|
|
<el-select @change="changeCenter" v-model="form.planWorkshop" placeholder="请选择车间" clearable>
|
|
|
|
|
<el-option
|
|
|
|
|