Browse Source

维护工单管理优化

pull/125/head
wangxy 3 years ago
parent
commit
4e6aa56a52
1 changed files with 13 additions and 3 deletions
  1. +13
    -3
      src/views/equip/workbench/order.vue

+ 13
- 3
src/views/equip/workbench/order.vue View File

@ -126,7 +126,7 @@
</div>
<el-checkbox v-if="row.parameter === 'CHECK_BOX'"
v-model="row.actvalue"
:disabled="row.status !== 40"
:disabled="row.status !== 40 || row.status === 80"
@change="editCheck(row)" />
</template>
</vxe-table-column>
@ -147,7 +147,7 @@
<vxe-table-column field="action" :title="getColumnName('action')" width="100" show-overflow>
<template v-slot="{ row }">
<!--父订单状态40可编辑-->
<vxe-button type="text" :disabled="row.status === 40 && row.parameter === 'CHECK_BOX'" icon="el-icon-edit-outline" @click="editEvent(row)" />
<vxe-button type="text" :disabled="(row.status === 40 && row.parameter === 'CHECK_BOX') || row.status === 80" icon="el-icon-edit-outline" @click="editEvent(row)" />
<!-- <vxe-button type="text" :disabled="row.status !== 40" icon="el-icon-edit-outline" @click="editEvent(row)" /> -->
</template>
</vxe-table-column>
@ -434,7 +434,17 @@ export default {
}
})
this.getList()
}
} else {
//
await this.setValstData(row.maintwoid)
if (this.valstData.length > 0) {
this.rowData = row
this.open = true
} else {
this.open = true
return
}
}
},
/** 搜索按钮操作 */
handleQuery() {


Loading…
Cancel
Save