基础信息-班组

master
A0010407 1 year ago
parent d77b87accd
commit c89e192f1d

@ -87,6 +87,8 @@
</template>
</el-table-column>
<el-table-column label="所属产线" align="center" prop="productionLineCode" />
<el-table-column label="负责人" align="center" prop="teamLeaderName" />
<el-table-column label="班组组成人员" align="center" prop="teamMembers" />
<el-table-column label="创建人" align="center" prop="createBy" />
<el-table-column label="创建时间" align="center" prop="createDate" />
<el-table-column prop="active" label="是否启用" align="center">
@ -126,86 +128,93 @@
<el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="110px">
<el-row :gutter="10" class="mb8">
<el-col :span="12">
<el-form-item label="班组编码" prop="teamCode">
<el-input v-model="form.teamCode" placeholder="请输入班组编码" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="班组名称" prop="teamDescGlobal">
<el-input v-model="form.teamDescGlobal" placeholder="请输入班组通用名称" />
</el-form-item>
</el-col>
</el-row>
<el-col :span="12">
<el-form-item label="班组编码" prop="teamCode" style="width:450px">
<el-input v-model="form.teamCode" placeholder="请输入班组编码" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="班组名称" prop="teamDescGlobal" style="width:450px">
<el-input v-model="form.teamDescGlobal" placeholder="请输入班组通用名称" />
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10" class="mb8">
<el-col :span="12">
<el-form-item label="班组类型" prop="teamType">
<el-select v-model="form.teamType" placeholder="请选择班组">
<el-option
v-for="dict in dict.type.team_type"
:key="dict.value"
:label="dict.label"
:value="dict.value"
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-col :span="12">
<el-form-item label="班组类型" prop="teamType" >
<el-select v-model="form.teamType" placeholder="请选择班组" style="width:340px">
<el-option
v-for="dict in dict.type.team_type"
:key="dict.value"
:label="dict.label"
:value="dict.value"
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="是否启用" prop="active">
<el-select v-model="form.active" placeholder="请选择是否启用" @change="$forceUpdate()" clearable>
<el-select v-model="form.active" placeholder="请选择是否启用" @change="$forceUpdate()" clearable style="width:340px">
<el-option v-for="item in options" :key="item.active" :label="item.label" :value="item.active"></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-col>
</el-row>
<el-row :gutter="10" class="mb8">
<el-col :span="12">
<el-form-item label="工厂编码" prop="siteCode">
<el-input v-model="form.siteCode" placeholder="请输入工厂编码" />
<el-col :span="12">
<el-form-item label="工厂编码" prop="siteCode" style="width:450px">
<el-input v-model="form.siteCode" placeholder="请输入工厂编码"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="所属产线" prop="productionLineCode">
</el-col>
<el-col :span="12">
<el-form-item label="所属产线" prop="productionLineCode" style="width:450px">
<el-input v-model="form.productionLineCode" placeholder="请输入线体编码" />
</el-form-item>
</el-col>
</el-row>
</el-col>
</el-row>
<el-row :gutter="10" class="mb8">
<el-col :span="12">
<el-form-item label="班组长编码" prop="teamLeaderCode">
<el-col :span="12">
<el-form-item label="班组长编码" prop="teamLeaderCode" style="width:450px">
<el-input v-model="form.teamLeaderCode" placeholder="请输入班组长编码" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="定编岗位数量" prop="planPostQuantity">
</el-col>
<el-col :span="12">
<el-form-item label="定编岗位数量" prop="planPostQuantity" style="width:450px">
<el-input v-model="form.planPostQuantity" placeholder="请输入定编岗位数量" />
</el-form-item>
</el-col>
</el-row>
</el-col>
</el-row>
<el-row :gutter="10" class="mb8">
<el-col :span="12">
<el-form-item label="已分配岗位数量" prop="actualPostQuantity">
<el-input v-model="form.actualPostQuantity" placeholder="请输入已分配岗位数量" />
<el-col :span="12">
<el-form-item label="已分配岗位数量" prop="actualPostQuantity" style="width:450px">
<el-input v-model="form.actualPostQuantity" placeholder="请输入已分配岗位数量"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="班组属性" prop="teamProperties">
<el-input v-model="form.teamProperties" placeholder="请输入班组属性" />
</el-col>
<el-col :span="12">
<el-form-item label="班组属性" prop="teamProperties" style="width:450px">
<el-input v-model="form.teamProperties" placeholder="请输入班组属性"/>
</el-form-item>
</el-col>
</el-row>
</el-col>
</el-row>
<el-row :gutter="10" class="mb8">
<el-col :span="12">
<el-form-item label="应出勤人数" prop="attendanceQuantity">
<el-input v-model="form.attendanceQuantity" placeholder="请输入应出勤人数" />
<el-col :span="12">
<el-form-item label="应出勤人数" prop="attendanceQuantity" style="width:450px">
<el-input v-model="form.attendanceQuantity" placeholder="请输入应出勤人数"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="已分配人数" prop="assignedQuantity">
</el-col>
<el-col :span="12">
<el-form-item label="已分配人数" prop="assignedQuantity" style="width:450px">
<el-input v-model="form.assignedQuantity" placeholder="请输入已分配人数" />
</el-form-item>
</el-col>
</el-row>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="班组负责人" prop="teamLeaderName" style="width:450px">
<el-input v-model="form.teamLeaderName" placeholder="请输入班组负责人名字" />
</el-form-item>
</el-col>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>

Loading…
Cancel
Save