| | |
| | | <input type="date" class="layui-input" lay-verify="HDate" name="HDate" id="HDate" style="padding-left: 80px;"> |
| | | </div> |
| | | </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;"> |
| | | <input type="date" class="layui-input" lay-verify="HBeginDate" name="HBeginDate" id="HBeginDate" 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: 125px; width: 195px;"> |
| | | <input type="date" class="layui-input" lay-verify="HEndDate" name="HEndDate" id="HEndDate" style="padding-left: 80px;"> |
| | | </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="HPMEmpName" name="HPMEmpName" id="HPMEmpName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HPMEmpID" id="HPMEmpID" lay-verify="HPMEmpID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHPMEmp" id="btnSearchHPMEmp" 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;"> |
| | |
| | | <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> |
| | | <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-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">é¨é¨</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | |
| | | </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;"> |
| | | <input type="date" class="layui-input" lay-verify="HBeginDate" name="HBeginDate" id="HBeginDate" 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: 125px; width: 195px;"> |
| | | <input type="date" class="layui-input" lay-verify="HEndDate" name="HEndDate" id="HEndDate" style="padding-left: 80px;"> |
| | | </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="HPMEmpName" name="HPMEmpName" id="HPMEmpName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HPMEmpID" id="HPMEmpID" lay-verify="HPMEmpID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHPMEmp" id="btnSearchHPMEmp" 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="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> |
| | | <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="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;"> |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: '项ç®è´¹ç¨è¡¨'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_ProjectMoneyClass.html?openType=2', 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_ProjectMoney_ClassTree.html?openType=å®è£
è´¹', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | var HItemID = checkStatus.data[0].HItemID; |
| | | //è·åæ°æ® |
| | | getGy_ProjectMoney(1, HItemID); |
| | | $("#HTaskSetupMoney").val(checkStatus.data[0].æ åéé¢); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | , end: function () { |
| | | if (typeof (TaskData.HItemID) != undefined) { |
| | | $("#HTaskSetupMoney").val(TaskData.æ åéé¢); |
| | | } |
| | | TaskData = []; |
| | | } |
| | | }) |
| | | } |
| | | //#endregion |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: '项ç®è´¹ç¨è¡¨'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_ProjectMoneyClass.html?openType=2', 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_ProjectMoney_ClassTree.html?openType=éå±è´¹', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | var HItemID = checkStatus.data[0].HItemID; |
| | | //è·åæ°æ® |
| | | getGy_ProjectMoney(2, HItemID); |
| | | $("#HTaskOtherMoney").val(checkStatus.data[0].æ åéé¢); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | , end: function () { |
| | | if (typeof (TaskData.HItemID) != undefined) { |
| | | $("#HTaskOtherMoney").val(TaskData.æ åéé¢); |
| | | } |
| | | TaskData = []; |
| | | } |
| | | }) |
| | | } |
| | | //#endregion |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: '项ç®è´¹ç¨è¡¨'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_ProjectMoneyClass.html?openType=2', 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_ProjectMoney_ClassTree.html?openType=èæ ¸è´¹', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | var HItemID = checkStatus.data[0].HItemID; |
| | | //è·åæ°æ® |
| | | getGy_ProjectMoney(3, HItemID); |
| | | |
| | | $("#HTaskExamMoney").val(checkStatus.data[0].æ åéé¢); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | , end: function () { |
| | | if (typeof (TaskData.HItemID) != undefined) { |
| | | $("#HTaskExamMoney").val(TaskData.æ åéé¢); |
| | | } |
| | | TaskData = []; |
| | | } |
| | | }) |
| | | } |
| | | //#endregion |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: '项ç®è´¹ç¨è¡¨'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_ProjectMoneyClass.html?openType=2', 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_ProjectMoney_ClassTree.html?openType=工费', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | var HItemID = checkStatus.data[0].HItemID; |
| | | //è·åæ°æ® |
| | | getGy_ProjectMoney(4, HItemID); |
| | | |
| | | $("#HTaskWorkMoney").val(checkStatus.data[0].æ åéé¢); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | , end: function () { |
| | | if (typeof (TaskData.HItemID) != undefined) { |
| | | $("#HTaskWorkMoney").val(TaskData.æ åéé¢); |
| | | } |
| | | TaskData = []; |
| | | } |
| | | }) |
| | | } |
| | | //#endregion |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'èåå表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?type=HEmp', 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html?type=HMaterEmp', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | //æé®ãæé®ä¸ãçåè° |
| | |
| | | $("#HTaskClassID").val(TaskData.HItemID); |
| | | $("#HTaskClassName").val(TaskData.ä»»å¡ç±»å«åç§°); |
| | | $("#HTaskClassNumber").val(TaskData.ä»»å¡ç±»å«ä»£ç ); |
| | | //æ´æ°é¡¹ç®ä»£ç |
| | | GetHProjectNumber(); |
| | | } |
| | | TaskData = []; |
| | | } |
| | |
| | | if (typeof (TaskData.HItemID) != undefined) { |
| | | $("#HTaskClassEntryID").val(TaskData.HItemID); |
| | | $("#HTaskClassEntryName").val(TaskData.ä»»å¡ç±»å«åç§°); |
| | | //æ´æ°é¡¹ç®ä»£ç |
| | | GetHProjectNumber(); |
| | | } |
| | | TaskData = []; |
| | | } |
| | |
| | | $("#HPayCusName").val(obj[0].客æ·åç§°);//客æ·åç§° |
| | | } |
| | | } |
| | | function GetProjectMoneyValue(obj) { |
| | | TaskData = obj[0]; |
| | | } |
| | | //ä»»å¡ç±»å« |
| | | function GetTaskClassValue(obj) { |
| | | TaskData = obj[0]; |
| | | } |
| | | |
| | | //å®è£
è´¹ï¼å·¥è´¹ï¼éå±è´¹ï¼èæ ¸è´¹ |
| | | function GetProjectMoney_ClassValue(obj) { |
| | | TaskData = obj[0]; |
| | | } |
| | | |
| | | //项ç®ç»ç |
| | | function GetHPMValue(obj) { |
| | | $("#HPMEmpID").val(obj[0].HItemID);//客æ·id |
| | |
| | | function GetHEmpListValue(obj) { |
| | | $("#HTaskWorkEmp").val(obj.èååç§°); |
| | | } |
| | | |
| | | //åç人 |
| | | function GetHMaterEmpValue(obj) { |
| | | $("#HReceEmp").val(obj[0].èååç§°); |
| | | } |
| | | |
| | | //ç®¡å¾ |
| | | function GetPiPeValue(obj) { |
| | | $("#HPipeDiameter").val(obj[0].管å¾åç§°);//管å¾åç§° |