From 21c99da9cd5dc4d7fe13a89d6e97236105a56894 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 09 十二月 2025 13:13:53 +0800
Subject: [PATCH] 原材料下单:待下单的订单批次号重复的高亮显示2
---
src/views/business/materialOrder/index.vue | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/src/views/business/materialOrder/index.vue b/src/views/business/materialOrder/index.vue
index 3ee3dcf..09d9476 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>
@@ -1396,11 +1396,8 @@
if (row.isFirst != 1 && row.lotBatchNoHasRepeat) {
return 'highlight-danger-row-border'
}
- return ''
- },
- changeRowClass2({ row, rowIndex }) {
- if (row.isFirst == 1) {
- return 'highlight-danger-row-border'
+ if(row.isFirst == 1){
+ return "highlight-warning-row-border";
}
return ''
},
--
Gitblit v1.9.3