| | |
| | | //public const string SqlConnStr = "Data Source=.;Initial Catalog=HX_LimsSys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//chæµè¯ |
| | | //public const string SqlConnStr = "Data Source=47.96.97.237,15127;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//YLæµè¯ |
| | | //public const string SqlConnStr = "Data Source=47.96.97.237,15127;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//ä¸¸äº |
| | | public const string SqlConnStr = "Data Source=192.168.0.200;Initial Catalog=HX_LimsSys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//丸äºå°å |
| | | //public const string SqlConnStr = "Data Source=192.168.0.200;Initial Catalog=HX_LimsSys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//丸äºå°å |
| | | //public const string SqlConnStr = "Data Source=192.168.0.175;Initial Catalog=HX_LimsSys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//é
çªè¯ºæµè¯ |
| | | public const string SqlConnStr = "Data Source=192.168.0.199;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//ççª |
| | | |
| | | //public string sServer; |
| | | //public string sDataBase; |
| | |
| | | var wait = layer.load(); |
| | | //é»è¾å 餿¹æ³ |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'Gy_Group/EditBill', |
| | | url: GetWEBURL() + '/Gy_Group/DeltetGy_Group', |
| | | type: "GET", |
| | | data: { "HItemID": ItemID }, |
| | | data: { "HItemID": ItemID, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { icon: 1 }, function () { |
| | |
| | | </button> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">éç½®</button> |
| | | <div class="layui-colla-content"> |
| | | <div class="layui-inline"> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <span>å
¶ä»æ¡ä»¶></span> |
| | | <div class="layui-inline"> |
| | | <span>å
¶ä»æ¡ä»¶></span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä»»å¡åå·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HWorkBillNo" id="HWorkBillNo"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä»»å¡åå·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HWorkBillNo" id="HWorkBillNo"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åæ®å·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åæ®å·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å·¥åºæµè½¬å¡å·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HProcExchBillNo" id="HProcExchBillNo"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å·¥åºæµè½¬å¡å·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HProcExchBillNo" id="HProcExchBillNo"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-block" style="margin-left: 10px;"> |
| | | <input type="checkbox" name="checkHWasterQty" id="checkHWasterQty" lay-skin="primary" lay-filter="checkHWasterQty" title="æ¥åºæ°éä¸ä¸º0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | | , { field: 'ä»»å¡å', title: 'ä»»å¡å', width: 125 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', width: 190 } |
| | | , { field: 'å¶å人', title: 'å¶å人' } |
| | | , { field: 'å·¥åºæµè½¬å¡å·', title: 'å·¥åºæµè½¬å¡å·', width: 125 } |
| | | , { field: 'HProcID', title: 'HProcID', hide: true } |
| | | , { field: 'å½åå·¥åºä»£ç ', title: 'å½åå·¥åºä»£ç ', width: 125 } |
| | |
| | | var HWorkBillNo = $("#HWorkBillNo").val(); |
| | | var HBillNo = $("#HBillNo").val(); |
| | | var HProcExchBillNo = $("#HProcExchBillNo").val(); |
| | | var checkHWasterQty = $("input[name='checkHWasterQty']").prop("checked");//å¤éæ¡ |
| | | |
| | | if (HBeginDate) { |
| | | sWhere += " and CONVERT(varchar(100),åºç«æ¶é´, 23) >= '" + HBeginDate + "'"; |
| | | } |
| | |
| | | if (HProcExchBillNo) { |
| | | sWhere += " and å·¥åºæµè½¬å¡å· like '%" + HProcExchBillNo + "%'"; |
| | | } |
| | | if (HProcExchBillNo) { |
| | | sWhere += " and å·¥åºæµè½¬å¡å· like '%" + HProcExchBillNo + "%'"; |
| | | } |
| | | if (checkHWasterQty) { |
| | | sWhere += " and æ¥åºæ°é>0 "; |
| | | } |
| | | if (HStatus) { |
| | | switch (HStatus) { |
| | | case '-1': //å
¨é¨ |
| | |
| | | <input type="text" class="layui-input" name="HVerNum" id="HVerNum" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">çæ¬</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HVerNum" id="HVerNum" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">çæ¬</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HVerNum" id="HVerNum" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | , { field: 'HProcID', title: 'HProcID', hide: true} |
| | | , { field: 'å·¥åºä»£ç ', title: 'å·¥åºä»£ç ' } |
| | | , { field: 'å·¥åºåç§°', title: 'å·¥åºåç§°' } |
| | | , { field: 'æµè½¬å¡æ°é', title: 'æµè½¬å¡æ°é', width:100 } |
| | | , { field: 'è¿ç«å
³èæ°é', title: 'è¿ç«å
³èæ°é', width: 120 } |
| | | , { field: 'åºç«å
³èæ°é', title: 'åºç«å
³èæ°é', width: 120 } |
| | | , { field: 'åºç«æ¥åºå
³èæ°é', title: 'åºç«æ¥åºå
³èæ°é', width: 150 } |
| | | , { field: 'è¿å·¥æ è®°', title: 'è¿å·¥æ è®°' } |
| | | , { field: 'å 工说æ', title: 'å 工说æ' } |
| | | , { field: 'å·¥ä½ä¸å¿ä»£ç ', title: 'å·¥ä½ä¸å¿ä»£ç ', width: 115 } |
| | |
| | | , { field: 'è®¡åæ°é', title: 'è®¡åæ°é' } |
| | | , { field: 'hmainid', title: 'hmainid', hide: true} |
| | | , { field: 'æ¥æ', title: 'æ¥æ', sort: true } |
| | | , { field: 'åæ®å·', title: 'åæ®å·' } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', width: 150 } |
| | | , { field: 'hicmointerid', title: 'hicmointerid', hide: true} |
| | | , { field: 'ä»»å¡åå·', title: 'ä»»å¡åå·' } |
| | | , { field: 'ä»»å¡åå·', title: 'ä»»å¡åå·', width: 100} |
| | | , { field: 'HWorkShopID', title: 'HWorkShopID', hide: true} |
| | | , { field: 'ç产车é´ä»£ç ', title: 'ç产车é´ä»£ç ', width: 115 } |
| | | , { field: 'ç产车é´', title: 'ç产车é´' } |
| | |
| | | , { field: 'å§å¤å å·¥åä½', title: 'å§å¤å å·¥åä½' } |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨' } |
| | | , { field: 'HBillType', title: 'HBillType', hide: true} |
| | | , { field: 'æµè½¬å¡æ°é', title: 'æµè½¬å¡æ°é' } |
| | | , { field: 'è¿ç«å
³èæ°é', title: 'è¿ç«å
³èæ°é' } |
| | | , { field: 'åºç«å
³èæ°é', title: 'åºç«å
³èæ°é' } |
| | | , { field: 'åºç«æ¥åºå
³èæ°é', title: 'åºç«æ¥åºå
³èæ°é' } |
| | | , { field: 'è¡å
³é人', title: 'è¡å
³é人' } |
| | | , { field: 'å
³éç±»å', title: 'å
³éç±»å' } |
| | | , { field: '表ä½å¤æ³¨', title: '表ä½å¤æ³¨' } |