类型这个字段,控件编辑结束事件
var cell = contentPane.curLGP.getTDCell(0,0); //获取焦点所在的单元格对象,getTDCell(0,0)即 A1 单元格
contentPane.curLGP.selectTDCell(cell); //选择单元格
var a = this.getValue();
if(a=="工时")
{
FR.Msg.alert("提示","填写7")
}
else if(a=="加班")
{
FR.Msg.alert("提示","填写加班几个小时")}
else if(a=="请假")
{
FR.Msg.alert("提示","填写0")
}
else if(a=="离开上海")
{
FR.Msg.alert("提示","填写0")
}