From b76333164df502f2d9a07e16354a1ad74427d748 Mon Sep 17 00:00:00 2001
From: 王 垚 <1402714037@qq.com>
Date: 星期一, 27 十二月 2021 15:08:09 +0800
Subject: [PATCH] 添加物料编码字段

---
 WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_BarCodeBillList.html |   94 +++++++++++++++++++++++-----------------------
 1 files changed, 47 insertions(+), 47 deletions(-)

diff --git a/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_BarCodeBillList.html b/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_BarCodeBillList.html
index c51b5fc..c749e5d 100644
--- a/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_BarCodeBillList.html
+++ b/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_BarCodeBillList.html
@@ -182,12 +182,12 @@
             index: 'lib/index' //涓诲叆鍙fā鍧�
         }).use(['index', 'form', 'laydate', 'code', 'table', 'element', 'layer'], function () {
             var $ = layui.$
-            , admin = layui.admin
-            , layer = layui.layer
-            , laydate = layui.laydate
-            , table = layui.table
-            , form = layui.form
-            , element = layui.element;
+                , admin = layui.admin
+                , layer = layui.layer
+                , laydate = layui.laydate
+                , table = layui.table
+                , form = layui.form
+                , element = layui.element;
             //甯歌鐢ㄦ硶
             laydate.render({
                 elem: '#HDate1'
@@ -208,36 +208,37 @@
                 , toolbar: '#toolbarDemo' //寮�鍚ご閮ㄥ伐鍏锋爮锛屽苟涓哄叾缁戝畾宸︿晶妯℃澘
                 , defaultToolbar: ['filter', 'exports', 'print']
                 // , where: { msg: "", NowPage: 1, OnePage: 10 }
-              , cellMinWidth: 100
-              , cols: [[
-                { checkbox: true/*, fixed: true*/ }               
-                , { field: 'sorderid', title: '搴忓彿', width: 80/*, fixed: true*/ }
-                , { field: 'HItemID', title: '涓婚敭', width: 100, hide: true }
-                , { field: '鐘舵��', title: '鐘舵��', width: 100, sort: true/*, fixed: true*/ }
-                , { field: '鏉$爜缂栧彿', title: '鏉$爜缂栧彿', width: 180, sort: true/*, fixed: true*/ }
-                , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', width: 180, sort: true/*, fixed: true*/ }
-                , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', width: 180, sort: true }
-                , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', width: 180, sort: true }
-                , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅', width: 80, sort: true }
-                , { field: '鏁伴噺', title: '鏁伴噺', width: 100, sort: true }
-                , { field: '鎵规', title: '鎵规', width: 100 }
-                , { field: '渚涘簲鍟�', title: '渚涘簲鍟�', width: 180 }
-                , { field: '鏃ユ湡', title: '鐢熸垚鏃ユ湡', width: 150, sort: true }
-                , { field: '婧愬崟涓籌D', title: '婧愬崟涓籌D', width: 100, hide: true }
-                , { field: '婧愬崟瀛怚D', title: '婧愬崟瀛怚D', width: 100, hide: true }
-                , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', width: 180 }
-                , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷', width: 100 }
-              ]]
+                , cellMinWidth: 100
+                , cols: [[
+                    { checkbox: true/*, fixed: true*/ }
+                    , { field: 'sorderid', title: '搴忓彿', width: 80/*, fixed: true*/ }
+                    , { field: 'HItemID', title: '涓婚敭', width: 100, hide: true }
+                    , { field: '鐘舵��', title: '鐘舵��', width: 100, sort: true/*, fixed: true*/ }
+                    , { field: '鏉$爜缂栧彿', title: '鏉$爜缂栧彿', width: 180, sort: true/*, fixed: true*/ }
+                    , { field: '鐗╂枡缂栫爜', title: '鐗╂枡缂栫爜', width: 120, sort: true/*, fixed: true*/ }
+                    , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', width: 120, sort: true/*, fixed: true*/ }
+                    , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', width: 120, sort: true }
+                    , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', width: 120, sort: true }
+                    , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅', width: 80, sort: true }
+                    , { field: '鏁伴噺', title: '鏁伴噺', width: 100, sort: true }
+                    , { field: '鎵规', title: '鎵规', width: 100 }
+                    , { field: '渚涘簲鍟�', title: '渚涘簲鍟�', width: 180 }
+                    , { field: '鏃ユ湡', title: '鐢熸垚鏃ユ湡', width: 150, sort: true }
+                    , { field: '婧愬崟涓籌D', title: '婧愬崟涓籌D', width: 100, hide: true }
+                    , { field: '婧愬崟瀛怚D', title: '婧愬崟瀛怚D', width: 100, hide: true }
+                    , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', width: 180 }
+                    , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷', width: 100 }
+                ]]
                 //, skin: 'row' //琛ㄦ牸椋庢牸
                 // , even: true
-            , page: true //鏄惁鏄剧ず鍒嗛〉
-            , limits: [10, 20, 50, 100]
-            , limit: 50 //姣忛〉榛樿鏄剧ず鐨勬暟閲�
+                , page: true //鏄惁鏄剧ず鍒嗛〉
+                , limits: [10, 20, 50, 100]
+                , limit: 50 //姣忛〉榛樿鏄剧ず鐨勬暟閲�
                 //, height: 500
-            , done: function (res, curr, count) {
-                _cur_page = curr;
-                layer.closeAll("loading");
-            }
+                , done: function (res, curr, count) {
+                    _cur_page = curr;
+                    layer.closeAll("loading");
+                }
 
             });
             //澶村伐鍏锋爮浜嬩欢
@@ -248,15 +249,15 @@
                         var data = checkStatus.data;
                         layer.alert(JSON.stringify(data));
                         break;
-                        //case 'getCheckLength':
-                        //    var data = checkStatus.data;
-                        //    layer.msg('閫変腑浜嗭細' + data.length + ' 涓�');
-                        //    break;
-                        //case 'isAll':
-                        //    layer.msg(checkStatus.isAll ? '鍏ㄩ��' : '鏈叏閫�');
-                        //    break;
+                    //case 'getCheckLength':
+                    //    var data = checkStatus.data;
+                    //    layer.msg('閫変腑浜嗭細' + data.length + ' 涓�');
+                    //    break;
+                    //case 'isAll':
+                    //    layer.msg(checkStatus.isAll ? '鍏ㄩ��' : '鏈叏閫�');
+                    //    break;
 
-                        //鑷畾涔夊ご宸ュ叿鏍忓彸渚у浘鏍� - 鎻愮ず
+                    //鑷畾涔夊ご宸ュ叿鏍忓彸渚у浘鏍� - 鎻愮ず
                     case 'btn-reload':
                         _cur_page = $(".layui-laypage-em").next().html();
                         RoadHBillNo(sql);
@@ -264,7 +265,7 @@
                         break;
                     case "btn-print":
                         var checkStatus = table.checkStatus('mainTable')
-                        , data = checkStatus.data;
+                            , data = checkStatus.data;
                         var rows = '';
                         var rows2 = '';
                         for (var i = 0; i < data.length; i++) {
@@ -273,11 +274,10 @@
                         }
                         rows = rows.substring(rows.length - 1, 0);
                         rows2 = rows2.substring(rows2.length - 1, 0);
-                        if(rows=="")
-                        {
+                        if (rows == "") {
                             layer.msg("鑷冲皯閫夋嫨涓�琛岃褰曪紒")
                         }
-                        else{
+                        else {
                             layer.open({
                                 type: 2
                                 , area: ['50%', '50%']
@@ -327,7 +327,7 @@
                 where = sqlWhere;
                 $.ajax({
                     type: "get",
-                    url: GetWEBURL()+"GetBarCodeShowList",
+                    url: GetWEBURL() + "GetBarCodeShowList",
                     async: true,
                     data: { "HSupNo": sessionStorage["HUserName"], "sqlWhere": sqlWhere },
                     success: function (result) {
@@ -375,7 +375,7 @@
                     sqlWhere += " and 鏃ユ湡 <= ^^" + $("#HDate2").val() + "^^";
                 }
 
-             
+
                 sql = sqlWhere;
                 //浠庣涓�椤靛紑濮�
                 _cur_page = 1;

--
Gitblit v1.9.1