fix:禅道210

This commit is contained in:
shijing 2025-12-19 14:44:49 +08:00
parent 53e2d487bf
commit fd5254aee3
1 changed files with 22 additions and 2 deletions

View File

@ -136,8 +136,27 @@
</div>
</template>
</el-table-column>
<el-table-column label="班次"></el-table-column>
<el-table-column label="创建时间"></el-table-column>
<el-table-column label="班次">
<template #default="scope">
<el-select
v-if="scope.row.isEdit"
v-model="scope.row.shift"
placeholder="班次"
class="width-100"
>
<el-option
v-for="item in shiftOtions"
:key="item.id"
:label="item.name"
:value="item.id"
>
</el-option>
</el-select>
<div v-else>
<span v-if="scope.row.shift_name!==null">{{ scope.row.shift_name}}</span>
</div>
</template>
</el-table-column>
<el-table-column label="操作" fixed="right" align="center" width="150px">
<template #default="scope">
<el-button v-if="scope.row.isEdit" type="success" @click="saveMuserSubmit(scope.row)">保存</el-button>
@ -516,6 +535,7 @@ export default {
printer_name:localStorage.getItem("printer_name"),
addTemplate:{
mlog: "",
shift:"",
process: "",
equipment: "",
handle_user: "",