优化: 标签绑定管理-已绑定状态不能再次勾选绑定, 类型管理-维修员 资产属性 回显问题

This commit is contained in:
binbin_pan 2024-06-17 09:58:45 +08:00
parent aaf91518ea
commit 1745146eee
2 changed files with 8 additions and 1 deletions

View File

@ -396,6 +396,7 @@
<el-select
v-model="form.propId"
filterable
clearable
placeholder="请选择资产属性"
style="width: 100%"
>
@ -856,6 +857,12 @@ export default {
this.reset()
const typeId = row.typeId || this.ids
getMaType(typeId).then((response) => {
if (response.data.propId == 0) {
response.data.propId = null
}
if (response.data.repairUserId == 0) {
response.data.repairUserId = null
}
this.form = response.data
if (this.form.documentUrl) {
let file = {

View File

@ -182,7 +182,7 @@
:data="labelList"
@selection-change="handleSelectionChange"
>
<el-table-column type="selection" width="55" align="center" />
<el-table-column type="selection" width="55" align="center" :selectable="(row, index) => row.status != '1'" />
<el-table-column
align="center"
label="序号"