| | |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region 出站汇报单显示表体明细 |
| | | [Route("Cj_StationEntrustInBill/DisBillEntryList")] |
| | | [HttpGet] |
| | | public object DisBillEntryList(Int64 HProcExchHinteID) |
| | | { |
| | | try |
| | | { |
| | | |
| | | //得到信息 |
| | | ds = oCN.RunProcReturn("exec h_p_Sc_ProcExchBilltransRelationQty " + HProcExchHinteID + "", "h_p_Sc_ProcExchBilltransRelationQty"); |
| | | //写入信息 |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "未查询到出站单明细信息!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucess!"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exception!" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region 新增单据-保存按钮 |
| | | [Route("Cj_StationEntrustInBill/AddBill")] |
| | | [HttpPost] |