|  |  |  | 
|---|
|  |  |  | { | 
|---|
|  |  |  | omodel.Sc_ICMOReportBill_MESFlag = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //收料通知单(送货单、到货确认) | 
|---|
|  |  |  | if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Cg_POInStockBill_BarCodeCtl") | 
|---|
|  |  |  | { | 
|---|
|  |  |  | omodel.Cg_POInStockBill_BarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Cg_POInStockBill_AutoCheck") | 
|---|
|  |  |  | { | 
|---|
|  |  |  | omodel.Cg_POInStockBill_AutoCheck = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Cg_POInStockBill_ERPMode") | 
|---|
|  |  |  | { | 
|---|
|  |  |  | omodel.Cg_POInStockBill_ERPMode = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | //采购入库单 | 
|---|
|  |  |  | if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_POStockInBill_AutoCheck") | 
|---|
|  |  |  | { | 
|---|