From f51582d5b4b498f28513f215f91828ef181df4a1 Mon Sep 17 00:00:00 2001
From: Huangxiaoqiang-03 <1247017146@qq.com>
Date: 星期三, 06 十一月 2024 17:16:09 +0800
Subject: [PATCH] 1

---
 代码管理/WMS/WIDESEA_WMSClient/src/extension/basic/extend/GetLocationStatus.vue |   46 ++++++++++++++++++++++++++++++----------------
 1 files changed, 30 insertions(+), 16 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/basic/extend/GetLocationStatus.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/basic/extend/GetLocationStatus.vue"
index 84c031e..9e14d8e 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/basic/extend/GetLocationStatus.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/basic/extend/GetLocationStatus.vue"
@@ -120,6 +120,7 @@
                     type: "datetime",
                     width: 160,
                     align: "left",
+                    sort: true,
                 },
                 {
                     field: "modifier",
@@ -136,6 +137,7 @@
                     width: 160,
                     align: "left",
                     hidden: true,
+                    sort: true,
                 },
                 {
                     field: "remark",
@@ -146,6 +148,18 @@
                     hidden: true,
                 },
             ],
+            paginations: {
+                sort: "CreateDate",
+                order: "desc",
+                Foots: "",
+                total: 0,
+                // 2020.08.29澧炲姞鑷畾涔夊垎椤垫潯澶у皬
+                sizes: [30, 60, 100, 120],
+                size: 30, // 榛樿鍒嗛〉澶у皬
+                Wheres: [],
+                page: 1,
+                rows: 30,
+            },
             dictionaryList: null,
         };
     },
@@ -187,22 +201,22 @@
                 });
         },
         getDictionary(row, column) {
-      if (this.dictionaryList) {
-        var item = this.dictionaryList.find((x) => x.dicNo == column.bindKey);
-        if (item) {
-          var dicItem = item.data.find((x) => x.key == row[column.field]);
-          console.log(dicItem);
-          if (dicItem) {
-            return dicItem.value;
-          } 
-          else {
-            return row[column.field];
-          }
-        } else {
-          return row[column.field];
-        }
-      }
-    },
+            if (this.dictionaryList) {
+                var item = this.dictionaryList.find((x) => x.dicNo == column.bindKey);
+                if (item) {
+                    var dicItem = item.data.find((x) => x.key == row[column.field]);
+                    console.log(dicItem);
+                    if (dicItem) {
+                        return dicItem.value;
+                    }
+                    else {
+                        return row[column.field];
+                    }
+                } else {
+                    return row[column.field];
+                }
+            }
+        },
     },
 
 

--
Gitblit v1.9.3