基础信息-班次管理

master
A0010407 1 year ago
parent 02f01ad36a
commit 9c4afabb1b

@ -121,13 +121,13 @@
<!-- 添加或修改班次管理对话框 --> <!-- 添加或修改班次管理对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="100px"> <el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-form-item label="班次编码" prop="shiftCode"> <el-form-item label="班次编码" prop="shiftCode" style="width:400px">
<el-input v-model="form.shiftCode" placeholder="请输入班次编码" /> <el-input v-model="form.shiftCode" placeholder="请输入班次编码" />
</el-form-item> </el-form-item>
<el-form-item label="班次名称" prop="shiftDescGlobal"> <el-form-item label="班次名称" prop="shiftDescGlobal" style="width:400px">
<el-input v-model="form.shiftDescGlobal" placeholder="请输入班次名称" /> <el-input v-model="form.shiftDescGlobal" placeholder="请输入班次名称" />
</el-form-item> </el-form-item>
<el-form-item label="开始时间" prop="shiftStartTime"> <el-form-item label="开始时间" prop="shiftStartTime" style="width:400px">
<el-time-select <el-time-select
v-model="form.shiftStartTime" v-model="form.shiftStartTime"
:picker-options="{ :picker-options="{
@ -135,10 +135,10 @@
step: '01:00', step: '01:00',
end: '23:00' end: '23:00'
}" }"
placeholder="选择班次开始时间"> placeholder="选择班次开始时间" style="width:300px">
</el-time-select> </el-time-select>
</el-form-item> </el-form-item>
<el-form-item label="结束时间" prop="shiftEndTime"> <el-form-item label="结束时间" prop="shiftEndTime" >
<el-time-select <el-time-select
v-model="form.shiftEndTime" v-model="form.shiftEndTime"
:picker-options="{ :picker-options="{
@ -146,11 +146,11 @@
step: '01:00', step: '01:00',
end: '23:00' end: '23:00'
}" }"
placeholder="选择班次结束时间"> placeholder="选择班次结束时间" style="width:300px">
</el-time-select> </el-time-select>
</el-form-item> </el-form-item>
<el-form-item label="是否启用" prop="active"> <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:300px">
<el-option v-for="item in options" :key="item.active" :label="item.label" :value="item.active"></el-option> <el-option v-for="item in options" :key="item.active" :label="item.label" :value="item.active"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>

Loading…
Cancel
Save