| | |
| | | <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script> |
| | | <script src="../../../layuiadmin/Scripts/webConfig.js"></script> |
| | | <script src="../../../layuiadmin/PubCustom.js"></script> |
| | | <script src="../../../layuiadmin/PageTitle.js"></script> |
| | | <!--<style> |
| | | .main-btn { /*头é¨ä¸»æé®*/ |
| | | padding: 0 2px; /*è°æ´æé®å·¦å³ç©ºé大å°*/ |
| | |
| | | <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="set_CancelCloseBill" id="set_CancelCloseBill">åå
³é</button>--> |
| | | </div> |
| | | <div class="layui-tab" lay-filter="tab-POStockInBill"> |
| | | <h1 style="text-align: center; padding: 10px 0;"><b>å·¥ç¨é¡¹ç®</b></h1> |
| | | <ul class="layui-tab-title" lay-filter="tab-all"> |
| | | <li lay-id="1" style="padding:1px;" class="layui-this">åºæ¬ä¿¡æ¯</li> |
| | | <li lay-id="2" style="padding:1px;">å
¶ä»ä¿¡æ¯</li> |
| | | <li lay-id="2" style="padding:1px;">å·¥ç¨ä¿¡æ¯</li> |
| | | <li lay-id="3" style="padding:1px;">项ç®ä¿¡æ¯</li> |
| | | <li lay-id="4" style="padding:1px;">ä»»å¡ä¿¡æ¯</li> |
| | | <li lay-id="5" style="padding:1px;">å
¶ä»ä¿¡æ¯</li> |
| | | </ul> |
| | | <div class="layui-tab-content"> |
| | | <!--åºæ¬ä¿¡æ¯--> |
| | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åæ®å·<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HBillNo" lay-verify="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" class="layui-input" name="HBillNo" lay-verify="HBillNo" id="HBillNo"> |
| | | <input type="hidden" name="HInterID" id="HInterID" lay-verify="HInterID"> |
| | | <input type="hidden" name="HBillSubType" id="HBillSubType" value=""> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">项ç®åç§°</label> |
| | | <label class="layui-form-label" style="width: 85px;">项ç®åç§°<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" lay-verify="HProName" name="HProName" id="HProName"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">客æ·<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" lay-verify="HCusName" name="HCusName" id="HCusName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HCusID" id="HCusID" lay-verify="HCusID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHCus" id="btnSearchHCus" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æ¥æ<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width:180px;"> |
| | | <input type="date" class="layui-input" lay-verify="HDate" name="HDate" id="HDate" style="padding-left: 80px;"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å¼å§æ¥æ<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width: 185px;"> |
| | |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">客æ·<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" lay-verify="HCusName" name="HCusName" id="HCusName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HCusID" id="HCusID" lay-verify="HCusID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHCus" id="btnSearchHCus" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">宿½æ
å½<label style="color:red"> * </label></label> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">ç»ç®æ¹<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" lay-verify="HPayCusName" name="HPayCusName" id="HPayCusName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HPayCusID" id="HPayCusID" lay-verify="HPayCusID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHPayCus" id="btnSearchHPayCus" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </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" lay-verify="HLastMoney" name="HLastMoney" id="HLastMoney" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">夿³¨</label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width: 501px;"> |
| | | <input type="text" class="layui-input" lay-verify="HRemark" name="HRemark" id="HRemark"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | <!--å·¥ç¨ä¿¡æ¯--> |
| | | <div class="layui-tab-item"> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">项ç®ç±»å«</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" lay-verify="HProjectClassName" name="HProjectClassName" id="HProjectClassName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HProjectClassID" id="HProjectClassID" lay-verify="HProjectClassID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHProjectClass" id="btnSearchHProjectClass" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </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" lay-verify="HBuildAddress" name="HBuildAddress" id="HBuildAddress"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <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" lay-verify="HWorkNo" name="HWorkNo" id="HWorkNo"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åçæ¥æ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width:180px;"> |
| | | <input type="date" class="layui-input" lay-verify="HReDate" name="HReDate" id="HReDate" style="padding-left: 80px;"> |
| | | </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" lay-verify="HPicNo" name="HPicNo" id="HPicNo"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <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" lay-verify="HContacts" name="HContacts" id="HContacts"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">è系人çµè¯</label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width:180px;"> |
| | | <input type="text" class="layui-input" lay-verify="HContactNumber" name="HContactNumber" id="HContactNumber"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä»»å¡ä¸è¾¾</label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width:180px;"> |
| | | <input type="text" class="layui-input" lay-verify="HWorkTask" name="HWorkTask" id="HWorkTask"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">项ç®å
容</label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width:815px;"> |
| | | <textarea class="layui-textarea" name="HProjectNote" id="HProjectNote" lay-verify="HProjectNote" style="height:100px"></textarea> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">åå
åä½<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" lay-verify="HSupplierName" name="HSupplierName" id="HSupplierName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HSupplierID" id="HSupplierID" lay-verify="HSupplierID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHSupplier" id="btnSearchHSupplier" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">管çå<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" lay-verify="HMangerEmpName" name="HMangerEmpName" id="HMangerEmpName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HMangerEmpID" id="HMangerEmpID" lay-verify="HMangerEmpID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHMangerEmp" id="btnSearchHMangerEmp" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">æ½å·¥å<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" lay-verify="HWorkerName" name="HWorkerName" id="HWorkerName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HWorkerID" id="HWorkerID" lay-verify="HWorkerID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHWorker" id="btnSearchHWorker" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">è¯åéªæ¶äºº<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" lay-verify="HTestCheckerName" name="HTestCheckerName" id="HTestCheckerName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HTestCheckerID" id="HTestCheckerID" lay-verify="HTestCheckerID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHTestChecker" id="btnSearchHTestChecker" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ææè®¡å<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width:180px;"> |
| | | <input type="date" class="layui-input" lay-verify="HMaterPlanDate" name="HMaterPlanDate" id="HMaterPlanDate" style="padding-left: 80px;"> |
| | | </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" lay-verify="HPlanWorkTimes" name="HPlanWorkTimes" id="HPlanWorkTimes" value="0"> |
| | | </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" lay-verify="HRelWorkTimes" name="HRelWorkTimes" id="HRelWorkTimes" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">è¯åæ¥æ<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width:180px;"> |
| | | <input type="date" class="layui-input" lay-verify="HTestDate" name="HTestDate" id="HTestDate" style="padding-left: 80px;"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">è¯åè®°å½</label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width:815px;"> |
| | | <textarea class="layui-textarea" name="HTestNote" id="HTestNote" lay-verify="HTestNote" style="height:100px"></textarea> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ææ±¡æ¥æ<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width:180px;"> |
| | | <input type="date" class="layui-input" lay-verify="HSewageDate" name="HSewageDate" id="HSewageDate" style="padding-left: 80px;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">éæ°´æ¥æ<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width:180px;"> |
| | | <input type="date" class="layui-input" lay-verify="HWaterSupplyDate" name="HWaterSupplyDate" id="HWaterSupplyDate" style="padding-left: 80px;"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ç«£å·¥èµæ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width:815px;"> |
| | | <textarea class="layui-textarea" name="HWorkNote" id="HWorkNote" lay-verify="HWorkNote" style="height:100px"></textarea> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æ½å·¥å®ææ
åµ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width:815px;"> |
| | | <textarea class="layui-textarea" name="HWorkProcNote" id="HWorkProcNote" lay-verify="HWorkProcNote" style="height:100px"></textarea> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <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" lay-verify="HYuSuanMoney" name="HYuSuanMoney" id="HYuSuanMoney" value="0"> |
| | | </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" lay-verify="HHeTongMoney" name="HHeTongMoney" id="HHeTongMoney" value="0"> |
| | | </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" lay-verify="HJieSuanMoney" name="HJieSuanMoney" id="HJieSuanMoney" value="0"> |
| | | </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" lay-verify="HShenJiMoney" name="HShenJiMoney" id="HShenJiMoney" value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <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" lay-verify="HCaiLiaoMoney" name="HCaiLiaoMoney" id="HCaiLiaoMoney" value="0"> |
| | | </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" lay-verify="HAnZhuangMoney" name="HAnZhuangMoney" id="HAnZhuangMoney" value="0"> |
| | | </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" lay-verify="HBanZuMoney" name="HBanZuMoney" id="HBanZuMoney" value="0"> |
| | | </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" lay-verify="HYuShouKuanMoney" name="HYuShouKuanMoney" id="HYuShouKuanMoney" value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <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" lay-verify="HGongFeiMoney" name="HGongFeiMoney" id="HGongFeiMoney" value="0"> |
| | | </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" lay-verify="HJieZhangMoney" name="HJieZhangMoney" id="HJieZhangMoney" value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!--项ç®ä¿¡æ¯--> |
| | | <div class="layui-tab-item"> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">宿½æ
å½<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" lay-verify="HWorkEmpName" name="HWorkEmpName" id="HWorkEmpName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HWorkEmpID" id="HWorkEmpID" lay-verify="HWorkEmpID" value="0"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">å¼åæ
å½<label style="color:red"> * </label></label> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">å¼åæ
å½<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" lay-verify="HDepEmpName" name="HDepEmpName" id="HDepEmpName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HDepEmpID" id="HDepEmpID" lay-verify="HDepEmpID" value="0"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">对åºäº§å<label style="color:red"> * </label></label> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">对åºäº§å<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" lay-verify="HMaterNumber" name="HMaterNumber" id="HMaterNumber" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HMaterID" id="HMaterID" lay-verify="HMaterID" value="0"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">ç»ç®æ¹<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" lay-verify="HPayCusName" name="HPayCusName" id="HPayCusName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HPayCusID" id="HPayCusID" lay-verify="HPayCusID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHPayCus" id="btnSearchHPayCus" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </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" lay-verify="HLastMoney" name="HLastMoney" id="HLastMoney" value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <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" lay-verify="HSumMoney" name="HSumMoney" id="HSumMoney" value="0"> |
| | |
| | | <input type="text" class="layui-input" lay-verify="HProMoney" name="HProMoney" id="HProMoney" value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | |
| | | <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" lay-verify="HOtherMoney" name="HOtherMoney" id="HOtherMoney" value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <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" lay-verify="HDepDays" name="HDepDays" id="HDepDays" value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">夿³¨</label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width: 501px;"> |
| | | <input type="text" class="layui-input" lay-verify="HRemark" name="HRemark" id="HRemark"> |
| | | <label class="layui-form-label" style="width: 85px;">建设åä½</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" lay-verify="HBuildComp" name="HBuildComp" id="HBuildComp"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!--ä»»å¡ä¿¡æ¯--> |
| | | <div class="layui-tab-item"> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">ä»»å¡å¤§ç±»<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" lay-verify="HTaskClassName" name="HTaskClassName" id="HTaskClassName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HTaskClassID" id="HTaskClassID" lay-verify="HTaskClassID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHTaskClass" id="btnSearchHTaskClass" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">ä»»å¡é¡¹ç®åç±»<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" lay-verify="HTaskClassEntryName" name="HTaskClassEntryName" id="HTaskClassEntryName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HTaskClassEntryID" id="HTaskClassEntryID" lay-verify="HTaskClassEntryID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHTaskClassEntry" id="btnSearchHTaskClassEntry" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </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="HTaskAddress" lay-verify="HTaskAddress" id="HTaskAddress"> |
| | | </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="HBreakStatus" lay-verify="HBreakStatus" id="HBreakStatus" > |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <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="HWaterLeakage" lay-verify="HWaterLeakage" id="HWaterLeakage" > |
| | | </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="HPipeDiameter" lay-verify="HPipeDiameter" id="HPipeDiameter" > |
| | | </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="HPipeMaterial" lay-verify="HPipeMaterial" id="HPipeMaterial" > |
| | | </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="HAlarmEmp" lay-verify="HAlarmEmp" id="HAlarmEmp" > |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <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="HAlarmLink" lay-verify="HAlarmLink" id="HAlarmLink" > |
| | | </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="HReceEmp" lay-verify="HReceEmp" id="HReceEmp" > |
| | | </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="datetime-local" step="1" class="layui-input" name="HReceTime" lay-verify="HReceTime" id="HReceTime" > |
| | | </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="number" class="layui-input" name="HTaskMaterMoney" lay-verify="HTaskMaterMoney" id="HTaskMaterMoney" value="0" > |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä»»å¡å®è£
è´¹</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="number" class="layui-input" name="HTaskSetupMoney" lay-verify="HTaskSetupMoney" id="HTaskSetupMoney" value="0"> |
| | | </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="number" class="layui-input" name="HTaskOtherMoney" lay-verify="HTaskOtherMoney" id="HTaskOtherMoney" value="0" > |
| | | </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="number" class="layui-input" name="HTaskExamMoney" lay-verify="HTaskExamMoney" id="HTaskExamMoney" value="0" > |
| | | </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="number" class="layui-input" name="HTaskWorkMoney" lay-verify="HTaskWorkMoney" id="HTaskWorkMoney" value="0" > |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æ¯å¦ç»è´¦</label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width: 200px;"> |
| | | <input type="checkbox" class="layui-input" name="HIsAccount" lay-verify="HIsAccount" id="HIsAccount" title="æ¯" lay-skin="tag" value="true" checked > |
| | | </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="datetime-local" step="1" class="layui-input" name="HAccountDate" lay-verify="HAccountDate" id="HAccountDate" > |
| | | </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="datetime-local" step="1" class="layui-input" name="HAccountWorkMoneyDate" lay-verify="HAccountWorkMoneyDate" id="HAccountWorkMoneyDate" > |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æ¯å¦å®¡æ ¸èæ ¸è´¹</label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width: 200px;"> |
| | | <input type="checkbox" class="layui-input" name="HIsCheckExam" lay-verify="HIsCheckExam" id="HIsCheckExam" title="æ¯" lay-skin="tag" checked value="true"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æ¯å¦å®¡æ ¸å·¥è´¹</label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width: 200px;"> |
| | | <input type="checkbox" class="layui-input" name="HIsCheckWorkMoney" lay-verify="HIsCheckWorkMoney" id="HIsCheckWorkMoney" title="æ¯" lay-skin="tag" checked value="true"> |
| | | </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="datetime-local" step="1" class="layui-input" name="HInfoBackTime" lay-verify="HInfoBackTime" id="HInfoBackTime"> |
| | | </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="HInfoBackMan" lay-verify="HInfoBackMan" id="HInfoBackMan" > |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åå¤å
容</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <textarea type="text" class="layui-textarea" name="HInfoNote" lay-verify="HInfoNote" id="HInfoNote" ></textarea> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä»»å¡å¼å§æ¶é´</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="datetime-local" step="1" class="layui-input" name="HTaskBTime" lay-verify="HTaskBTime" id="HTaskBTime"> |
| | | </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="datetime-local" step="1" class="layui-input" name="HTaskETime" lay-verify="HTaskETime" id="HTaskETime"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä»»å¡è¯¦ç»å
容</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <textarea type="text" class="layui-textarea" name="HTaskNote" lay-verify="HTaskNote" id="HTaskNote" ></textarea> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å·¥ä½äººå</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <textarea type="text" class="layui-textarea" name="HTaskWorkEmp" lay-verify="HTaskWorkEmp" id="HTaskWorkEmp" ></textarea> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å¼å§å
³éæ¶é´</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="datetime-local" step="1" class="layui-input" name="HBeginCloseValveTime" lay-verify="HBeginCloseValveTime" id="HBeginCloseValveTime"> |
| | | </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="datetime-local" step="1" class="layui-input" name="HEndCloseValveTime" lay-verify="HEndCloseValveTime" id="HEndCloseValveTime"> |
| | | </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="number" class="layui-input" name="HCloseValveQty" lay-verify="HCloseValveQty" id="HCloseValveQty" value="0" > |
| | | </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="datetime-local" step="1" class="layui-input" name="HBeginOpenValveTime" lay-verify="HBeginOpenValveTime" id="HBeginOpenValveTime"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ç»æå¼éæ¶é´</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="datetime-local" step="1" class="layui-input" name="HEndOpenValveTime" lay-verify="HEndOpenValveTime" id="HEndOpenValveTime"> |
| | | </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="number" class="layui-input" name="HOpenValveQty" lay-verify="HOpenValveQty" id="HOpenValveQty" value="0" > |
| | | </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="HValveWorkEmp" lay-verify="HValveWorkEmp" id="HValveWorkEmp" > |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä»»å¡å¤æ³¨</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <textarea type="text" class="layui-textarea" name="HTaskRemark" lay-verify="HTaskRemark" id="HTaskRemark" ></textarea> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!--å
¶ä»ä¿¡æ¯--> |
| | | <div class="layui-tab-item"> |
| | | <div class="layui-form-item"> |
| | |
| | | <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="HMaker" id="HMaker" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" class="layui-input" name="HMaker" id="HMaker" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | </div> |
| | | </script> |
| | | <script> |
| | | |
| | | |
| | | layui.config({ |
| | | base: '../../../layuiadmin/' //éæèµæºæå¨è·¯å¾ |
| | | }).extend({ |
| | |
| | | var option1 = {}; //é¡¹ç®æå表渲æåæ° |
| | | //è®°å½ç»ç»çå¼ |
| | | var HOrgIDBar = 0; |
| | | //å
¨å±åé |
| | | window.CusType = 0; |
| | | window.ProjectStageData = [];//项ç®é¶æ®µ |
| | | window.HEmpData = []; //é¶æ®µè´è´£äºº |
| | | window.ProjectCheckData = []; //é¶æ®µå®¡æ ¸äºº |
| | | window.RowDatas = []; //f6é¶æ®µè´è´£äºº |
| | | window.RowDatass = []; //f6é¶æ®µå®¡æ ¸äºº |
| | | window.MemberData = []; //é¡¹ç®æå |
| | | |
| | | |
| | | |
| | | //è·ååæ° |
| | | var params = getUrlVars(); |
| | | var OperationType = params[params[0]]; //ä»åæ°ä¸è·å æ°æ®ç±»å 1æ·»å ä¿å 2å¤å¶ 3 ç¼è¾ |
| | | var linterid = params[params[1]]; //ä»åæ°ä¸è·å åæ®å
ç |
| | | |
| | | var HBillSubType = (decodeURI(params[params[3]]) != "å·¥ç¨ç±»" && decodeURI(params[params[3]]) != "ä»»å¡ç±»") ? "项ç®ç±»" : decodeURI(params[params[3]]); |
| | | $("#HBillSubType").val(HBillSubType); |
| | | //#endregion |
| | | |
| | | //#region è¿å
¥é¡µé¢å³å è½½ |
| | | //æ ¹æ®åç±»åéèé¡µç¾ |
| | | $('li').show(); |
| | | if (HBillSubType == "å·¥ç¨ç±»") { |
| | | $('li[lay-id="3"]').hide(); |
| | | $('li[lay-id="4"]').hide(); |
| | | } else if (HBillSubType == "ä»»å¡ç±»") { |
| | | $('li[lay-id="2"]').first().hide(); |
| | | $('li[lay-id="3"]').hide(); |
| | | } else { |
| | | $('li[lay-id="2"]').first().hide(); |
| | | $('li[lay-id="4"]').hide(); |
| | | } |
| | | //#region ã卿è·å模ååç§°ã |
| | | var HModuleType = "4750"; |
| | | //éè¿åæ®ç±»åï¼ä»æ°æ®åºå¨æè·ååæ®æ¨¡åå½å,å¼ç¨jsæä»¶ PageTitle.js |
| | | var HPageTitle = get_PageTitle(HModuleType) == "" ? $("h1").html() : get_PageTitle(HModuleType); |
| | | $("h1").html('<b>' + HPageTitle + '</b>'); |
| | | //#endregion |
| | | |
| | | //#region 夿æ¯å¦ç»å½ æªç»å½åè·³å°ç»å½é¡µ |
| | | if (sessionStorage.login != "login") { |
| | | layer.confirm("ç»å½å¤±æï¼è¯·éæ°ç»å½ï¼", { |
| | |
| | | $("#HBeginDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HEndDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HReDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | |
| | | $("#HMaterPlanDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HTestDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HSewageDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HWaterSupplyDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | |
| | | //$('input[type="datetime-local"]').val(new Date().toDateString()); |
| | | $('input[type="datetime-local"]').each(function () { |
| | | // è·åå½åæ¥æåæ¶é´ |
| | | const now = new Date(); |
| | | // 注æï¼ä¸é¢ç代ç ä¼çæä¸ä¸ªå½¢å¦"2023-04-01 12:34:56"çå符串ï¼ä½datetime-localå®é
䏿æçæ¯"YYYY-MM-DDTHH:mm:ss"ï¼æ ç©ºæ ¼ï¼ |
| | | // å æ¤æä»¬åºè¯¥ä½¿ç¨ä¸é¢çä»£ç æ¥æ£ç¡®æ ¼å¼å |
| | | const formattedDateTimeLocal = now.toISOString().slice(0, 10) + 'T' + now.toTimeString().slice(0, 8).replace(/:\d{2}\.\d{3}/, ':00'); // å»é¤æ¯«ç§å¹¶è®¾ç½®ä¸º00ç§ï¼å 为datetime-local䏿¯ææ¯«ç§ï¼ |
| | | |
| | | // 设置inputå
ç´ çå¼ |
| | | $(this).val(formattedDateTimeLocal); |
| | | }); |
| | | //åå§å项ç®é¶æ®µè¡¨ |
| | | get_InitGrid1(); |
| | | } |
| | |
| | | //#region å¼¹çªéæ©è§¦åäºä»¶ |
| | | //#region 鿩客æ·ä»£ç æé® |
| | | form.on('submit(btnSearchHCus)', function () { |
| | | CusType = 1; |
| | | get_checkSearchHCus(); |
| | | |
| | | |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region 鿩项ç®ç»çæé® |
| | | form.on('submit(btnSearchHPMEmp)', function () { |
| | | get_checkSearchHPMEmp(); |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region 鿩任å¡é¡¹ç®åç±» |
| | | form.on('submit(btnSearchHTaskClassEntry)', function () { |
| | | get_checkSearchHTaskClassEntry(); |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region 鿩任å¡å¤§ç±» |
| | | form.on('submit(btnSearchHTaskClass)', function () { |
| | | get_checkSearchHTaskClass(); |
| | | }); |
| | | //#endregion |
| | | |
| | |
| | | |
| | | //#region éæ©ç»ç®æ¹æé® |
| | | form.on('submit(btnSearchHPayCus)', function () { |
| | | CusType = 2; |
| | | get_checkSearchHPayCus(); |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region 鿩项ç®ç±»å«æé® |
| | | form.on('submit(btnSearchHProjectClass)', function () { |
| | | get_checkSearchHProjectClass(); |
| | | |
| | | |
| | | }); |
| | | //#endregion |
| | | |
| | |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region éæ©åå
åä½æé® |
| | | form.on('submit(btnSearchHSupplier)', function () { |
| | | get_checkSearchHSupplier(); |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region éæ©ç®¡çåæé® |
| | | form.on('submit(btnSearchHMangerEmp)', function () { |
| | | get_checkSearchHMangerEmp(); |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region éæ©æ½å·¥åæé® |
| | | form.on('submit(btnSearchHWorker)', function () { |
| | | get_checkSearchHWorker(); |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region éæ©è¯åéªæ¶äººæé® |
| | | form.on('submit(btnSearchHTestChecker)', function () { |
| | | get_checkSearchHTestChecker(); |
| | | }); |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region å¤éæ¡ éä¸/åæ¶ 触åäºä»¶ |
| | |
| | | elem: '#mainTable1' |
| | | , toolbar: '#toolbarDemo1' |
| | | , page: true |
| | | , totalRow: true |
| | | , limit: 500 |
| | | , limits: [50, 500, 5000, 50000] |
| | | , cellMinWidth: 120 |
| | |
| | | , { field: 'HEmployeeID', title: 'é¡¹ç®æåID', hide: true, style: 'background-color: #f9f9f9;' } |
| | | , { field: 'HEmployeeName', title: 'é¡¹ç®æå', edit: 'text', event: "HEmployeeName" } //f7 |
| | | , { field: 'HIsPM', title: 'æ¯å¦é¡¹ç®ç»ç', templet: "#HIsPM" } |
| | | , { field: 'HRate', title: '项ç®å æ¯', edit: 'text' } |
| | | , { field: 'HPlanAvgMoney', title: 'é¢è®¡åé
ä¸ç»©', edit: 'text' } |
| | | , { field: 'HPlanCountMoney', title: 'é¢è®¡ææ', edit: 'text' } |
| | | , { field: 'HRate', title: '项ç®å æ¯', edit: 'text', totalRow: true } |
| | | , { field: 'HPlanAvgMoney', title: 'é¢è®¡åé
ä¸ç»©', edit: 'text', totalRow: true } |
| | | , { field: 'HPlanCountMoney', title: 'é¢è®¡ææ', edit: 'text', totalRow: true} |
| | | , { field: 'HRemarkSub', title: '夿³¨', edit: 'text' } |
| | | , { fixed: 'right', title: 'æä½', toolbar: '#barDemo1' } |
| | | ]] |
| | |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | , end: function () { } |
| | | }) |
| | | } |
| | | //#endregion |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'å工表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=HPM&HOrgID=' + HOrgID, 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | , end: function () { } |
| | | }) |
| | | } |
| | | //#endregion |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'å工表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=HWorker&HOrgID=' + HOrgID, 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'å工表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=HEmp&HOrgID=' + HOrgID, 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: '产å表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Material.html?openType=2&HOrgID=' + HOrgID, 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Material.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | , end: function () { } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | //#region 项ç®ç±»å«éæ©é¡µé¢ |
| | | function get_checkSearchHProjectClass() { |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: '项ç®ç±»å«è¡¨'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../项ç®ç®¡ç/åºç¡å»ºæ¨¡/Gy_ProjectClass.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | //è·åæ°æ® |
| | | $("#HProjectClassID").val(checkStatus.data[0].HItemID);//项ç®ç±»å«id |
| | | $("#HProjectClassName").val(checkStatus.data[0].项ç®ç±»å«åç§°);//项ç®ç±»å«åç§° |
| | | |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | , end: function () { } |
| | | }) |
| | | } |
| | | //#endregion |
| | |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | , end: function () { } |
| | | }) |
| | | } |
| | | //#endregion |
| | |
| | | //è·åæ°æ® |
| | | var HBillInterID = checkStatus.data[0].HInterID; |
| | | //è·å项ç®é¶æ®µæ¸
åä¸ç项ç®é¶æ®µå表 |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/PM_ProjectStageBill/editInit", |
| | | type: "GET", |
| | | async: false, |
| | | data: { "HInterID": HBillInterID, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | var tableMain = result.data[0]; |
| | | var tableSub = result.data[1]; |
| | | //åå¹¶ç°æåè¡¨æ°æ®å项ç®é¶æ®µæ¸
åçæ°æ® |
| | | var num = []; |
| | | var len = 0; //è®°å½numé¿åº¦ï¼ç¨äºä½ä¸ºRowIDçç³»æ°ï¼ä¸ºRowIDçèµå¼ |
| | | for (var i = 0; i < tableSub.length; i++) { |
| | | var NewRow = |
| | | { |
| | | "RowID": (i + 1) * 10 |
| | | , 'HProjectStageID': tableSub[i]["HProjectStageID"] |
| | | , 'HProjectStageName': tableSub[i]["HProjectStageName"] |
| | | , 'HStageNote': tableSub[i]["HStageNote"] |
| | | , 'HPMGoodsID': (tableSub[i]["HPMGoodsID"] != null) ? tableSub[i]["HPMGoodsID"] : '0' |
| | | , 'HPMGoodsName': tableSub[i]["HPMGoodsName"] |
| | | , 'HIsKey': tableSub[i]["HIsKey"] |
| | | , 'HRate': tableSub[i]["HRate"] |
| | | , 'HEmpID': '0' |
| | | , 'HEmpName': '' |
| | | , 'HCheckEmpID': '0' |
| | | , 'HCheckEmpName': '' |
| | | , 'HFinishDate': '' |
| | | , 'HWorkDays': '0' |
| | | , 'HRemarkSub': tableSub[i]["HRemarkSub"] |
| | | }; |
| | | num.push(NewRow); |
| | | } |
| | | len = num.length; |
| | | for (var i = 0; i < option.data.length; i++) { |
| | | option.data[i].RowID = (len + i + 1) * 10; |
| | | num.push(option.data[i]); |
| | | } |
| | | |
| | | |
| | | //å表 èµå¼ |
| | | option.data = num; |
| | | table.render(option); |
| | | get_BT(HBillInterID); |
| | | |
| | | //对å表ä¸çå¤éæ¡è¿è¡éä¸ |
| | | for (var i = 0; i < num.length; i++) { |
| | | if (num[i].HIsKey) { |
| | | $('#HIsKey' + (i + 1)).attr("checked", true); |
| | | } |
| | | } |
| | | form.render('checkbox'); |
| | | } |
| | | }) |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | , end: function () { |
| | | |
| | | get_BT($("#HProjectStageBillInterID").val()); |
| | | } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | //#region åå
åä½éæ©é¡µé¢ |
| | | function get_checkSearchHSupplier() { |
| | | var HOrgID = sessionStorage["Organization"]; |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'ä¾åºåå表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../åºç¡èµæ/éè´åºç¡èµæ/Gy_Supplier.html?openType=2&HOrgID=' + HOrgID, 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | //è·åæ°æ® |
| | | $("#HSupplierID").val(checkStatus.data[0].HItemID);//客æ·id |
| | | $("#HSupplierName").val(checkStatus.data[0].ä¾åºååç§°);//客æ·åç§° |
| | | if ($("#HSupplierName").val() == "") { |
| | | $("#HSupplierName").val(checkStatus.data[0].ä¾åºå代ç ); |
| | | } |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | , end: function () { } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | //#region 管çåéæ©é¡µé¢ |
| | | function get_checkSearchHMangerEmp() { |
| | | var HOrgID = $("#HOrgID").val(); |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'å工表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=HWorker&HOrgID=' + HOrgID, 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | //è·åæ°æ® |
| | | $("#HMangerEmpID").val(checkStatus.data[0].HItemID);//åå·¥id |
| | | $("#HMangerEmpName").val(checkStatus.data[0].èååç§°);//åå·¥åç§° |
| | | if ($("#HMangerEmpName").val() == "") { |
| | | $("#HMangerEmpName").val(checkStatus.data[0].èå代ç ); |
| | | } |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | |
| | | } |
| | | //#endregion |
| | | |
| | | //#region æ½å·¥åéæ©é¡µé¢ |
| | | function get_checkSearchHWorker() { |
| | | var HOrgID = $("#HOrgID").val(); |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'å工表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=HWorker&HOrgID=' + HOrgID, 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | //è·åæ°æ® |
| | | $("#HWorkerID").val(checkStatus.data[0].HItemID);//åå·¥id |
| | | $("#HWorkerName").val(checkStatus.data[0].èååç§°);//åå·¥åç§° |
| | | if ($("#HWorkerName").val() == "") { |
| | | $("#HWorkerName").val(checkStatus.data[0].èå代ç ); |
| | | } |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | //#region è¯åéªæ¶äººéæ©é¡µé¢ |
| | | function get_checkSearchHTestChecker() { |
| | | var HOrgID = $("#HOrgID").val(); |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'å工表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=HWorker&HOrgID=' + HOrgID, 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | //è·åæ°æ® |
| | | $("#HTestCheckerID").val(checkStatus.data[0].HItemID);//åå·¥id |
| | | $("#HTestCheckerName").val(checkStatus.data[0].èååç§°);//åå·¥åç§° |
| | | if ($("#HTestCheckerName").val() == "") { |
| | | $("#HTestCheckerName").val(checkStatus.data[0].èå代ç ); |
| | | } |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | //#region 项ç®é¶æ®µæ¸
å éæ© 带åºè¡¨ä½æ°æ® |
| | | function get_BT(HBillInterID) { |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/PM_ProjectStageBill/editInit", |
| | | type: "GET", |
| | | async: false, |
| | | data: { "HInterID": HBillInterID, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | var tableMain = result.data[0]; |
| | | var tableSub = result.data[1]; |
| | | //åå¹¶ç°æåè¡¨æ°æ®å项ç®é¶æ®µæ¸
åçæ°æ® |
| | | var num = []; |
| | | var len = 0; //è®°å½numé¿åº¦ï¼ç¨äºä½ä¸ºRowIDçç³»æ°ï¼ä¸ºRowIDçèµå¼ |
| | | for (var i = 0; i < tableSub.length; i++) { |
| | | var NewRow = |
| | | { |
| | | "RowID": (i + 1) * 10 |
| | | , 'HProjectStageID': tableSub[i]["HProjectStageID"] |
| | | , 'HProjectStageName': tableSub[i]["HProjectStageName"] |
| | | , 'HStageNote': tableSub[i]["HStageNote"] |
| | | , 'HPMGoodsID': (tableSub[i]["HPMGoodsID"] != null) ? tableSub[i]["HPMGoodsID"] : '0' |
| | | , 'HPMGoodsName': tableSub[i]["HPMGoodsName"] |
| | | , 'HIsKey': tableSub[i]["HIsKey"] |
| | | , 'HRate': tableSub[i]["HRate"] |
| | | , 'HEmpID': '0' |
| | | , 'HEmpName': '' |
| | | , 'HCheckEmpID': '0' |
| | | , 'HCheckEmpName': '' |
| | | , 'HFinishDate': '' |
| | | , 'HWorkDays': '0' |
| | | , 'HRemarkSub': tableSub[i]["HRemarkSub"] |
| | | }; |
| | | num.push(NewRow); |
| | | } |
| | | len = num.length; |
| | | for (var i = 0; i < option.data.length; i++) { |
| | | option.data[i].RowID = (len + i + 1) * 10; |
| | | num.push(option.data[i]); |
| | | } |
| | | |
| | | |
| | | //å表 èµå¼ |
| | | option.data = num; |
| | | table.render(option); |
| | | |
| | | //对å表ä¸çå¤éæ¡è¿è¡éä¸ |
| | | for (var i = 0; i < num.length; i++) { |
| | | if (num[i].HIsKey) { |
| | | $('#HIsKey' + (i + 1)).attr("checked", true); |
| | | } |
| | | } |
| | | form.render('checkbox'); |
| | | } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | //#region ä»»å¡å¤§ç±»éæ©é¡µé¢ |
| | | function get_checkSearchHTaskClass() { |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'å工表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../项ç®ç®¡ç/åºç¡å»ºæ¨¡/Gy_TaskClass.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | //è·åæ°æ® |
| | | $("#HTaskClassID").val(checkStatus.data[0].HItemID); |
| | | $("#HTaskClassName").val(checkStatus.data[0].ä»»å¡ç±»å«åç§°); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | , end: function () { |
| | | if (typeof (TaskData.HItemID) != undefined) { |
| | | $("#HTaskClassID").val(TaskData.HItemID); |
| | | $("#HTaskClassName").val(TaskData.ä»»å¡ç±»å«åç§°); |
| | | } |
| | | TaskData = []; |
| | | } |
| | | }) |
| | | } |
| | | //#endregion |
| | | //#region 项ç®ç±»å«éæ©é¡µé¢ |
| | | function get_checkSearchHTaskClassEntry() { |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'å工表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../项ç®ç®¡ç/åºç¡å»ºæ¨¡/Gy_TaskClass.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | //è·åæ°æ® |
| | | $("#HTaskClassEntryID").val(checkStatus.data[0].HItemID); |
| | | $("#HTaskClassEntryName").val(checkStatus.data[0].ä»»å¡ç±»å«åç§°); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | , end: function () { |
| | | if (typeof (TaskData.HItemID) != undefined) { |
| | | $("#HTaskClassEntryID").val(TaskData.HItemID); |
| | | $("#HTaskClassEntryName").val(TaskData.ä»»å¡ç±»å«åç§°); |
| | | } |
| | | TaskData = []; |
| | | } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | //#region ä¿åHMaker |
| | | function set_AddNew(data) { |
| | |
| | | var tableMain = result.data[0]; |
| | | var tableSub = result.data[1]; |
| | | var tableSub_Emp = result.data[2]; |
| | | |
| | | HBillSubType = tableMain[0]["HBillSubType"]; |
| | | //æ ¹æ®åç±»åéèé¡µç¾ |
| | | $('li').show(); |
| | | if (HBillSubType == "å·¥ç¨ç±»") { |
| | | $('li[lay-id="3"]').hide(); |
| | | $('li[lay-id="4"]').hide(); |
| | | } else if (HBillSubType == "ä»»å¡ç±»") { |
| | | $('li[lay-id="2"]').first().hide(); |
| | | $('li[lay-id="3"]').hide(); |
| | | } else { |
| | | $('li[lay-id="2"]').first().hide(); |
| | | $('li[lay-id="4"]').hide(); |
| | | } |
| | | //主表 èµå¼ |
| | | form.val("formData", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "HInterID": tableMain[0]["HInterID"] |
| | |
| | | , "HProType": tableMain[0]["HProType"] |
| | | , "HRemark": tableMain[0]["HRemark"] |
| | | , "HOrgID": tableMain[0]["HOrgID"] |
| | | , "HProjectClassID": tableMain[0]["HProjectClassID"] == null ? 0 : tableMain[0]["HProjectClassID"] |
| | | , "HProjectClassName": tableMain[0]["HProjectClassName"] |
| | | , "HBuildComp": tableMain[0]["HBuildComp"] |
| | | , "HBuildAddress": tableMain[0]["HBuildAddress"] |
| | | , "HWorkNo": tableMain[0]["HWorkNo"] |
| | | , "HReDate": tableMain[0]["HReDate"] |
| | | , "HPicNo": tableMain[0]["HPicNo"] |
| | | , "HWorkTask": tableMain[0]["HWorkTask"] |
| | | , "HProjectNote": tableMain[0]["HProjectNote"] |
| | | , "HMaker": tableMain[0]["HMaker"] |
| | | , "HUpdater": tableMain[0]["HUpdater"] |
| | | , "HChecker": tableMain[0]["HChecker"] |
| | |
| | | , "HConWorkDays": tableMain[0]["HConWorkDays"] |
| | | , "HDepDays": tableMain[0]["HDepDays"] |
| | | , "HLastMoney": tableMain[0]["HLastMoney"] |
| | | , "HContacts": tableMain[0]["HContacts"] |
| | | , "HContactNumber": tableMain[0]["HContactNumber"] |
| | | |
| | | , "HSupplierID": tableMain[0]["HSupplierID"] |
| | | , "HSupplierName": tableMain[0]["HSupplierName"] |
| | | , "HMangerEmpID": tableMain[0]["HMangerEmpID"] |
| | | , "HMangerEmpName": tableMain[0]["HMangerEmpName"] |
| | | , "HMaterPlanDate": Format(new Date(tableMain[0]["HMaterPlanDate"]), "yyyy-MM-dd") |
| | | , "HWorkerID": tableMain[0]["HWorkerID"] |
| | | , "HWorkerName": tableMain[0]["HWorkerName"] |
| | | , "HPlanWorkTimes": tableMain[0]["HPlanWorkTimes"] |
| | | , "HRelWorkTimes": tableMain[0]["HRelWorkTimes"] |
| | | , "HTestDate": Format(new Date(tableMain[0]["HTestDate"]), "yyyy-MM-dd") |
| | | , "HTestCheckerID": tableMain[0]["HTestCheckerID"] |
| | | , "HTestCheckerName": tableMain[0]["HTestCheckerName"] |
| | | , "HTestNote": tableMain[0]["HTestNote"] |
| | | , "HSewageDate": Format(new Date(tableMain[0]["HSewageDate"]), "yyyy-MM-dd") |
| | | , "HWaterSupplyDate": Format(new Date(tableMain[0]["HWaterSupplyDate"]), "yyyy-MM-dd") |
| | | , "HWorkNote": tableMain[0]["HWorkNote"] |
| | | , "HWorkProcNote": tableMain[0]["HWorkProcNote"] |
| | | , "HYuSuanMoney": tableMain[0]["HYuSuanMoney"] |
| | | , "HHeTongMoney": tableMain[0]["HHeTongMoney"] |
| | | , "HJieSuanMoney": tableMain[0]["HJieSuanMoney"] |
| | | , "HShenJiMoney": tableMain[0]["HShenJiMoney"] |
| | | , "HCaiLiaoMoney": tableMain[0]["HCaiLiaoMoney"] |
| | | , "HAnZhuangMoney": tableMain[0]["HAnZhuangMoney"] |
| | | , "HBanZuMoney": tableMain[0]["HBanZuMoney"] |
| | | , "HYuShouKuanMoney": tableMain[0]["HYuShouKuanMoney"] |
| | | , "HGongFeiMoney": tableMain[0]["HGongFeiMoney"] |
| | | , "HJieZhangMoney": tableMain[0]["HJieZhangMoney"], |
| | | "HTaskClassID": tableMain[0]["HTaskClassID"], |
| | | "HTaskClassName": tableMain[0]["HTaskClassName"], |
| | | "HTaskClassEntryID": tableMain[0]["HTaskClassEntryID"], |
| | | "HTaskClassEntryName": tableMain[0]["HTaskClassEntryName"], |
| | | "HTaskAddress": tableMain[0]["HTaskAddress"], |
| | | "HBreakStatus": tableMain[0]["HBreakStatus"], |
| | | "HWaterLeakage": tableMain[0]["HWaterLeakage"], |
| | | "HPipeDiameter": tableMain[0]["HPipeDiameter"], |
| | | "HPipeMaterial": tableMain[0]["HPipeMaterial"], |
| | | "HAlarmEm": tableMain[0]["HAlarmEm"], |
| | | "HAlarmLink": tableMain[0]["HAlarmLink"], |
| | | "HReceEmp": tableMain[0]["HReceEmp"], |
| | | "HReceTime": tableMain[0]["HReceTime"], |
| | | "HTaskMaterMoney": tableMain[0]["HTaskMaterMoney"], |
| | | "HTaskSetupMoney": tableMain[0]["HTaskSetupMoney"], |
| | | "HTaskOtherMoney": tableMain[0]["HTaskOtherMoney"], |
| | | "HTaskExamMoney": tableMain[0]["HTaskExamMoney"], |
| | | "HTaskWorkMoney": tableMain[0]["HTaskWorkMoney"], |
| | | "HIsAccount": tableMain[0]["HIsAccount"], |
| | | "HAccountDate": tableMain[0]["HAccountDate"], |
| | | "HAccountWorkMoneyDate": tableMain[0]["HAccountWorkMoneyDate"], |
| | | "HIsCheckExam": tableMain[0]["HIsCheckExam"], |
| | | "HIsCheckWorkMoney": tableMain[0]["HIsCheckWorkMoney"], |
| | | "HInfoBackTime": tableMain[0]["HInfoBackTime"], |
| | | "HInfoBackMan": tableMain[0]["HInfoBackMan"], |
| | | "HInfoNote": tableMain[0]["HInfoNote"], |
| | | "HTaskBTime": tableMain[0]["HTaskBTime"], |
| | | "HTaskETime": tableMain[0]["HTaskETime"], |
| | | "HTaskNote": tableMain[0]["HTaskNote"], |
| | | "HTaskWorkEmp": tableMain[0]["HTaskWorkEmp"], |
| | | "HBeginCloseValveTime": tableMain[0]["HBeginCloseValveTime"], |
| | | "HEndCloseValveTime": tableMain[0]["HEndCloseValveTime"], |
| | | "HCloseValveQty": tableMain[0]["HCloseValveQty"], |
| | | "HBeginOpenValveTime": tableMain[0]["HBeginOpenValveTime"], |
| | | "HEndOpenValveTime": tableMain[0]["HEndOpenValveTime"], |
| | | "HOpenValveQty": tableMain[0]["HOpenValveQty"], |
| | | "HValveWorkEmp": tableMain[0]["HValveWorkEmp"], |
| | | "HTaskRemark": tableMain[0]["HTaskRemark"] |
| | | |
| | | }); |
| | | //ç»ç»çå¼HOrgIDååï¼éæ°æ¸²æ |
| | | HOrgIDBar = tableMain[0]["HOrgID"]; |
| | |
| | | layer.msg("ç»ææ¥æä¸è½ä¸ºç©º!"); |
| | | return false; |
| | | } |
| | | if ($("#HProID").val() == "0") { |
| | | layer.msg("项ç®ä»£ç æªéæ©!"); |
| | | if ($("#HProNumber").val() == "") { |
| | | layer.msg("项ç®ä»£ç ä¸è½ä¸ºç©º!"); |
| | | return false; |
| | | } |
| | | if ($("#HCusID").val() == "0") { |
| | | layer.msg("å®¢æ·æªéæ©!"); |
| | | if ($("#HProName").val() == "") { |
| | | layer.msg("项ç®åç§°ä¸è½ä¸ºç©º!"); |
| | | return false; |
| | | } |
| | | if ($("#HPMEmpID").val() == "0") { |
| | | layer.msg("项ç®ç»çæªéæ©!"); |
| | | return false; |
| | | } |
| | | if ($("#HWorkEmpID").val() == "0") { |
| | | layer.msg("宿½æ
彿ªéæ©"); |
| | | return false; |
| | | } |
| | | if ($("#HDepEmpID").val() == "0") { |
| | | layer.msg("å¼åæ
彿ªéæ©"); |
| | | return false; |
| | | } |
| | | if ($("#HMaterID").val() == "0") { |
| | | layer.msg("对åºäº§åæªéæ©"); |
| | | return false; |
| | | } |
| | | if ($("#HPayCusID").val() == "0") { |
| | | layer.msg("ç»ç®æ¹æªéæ©"); |
| | | return false; |
| | | } |
| | | //if ($("#HCusID").val() == "0") { |
| | | // layer.msg("å®¢æ·æªéæ©!"); |
| | | // return false; |
| | | //} |
| | | //if ($("#HPMEmpID").val() == "0") { |
| | | // layer.msg("项ç®ç»çæªéæ©!"); |
| | | // return false; |
| | | //} |
| | | //if ($("#HWorkEmpID").val() == "0") { |
| | | // layer.msg("宿½æ
彿ªéæ©"); |
| | | // return false; |
| | | //} |
| | | //if ($("#HDepEmpID").val() == "0") { |
| | | // layer.msg("å¼åæ
彿ªéæ©"); |
| | | // return false; |
| | | //} |
| | | //if ($("#HMaterID").val() == "0") { |
| | | // layer.msg("对åºäº§åæªéæ©"); |
| | | // return false; |
| | | //} |
| | | //if ($("#HPayCusID").val() == "0") { |
| | | // layer.msg("ç»ç®æ¹æªéæ©"); |
| | | // return false; |
| | | //} |
| | | //#endregion |
| | | |
| | | //#region 项ç®é¶æ®µè¡¨æ°æ®æ£éª |
| | | for (var i = 0; i < option.data.length; i++) { |
| | | if (option.data[i] != "") { |
| | | |
| | | //项ç®é¶æ®µé空æ£éª |
| | | if (option.data[i]["HProjectStageID"] == "0") { |
| | | layer.msg("第" + (i + 1) + "è¡:项ç®é¶æ®µä¸è½ä¸ºç©º!"); |
| | | return false; |
| | | } |
| | | ////项ç®é¶æ®µé空æ£éª |
| | | //if (option.data[i]["HProjectStageID"] == "0") { |
| | | // layer.msg("第" + (i + 1) + "è¡:项ç®é¶æ®µä¸è½ä¸ºç©º!"); |
| | | // return false; |
| | | //} |
| | | |
| | | //ä¸ç»©å æ¯æ ¼å¼æ£éª |
| | | var HRate = option.data[i]["HRate"] + ""; |
| | |
| | | } |
| | | } |
| | | |
| | | //é¶æ®µè´è´£äººé空æ£éª |
| | | if (option.data[i]["HEmpID"] == "0") { |
| | | layer.msg("第" + (i + 1) + "è¡:é¶æ®µè´è´£äººä¸è½ä¸ºç©º!"); |
| | | return false; |
| | | } |
| | | ////é¶æ®µè´è´£äººé空æ£éª |
| | | //if (option.data[i]["HEmpID"] == "0") { |
| | | // layer.msg("第" + (i + 1) + "è¡:é¶æ®µè´è´£äººä¸è½ä¸ºç©º!"); |
| | | // return false; |
| | | //} |
| | | |
| | | //é¶æ®µå®¡æ ¸äººé空æ£éª |
| | | if (option.data[i]["HCheckEmpID"] == "0") { |
| | | layer.msg("第" + (i + 1) + "è¡:é¶æ®µå®¡æ ¸äººä¸è½ä¸ºç©º!"); |
| | | return false; |
| | | } |
| | | ////é¶æ®µå®¡æ ¸äººé空æ£éª |
| | | //if (option.data[i]["HCheckEmpID"] == "0") { |
| | | // layer.msg("第" + (i + 1) + "è¡:é¶æ®µå®¡æ ¸äººä¸è½ä¸ºç©º!"); |
| | | // return false; |
| | | //} |
| | | } |
| | | } |
| | | //#endregion |
| | |
| | | //#region é¡¹ç®æåè¡¨æ°æ®æ£éª |
| | | for (var i = 0; i < option1.data.length; i++) { |
| | | if (option1.data[i] != "") { |
| | | //é¡¹ç®æåé空æ£éª |
| | | if (option1.data[i]["HEmployeeID"] == "0") { |
| | | layer.msg("第" + (i + 1) + "è¡:é¡¹ç®æåä¸è½ä¸ºç©º!"); |
| | | return false; |
| | | } |
| | | ////é¡¹ç®æåé空æ£éª |
| | | //if (option1.data[i]["HEmployeeID"] == "0") { |
| | | // layer.msg("第" + (i + 1) + "è¡:é¡¹ç®æåä¸è½ä¸ºç©º!"); |
| | | // return false; |
| | | //} |
| | | |
| | | //项ç®å æ¯æ ¼å¼æ£éª |
| | | var HRate = option1.data[i]["HRate"] + ""; |
| | |
| | | CheckedSet_tableSub(); |
| | | layer.close(index);//å
³éå¼¹çª |
| | | } |
| | | , end: function () { |
| | | obj.update({ |
| | | "HProjectStageID": ProjectStageData[0].HItemID |
| | | , "HProjectStageName": ProjectStageData[0].é¶æ®µåç§° |
| | | , "HStageNote": ProjectStageData[0].项ç®é¶æ®µè¯¦ç»å
容 |
| | | , "HPMGoodsID": ProjectStageData[0].HPMGoodsID == null ? 0 : ProjectStageData[0].HPMGoodsID |
| | | , "HPMGoodsName": ProjectStageData[0].ç¸å
³äº¤ä»ç© |
| | | , "HIsKey": ProjectStageData[0].éç¨ç¢ == "Y" ? true : false |
| | | , "HRate": ProjectStageData[0].ç论ä¸ç»©å æ¯ |
| | | }) |
| | | } |
| | | }) |
| | | } |
| | | //é¶æ®µè´è´£äºº |
| | |
| | | , shift: 2 //å¼¹åºå¨ç» |
| | | , area: ["90%", "90%"] //çªä½å¤§å° |
| | | , maxmin: true //设置æå¤§æå°æé®æ¯å¦æ¾ç¤º |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, "yes"] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=HProject&HOrgID=' + HOrgID, "yes"] |
| | | , btn: ["ç¡®å®", "åæ¶"] |
| | | , btn1: function (index, laero) { |
| | | //æé®ä¸ çåè° |
| | |
| | | }) |
| | | layer.close(index);//å
³éå¼¹çª |
| | | } |
| | | , end: function () { |
| | | obj.update({ |
| | | "HEmpID": HEmpData[0].HItemID |
| | | , "HEmpName": HEmpData[0].èååç§° |
| | | }) |
| | | } |
| | | }) |
| | | } |
| | | //é¶æ®µå®¡æ ¸äºº |
| | |
| | | , shift: 2 //å¼¹åºå¨ç» |
| | | , area: ["90%", "90%"] //çªä½å¤§å° |
| | | , maxmin: true //设置æå¤§æå°æé®æ¯å¦æ¾ç¤º |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, "yes"] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=HProjectCheck&HOrgID=' + HOrgID, "yes"] |
| | | , btn: ["ç¡®å®", "åæ¶"] |
| | | , btn1: function (index, laero) { |
| | | //æé®ä¸ çåè° |
| | |
| | | }) |
| | | layer.close(index);//å
³éå¼¹çª |
| | | } |
| | | , end: function () { |
| | | obj.update({ |
| | | "HCheckEmpID": ProjectCheckData[0].HItemID |
| | | , "HCheckEmpName": ProjectCheckData[0].èååç§° |
| | | }) |
| | | } |
| | | }) |
| | | } |
| | | //对åºäº¤ä»ç© |
| | |
| | | |
| | | obj.event = ""; |
| | | return false; |
| | | }else if (event.key == "F8") { |
| | | }else if (event.key == "F6") { |
| | | //é¶æ®µè´è´£äºº |
| | | if (obj.event == "HEmpName") { |
| | | var HOrgID = $("#HOrgID").val(); |
| | |
| | | , shift: 2 //å¼¹åºå¨ç» |
| | | , area: ["90%", "90%"] //çªä½å¤§å° |
| | | , maxmin: true //设置æå¤§æå°æé®æ¯å¦æ¾ç¤º |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, "yes"] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=HManager&HOrgID=' + HOrgID, "yes"] |
| | | , btn: ["ç¡®å®", "åæ¶"] |
| | | , btn1: function (index, laero) { |
| | | //æé®ä¸ çåè° |
| | |
| | | |
| | | layer.close(index);//å
³éå¼¹çª |
| | | } |
| | | , end: function () { |
| | | |
| | | var rowIndex = $(obj.tr).attr("data-index"); |
| | | for (var i = 0; i < option.data.length; i++) { |
| | | if (i >= rowIndex) { |
| | | option.data[i]["HEmpID"] = RowDatas[0].HItemID; |
| | | option.data[i]["HEmpName"] = RowDatas[0].èååç§°; |
| | | } |
| | | } |
| | | table.render(option); |
| | | CheckedSet_tableSub(); |
| | | } |
| | | }) |
| | | } |
| | | //é¶æ®µå®¡æ ¸äºº |
| | |
| | | , shift: 2 //å¼¹åºå¨ç» |
| | | , area: ["90%", "90%"] //çªä½å¤§å° |
| | | , maxmin: true //设置æå¤§æå°æé®æ¯å¦æ¾ç¤º |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, "yes"] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=HKeeper&HOrgID=' + HOrgID, "yes"] |
| | | , btn: ["ç¡®å®", "åæ¶"] |
| | | , btn1: function (index, laero) { |
| | | //æé®ä¸ çåè° |
| | |
| | | |
| | | layer.close(index);//å
³éå¼¹çª |
| | | } |
| | | , end: function () { |
| | | |
| | | //æ´æ°å表1æ°æ® |
| | | var rowIndex = $(obj.tr).attr("data-index"); |
| | | for (var i = 0; i < option.data.length; i++) { |
| | | if (i >= rowIndex) { |
| | | option.data[i]["HCheckEmpID"] = RowDatass[0].HItemID; |
| | | option.data[i]["HCheckEmpName"] = RowDatass[0].èååç§°; |
| | | } |
| | | } |
| | | table.render(option); |
| | | CheckedSet_tableSub(); |
| | | |
| | | } |
| | | }) |
| | | } |
| | | } |
| | |
| | | , shift: 2 //å¼¹åºå¨ç» |
| | | , area: ["90%", "90%"] //çªä½å¤§å° |
| | | , maxmin: true //设置æå¤§æå°æé®æ¯å¦æ¾ç¤º |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, "yes"] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?openType=HProjectMember&HOrgID=' + HOrgID, "yes"] |
| | | , btn: ["ç¡®å®", "åæ¶"] |
| | | , btn1: function (index, laero) { |
| | | //æé®ä¸ çåè° |
| | |
| | | , "HEmployeeName": checkStatus.data[0].èååç§° |
| | | }) |
| | | layer.close(index);//å
³éå¼¹çª |
| | | } |
| | | , end: function () { |
| | | obj.update({ |
| | | "HEmployeeID": MemberData[0].HItemID |
| | | , "HEmployeeName": MemberData[0].èååç§° |
| | | }) |
| | | } |
| | | }) |
| | | } |
| | |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | |
| | | |
| | | |
| | | }); |
| | | |
| | | |
| | | //å®¢æ· |
| | | function GetHCusNameValue(obj) { |
| | | if (CusType == 1) { |
| | | $("#HCusID").val(obj[0].HItemID);//客æ·id |
| | | $("#HCusName").val(obj[0].客æ·åç§°);//客æ·åç§° |
| | | } |
| | | else if (CusType === 2) { |
| | | $("#HPayCusID").val(obj[0].HItemID);//客æ·id |
| | | $("#HPayCusName").val(obj[0].客æ·åç§°);//客æ·åç§° |
| | | } |
| | | } |
| | | //ä»»å¡ç±»å« |
| | | function GetTaskClassValue(obj) { |
| | | TaskData = obj[0]; |
| | | } |
| | | //项ç®ç»ç |
| | | function GetHPMValue(obj) { |
| | | $("#HPMEmpID").val(obj[0].HItemID);//客æ·id |
| | | $("#HPMEmpName").val(obj[0].èååç§°);//客æ·åç§° |
| | | } |
| | | //项ç®ç±»å« |
| | | function GetProjectClassValue(obj) { |
| | | $("#HProjectClassID").val(obj[0].HItemID);//项ç®ç±»å«id |
| | | $("#HProjectClassName").val(obj[0].项ç®ç±»å«åç§°);//项ç®ç±»å«åç§° |
| | | } |
| | | //宿½æ
å½ |
| | | function GetHWorkerValue(obj) { |
| | | $("#HWorkEmpID").val(obj[0].HItemID);//åå·¥id |
| | | $("#HWorkEmpName").val(obj[0].èååç§°);//åå·¥åç§° |
| | | } |
| | | //å¼åæ
å½ |
| | | function GetHEmpValue(obj) { |
| | | $("#HDepEmpID").val(obj[0].HItemID);//åå·¥id |
| | | $("#HDepEmpName").val(obj[0].èååç§°);//åå·¥åç§° |
| | | } |
| | | //对åºäº§å |
| | | function GetMaterValue(obj) { |
| | | $("#HMaterID").val(obj[0].HItemID);//产åå
ç |
| | | $("#HMaterNumber").val(obj[0].ç©æä»£ç );//产å代ç |
| | | $("#HMaterName").val(obj[0].ç©æåç§°);//产ååç§° |
| | | } |
| | | //项ç®é¶æ®µæ¸
å |
| | | function GetProjectStageBillValue(obj) { |
| | | $("#HProjectStageBillInterID").val(obj[0].HInterID);//客æ·id |
| | | $("#HProjectStageBillNumber").val(obj[0].åæ®å·);//客æ·åç§° |
| | | } |
| | | //项ç®é¶æ®µ |
| | | function GetProjectStageValue(obj) { |
| | | ProjectStageData = obj; |
| | | } |
| | | //é¶æ®µè´è´£äºº |
| | | function GetHProjectValue(obj) { |
| | | HEmpData = obj; |
| | | } |
| | | //é¶æ®µå®¡æ ¸äºº |
| | | function GetHProjectCheckValue(obj) { |
| | | ProjectCheckData = obj; |
| | | } |
| | | //f6é¶æ®µè´è´£äºº |
| | | function GetHManagerValue(obj) { |
| | | RowDatas = obj; |
| | | } |
| | | //é¶æ®µè´è´£äºº |
| | | function GetHKeeperValue(obj) { |
| | | RowDatass = obj; |
| | | } |
| | | //é¶æ®µè´è´£äºº |
| | | function GetHProjectMemberValue(obj) { |
| | | MemberData = obj; |
| | | } |
| | | </script> |
| | | </body> |
| | | </html> |