| | |
| | | var HModName = "PM_WorkTaskBillList"; |
| | | |
| | | //ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± |
| | | var titleData = ["HInterID","HProjectStageID","HOrgID","HEntryID", "HProjectID"]; |
| | | var titleData = ["HInterID", "HProjectStageID", "HOrgID", "HEntryID", "HProjectID", "HBillStatus"]; |
| | | //#endregion |
| | | |
| | | //#region è¿å
¥é¡µé¢å³å è½½ |
| | |
| | | //è·åç»å½è´¦æ·å¯¹åºèååç§° |
| | | var HUserName = getHEmpByHUserName(); |
| | | if (HUserName != "" && HUserName != null) { |
| | | sWhere = " and (æ´¾å人 = '" + HUserName + "' or æ¥å人 = '" + HUserName + "' or æé人 like '%" + HUserName + "%') "; |
| | | sWhere += " and (æ´¾å人 = '" + HUserName + "' or æ¥å人 = '" + HUserName + "' or æé人 like '%" + HUserName + "%') "; |
| | | } |
| | | |
| | | var HOrgID = ""; |
| | |
| | | var openType = params[params[0]]; //ä»åæ°ä¸è·å æå¼æ¹å¼ 1ç´æ¥æå¼ 2å
¶å®é¡µé¢éè¿éæ©æé®æå¼ |
| | | var HOrgID = params[params[1]]; |
| | | if (openType == 2) { |
| | | sWhere += " and ISNULL(å
³é人,'') = '' and ISNULL(ä½åºäºº,'') = '' "; |
| | | sWhere += " and HBillStatus<3 and ISNULL(å
³é人,'') = '' and ISNULL(ä½åºäºº,'') = '' "; |
| | | $("#HOrgID").val(HOrgID); |
| | | form.render("select"); |
| | | return true; |