| | |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HProcMulName" id="HProcMulName" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HProcMulID" id="HProcMulID" value="0"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="" style="width: 40px; background-color: gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left: -9px; color: black;"></i> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left: -9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HProcessName_K3" id="HProcessName_K3" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HProcessID_K3" id="HProcessID_K3" value="0"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="" style="width: 40px; background-color: gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left: -9px; color: black;"></i> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left: -9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ç»ç»</label> |
| | | <div class="layui-input-inline" style="margin-bottom: -15px;"> |
| | | <div class="layui-form"> |
| | | <div class="layui-form-item"> |
| | | <select name="HUSEORGID" id="HUSEORGID" lay-verify="HUSEORGID"> |
| | | <!--å¨ææ¸²æç»ç»--> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ç¦ç¨æ å¿</label> |
| | | <div class="layui-input-inline"> |
| | |
| | | <input type="hidden" value="false" name="HAutoTrunFlag" id="HAutoTrunFlag"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å·¥ä½ä¸å¿</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HWorkCenterName" id="HDeptName" class="layui-input" value="" style="float: left; width: 150px; background-color: #efefef4d;" readonly> |
| | | <input type="hidden" name="HWorkCenterID" id="HDeptID" value="0"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HWorkCenterID-BT" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs8 layui-inline"> |
| | |
| | | </div> |
| | | </div> |
| | | <input type="hidden" value="0" name="HParentID" id="HParentID"> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | //夿æ¯å¦ç»å½ æªç»å½åè·³å°ç»å½é¡µ |
| | | get_LoginIs(); |
| | | |
| | | Organ();//æ¾ç¤ºç»ç» |
| | | //è·å页é¢è·³è½¬åæ° |
| | | var params = get_UrlVars(); |
| | | if (typeof (params[params[0]]) == "undefined") { |
| | |
| | | $("#HItemID").val(0); |
| | | } |
| | | else if (OperationType == 3) {//ç¼è¾ |
| | | //ç¦ç¨ç»ç»é项 |
| | | $("#HUSEORGID").attr("disabled", true); |
| | | $("#HItemID").val(linterid);//ä¿®æ¹æ¶ä¸»è¡¨ID |
| | | //ç¼è¾ç¶ææ¶ï¼æ ¹æ®å
ç ï¼è·åä¿¡æ¯å¹¶åå
¥çé¢ |
| | | RoadBillMain(linterid); |
| | |
| | | }); |
| | | |
| | | //鿩工ä½ä¸å¿æé® |
| | | form.on('submit(HWorkingProcedure-BT)', function () { |
| | | form.on('submit(HWorkCenterID-BT)', function () { |
| | | get_checkWorkCenter(); |
| | | }); |
| | | |
| | |
| | | } |
| | | } |
| | | //#endregion |
| | | |
| | | //è·åç»ç» |
| | | function Organ() { |
| | | //è·åç»å½é¡µç»ç»å |
| | | var Organization = ''; |
| | | $.ajax({ |
| | | type: "get", |
| | | url: GetWEBURL() + "/Web/GetOrganizations", |
| | | success: function (result) { |
| | | if (result.count == 1) { // 说æéªè¯æåäºï¼ |
| | | var data = result.data; |
| | | for (var i = 0; i < data.length; i++) { |
| | | Organization += '<option style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>'; |
| | | } |
| | | $("#HUSEORGID").append(Organization); |
| | | $("#HUSEORGID").val(sessionStorage["OrganizationID"]) |
| | | form.render('select'); |
| | | } |
| | | layer.closeAll("loading"); |
| | | } |
| | | }) |
| | | } |
| | | |
| | | //#region å 载表头 |
| | | function RoadBillMain(linterid) { |
| | |
| | | , "HAutoTrunFlag": data.èªå¨ç§»è½¬ |
| | | , "HRemark": data.夿³¨ |
| | | , "HProcCheckNote": data.æ¬å·¥åºç¡®è®¤è®°å½ |
| | | , "HUSEORGID": data.HUSEORGID |
| | | }); |
| | | layer.close(ajaxLoad); |
| | | } else { |
| | |
| | | type: "POST", |
| | | url: GetWEBURL() + "Gy_Process/ModifyByID", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "oMain": sMainStr }, |
| | | data: { "oMain": sMainStr + ";" + sessionStorage["HUserName"] }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HCenter").val(checkStatus.data[0].å·¥ä½ä¸å¿); |
| | | $("#HCenterID").val(checkStatus.data[0].HItemID); |
| | | $("#HWorkCenterName").val(checkStatus.data[0].å·¥ä½ä¸å¿); |
| | | $("#HWorkCenterID").val(checkStatus.data[0].HItemID); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |