From a57b723ec2f056529650f06a9830e47bfecca3e5 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期五, 26 十二月 2025 17:05:34 +0800
Subject: [PATCH] 1

---
 WebTM/WebTM.csproj.user                             |    3 -
 WebTM/views/模治具管理/模治具管理/Gy_BarCodeBillListLink.html |   54 +++++++++++----------------
 WebTM/layuiadmin/Scripts/webConfig.js               |   11 -----
 3 files changed, 22 insertions(+), 46 deletions(-)

diff --git a/WebTM/WebTM.csproj.user b/WebTM/WebTM.csproj.user
index fa4693e..1aa955e 100644
--- a/WebTM/WebTM.csproj.user
+++ b/WebTM/WebTM.csproj.user
@@ -1,7 +1,6 @@
 锘�<?xml version="1.0" encoding="utf-8"?>
 <Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <PropertyGroup>
-<<<<<<< HEAD
     <LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
     <UseIISExpress>true</UseIISExpress>
     <Use64BitIISExpress />
@@ -11,9 +10,7 @@
     <IISExpressUseClassicPipelineMode />
     <UseGlobalApplicationHostFile />
     <NameOfLastUsedPublishProfile>D:\gz\MES-WEB-TM\MES-WEB-LayUI\WebTM\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
-=======
     <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
->>>>>>> 2ed130171719a0848e8356d28055eb1bdf649d01
   </PropertyGroup>
   <ProjectExtensions>
     <VisualStudio>
diff --git a/WebTM/layuiadmin/Scripts/webConfig.js b/WebTM/layuiadmin/Scripts/webConfig.js
index aaa5f62..9a10839 100644
--- a/WebTM/layuiadmin/Scripts/webConfig.js
+++ b/WebTM/layuiadmin/Scripts/webConfig.js
@@ -7,20 +7,9 @@
     //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //鏉ㄤ箰鏈湴閰嶇疆
    /*  var WEBURL = "http://localhost:8082/API/";    //鏉滆春鏈湴閰嶇疆*/
     //var WEBURL = "http://localhost:8082/API/";    //寮犵憺骞挎湰鍦伴厤缃�
-<<<<<<< HEAD
-    var WEBURL = "http://localhost:8080/API/";    //鐜嬩华鏈湴閰嶇疆
-    //var WEBURL = "http://localhost:81/API/"    //缈佹稕娑涙湰鍦伴厤缃�
-
-    //var WEBURL = "http://localhost:8080/API/";    //鐜嬩华鏈湴閰嶇疆
-// var WEBURL = "http://localhost:81/API/"    //缈佹稕娑涙湰鍦伴厤缃�
-    //var WEBURL = "http://localhost:81/API/"    //缈佹稕娑涙湰鍦伴厤缃�
-    //var WEBURL = "http://localhost:81/API/"    //缈佹稕娑涙湰鍦伴厤缃�
-    //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //鏉ㄤ箰鏈湴閰嶇疆
-=======
     var WEBURL = "http://localhost:81/API/"    //缈佹稕娑涙湰鍦伴厤缃�
    /* var WEBURL = "http://localhost:8080/API/";    //鐜嬩华鏈湴閰嶇疆*/
   //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //鏉ㄤ箰鏈湴閰嶇疆
->>>>>>> 2ed130171719a0848e8356d28055eb1bdf649d01
     //var WEBURL = "http://47.96.97.237/API/";          //鏅轰簯鏈嶅姟鍣�
     /*var WEBURL = "http://localhost:8082/LuBaoAPI/";*/  //浣欐�濇澃鏈湴閰嶇疆
     //var WEBURL = "http://localhost:81/API/";            // 闄堥晲鍝叉湰鍦伴厤缃�*/
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_BarCodeBillListLink.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_BarCodeBillListLink.html"
index ec0776c..ba9c847 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_BarCodeBillListLink.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_BarCodeBillListLink.html"
@@ -426,40 +426,30 @@
                     case 'btn-print':
                         var checkStatus = table.checkStatus('mainTable')
                             , data = checkStatus.data;
-                        var ModRightName = 'Gy_BarCodeBillList_Print';
-                        $.ajax({
-                            url: GetWEBURL() + 'Gy_BarCodeBillList/GetBarCodeBillPermission',
-                            type: "GET",
-                            async: false,
-                            data: { "user": sessionStorage["HUserName"]},
-                            success: function (res) {
-                                if (res.data == 1) {
-                                    if (checkStatus.data.length > 0) {
-                                        var rows = '';
-                                        for (var i = 0; i < data.length; i++) {
-                                            rows += data[i].HItemID.toString() + ',';
-                                        }
-                                        rows = rows.substring(rows.length - 1, 0);
-                                        layer.open({
-                                            type: 2
-                                            , area: ['40%', '80%']
-                                            , title: '鎵撳嵃妯$増閫夋嫨'
-                                            , shade: 0.6 //閬僵閫忔槑搴�
-                                            , maxmin: false //鍏佽鍏ㄥ睆鏈�灏忓寲
-                                            , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
-                                            , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + rows + '&MyMsg=' + rows + '&Type=HGy_BarCodeBill', 'yes']
-                                            , resize: false
-                                        })
-                                    }
-                                    else {
-                                        layer.msg(get_MessageError('[0000-1-016]璇烽�夋嫨鏁版嵁鎵撳嵃锛�', sessionStorage["HTranSlate"]));
-                                    }
+                        
+                            if (checkStatus.data.length > 0) {
+                                var rows = '';
+                                for (var i = 0; i < data.length; i++) {
+                                    rows += data[i].HItemID.toString() + ',';
                                 }
-                                else {
-                                    layer.alert(get_MessageError("鏃犳墦鍗版潈闄�!", sessionStorage["HTranSlate"]), { icon: 5 });
-                                }
+                                rows = rows.substring(rows.length - 1, 0);
+                                layer.open({
+                                    type: 2
+                                    , area: ['40%', '80%']
+                                    , title: '鎵撳嵃妯$増閫夋嫨'
+                                    , shade: 0.6 //閬僵閫忔槑搴�
+                                    , maxmin: false //鍏佽鍏ㄥ睆鏈�灏忓寲
+                                    , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+                                    , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + rows + '&MyMsg=' + rows + '&Type=HGy_BarCodeBill', 'yes']
+                                    , resize: false
+                                })
                             }
-                        });
+                            else {
+                                layer.msg(get_MessageError('[0000-1-016]璇烽�夋嫨鏁版嵁鎵撳嵃锛�', sessionStorage["HTranSlate"]));
+                            }
+                                
+                            
+                       
                         break;
                     case 'btn-print-zx':
                         PrintZX();

--
Gitblit v1.9.1