| | |
| | | // åèå®¢æ· |
| | | if (oSystemParameter.omodel.WMS_CampanyName == "åè") |
| | | { |
| | | HBarCode = HBarCode.Split('-')[0]; |
| | | if (!string.IsNullOrWhiteSpace(HBarCode)) |
| | | { |
| | | HBarCode = HBarCode.Split('-')[0]; |
| | | } |
| | | } |
| | | |
| | | // Mode = 1 表示 æ«ç æ¨¡å¼ Mode = 2 表示 é忍¡å¼ |
| | |
| | | //æ«ç 模å¼éè¦è§£ææ¡ç è·åHInterIDåHEntryID |
| | | ds = oCn.RunProcReturn($@" |
| | | exec h_p_CheckBillBarCode_AnalysisBarcode |
| | | @HBillType={HBillType}, |
| | | @HSourceBillType={HSourceBillType}, |
| | | @HBillType='{HBillType}', |
| | | @HSourceBillType='{HSourceBillType}', |
| | | @HBarCode='{HBarCode}', |
| | | @user = '{user}' |
| | | ", "h_p_CheckBillBarCode_AnalysisBarcode"); |
| | |
| | | // é忍¡å¼ç´æ¥éå
¥HInterID å HEntryID æ ¹æ® åè´¨æ£æ¹æ¡æ¥æº è·å æ£éªé¡¹ç® |
| | | if (oSystemParameter.omodel.WMS_CampanyName == "åè") |
| | | { |
| | | //åèåæ«ä»¶çæ¶å è¦ç¥éæè¿ä¸ªæ¡ç 对åºçæ°éæ¯å¤å°ï¼åªè½ææ¡ç ä¼ å
¥è¿å»è¿è¡æ¥æ¾ |
| | | ds = oCn.RunProcReturn($@"exec h_p_CheckBillBarCode_CheckItem @HBillType={HBillType},@HSourceBillType={HSourceBillType}, |
| | | @HInterID={HInterID},@HEntryID={HEntryID},@HBarCode={HBarCode}", "h_p_CheckBillBarCode_CheckItem"); |
| | | //åèåæ«ä»¶çæ¶å è¦ç¥éæè¿ä¸ªæ¡ç 对åºçæ°éæ¯å¤å°ï¼åªè½ææ¡ç ä¼ å
¥è¿å»è¿è¡æ¥æ¾ |
| | | ds = oCn.RunProcReturn($@"exec h_p_CheckBillBarCode_CheckItem @HBillType='{HBillType}',@HSourceBillType='{HSourceBillType}', |
| | | @HInterID='{HInterID}',@HEntryID='{HEntryID}',@HBarCode='{HBarCode}'", "h_p_CheckBillBarCode_CheckItem"); |
| | | } |
| | | else |
| | | { |
| | | ds = oCn.RunProcReturn($@"exec h_p_CheckBillBarCode_CheckItem @HBillType={HBillType},@HSourceBillType={HSourceBillType}, |
| | | @HInterID={HInterID},@HEntryID={HEntryID}", "h_p_CheckBillBarCode_CheckItem"); |
| | | ds = oCn.RunProcReturn($@"exec h_p_CheckBillBarCode_CheckItem @HBillType='{HBillType}',@HSourceBillType='{HSourceBillType}', |
| | | @HInterID='{HInterID}',@HEntryID='{HEntryID}'", "h_p_CheckBillBarCode_CheckItem"); |
| | | } |
| | | |
| | | |