| | |
| | | } |
| | | |
| | | //å è½½ç½æ ¼ |
| | | function get_Display(txtHOrderProcNo, txtHMaterNumber, check, txtHDeptName, sWhere) { |
| | | function get_Display(HDate1,HDate2,txtHOrderProcNo, txtHMaterNumber, check, txtHDeptName, sWhere) { |
| | | var wait = layer.load();//é®ç½© |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Mes_OrderProcFlowAllReport/OrderProcFlowAllReportList_Tk', |
| | | type: "GET", |
| | | data: {"txtHOrderProcNo": txtHOrderProcNo, "txtHMaterNumber": txtHMaterNumber, "check": check, "txtHDeptName": txtHDeptName, "sWhere": sWhere }, |
| | | data: { "HDate1": HDate1, "HDate2": HDate2,"txtHOrderProcNo": txtHOrderProcNo, "txtHMaterNumber": txtHMaterNumber, "check": check, "txtHDeptName": txtHDeptName, "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | var col = []; |
| | | if (data1.count == 1) { |
| | |
| | | function get_FastQuery() { |
| | | var HDate1 = $("#HDate1").val(); |
| | | var HDate2 = $("#HDate2").val(); |
| | | sWhere = "and å·¥åºå®å·¥æ¥æ1 >='" + HDate1 + "' and å·¥åºå®å·¥æ¥æ1<='" + HDate2 + "'"; |
| | | sWhere = ""; |
| | | //sWhere = "and å·¥åºå®å·¥æ¥æ1 >='" + HDate1 + "' and å·¥åºå®å·¥æ¥æ1<='" + HDate2 + "'"; |
| | | var txtHOrderProcNo = $("#txtHOrderProcNo").val();//订åè·è¸ªå· |
| | | var txtHMaterNumber = $("#txtHMaterNumber").val(); //ç©æ |
| | | var txtHDeptName = $("#txtHDeptName").val(); //ç©æ |
| | |
| | | sWhere += " and " + ColName2 + " " + com2; |
| | | } |
| | | |
| | | get_Display(txtHOrderProcNo, txtHMaterNumber, check, txtHDeptName, sWhere); |
| | | get_Display(HDate1,HDate2,txtHOrderProcNo, txtHMaterNumber, check, txtHDeptName, sWhere); |
| | | //sWhere = "'" + HDate1 + "','" + HDate2 + "','" + txtHOrderProcNo + "','" + txtHMaterNumber + "','" + check + "'" + ",'" + txtHDeptName + "'"; |
| | | //è°ç¨æ¥å£åæ¸
空sWhereç¼å |
| | | sWhere = ""; |