| | |
| | | }" |
| | | :cell-style="{ textAlign: 'center' }" |
| | | border |
| | | height="66.5vh" |
| | | :height="'calc( 100vh - 240px)'" |
| | | style="width: 100%" |
| | | > |
| | | <el-table-column label="序号" type="index" width="80"></el-table-column> |
| | |
| | | <el-col :span="12"> |
| | | <el-form-item label="员工姓名" prop="userId"> |
| | | <el-select |
| | | :disabled="form.id == null" |
| | | :disabled="form.id && form.id+''!==''" |
| | | v-model="form.userId" |
| | | placeholder="请选择员工姓名" |
| | | size="small" |
| | |
| | | const index = this.responsibleOptions.findIndex( |
| | | (item) => item.id === val |
| | | ); |
| | | console.log(val, index); |
| | | if (index > -1) { |
| | | this.form.userName = this.responsibleOptions[index].name; |
| | | this.form.account = this.responsibleOptions[index].account; |