From 56d0239efcbb1a55435304cdbeeb5ddf54827035 Mon Sep 17 00:00:00 2001 From: wtt <1985833171@qq.com> Date: 星期三, 30 四月 2025 10:35:18 +0800 Subject: [PATCH] 工序,生产资源,工作中心,生产班组基础资料优化 --- WebTM/views/基础资料/生产基础资料/Add_Edit_Gy_Source.html | 53 +++++++++++++++-- WebTM/views/基础资料/生产基础资料/Gy_ProcMul.html | 16 +++++ WebTM/views/质量管理/检验方案单/QC_CheckProjectList.html | 21 ++++-- WebTM/views/基础资料/公用基础资料/Gy_WorkCenter_Add_Edit.html | 9 ++- WebTM/views/基础资料/工资基础资料/Gy_Group_Add_Edit.html | 4 WebTM/views/基础资料/工资基础资料/Gy_Group.html | 2 WebTM/views/基础资料/生产基础资料/Add_Edit_Gy_Process.html | 44 ++++++++++++-- 7 files changed, 121 insertions(+), 28 deletions(-) diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkCenter_Add_Edit.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkCenter_Add_Edit.html" index b7d828a..d78e3fc 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkCenter_Add_Edit.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkCenter_Add_Edit.html" @@ -43,6 +43,7 @@ <ul class="layui-tab-title"> <li class="layui-this">鍩烘湰淇℃伅</li> <li>鍏朵粬淇℃伅</li> + <li>鍒跺崟淇℃伅</li> </ul> <div class="layui-tab-content"> <div class="layui-tab-item layui-show"> @@ -161,6 +162,9 @@ </div> </div> </div> + + </div> + <div class="layui-tab-item"> <div class="layui-row"> <div class="layui-inline"> <label class="layui-form-label" style="width: 85px;">鍒涘缓浜�</label> @@ -202,8 +206,7 @@ </div> </div> </div> - </div> - </div> + </div> <input type="hidden" value="0" name="HParentID" id="HParentID"> </div> </div> @@ -538,7 +541,7 @@ , area: ['90%', '90%']//澶у皬 , title: '閮ㄩ棬鍒楄〃'//鏍囬 , shift: 2//寮瑰嚭鍔ㄧ敾 - , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_DepartmentList.html', 'yes'] + , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_DepartmentList.html?Type=2&HOrgName=' + sessionStorage["Organization"], 'yes'] , btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰 diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\267\245\350\265\204\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Group.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\267\245\350\265\204\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Group.html" index 32e6e17..d04aaad 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\267\245\350\265\204\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Group.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\267\245\350\265\204\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Group.html" @@ -541,7 +541,7 @@ layer.close(ajaxLoad); - if ($("#Comparator").val() == 0 && $("#ColContent").val() == "") { + if ($("#ColName").find('option').length == 0) { ColFilter(); } } else { diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\267\245\350\265\204\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Group_Add_Edit.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\267\245\350\265\204\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Group_Add_Edit.html" index bdd04c4..74a1aff 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\267\245\350\265\204\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Group_Add_Edit.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\267\245\350\265\204\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Group_Add_Edit.html" @@ -505,7 +505,7 @@ , area: ['90%', '90%']//澶у皬 , title: '宸ュ簭鍒楄〃'//鏍囬 , shift: 2//寮瑰嚭鍔ㄧ敾 - , content: ['../../鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Gy_Process.html', 'yes'] + , content: ['../../鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Gy_Process.html?Type=2', 'yes'] , btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰 @@ -531,7 +531,7 @@ , area: ['90%', '90%']//澶у皬 , title: '閮ㄩ棬鍒楄〃'//鏍囬 , shift: 2//寮瑰嚭鍔ㄧ敾 - , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_DepartmentList.html', 'yes'] + , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_DepartmentList.html?Type=2&HOrgName=' + sessionStorage["Organization"], 'yes'] , btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰 diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Process.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Process.html" index 64d5d5e..7cc9871 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Process.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Process.html" @@ -36,6 +36,7 @@ <div class="layui-btn-group"> <button type="button" id="set_SaveBill" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="set_SaveBill">淇濆瓨</button> <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Cancel">閫�鍑�</button> + <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="set_CheckBill" id="set_CheckBill">瀹℃牳</button> </div> </div> <div class="layui-form-item" style="padding-top: 10px;"> @@ -535,7 +536,10 @@ form.on('submit(Cancel)', function () { Pub_Close(1); }) - + //瀹℃牳 + form.on('submit(set_CheckBill)', function (data) { + set_CheckBill(data); + }); //鏄惁绂佺敤鎸夐挳 form.on('checkbox(checkboxHStopflag)', function (data) { $("#HStopflag").val(data.elem.checked); @@ -679,6 +683,34 @@ //#region 鏈〉闈㈡墍鏈夎璋冪敤鐨勬柟娉� + + //瀹℃牳 + function set_CheckBill() { + layer.confirm("纭瑕佸鏍稿悧?", function (index) { + var HInterID = $("#HItemID").val(); + //閫昏緫瀹℃牳鏂规硶 + $.ajax({ + type: "GET", + url: GetWEBURL() + "/Gy_Process/AuditGy_Process", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚� + data: { "HInterID": HInterID, "IsAudit": 0, "CurUserName": sessionStorage["HUserName"] }, + success: function (result) { + if (result.count == 1) { + layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { + // 寰楀埌frame绱㈠紩 + var index = layer.getFrameIndex(window.name); + //鍏抽棴褰撳墠frame + layer.close(index); + }); + + } else { + layer.alert(result.code + result.Message, { icon: 5 }); + } + }, error: function () { + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + }) + } //#region 鍒ゆ柇鏄惁鐧诲綍 鏈櫥褰曞垯璺冲埌鐧诲綍椤� function get_LoginIs() { @@ -945,7 +977,7 @@ , area: ['90%', '90%']//澶у皬 , title: '閮ㄩ棬鍒楄〃'//鏍囬 , shift: 2//寮瑰嚭鍔ㄧ敾 - , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_DepartmentList.html', 'yes'] + , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_DepartmentList.html?type=2&HOrgName=' + sessionStorage["Organization"], 'yes'] , btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰 @@ -996,7 +1028,7 @@ , area: ['90%', '90%']//澶у皬 , title: '宸ユ鍒楄〃'//鏍囬 , shift: 2//寮瑰嚭鍔ㄧ敾 - , content: ['../../鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Gy_ProcMul.html', 'yes'] + , content: ['../../鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Gy_ProcMul.html?Type=2', 'yes'] , btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰 @@ -1021,7 +1053,7 @@ , area: ['90%', '90%']//澶у皬 , title: '妫�楠屾柟妗堝垪琛�'//鏍囬 , shift: 2//寮瑰嚭鍔ㄧ敾 - , content: ['../../璐ㄩ噺绠$悊/妫�楠屾柟妗堝崟/QC_CheckProjectList.html', 'yes'] + , content: ['../../璐ㄩ噺绠$悊/妫�楠屾柟妗堝崟/QC_CheckProjectList.html?Type=2', 'yes'] , btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰 @@ -1053,7 +1085,7 @@ , area: ['90%', '90%']//澶у皬 , title: '妫�楠屾柟妗堝垪琛�'//鏍囬 , shift: 2//寮瑰嚭鍔ㄧ敾 - , content: ['../../璐ㄩ噺绠$悊/妫�楠屾柟妗堝崟/QC_CheckProjectList.html', 'yes'] + , content: ['../../璐ㄩ噺绠$悊/妫�楠屾柟妗堝崟/QC_CheckProjectList.html?Type=2', 'yes'] , btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰 @@ -1085,7 +1117,7 @@ , area: ['90%', '90%']//澶у皬 , title: '妫�楠屾柟妗堝垪琛�'//鏍囬 , shift: 2//寮瑰嚭鍔ㄧ敾 - , content: ['../../璐ㄩ噺绠$悊/妫�楠屾柟妗堝崟/QC_CheckProjectList.html', 'yes'] + , content: ['../../璐ㄩ噺绠$悊/妫�楠屾柟妗堝崟/QC_CheckProjectList.html?Type=2', 'yes'] , btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰 diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Source.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Source.html" index cf7861d..4fcccbf 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Source.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Source.html" @@ -36,6 +36,7 @@ <div class="layui-btn-group"> <button type="button" id="set_SaveBill" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="set_SaveBill">淇濆瓨</button> <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Cancel">閫�鍑�</button> + <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="set_CheckBill" id="set_CheckBill">瀹℃牳</button> </div> </div> <div class="layui-form-item" style="padding-top: 10px;"> @@ -43,6 +44,7 @@ <ul class="layui-tab-title"> <li class="layui-this">鍩烘湰淇℃伅</li> <li>鍏朵粬淇℃伅</li> + <li>鍒跺崟淇℃伅</li> </ul> <div class="layui-tab-content"> <div class="layui-tab-item layui-show"> @@ -253,7 +255,7 @@ <div class="layui-input-inline"> <input type="text" name="HCubicleQty" id="HCubicleQty" value="1" lay-verify="" autocomplete="off" class="layui-input" onfocus="this.select();"> </div> - </div> + </div> </div> <div class="layui-row"> <div class="layui-col-xs4 layui-inline"> @@ -263,6 +265,9 @@ </div> </div> </div> + + </div> + <div class="layui-tab-item"> <div class="layui-row"> <div class="layui-inline"> <label class="layui-form-label" style="width: 85px;">鍒涘缓浜�</label> @@ -306,7 +311,6 @@ </div> </div> </div> - </div> </div> </form> </div> @@ -383,6 +387,10 @@ $("#HItemID").val(linterid);//淇敼鏃朵富琛↖D //缂栬緫鐘舵�佹椂锛屾牴鎹唴鐮侊紝鑾峰彇淇℃伅骞跺啓鍏ョ晫闈� RoadBillMain(linterid); + if ($("#HCheckEmp").val() != "") { + $('#set_CheckBill').addClass("layui-btn-disabled").attr("disabled", true);// + } + } else if (OperationType == 4) {//娴忚 $("#HItemID").val(linterid);// @@ -484,7 +492,10 @@ form.on('submit(set_SaveBill)', function (data) { set_SaveBill(data); }); - + //瀹℃牳 + form.on('submit(set_CheckBill)', function (data) { + set_CheckBill(data); + }); //琛ㄥご淇℃伅璐熻矗浜哄脊绐� form.on('submit(HEmpID-BT)', function () { @@ -605,6 +616,34 @@ }); } //#endregion + + //瀹℃牳 + function set_CheckBill() { + layer.confirm("纭瑕佸鏍稿悧?", function (index) { + var HInterID = $("#HItemID").val(); + //閫昏緫瀹℃牳鏂规硶 + $.ajax({ + type: "GET", + url: GetWEBURL() + "/Gy_Source/AuditGy_Source", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚� + data: { "HInterID": HInterID, "IsAudit": 0, "CurUserName": sessionStorage["HUserName"] }, + success: function (result) { + if (result.count == 1) { + layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { + // 寰楀埌frame绱㈠紩 + var index = layer.getFrameIndex(window.name); + //鍏抽棴褰撳墠frame + layer.close(index); + }); + + } else { + layer.alert(result.code + result.Message, { icon: 5 }); + } + }, error: function () { + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + }) + } //#region 淇濆瓨鏂规硶 function set_SaveBill(data) { @@ -728,7 +767,7 @@ , area: ['90%', '90%']//澶у皬 , title: '宸ュ簭鍒楄〃'//鏍囬 , shift: 2//寮瑰嚭鍔ㄧ敾 - , content: ['../../鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Gy_Process.html', 'yes'] + , content: ['../../鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Gy_Process.html?Type=2', 'yes'] , btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰 @@ -754,7 +793,7 @@ , area: ['90%', '90%']//澶у皬 , title: '閮ㄩ棬鍒楄〃'//鏍囬 , shift: 2//寮瑰嚭鍔ㄧ敾 - , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_DepartmentList.html', 'yes'] + , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_DepartmentList.html?Type=2&HOrgName=' + sessionStorage["Organization"], 'yes'] , btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰 @@ -780,7 +819,7 @@ , area: ['90%', '90%']//澶у皬 , title: '宸ヤ綔涓績鍒楄〃'//鏍囬 , shift: 2//寮瑰嚭鍔ㄧ敾 - , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_WorkCenter.html', 'yes'] + , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_WorkCenter.html?Type=2', 'yes'] , btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰 @@ -830,7 +869,7 @@ , area: ['90%', '90%']//澶у皬 , title: '鐢熶骇璧勬簮鍒楄〃'//鏍囬 , shift: 2//寮瑰嚭鍔ㄧ敾 - , content: ['../../鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Gy_Source.html', 'yes'] + , content: ['../../鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Gy_Source.html?Type=&Type2=2', 'yes'] , btn: ['纭畾', '鍙栨秷'] , btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟 var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰 diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_ProcMul.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_ProcMul.html" index ff8760b..bf0039f 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_ProcMul.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_ProcMul.html" @@ -266,7 +266,7 @@ //鍒濆鍖栬〃鏍� set_InitGrid(); //鏌ヨ - get_Display(sWhere); + get_FastQuery(); get_DefaultModule(); } @@ -394,6 +394,7 @@ if (HName) { sWhere += " and 宸ユ鍚嶇О like '%" + HName + "%'"; } + sWhere += addSWhereByOpenType(); get_Display(sWhere); sWhere = "";//璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨 } @@ -922,6 +923,19 @@ }) } + //#region 鍒ゆ柇鏄洿鎺ユ墦寮�椤甸潰杩樻槸鍏跺畠椤甸潰閫氳繃閫夋嫨鎸夐挳鎵撳紑锛屽苟鏄剧ず鐩稿簲鏁版嵁 + function addSWhereByOpenType() { + //鑾峰彇鍙傛暟 + var params = get_UrlVars(); + var openType = params[params[0]]; //浠庡弬鏁颁腑鑾峰彇 鎵撳紑鏂瑰紡 1鐩存帴鎵撳紑 2鍏跺畠椤甸潰閫氳繃閫夋嫨鎸夐挳鎵撳紑 + var addWhere = ""; + if (typeof (openType) != "undefined") { + addWhere += " and 瀹℃牳浜� != '' and 绂佺敤鏍囪!='Y'"; + } + return addWhere; + } + //#endregion + //#endregion //浠ヤ笂鏄痩ayui妯″潡 }); diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_CheckProjectList.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_CheckProjectList.html" index aaeb561..71cb418 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_CheckProjectList.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_CheckProjectList.html" @@ -427,13 +427,14 @@ //鑾峰彇椤圭洰鍙� Get_HProject(); //鏌ヨ - if (HName=="") { - get_Display(sWhere); - } else { - sWhere += " and 鐗╂枡鍚嶇О = '" + HName + "'"; - sWhere += " and 宸ュ簭鍚嶇О = '" + HProcName + "'"; - get_Display(sWhere); - } + //if (HName=="") { + // get_Display(sWhere); + //} else { + // sWhere += " and 鐗╂枡鍚嶇О = '" + HName + "'"; + // sWhere += " and 宸ュ簭鍚嶇О = '" + HProcName + "'"; + // get_Display(sWhere); + //} + get_FastQuery() //杩囨护鏂规鏌ヨ get_DefaultModule(); } @@ -644,6 +645,10 @@ } if (HProject != "" && HProject!=0) { sWhere += " and 椤圭洰鍙� like '%" + HProject + "%'"; + } + if (HName!="") { + sWhere += " and 鐗╂枡鍚嶇О = '" + HName + "'"; + sWhere += " and 宸ュ簭鍚嶇О = '" + HProcName + "'"; } addSWhereByOpenType(); get_Display(sWhere); @@ -942,7 +947,7 @@ var params = get_UrlVars(); var openType = params[params[0]]; //浠庡弬鏁颁腑鑾峰彇 鎵撳紑鏂瑰紡 1鐩存帴鎵撳紑 2鍏跺畠椤甸潰閫氳繃閫夋嫨鎸夐挳鎵撳紑 if (typeof (openType) != "undefined") { - sWhere += " and 绂佺敤鏍囪 = '' "; + sWhere += " and 瀹℃牳浜� != ''"; } } //#endregion -- Gitblit v1.9.1