| | |
| | | string text4 = ClsPub.isStrNull(dataSet2.Tables[0].Rows[0]["HModel"]); |
| | | long num3 = (long)ClsPub.isInt(dataSet2.Tables[0].Rows[0]["HUnitID"]); |
| | | text = str3 + num2.ToString() + text2 + "#" + num; |
| | | text1 = str3 + num2.ToString() + text2; |
| | | text1 = str3 + num2.ToString() + text2;//组织代码+物料id+批号 |
| | | //找源单 |
| | | DataSet dataSet3 = clsCN.RunProcReturn(" select fid,FMATERIALID,FENTRYID,FBILLNO from h_v_RECEIVEQuery where FSRCBILLNO= '" + str2 + "' and FLOT_TEXT = '" + text2 + "' and FMATERIALID = " + num2.ToString(), "h_v_RECEIVEQuery"); |
| | | //DataSet dataSet3 = clsCN.RunProcReturn(" select fid,FMATERIALID,FENTRYID,FBILLNO from h_v_RECEIVEQuery where FLOT_TEXT= '" + text2 + "' and FPRODUCEDATE = '" + dateTime + "' and FMATERIALID = " + num2.ToString(), "h_v_RECEIVEQuery"); |