|
|
@ -151,7 +151,8 @@ |
|
|
|
<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" icon="el-icon-edit-outline" @click="editEvent(row)" /> |
|
|
|
<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" icon="el-icon-edit-outline" @click="editEvent(row)" /> --> |
|
|
|
</template> |
|
|
|
</vxe-table-column> |
|
|
|
</vxe-table> |
|
|
@ -412,11 +413,13 @@ export default { |
|
|
|
let flag = false |
|
|
|
if (row.status === 40) { |
|
|
|
if (this.valstData.length > 0) { |
|
|
|
this.rowData = row |
|
|
|
this.open = true |
|
|
|
this.valstData.forEach((item) => { |
|
|
|
if (flag) return |
|
|
|
if (item.actvalue === '' || item.actvalue === 'false') { |
|
|
|
this.rowData = row |
|
|
|
this.open = true |
|
|
|
if (item.actvalue === '' || item.actvalue === false) { |
|
|
|
// this.rowData = row |
|
|
|
// this.open = true |
|
|
|
flag = true |
|
|
|
return false |
|
|
|
} |
|
|
|