From a4638ceaa638506a12ac33b370c3475ec4a3afaa Mon Sep 17 00:00:00 2001
From: cp <513960435@qq.com>
Date: 星期六, 04 一月 2025 09:56:31 +0800
Subject: [PATCH] 訂單添加訂單類型搜索

---
 zy-asrs-wms/src/main/webapp/static/js/order/order.js |   40 ++++++++++++++++++++--------------------
 1 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/zy-asrs-wms/src/main/webapp/static/js/order/order.js b/zy-asrs-wms/src/main/webapp/static/js/order/order.js
index b691d47..cafbbd3 100644
--- a/zy-asrs-wms/src/main/webapp/static/js/order/order.js
+++ b/zy-asrs-wms/src/main/webapp/static/js/order/order.js
@@ -12,26 +12,26 @@
     var layDate = layui.laydate;
     var laytpl = layui.laytpl;
 
-    // // 娓叉煋鎼滅储妯℃澘
-    // $.ajax({
-    //     url: baseUrl+"/docType/page/auth",
-    //     headers: {'token': localStorage.getItem('token')},
-    //     data: {
-    //         limit: 9999
-    //     },
-    //     method: 'POST',
-    //     success: function (res) {
-    //         if (res.code === 200){
-    //             let template = Handlebars.compile($('#docTypeTpl').html());
-    //             $('#docType-query').html(template(res.data));
-    //             layui.form.render('select');
-    //         } else if (res.code === 403){
-    //             top.location.href = baseUrl+"/";
-    //         } else {
-    //             layer.msg(res.msg, {icon: 2})
-    //         }
-    //     }
-    // })
+    // 娓叉煋鎼滅储妯℃澘
+    $.ajax({
+        url: baseUrl+"/docType/page/auth",
+        headers: {'token': localStorage.getItem('token')},
+        data: {
+            limit: 9999
+        },
+        method: 'POST',
+        success: function (res) {
+            if (res.code === 200){
+                let template = Handlebars.compile($('#docTypeTpl').html());
+                $('#docType-query').html(template(res.data));
+                layui.form.render('select');
+            } else if (res.code === 403){
+                top.location.href = baseUrl+"/";
+            } else {
+                layer.msg(res.msg, {icon: 2})
+            }
+        }
+    })
 
     let docName = getQueryVariable('docName')
     let where = {};

--
Gitblit v1.9.1