From 396b51916f549c937b45b32182df8feb1e9db8e0 Mon Sep 17 00:00:00 2001
From: WYB <908761037@qq.com>
Date: 星期三, 14 四月 2021 21:38:06 +0800
Subject: [PATCH] 不良评审新增设计以及选中不良评审原因框

---
 WebTM/Properties/PublishProfiles/LAYUI.pubxml.user         |    9 
 WebTM/views/Baseset/基础资料/Gy_BadReasonList.html             |  103 +++++++++++
 WebTM/views/生产工序管理/增加不良评审单/QC_Add_NoPassProdCheckBill.html |  289 +++++++++++++++++++++++--------
 WebTM/views/Baseset/基础资料/Sc_ProcessPlanViewList.html       |  103 +++++++++++
 WebTM/WebTM.csproj                                         |    2 
 5 files changed, 428 insertions(+), 78 deletions(-)

diff --git a/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user b/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user
index cc33fb1..7d6951c 100644
--- a/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user
+++ b/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user
@@ -17,10 +17,10 @@
       <publishTime>03/23/2021 16:57:43</publishTime>
     </File>
     <File Include="bin/WebTM.dll">
-      <publishTime>04/13/2021 15:07:44</publishTime>
+      <publishTime>04/14/2021 19:13:34</publishTime>
     </File>
     <File Include="bin/WebTM.pdb">
-      <publishTime>04/13/2021 15:07:44</publishTime>
+      <publishTime>04/14/2021 19:13:34</publishTime>
     </File>
     <File Include="layuiadmin/config.js">
       <publishTime>03/23/2021 16:57:43</publishTime>
@@ -703,6 +703,9 @@
     <File Include="views/Baseset/SRM_OpenTmpList.html">
       <publishTime>03/23/2021 16:57:43</publishTime>
     </File>
+    <File Include="views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html">
+      <publishTime>04/14/2021 19:28:58</publishTime>
+    </File>
     <File Include="views/Baseset/鍩虹璧勬枡/Gy_CustomerList.html">
       <publishTime>03/23/2021 16:57:43</publishTime>
     </File>
@@ -1172,7 +1175,7 @@
       <publishTime>04/08/2021 10:57:44</publishTime>
     </File>
     <File Include="views/鐢熶骇宸ュ簭绠$悊/澧炲姞涓嶈壇璇勫鍗�/QC_Add_NoPassProdCheckBill.html">
-      <publishTime>04/13/2021 17:39:51</publishTime>
+      <publishTime>04/14/2021 19:28:40</publishTime>
     </File>
     <File Include="views/鐢熶骇宸ュ簭绠$悊/澧炲姞涓嶈壇璇勫鍗�/QC_NoPassProdCheckBill.html">
       <publishTime>04/12/2021 19:50:54</publishTime>
diff --git a/WebTM/WebTM.csproj b/WebTM/WebTM.csproj
index 37ea3f9..5809166 100644
--- a/WebTM/WebTM.csproj
+++ b/WebTM/WebTM.csproj
@@ -299,6 +299,7 @@
     <Content Include="views\app\workorder\listform.html" />
     <Content Include="views\app\璇存槑.txt" />
     <Content Include="views\Baseset\SRM_OpenTmpList.html" />
+    <Content Include="views\Baseset\鍩虹璧勬枡\Gy_BadReasonList.html" />
     <Content Include="views\Baseset\鍩虹璧勬枡\Gy_ProcList.html" />
     <Content Include="views\Baseset\鍩虹璧勬枡\Gy_CustomerList.html" />
     <Content Include="views\Baseset\鍩虹璧勬枡\Gy_DepartmentList.html" />
@@ -311,6 +312,7 @@
     <Content Include="views\Baseset\鍩虹璧勬枡\Gy_StockPlaceList.html" />
     <Content Include="views\Baseset\鍩虹璧勬枡\Gy_SupplierList.html" />
     <Content Include="views\Baseset\鍩虹璧勬枡\Gy_WarehouseList.html" />
+    <Content Include="views\Baseset\鍩虹璧勬枡\Sc_ProcessPlanViewList.html" />
     <Content Include="views\component\anim\index.html" />
     <Content Include="views\component\auxiliar\index.html" />
     <Content Include="views\component\badge\index.html" />
diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_BadReasonList.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_BadReasonList.html"
new file mode 100644
index 0000000..4014221
--- /dev/null
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_BadReasonList.html"
@@ -0,0 +1,103 @@
+锘�<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <title>涓嶈壇鍘熷洜鍒楄〃</title>
+    <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="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
+    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+</head>
+<body>
+    <div class="layui-fluid">
+        <div class="layui-card">
+            <!--<div class="layui-card-header"></div>-->
+            <div class="layui-card-body" style="padding: 15px;">
+                <form class="layui-form" action="" lay-filter="component-form-group">
+                    <div class="layui-form-item">
+                        <div class="layui-inline">
+                            <label class="layui-form-label">杩囨护鍒�</label>
+                            <div class="layui-input-inline">
+                                <input type="text" name="Value" id="Value" lay-verify="Value" autocomplete="off" placeholder="璇疯緭鍏ヨ繃婊ゅ垪" class="layui-input">
+                            </div>
+                            <button type="button" lay-submit="" class="layui-btn" lay-filter="HQuery">蹇�熸煡璇�</button>
+                            <button type="button" lay-submit="" class="layui-btn" lay-filter="FH">杩斿洖</button>
+                        </div>
+                    </div>
+                </form>
+            </div>
+        </div>
+    </div>
+    <table class="layui-hide" id="ck-table"></table>
+    <script src="../../../layuiadmin/layui/layui.js"></script>
+    <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
+    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
+    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
+    <script>
+        layui.use(['table', 'form', 'layer'], function () {
+            var table = layui.table
+            , form = layui.form
+            , layer = layui.layer;
+
+            form.on('submit(HQuery)', function () {//閫夋嫨鍗曚綅
+                //var sMainStr = JSON.stringify(table.cache['ck-table']);
+                RoadQuery($('#Value').val());
+            });
+            form.on('submit(FH)', function () {//閫夋嫨鍗曚綅
+                //var sMainStr = JSON.stringify(table.cache['ck-table']);
+                var checkStatus = table.checkStatus('ck-table')
+                 , data = checkStatus.data;
+                parent.GetHReasonValue(data);
+                var index = parent.layer.getFrameIndex(window.name);
+                parent.layer.close(index);
+            });
+            RoadQuery($('#Value').val());
+            table.render({
+                elem: '#ck-table'
+                // , url: '/demo/table/user/'
+               , data: []
+              , cellMinWidth: 80 //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
+              , cols: [[
+                  { type: 'radio' }
+                , { field: 'HItemID', width: 150, title: '涓嶈壇鍘熷洜ID', hide: true }
+                , { field: 'HNumber', width: 150, title: '涓嶈壇鍘熷洜浠g爜' }
+                , { field: 'HName', width: 150, title: '涓嶈壇鍘熷洜鍚嶇О', sort: true }
+              ]]
+              , page: true
+            });
+            ///鍔犺浇鏄剧ず鏁版嵁
+            function RoadQuery(Where) {
+                var Value = Where;
+                if (Value == null) {
+                    Value = '';
+                }
+                $.ajax({
+                    type: "get",
+                    //url: "http://61.130.49.162:9090/WMSAPI///Web/GetDepartmentList_Json",
+                    url: GetWEBURL() + "/Web/GetBadReasonList_Json",
+                    async: true,
+                    data: { "BadReason": Value },
+                    //data: { "Value": Value },
+                    success: function (result) {
+                        ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
+                        table.reload('ck-table', {
+                            data: ajaxReturnData
+                            , height: 'full-10'
+                            , loading: false
+                            , done: function (index, res) {
+
+                            }
+                        });
+                    },
+                    error: function (result) {
+                        console.log(result);
+                        //layer.msg('鑾峰彇閲囪喘璁㈠崟鍑虹幇寮傚父', { icon: 2, time: 2000 });
+                    }
+                });
+            };
+        });
+    </script>
+
+</body>
+</html>
diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ProcessPlanViewList.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ProcessPlanViewList.html"
new file mode 100644
index 0000000..516f22a
--- /dev/null
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ProcessPlanViewList.html"
@@ -0,0 +1,103 @@
+锘�<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <title>宸ュ簭璁″垝鍗曞垪琛�</title>
+    <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="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
+    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+</head>
+<body>
+    <div class="layui-fluid">
+        <div class="layui-card">
+            <!--<div class="layui-card-header"></div>-->
+            <div class="layui-card-body" style="padding: 15px;">
+                <form class="layui-form" action="" lay-filter="component-form-group">
+                    <div class="layui-form-item">
+                        <div class="layui-inline">
+                            <label class="layui-form-label">杩囨护鍒�</label>
+                            <div class="layui-input-inline">
+                                <input type="text" name="Value" id="Value" lay-verify="Value" autocomplete="off" placeholder="璇疯緭鍏ヨ繃婊ゅ垪" class="layui-input">
+                            </div>
+                            <button type="button" lay-submit="" class="layui-btn" lay-filter="HQuery">蹇�熸煡璇�</button>
+                            <button type="button" lay-submit="" class="layui-btn" lay-filter="FH">杩斿洖</button>
+                        </div>
+                    </div>
+                </form>
+            </div>
+        </div>
+    </div>
+    <table class="layui-hide" id="ck-table"></table>
+    <script src="../../../layuiadmin/layui/layui.js"></script>
+    <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
+    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
+    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
+    <script>
+        layui.use(['table', 'form', 'layer'], function () {
+            var table = layui.table
+            , form = layui.form
+            , layer = layui.layer;
+
+            form.on('submit(HQuery)', function () {//閫夋嫨鍗曚綅
+                //var sMainStr = JSON.stringify(table.cache['ck-table']);
+                RoadQuery($('#Value').val());
+            });
+            form.on('submit(FH)', function () {//閫夋嫨鍗曚綅
+                //var sMainStr = JSON.stringify(table.cache['ck-table']);
+                var checkStatus = table.checkStatus('ck-table')
+                 , data = checkStatus.data;
+                parent.GetHUnitNameValue(data);
+                var index = parent.layer.getFrameIndex(window.name);
+                parent.layer.close(index);
+            });
+            RoadQuery($('#Value').val());
+            table.render({
+                elem: '#ck-table'
+                // , url: '/demo/table/user/'
+               , data: []
+              , cellMinWidth: 80 //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
+              , cols: [[
+                  { type: 'radio' }
+                , { field: 'HItemID', width: 150, title: '鍗曚綅ID', hide: true }
+                , { field: 'HNumber', width: 150, title: '璁¢噺鍗曚綅浠g爜' }
+                , { field: 'HName', width: 150, title: '璁¢噺鍗曚綅', sort: true }
+              ]]
+              , page: true
+            });
+            ///鍔犺浇鏄剧ず鏁版嵁
+            function RoadQuery(Where) {
+                var Value = Where;
+                if (Value == null) {
+                    Value = '';
+                }
+                $.ajax({
+                    type: "get",
+                    //url: "http://61.130.49.162:9090/WMSAPI///Web/GetDepartmentList_Json",
+                    url: GetWEBURL() + "/Web/GetUnitList_Json",
+                    async: true,
+                    data: { "Unit": Value },
+                    //data: { "Value": Value },
+                    success: function (result) {
+                        ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
+                        table.reload('ck-table', {
+                            data: ajaxReturnData
+                            , height: 'full-10'
+                            , loading: false
+                            , done: function (index, res) {
+
+                            }
+                        });
+                    },
+                    error: function (result) {
+                        console.log(result);
+                        //layer.msg('鑾峰彇閲囪喘璁㈠崟鍑虹幇寮傚父', { icon: 2, time: 2000 });
+                    }
+                });
+            };
+        });
+    </script>
+
+</body>
+</html>
diff --git "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\242\236\345\212\240\344\270\215\350\211\257\350\257\204\345\256\241\345\215\225/QC_Add_NoPassProdCheckBill.html" "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\242\236\345\212\240\344\270\215\350\211\257\350\257\204\345\256\241\345\215\225/QC_Add_NoPassProdCheckBill.html"
index 321c8ac..daf0a53 100644
--- "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\242\236\345\212\240\344\270\215\350\211\257\350\257\204\345\256\241\345\215\225/QC_Add_NoPassProdCheckBill.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\242\236\345\212\240\344\270\215\350\211\257\350\257\204\345\256\241\345\215\225/QC_Add_NoPassProdCheckBill.html"
@@ -136,30 +136,226 @@
                                         </div>
                                     </div>
                         </div>
+                     
                         <table class="layui-table" id="mainTable" lay-filter="mainTable">
                             <thead>
                                 <tr>
                                      <th>搴忓彿</th>
                                     <th>涓嶈壇鍘熷洜</th>
-                                    <th>鍔犲叆鏃堕棿</th>
-                                    <th>绛惧悕</th>
+                                    <th>璐d换浜�</th>
+                                    <th>鐢宠宸ュ簭</th>
+                                    <th>璐d换宸ュ簭</th>
+                                    <th>涓嶈壇鏁伴噺</th>
+                                    <th>澶囨敞</th>
+                                    <th>涓嶈壇纭浜�</th>
+                                    <th>鍒ゅ畾缁撴灉</th>
                                 </tr>
                             </thead>
                             <tbody>
                                 <tr>
-                                    <td>璐ゅ績</td>
-                                    <td>2016-11-29</td>
-                                    <td>浜虹敓灏卞儚鏄竴鍦轰慨琛�</td>
+                                    <td>1</td>
+                                    <td><input type="text" id="HName" name="HName" style="width:200px;height:20px;"  />
+                                     <button type="button" lay-submit="" class="layui-btn" lay-filter="HBadReasonID-BT">
+                                                           <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+                                                              </button>
+                                      <input id="HItemID" name="HItemID" type="hidden" />
+                                    </td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;" /></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;" /></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;" /></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;" /></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;" /></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;" /></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;" /></td>
+
+                                </tr>
+
+                                  <tr>
+                                    <td>2</td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td ><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+
                                 </tr>
                                 <tr>
-                                    <td>璁搁棽蹇�</td>
-                                    <td>2016-11-28</td>
-                                    <td>浜庡崈涓囦汉涔嬩腑閬囪浣犳墍閬囪鐨勪汉锛屼簬鍗冧竾骞翠箣涓紝鏃堕棿鐨勬棤娑殑鑽掗噹閲屸��</td>
+                                    <td>3</td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td ><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+
                                 </tr>
+
+                                <tr>
+                                    <td>4</td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td ><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+
+                                </tr>
+
+                                <tr>
+                                    <td>5</td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td ><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+
+                                </tr>
+
+                                <tr>
+                                    <td>6</td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td ><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+
+                                </tr>
+
+                                <tr>
+                                    <td>7</td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td ><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+
+                                </tr>
+
+                                <tr>
+                                    <td>8</td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td ><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+
+                                </tr>
+
+                                <tr>
+                                    <td>9</td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td ><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+
+                                </tr>
+
+                                <tr>
+                                    <td>10</td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td ><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+
+                                </tr>
+
+                                <tr>
+                                    <td>11</td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td ><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+
+                                </tr>
+
+                                <tr>
+                                    <td>12</td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td ><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+
+                                </tr>
+
+                                <tr>
+                                    <td>13</td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td ><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+
+                                </tr>
+
+                                <tr>
+                                    <td>14</td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td ><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+
+                                </tr>
+
+                                <tr>
+                                    <td>15</td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td ><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id="" style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+                                    <td><input type="text" id=""  style="width:200px;height:20px;"/></td>
+
+                                </tr>
+
+
                             </tbody>
 
                         </table>
-                   
+                
                     </form>
                 </div>
                         </div>
@@ -170,7 +366,6 @@
     <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script>
     <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
        <script>
-  
 
         layui.config({
             base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
@@ -241,51 +436,12 @@
                         // console.log(d.data);
                         $("#HInterID").val(d.data[0].HInterID);
                         $("#HBillNo").val(d.data[0].HBillNo);
-                        //$("#HBillType").val(d.data[0].HSourceBillType);
                         $("#HSourceBillNo").val(d.data[0].HSourceBillNo);
-                        //$("#HWHID").val(d.data[0].HWhID);
-                        //$("#HKeeperID").val(d.data[0].HKeeperID);
-                        //$("#HSecManagerID").val(d.data[0].HSecManagerID);
-                        //$("#HDeptID").val(d.data[0].HDeptID);
-                        //$("#HBarCode").val(d.data[0].HBarCode);
-                        //$("#HQty").val(d.data[0].HQty);
+                 
                     }
                 })
             }
-
-
-            function RoadBillSub(linterid)//鍔犺浇琛ㄤ綋
-            {
-                table.render({
-                    elem: '#wl-table'
-                    , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
-                    , cellMinWidth: 80
-                    , toolbar: '#toolbarDemo'
-                    , where: { HBillID: linterid, HBillType: '1202', sWhere: '' }
-                    , cols: [[
-                            { type: 'radio' }
-                            , { field: 'HQty', title: '鏁伴噺', width: 80 }
-                            , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', width: 80 }
-                            , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 100 }
-                            , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 100 }
-                            , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 100 }
-                            , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 100 }
-                            , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 100 }
-                            , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 100 }
-                            , { field: 'HBatchNo', title: '鎵规', width: 100 }
-                            , { field: 'HAuxPropID', title: '杈呭姪灞炴��', width: 100 }
-                            , { field: 'HMTONo', title: '璁″垝璺熻釜鍙�', width: 100 }
-                            , { field: 'HMaterID', title: '鐗╂枡ID', width: 100 }
-                    ]]
-                    , height: 500
-                })
-            }
-             
-            //鍔ㄦ�佸姞杞芥簮鍗曠被鍨嬪垪琛� new
-
-            
-
-            
+        
 
         var date = new Date();
         var day = date.getDate();
@@ -316,34 +472,17 @@
             }
 
 
-        //杩涘叆鐗╂枡鏄庣粏椤电銆佹潯鐮佹 鍏夋爣鐒︾偣   new
-        //if (1 == 2)
-        //{
-        //    element.tabChange('tab-ProductlnBill', '3');
-        //    var pFocus = $("#HBarCode");
-        //    pFocus.focus();
-        //    pFocus.select();
-        //}
-        //else
-        //{
-        //    element.tabChange('tab-ProductlnBill', '1');
-        //    var pFocus = $("#HSourceBillNo");
-        //    pFocus.focus();
-        //    pFocus.select();
-        //}
-        //
-        //
 
-        //閫夋嫨浠撳簱
-        form.on('submit(HWHID-BT)', function () {//閫夋嫨浠撳簱
+        //閫夋嫨涓嶈壇鍘熷洜
+        form.on('submit(HBadReasonID-BT)', function () {//閫夋嫨浠撳簱
             layer.open({
                 type: 2
                 , area: ['100%', '100%']
-                , title: '浠撳簱鍒楄〃'
+                , title: '涓嶈壇鍘熷洜鍒楄〃'
                 , shade: 0.6 //閬僵閫忔槑搴�
                 , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
                 , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
-                , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_WarehouseList.html?Type=HWHID', 'yes']
+                , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
                 , resize: false
                 , cancel: function () {
                     //$(".layui-btn").removeClass("layui-btn-disabled");
@@ -527,11 +666,11 @@
          }
         });
     });
-    function GetHWHValue(obj)  //杩斿洖璋冨叆浠撳簱
+    function GetHReasonValue(obj)  //杩斿洖涓嶈壇鍘熷洜
     {
-        $("#HWHNAME").val(obj[0].HName);
+        $("#HName").val(obj[0].HName);
         //sessionStorage["HWHID"] = obj[0].HItemID;
-        $("#HWHID").val(obj[0].HItemID);
+        $("#HItemID").val(obj[0].HItemID);
     }
     function GetHSpValue(obj) {  //杩斿洖璋冨叆浠撲綅
         $("#HStockPlaceName").val(obj[0].HName);

--
Gitblit v1.9.1