From 5216208ce29782192296d93e55abd6f107b850d1 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 17 十二月 2025 10:19:47 +0800
Subject: [PATCH] 原材料下单:待下单的订单批次号重复的高亮显示3
---
src/views/business/materialOrder/index.vue | 17 +++++++----------
1 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/src/views/business/materialOrder/index.vue b/src/views/business/materialOrder/index.vue
index 3ee3dcf..0b4d0cf 100644
--- a/src/views/business/materialOrder/index.vue
+++ b/src/views/business/materialOrder/index.vue
@@ -82,25 +82,25 @@
<!--妫�楠屼腑-->
<div class="table">
<lims-table :tableData="tableData1" :column="column1" v-if="tabIndex === 1" :isSelection="true"
- :rowClassName="changeRowClass2" :handleSelectionChange="selectMethod" @pagination="pagination1"
+ :rowClassName="changeRowClass" :handleSelectionChange="selectMethod" @pagination="pagination1"
:height="'calc(100vh - 290px)'" key="tableData1" :page="page1" :tableLoading="tableLoading1"></lims-table>
</div>
<!--宸叉楠�-->
<div class="table">
<lims-table :tableData="tableData2" :column="column2" v-if="tabIndex === 2" :isSelection="true"
- :rowClassName="changeRowClass2" :handleSelectionChange="selectMethod" @pagination="pagination2"
+ :rowClassName="changeRowClass" :handleSelectionChange="selectMethod" @pagination="pagination2"
:height="'calc(100vh - 290px)'" key="tableData2" :page="page2" :tableLoading="tableLoading2"></lims-table>
</div>
<!--鍏ㄩ儴-->
<div class="table">
<lims-table :tableData="tableData3" :column="column3" v-if="tabIndex === 3" :isSelection="true"
- :rowClassName="changeRowClass2" :handleSelectionChange="selectMethod" @pagination="pagination3"
+ :rowClassName="changeRowClass" :handleSelectionChange="selectMethod" @pagination="pagination3"
:height="'calc(100vh - 290px)'" key="tableData3" :page="page3" :tableLoading="tableLoading3"></lims-table>
</div>
<!--瀛e害妫�楠�-->
<div class="table">
<lims-table :tableData="tableData4" :column="column4" v-if="tabIndex === 4" :isSelection="true"
- :rowClassName="changeRowClass2" :handleSelectionChange="selectMethod" @pagination="pagination4"
+ :rowClassName="changeRowClass" :handleSelectionChange="selectMethod" @pagination="pagination4"
:height="'calc(100vh - 290px)'" key="tableData4" :page="page4" :tableLoading="tableLoading4"></lims-table>
</div>
</div>
@@ -1394,13 +1394,10 @@
},
changeRowClass({ row, rowIndex }) {
if (row.isFirst != 1 && row.lotBatchNoHasRepeat) {
- return 'highlight-danger-row-border'
+ return 'highlight-warning-row-border'
}
- return ''
- },
- changeRowClass2({ row, rowIndex }) {
- if (row.isFirst == 1) {
- return 'highlight-danger-row-border'
+ if(row.isFirst == 1){
+ return "highlight-danger-row-border";
}
return ''
},
--
Gitblit v1.9.3