移交管理,管道导入补充总达因数、达因数数据格式判断
This commit is contained in:
		
							parent
							
								
									d1d6353e0a
								
							
						
					
					
						commit
						766b96b2ec
					
				|  | @ -169,6 +169,31 @@ namespace FineUIPro.Web.Transfer | ||||||
|                     { |                     { | ||||||
|                         result += (i + 3).ToString() + "," + "Test Package No" + "," + "不能为空!" + "|"; |                         result += (i + 3).ToString() + "," + "Test Package No" + "," + "不能为空!" + "|"; | ||||||
|                     } |                     } | ||||||
|  |                     string obj1 = pds.Rows[i][5].ToString(); | ||||||
|  |                     string obj2 = pds.Rows[i][6].ToString(); | ||||||
|  |                     string obj3 = pds.Rows[i][7].ToString(); | ||||||
|  |                     if (!string.IsNullOrEmpty(obj1)) | ||||||
|  |                     { | ||||||
|  |                         try | ||||||
|  |                         { | ||||||
|  |                             Decimal date = Convert.ToDecimal(obj1.Trim()); | ||||||
|  |                         } | ||||||
|  |                         catch (Exception) | ||||||
|  |                         { | ||||||
|  |                             result += (i + 3).ToString() + "," + "总达因数" + "," + "请填写数值!" + "|"; | ||||||
|  |                         } | ||||||
|  |                     } | ||||||
|  |                     if (!string.IsNullOrEmpty(obj2)) | ||||||
|  |                     { | ||||||
|  |                         try | ||||||
|  |                         { | ||||||
|  |                             Decimal date = Convert.ToDecimal(obj2.Trim()); | ||||||
|  |                         } | ||||||
|  |                         catch (Exception) | ||||||
|  |                         { | ||||||
|  |                             result += (i + 3).ToString() + "," + "完成达因数" + "," + "请填写数值!" + "|"; | ||||||
|  |                         } | ||||||
|  |                     } | ||||||
| 
 | 
 | ||||||
|                 } |                 } | ||||||
|                 if (!string.IsNullOrEmpty(result)) |                 if (!string.IsNullOrEmpty(result)) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue