报销单关联显示报销人出差信息

//--------------------------------事件120815
var _Type = parent.Request.QueryString("opentype");
function SelectChargeApp2()
{
	//if(_Type == "1")
	//{
                 if(txtBaoXiaoRen.value=="")
                      alert("请选择报销人!");
                 else
                 {
		var URL = "../../fceform/common/djframe.htm?djsn=ccxxcx_2cd966eb-c8b4-4708-a865-1508012735ba&djtype=TT&DjName=出差信息查询";
		URL = URL+"&DeptId="+txtDeptID.value+"&RegCode="+txtAppUserID.value+"&baoxiaoren="+txtBaoXiaoRen.value;//alert(URL);
		var RtrValue = window.showModalDialog(URL,'','DialogLeft:170px;DialogTop:130px;DialogWidth:750px;DialogHeight:500px;status:no;help:no');
		if(Trim(RtrValue) !="")
		{
			var arr = RtrValue.split('|');
                                txtBaoXiaoShiJian.value=arr[1];
                                dataset2.MoveFirst();
                                dataset2.Fields.Field['ApplyMoney'].Value=arr[2];
                                txtDeptName.value=arr[3];
                                txtDeptID.value=arr[4];
                                cmbPeriod.value=arr[5];
		           
			dataset2.bEdit = true;
   			dataset2.Update('不检查');
			DsToGrid(grid1,'是');
		}
                  }
	//}
	//else
	//{
	//	var e = document.getElementById("btnSelectBill");
	//	getAddress(e);
	//}
}
//出差信息查询表单初始函数,注取消编号
function PageInt()
{
    var baoxiaoren =parent.Request.QueryString('baoxiaoren').toString();
    baoxiaoren=baoxiaoren.substr(8);
   //alert(baoxiaoren);
    var sql="select com_dep,reg_name,atte_begintime,atte_limit,atte_reason from JHHR_Attendance_EvectionDetail where reg_name like '%"+baoxiaoren+"'";
    sql+=" order by atte_begintime desc";
    dataset1.Open(sql);
}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值