From 580609faeea27c0f4bcdb9afe4c8ed8cefa1bc79 Mon Sep 17 00:00:00 2001
From: TanYibin <5491541@qq.com>
Date: Mon, 17 Jul 2023 14:33:21 +0800
Subject: [PATCH] 库位比较页面状态分色显示

---
 ant-design-vue-jeecg/src/views/system/compare/CompareWcsLocation.vue     | 4 ++--
 ant-design-vue-jeecg/src/views/system/compare/CompareWcsLocationTask.vue | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ant-design-vue-jeecg/src/views/system/compare/CompareWcsLocation.vue b/ant-design-vue-jeecg/src/views/system/compare/CompareWcsLocation.vue
index d5d21e4..4436fb1 100644
--- a/ant-design-vue-jeecg/src/views/system/compare/CompareWcsLocation.vue
+++ b/ant-design-vue-jeecg/src/views/system/compare/CompareWcsLocation.vue
@@ -47,7 +47,6 @@
       </a-form>
     </div>
     <!-- 查询区域-END -->
-
     <!-- table区域-begin -->
     <div>
       <a-table
@@ -174,6 +173,8 @@ export default {
           align: 'center',
           dataIndex: 'consistencyStatus',
           key: 'consistencyStatus',
+          fixed: "right",
+          width: 100,
           scopedSlots: { customRender: 'consistencyStatus' }
         }
       ],
@@ -249,7 +250,6 @@ export default {
       }
     },
     getStatusColor(status) {
-      debugger
       const colors = {
         'empty': 'green',
         'lock': 'blue',
diff --git a/ant-design-vue-jeecg/src/views/system/compare/CompareWcsLocationTask.vue b/ant-design-vue-jeecg/src/views/system/compare/CompareWcsLocationTask.vue
index 1122922..7e134b1 100644
--- a/ant-design-vue-jeecg/src/views/system/compare/CompareWcsLocationTask.vue
+++ b/ant-design-vue-jeecg/src/views/system/compare/CompareWcsLocationTask.vue
@@ -65,6 +65,7 @@
         :pagination="ipagination"
         :loading="loading"
         @change="handleTableChange"
+        class="j-table-force-nowrap"
       >
         <span slot="taskType" slot-scope="taskType">
           <a-tag :key="taskType">
@@ -228,6 +229,8 @@ export default {
           align: 'center',
           dataIndex: 'consistencyStatus',
           key: 'consistencyStatus',
+          fixed: "right",
+          width: 100,
           scopedSlots: { customRender: 'consistencyStatus' }
         }
       ],
--
libgit2 0.22.2