| | |
| | | { |
| | | DataSet dataSet = this.oCn.RunProcReturn("exec h_p_ReceiveBill_Fast " + hinterID, "h_p_ReceiveBill_Fast"); |
| | | DataRow dataRow = dataSet.Tables[0].Rows[0]; |
| | | if (dataSet.Tables[0].Rows.Count == 1 && dataSet.Tables[0].Rows[0]["FRECEIVENumber"].ToString() == "0") |
| | | { |
| | | this.objJsonResult.code = "0"; |
| | | this.objJsonResult.count = 0; |
| | | this.objJsonResult.Message = "存在多个采购订单单据类型,不允许提交!"; |
| | | this.objJsonResult.data = null; |
| | | return this.objJsonResult; |
| | | } |
| | | bool flag4 = dataSet.Tables[0].Rows.Count <= 0; |
| | | bool flag5 = flag4; |
| | | bool flag6 = flag5; |