|
|
@@ -1555,43 +1555,33 @@ namespace PTMedicalInsurance
|
|
|
}
|
|
|
case "Print"://打印
|
|
|
{
|
|
|
- MessageBox.Show("进入打印函数");
|
|
|
- //显示打印界面
|
|
|
+ //显示打印界面
|
|
|
SettlementChecklist frmSettlList;
|
|
|
string insuAdmObj = JsonHelper.getDestValue(joInParam, "insuAdmObj");
|
|
|
- MessageBox.Show("进入打印函数2");
|
|
|
if (insuAdmObj == "")
|
|
|
{
|
|
|
- MessageBox.Show("进入打印函数99");
|
|
|
frmSettlList = new SettlementChecklist();
|
|
|
- MessageBox.Show("进入打印函数3");
|
|
|
if (frmSettlList.ShowDialog() != DialogResult.OK)
|
|
|
{
|
|
|
- MessageBox.Show("进入打印函数5");
|
|
|
rtnResult = JsonHelper.setExceptionJson(-100, "", "已退出打印界面").ToString();
|
|
|
return rtnResult;
|
|
|
}
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- MessageBox.Show("进入打印函数6");
|
|
|
JObject joInsuAdmObj = JObject.Parse(insuAdmObj);
|
|
|
frmSettlList = new SettlementChecklist(joInsuAdmObj);
|
|
|
- MessageBox.Show("进入打印函数7");
|
|
|
string groupID = JsonHelper.getDestValue((JObject)Global.curEvt.jaSession[0], "groupID");
|
|
|
string userName = JsonHelper.getDestValue((JObject)Global.curEvt.jaSession[0], "userName");
|
|
|
DataTable dt = (DataTable)frmSettlList.dgvSettlRecord.DataSource;
|
|
|
|
|
|
if (dt.Rows.Count != 1)
|
|
|
{
|
|
|
- MessageBox.Show("进入打印函数8");
|
|
|
frmSettlList.ShowDialog();
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- MessageBox.Show("进入打印函数9");
|
|
|
frmSettlList.btnPrint_Click(null, null);
|
|
|
- MessageBox.Show("进入打印函数10");
|
|
|
}
|
|
|
}
|
|
|
|