From 00929a147aa125a617f5ec28597bf355356f65f8 Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期二, 24 三月 2026 10:35:54 +0800
Subject: [PATCH] #约旦数据库

---
 src/main/webapp/static/js/locDetl/locDetl.js              |   18 +++++++++++-------
 src/main/java/com/zy/asrs/controller/OrderController.java |    2 +-
 src/main/java/com/zy/asrs/mapper/LocDetlMapper.java       |    2 +-
 src/main/webapp/views/index.html                          |    2 +-
 src/main/resources/arydasrs.bak                           |    0 
 src/main/webapp/static/image/zy_logo_dark_color.png       |    0 
 src/main/webapp/static/js/common.js                       |    8 +++++---
 src/main/webapp/views/login.html                          |    2 +-
 src/main/webapp/static/image/logo.png                     |    0 
 9 files changed, 20 insertions(+), 14 deletions(-)

diff --git a/src/main/java/com/zy/asrs/controller/OrderController.java b/src/main/java/com/zy/asrs/controller/OrderController.java
index 906b901..53ac958 100644
--- a/src/main/java/com/zy/asrs/controller/OrderController.java
+++ b/src/main/java/com/zy/asrs/controller/OrderController.java
@@ -156,7 +156,7 @@
         if (!Cools.isEmpty(color)) {
             wrapper.eq("color", color);
         }
-        wrapper.eq("item_num",null);
+        wrapper.eq("item_num",0);
 
         List<LocDetl> all = locDetlService.selectList(wrapper);
         List<LocDetl> list = new ArrayList<>();
diff --git a/src/main/java/com/zy/asrs/mapper/LocDetlMapper.java b/src/main/java/com/zy/asrs/mapper/LocDetlMapper.java
index c1e119e..cbfc784 100644
--- a/src/main/java/com/zy/asrs/mapper/LocDetlMapper.java
+++ b/src/main/java/com/zy/asrs/mapper/LocDetlMapper.java
@@ -24,7 +24,7 @@
     LocDetl selectItem(@Param("locNo")String locNo, @Param("matnr")String matnr, @Param("batch")String batch);
     LocDetl selectItemCarton(@Param("locNo")String locNo, @Param("matnr")String matnr, @Param("batch")String batch,@Param("barcode")String barcode);
     boolean updateInspectNumber(@Param("barcode")String barcode,@Param("batch")String batch,@Param("orderNo")String orderNo);
-    @Update("update asr_loc_detl set item_num = NULL where item_num = #{orderNo}")
+    @Update("update asr_loc_detl set item_num = 0 where item_num = #{orderNo}")
     boolean clearInspectNumberByOrderNo(@Param("orderNo")String orderNo);
     List<LocDetl> selectItemByLocNo(String locNo);
     boolean updateInspectionStatus(@Param("orderNo")String orderNo,@Param("inspectNumber")Integer inspectNumber);
diff --git a/src/main/resources/arydasrs.bak b/src/main/resources/arydasrs.bak
new file mode 100644
index 0000000..5cd1ad2
--- /dev/null
+++ b/src/main/resources/arydasrs.bak
Binary files differ
diff --git a/src/main/webapp/static/image/logo.png b/src/main/webapp/static/image/logo.png
index e2fc662..26b2d7d 100644
--- a/src/main/webapp/static/image/logo.png
+++ b/src/main/webapp/static/image/logo.png
Binary files differ
diff --git a/src/main/webapp/static/image/zy_logo_dark_color.png b/src/main/webapp/static/image/zy_logo_dark_color.png
index 8278ca7..26b2d7d 100644
--- a/src/main/webapp/static/image/zy_logo_dark_color.png
+++ b/src/main/webapp/static/image/zy_logo_dark_color.png
Binary files differ
diff --git a/src/main/webapp/static/js/common.js b/src/main/webapp/static/js/common.js
index a9262ca..34fbf42 100644
--- a/src/main/webapp/static/js/common.js
+++ b/src/main/webapp/static/js/common.js
@@ -189,8 +189,8 @@
     ,{field: 'maktx', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('鍟嗗搧鍚嶇О_鍝佸悕') : '鍟嗗搧鍚嶇О锛堝搧鍚嶏級', width: 200}
     // ,{field: 'name', align: 'center',title: '鍒悕'}
     ,{field: 'specs', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('瑙勬牸') : '瑙勬牸'}
-    ,{field: 'model', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('浠g爜') : '浠g爜', hide: true}
-    ,{field: 'color', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('棰滆壊') : '棰滆壊', hide: true}
+    ,{field: 'model', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('浠g爜') : '浠g爜', hide: false}
+    ,{field: 'color', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('棰滆壊') : '棰滆壊', hide: false}
     ,{field: 'brand', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('鍝佺墝') : '鍝佺墝', hide: true}
     ,{field: 'unit', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('鍗曚綅') : '鍗曚綅', hide: true}
     ,{field: 'price', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('鍗曚环') : '鍗曚环', hide: true}
@@ -219,7 +219,7 @@
     // ,{field: 'createTime$', align: 'center',title: '娣诲姞鏃堕棿'}
     ,{field: 'updateBy$', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('淇敼浜哄憳') : '淇敼浜哄憳', hide: true}
     ,{field: 'updateTime$', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('淇敼鏃堕棿') : '淇敼鏃堕棿', hide: true}
-    ,{field: 'memo', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('澶囨敞') : '澶囨敞', hide: true}
+    ,{field: 'memo', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('澶囨敞') : '澶囨敞', hide: false}
     ];
 }
 var matCols = getMatCols();
@@ -261,6 +261,8 @@
     ,{field: 'source$', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('鍒惰喘') : '鍒惰喘', hide: true}
     ,{field: 'check$', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('瑕佹眰妫�楠�') : '瑕佹眰妫�楠�', hide: true}
     ,{field: 'danger$', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('鍗遍櫓鍝�') : '鍗遍櫓鍝�', hide: true}
+    ,{field: 'memo', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('澶囨敞') : '澶囨敞', hide: false}
+
     ];
 }
 var detlCols = getDetlCols();
diff --git a/src/main/webapp/static/js/locDetl/locDetl.js b/src/main/webapp/static/js/locDetl/locDetl.js
index 427347c..aab2cf4 100644
--- a/src/main/webapp/static/js/locDetl/locDetl.js
+++ b/src/main/webapp/static/js/locDetl/locDetl.js
@@ -5,19 +5,19 @@
         ,{field: 'storeDate', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('age_days') : 'Age(Days)', sort:true}
         ,{field: 'matnr', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('product_code') : 'Item No.', sort:true}
         ,{field: 'maktx', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('product_name') : 'Item Name', sort:true}
-        ,{field: 'orderNo', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('order_no') : 'Order No.', hide: true}
+        ,{field: 'orderNo', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('order_no') : 'Order No.', hide: false}
         ,{field: 'batch', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('batch_no') : 'Batch No.', width: 300, sort:true}
         ,{field: 'anfme', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('quantity') : 'Quantity'}
         ,{field: 'zpallet', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('pallet_barcode') : 'Pallet Code'}
         ,{field: 'specs', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('spec') : 'Spec'}
-        ,{field: 'model', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('code') : 'Code', hide: true}
-        ,{field: 'color', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('color') : 'Color', hide: true}
+        ,{field: 'model', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('浠g爜') : 'size', hide: false}
+        ,{field: 'color', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('color') : 'Color', hide: false}
         ,{field: 'brand', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('brand') : 'Brand', hide: true}
         ,{field: 'unit', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('unit') : 'Unit', hide: true}
         ,{field: 'price', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('price') : 'Price', hide: true}
-        ,{field: 'sku', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('sku') : 'SKU', hide: true}
-        ,{field: 'units', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('unit_qty') : 'Unit Qty', hide: true}
-        ,{field: 'barcode', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('barcode') : 'Barcode', hide: true}
+        ,{field: 'sku', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('sku') : 'SKU', hide: false}
+        ,{field: 'units', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('unit_qty') : 'Unit Qty', hide: false}
+        ,{field: 'barcode', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('barcode') : 'Barcode', hide: false}
         ,{field: 'origin', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('origin') : 'Origin', hide: true}
         ,{field: 'manu', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('manufacturer') : 'Manufacturer', hide: true}
         ,{field: 'manuDate', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('mfg_date') : 'Mfg Date', hide: true}
@@ -43,6 +43,8 @@
             }
         }}
         ,{field: 'danger$', align: 'center',title: typeof I18n !== 'undefined' ? I18n.t('hazardous') : 'Hazardous', hide: true}
+        ,{field: 'memo', align: 'center',title: (typeof I18n !== 'undefined' && I18n.t) ? I18n.t('鍗栧鏍囩') : '鍗栧鏍囩', hide: false}
+
 
     ];
 
@@ -61,7 +63,7 @@
     var form = layui.form;
 
     // 鏁版嵁娓叉煋
-    var tableIns = table.render({
+    tableIns = table.render({
         elem: '#locDetl',
         headers: {token: localStorage.getItem('token')},
         url: baseUrl+'/locDetl/list/auth',
@@ -450,6 +452,7 @@
     form.on('submit(search)', function (data) {
         pageCurr = 1;
         tableReload(false);
+        return false;
     });
 
 
@@ -458,6 +461,7 @@
         pageCurr = 1;
         clearFormVal($('#search-box'));
         tableReload(false);
+        return false;
     });
 
     // 鏃堕棿閫夋嫨鍣�
diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index 88ccce2..1fe6c7a 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -6,7 +6,7 @@
   <meta name="renderer" content="webkit">
   <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
   <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
-  <link rel="icon" type="image/x-icon" href="../static/image/favicon.ico" />
+  <link rel="icon" type="image/x-icon" href="../static/image/logo.png" />
   <link rel="stylesheet" href="../static/layui/css/layui.css" media="all">
   <link rel="stylesheet" href="../static/css/admin.css?v=318" media="all">
   <link rel="stylesheet" href="../static/css/loader.css" media="all">
diff --git a/src/main/webapp/views/login.html b/src/main/webapp/views/login.html
index 82768de..d39c1c9 100644
--- a/src/main/webapp/views/login.html
+++ b/src/main/webapp/views/login.html
@@ -10,7 +10,7 @@
     <meta name="theme-color" content="#111111">
     <meta name="msapplication-TileImage" content="/sketch-threejs/img/common/ms_tileimage.png">
     <meta name="msapplication-TileColor" content="#111111">
-    <link rel="icon" type="image/x-icon" href="../static/image/favicon.ico" />
+    <link rel="icon" type="image/x-icon" href="../static/image/logo.png" />
     <link rel="stylesheet" href="../static/css/font/font-awesome-4.7.0/css/font-awesome.css">
     <link rel="stylesheet" href="../static/css/main.min.css">
     <link rel="stylesheet" href="../static/css/login.css">

--
Gitblit v1.9.1