| src/views/safeProduction/emergencyPlanReview/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/safeProduction/hazardousMaterialsControl/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/safeProduction/emergencyPlanReview/index.vue
@@ -445,7 +445,7 @@ .then(res => { tableLoading.value = false; tableData.value = res.data.records; page.total = res.data.total; page.value.total = res.data.total; }) .catch(err => { tableLoading.value = false; src/views/safeProduction/hazardousMaterialsControl/index.vue
@@ -264,7 +264,8 @@ @selection-change="handleSafeHazardSelectionChange" style="width: 100%"> <el-table-column type="selection" width="55" /> width="55" :selectable="isSelectable" /> <el-table-column prop="code" label="危险源编码" width="180" @@ -604,6 +605,11 @@ }); }; const isSelectable = row => { // 只有库存数量大于0的行才能被选择 return Number(row.stockQty) > 0; }; const handleSafeHazardSelectionChange = selection => { // 只保留最后一个选中的项 if (selection.length > 1) {