From b3e9a47f4c17c0d708398698432a109420e7d9e1 Mon Sep 17 00:00:00 2001
From: 懒羊羊 <15939171744@163.com>
Date: 星期一, 04 十二月 2023 10:12:52 +0800
Subject: [PATCH] 优化

---
 guns-vip-main/src/main/webapp/assets/modular/kb/formula/formulaView.js |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/guns-vip-main/src/main/webapp/assets/modular/kb/formula/formulaView.js b/guns-vip-main/src/main/webapp/assets/modular/kb/formula/formulaView.js
index ab0d4c3..16abfa2 100644
--- a/guns-vip-main/src/main/webapp/assets/modular/kb/formula/formulaView.js
+++ b/guns-vip-main/src/main/webapp/assets/modular/kb/formula/formulaView.js
@@ -140,13 +140,13 @@
                     $.ajax({
                         type: "POST",
                         contentType: "application/json;charset=UTF-8",
-                        url: Feng.ctxPath + '/locationInfo/list?productionLineCode='+data.value,
+                        url: Feng.ctxPath + '/opInfo/list?lineCode='+data.value,
                         success: function (result) {
                             $('#locationCode').empty();
                             $('#locationCode').append(new Option("璇烽�夋嫨宸ヤ綅", ""));// 涓嬫媺鑿滃崟閲屾坊鍔犲厓绱�
 
                             $.each(result.data, function (index, value) {
-                                $('#locationCode').append(new Option(value.locationCode));// 涓嬫媺鑿滃崟閲屾坊鍔犲厓绱�
+                                $('#locationCode').append(new Option(value.opCode));// 涓嬫媺鑿滃崟閲屾坊鍔犲厓绱�
                             });
                             layui.form.render("select");//閲嶆柊娓叉煋 鍥哄畾鍐欐硶
                         },
@@ -154,8 +154,6 @@
                 }
                 break;
             case 'locationCode':
-                console.log($('#locationCode').val());
-                console.log($('#lineCode').val());
                 var getIp = new $ax(Feng.ctxPath + "/kanbanConf/ipSetting?lineCode="+$('#lineCode').val()+"&locationCode="+$('#locationCode').val());
                 var result = getIp.start();
                 Feng.info("鏇存柊瀹屾垚!")

--
Gitblit v1.9.3