WebTM/App_Data/MssqlReportData.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WebTM/views/基础资料/公用基础资料/HBarPlanPrint.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WebTM/views/基础资料/公用基础资料/xmlLBM_Kf_ProductReceiveMaterialBillList.aspx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WebTM/views/基础资料/公用基础资料/xmlLBM_Kf_ProductReceiveMaterialBillList.aspx.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WebTM/views/基础资料/公用基础资料/xmlLBM_Kf_ProductReceiveMaterialBillList.aspx.designer.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WebTM/views/领料发货/生产领料/Kf_ProductReceiveMaterialBillEdit.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
WebTM/App_Data/MssqlReportData.cs
@@ -23,7 +23,7 @@ //public const string SqlConnStr = "Data Source=10.11.18.195;Initial Catalog=HX_LMESsys_test;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;"; //æ¯è«å° //public const string SqlConnStr = "Data Source=30.10.7.6;Initial Catalog=HX_LMESsys_test;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;"; //æ¯è«å° //public const string SqlConnStr = "Data Source=192.168.0.245;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//å¸ å¨ //public const string SqlConnStr = "Data Source=192.168.1.250;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//ä¹ä¸ //public const string SqlConnStr = "Data Source=10.10.1.1;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//ä¹ä¸ //public const string SqlConnStr = "Data Source=192.168.1.251;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//ä¹ä¸æµè¯ //public const string SqlConnStr = "Data Source=192.168.16.53;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//é¾å±±æ±½é //public const string SqlConnStr = @"Data Source=192.168.0.193\SWE2014;Initial Catalog=HX_LimsSys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//丸äºå°å WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/HBarPlanPrint.html
@@ -323,7 +323,10 @@ break; case "Xs_OutDoorBillList"://åºé¨ç¡®è®¤åå CreateDisplayViewerEx("100%", "100%", "../../grf/" + OpenTmp + ".grf", "xmlLBM_Xs_OutDoorBillList.aspx?linterid=" + value, true, ""); break; break; case "Kf_ProductReceiveMaterialBillList": //çäº§é¢æå CreateDisplayViewerEx("100%", "100%", "../../grf/" + OpenTmp + ".grf", "xmlLBM_Kf_ProductReceiveMaterialBillList.aspx?linterid=" + value, true, ""); break; } </script> </body> WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/xmlLBM_Kf_ProductReceiveMaterialBillList.aspx
New file @@ -0,0 +1,28 @@ <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="xmlLBM_Kf_ProductReceiveMaterialBillList.aspx.cs" Inherits="WebTM.views.åºç¡èµæ.å ¬ç¨åºç¡èµæ.xmlLBM_Kf_ProductReceiveMaterialBillList" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title></title> <script runat="server"> protected void Page_Load(object sender, EventArgs e) { //â ç¹å«æç¤ºâ ï¼ //ä¸åçæ°æ®åºåºè¯¥éç¨ä¸åçæ¥è¡¨XMLæ°æ®çæç±»ï¼SQL Serveræ°æ®åºç¨SqlXMLReportDataï¼Oracleæ°æ®åºç¨OracleXMLReportData //OledbXMLReportDataéåäºAccessçæ¬å°æ°æ®åºï¼ä¸ºäºæ¼ç¤ºæ¹ä¾¿ï¼è¿éä»Grid++ReportçAccessä¾åæ°æ®åºä¸è·åæ¥è¡¨æ°æ® //OledbXMLReportData.GenOneRecordset(this, "select * from Customers order by CustomerID"); //SqlXMLReportData.GenOneRecordset(this, "select * from h_v_Kf_POStockInBillList_K3 where hmainid=1781"); SqlXMLReportData.GenOneRecordset(this, "select * from h_v_Kf_ProductReceiveMaterialBillList_Edit where hmainid=" + Request.Params["linterid"] + " order by hsubid asc"); } </script> </head> <body> <form id="form1" runat="server"> <div> </div> </form> </body> </html> WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/xmlLBM_Kf_ProductReceiveMaterialBillList.aspx.cs
New file @@ -0,0 +1,17 @@ using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebTM.views.åºç¡èµæ.å ¬ç¨åºç¡èµæ { public partial class xmlLBM_Kf_ProductReceiveMaterialBillList : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } } } WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/xmlLBM_Kf_ProductReceiveMaterialBillList.aspx.designer.cs
New file @@ -0,0 +1,26 @@ //------------------------------------------------------------------------------ // <èªå¨çæ> // æ¤ä»£ç ç±å·¥å ·çæã // // å¯¹æ¤æä»¶çæ´æ¹å¯è½å¯¼è´ä¸æ£ç¡®çè¡ä¸ºï¼å¦æ // éæ°çæä»£ç ï¼åæåæ´æ¹å°ä¸¢å¤±ã // </èªå¨çæ> //------------------------------------------------------------------------------ namespace WebTM.views.åºç¡èµæ.å ¬ç¨åºç¡èµæ { public partial class xmlLBM_Kf_ProductReceiveMaterialBillList { /// <summary> /// form1 æ§ä»¶ã /// </summary> /// <remarks> /// èªå¨çæçåæ®µã /// è¥è¦è¿è¡ä¿®æ¹ï¼è¯·å°å段声æä»è®¾è®¡å¨æä»¶ç§»å°ä»£ç éèæä»¶ã /// </remarks> protected global::System.Web.UI.HtmlControls.HtmlForm form1; } } WebTM/views/ÁìÁÏ·¢»õ/Éú²úÁìÁÏ/Kf_ProductReceiveMaterialBillEdit.html
@@ -46,8 +46,8 @@ <div class="layui-card-header"> <div class="layui-btn-group"> <button type="button" id="set_SaveBill" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Saver">ä¿å</button> <!--<button type="button" id="set_CheckBill" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="set_CheckBill">å®¡æ ¸</button>--> <!--<button type="button" id="btn-print" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="btn-print">æå°</button>--> <button type="button" id="set_CheckBill" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="set_CheckBill">å®¡æ ¸</button> <button type="button" id="btn-print" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="btn-print">æå°</button> <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Exit">éåº</button> </div> </div> @@ -1643,43 +1643,33 @@ //#region æå° function get_PrintReport() { //#region 夿æºåç¶æ var HSourceBillData = ""; var HSourceBillData = getSourceBillStatus_SellOutBill(); //è·åæºåæ°æ® if (HSourceBillData != "none") { if (HSourceBillData.length == 0) { layer.alert("æå°å¤±è´¥!æªæ¥è¯¢å°åæ®ä¿¡æ¯!", { icon: 5 }); return; } else if (HSourceBillData[0]["ç¶æ"] != "å·²å®¡æ ¸") { layer.alert("æå°å¤±è´¥!åæ®ç¶ææªä¸º'å·²å®¡æ ¸'ç¶æ!", { icon: 5 }); return; } } else { return; } //#endregion var InterID = $("#HInterID").val(); var sWhere = " and ç¶æ = 'å·²å®¡æ ¸' and hmainid = " + InterID; $.ajax({ type: "GET", url: GetWEBURL() + "/Kf_SellOutBill/CheckSellOutBill_IsExist", //æ¹æ³æå¨é¡µé¢åæ¹æ³å data: { "HInterID": InterID }, url: GetWEBURL() + "/Kf_ProductReceiveMaterialBill/list", //æ¹æ³æå¨é¡µé¢åæ¹æ³å data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, success: function (result) { if (result.count == 1) { layer.open({ type: 2 , area: ['50%', '50%'] , title: 'æå°æ¨¡çéæ©' , shade: 0.6 //é®ç½©éæåº¦ , maxmin: false //å è®¸å ¨å±æå°å , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + InterID + '&MyMsg=' + InterID + '&Type=Kf_SellOutBillList', 'yes'] , resize: false }) if (result.data.length > 0) { layer.open({ type: 2 , area: ['50%', '50%'] , title: 'æå°æ¨¡çéæ©' , shade: 0.6 //é®ç½©éæåº¦ , maxmin: false //å è®¸å ¨å±æå°å , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + InterID + '&MyMsg=' + InterID + '&Type=Kf_ProductReceiveMaterialBillList', 'yes'] , resize: false }) } else { layer.alert(result.code + "æå°å¤±è´¥ï¼æªæ¥è¯¢å°ç¶æä¸ºãå·²å®¡æ ¸ãçåæ®ï¼", { icon: 5 }); } } else { layer.alert(result.code + result.Message, { icon: 5 }); } }, error: function () { layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); }, error: function (e) { layer.alert("åæ®ä¿¡æ¯æ¥è¯¢å¤±è´¥ï¼æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); } }); }