|
@@ -310,26 +310,51 @@ namespace PTMedicalInsurance.Forms
|
|
|
string errorMsg = "";
|
|
|
JObject joRtn = new JObject();
|
|
|
Global.pat.insuplc_admdvs = tbCBD_Hand.Text;
|
|
|
-
|
|
|
- if (Chk_DealNo.Checked)
|
|
|
- {
|
|
|
- joRtn = invoker.invokeCenterService(tb_DealNo.Text, JsonHelper.setCenterInpar(tb_DealNo.Text, rtbInparam.Text));
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- joRtn = invoker.invokeCenterService("2601", JsonHelper.setCenterInpar("2601", rtbInparam.Text));
|
|
|
- }
|
|
|
|
|
|
- if (JsonHelper.parseCenterRtnValue(joRtn, out errorMsg) != 0)
|
|
|
- {
|
|
|
- MessageBox.Show("调用失败:" + errorMsg);
|
|
|
+ if (tb_DealNo.Text == "6203")
|
|
|
+ {
|
|
|
+ //JObject joInpar = new JObject();
|
|
|
+ //joInpar.Add("payOrdId", "ORD610100202503041842380000145");//支付订单号
|
|
|
+ //joInpar.Add("appRefdSn", MPat.recordID);//应用退款流水号
|
|
|
+ //joInpar.Add("appRefdTime", DateTime.Now.ToString("yyyyMMddHHmmss"));//应用退费时间
|
|
|
+ //joInpar.Add("totlRefdAmt", JsonHelper.getDestValue(joSettl, "Sumamt"));//总退费金额
|
|
|
+ //joInpar.Add("psnAcctRefdAmt", JsonHelper.getDestValue(joSettl, "AccountPaySumamt"));//医保个人账户支付
|
|
|
+ //joInpar.Add("fundRefdAmt", JsonHelper.getDestValue(joSettl, "FundPaySumamt"));//基金支付
|
|
|
+ //joInpar.Add("cashRefdAmt", JsonHelper.getDestValue(joSettl, "PersonCashPay"));//现金退费金额
|
|
|
+ //joInpar.Add("ecToken", MPat.token);//电子凭证授权Token 前端传入
|
|
|
+ //joInpar.Add("refdType", "HI");//退费类型 前端传入
|
|
|
+ //joInpar.Add("expContent", "");//扩展数据 前端传入
|
|
|
+ //joInpar.Add("payAuthNo", MPat.payAuthNo);//支付授权码 前端传入
|
|
|
+
|
|
|
+ JObject jo6203Rtn = invoker.invokeMPService("6203", rtbInparam.Text);
|
|
|
+ //YH6202
|
|
|
+ if (JsonHelper.parseMPRtnValue(jo6203Rtn, out errorMsg) != 0)
|
|
|
+ {
|
|
|
+ MessageBox.Show(errorMsg);
|
|
|
+ return;
|
|
|
+ }
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- MessageBox.Show("调用成功!:");
|
|
|
- rtbOutparam.Text = joRtn.ToString();
|
|
|
- }
|
|
|
+ if (Chk_DealNo.Checked)
|
|
|
+ {
|
|
|
+ joRtn = invoker.invokeCenterService(tb_DealNo.Text, JsonHelper.setCenterInpar(tb_DealNo.Text, rtbInparam.Text));
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ joRtn = invoker.invokeCenterService("2601", JsonHelper.setCenterInpar("2601", rtbInparam.Text));
|
|
|
+ }
|
|
|
|
|
|
+ if (JsonHelper.parseCenterRtnValue(joRtn, out errorMsg) != 0)
|
|
|
+ {
|
|
|
+ MessageBox.Show("调用失败:" + errorMsg);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ MessageBox.Show("调用成功!:");
|
|
|
+ rtbOutparam.Text = joRtn.ToString();
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
#endregion
|