服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2025-03-18 05fdade2564f0880fcba935aadf12e79a467764b
Tiger.Business.WMS/iSRM/SrmToWms.cs
@@ -53,7 +53,7 @@
                        switch (group)
                        {
                            case "XCSJ":
                                db = Biz.DataSource["Main"].Client;
                                db = Biz.Db;
                                break;
                            case "DGXC":
@@ -124,7 +124,7 @@
                                        productCode = item.materialNumber,
                                        //productName = item.productName,
                                        //productScale = item.productScale,
                                        deliveryQty = Convert.ToDecimal(item.deliveryQuantity),
                                        deliveryQty = Convert.ToDouble(item.deliveryQuantity),
                                        //deliveryUnitCode = item.deliveryUnitCode,
                                        deliveryUnitName = item.purchaseUnit,
                                        //deliveryValuationQty = Convert.ToInt32(item.deliveryValuationQty),
@@ -159,7 +159,7 @@
                                    dlvySn.SOURCETYPE = "SRM";
                                    //dlvySn.ITEM_NAME = item.productName;
                                    //dlvySn.SPECIFICATION = item.productScale;
                                    dlvySn.IncludeQty = Convert.ToDecimal(item.materialQuantity);
                                    dlvySn.IncludeQty = Convert.ToDouble(item.materialQuantity);
                                    dlvySn.SmallBarcode = item.packetBarcodeNumber;
                                    dlvySn.BigBarcode = item.mediumBarcodeNumber;
                                    dlvySn.OuterBarcode = item.cartonBarcodeNumber;
@@ -301,7 +301,7 @@
                            dtl.ITEM_CODE = item.materialNumber;
                            //productName = item.productName,
                            //productScale = item.productScale,
                            dtl.QTY = Convert.ToDecimal(item.deliveryQuantity);
                            dtl.QTY = Convert.ToDouble(item.deliveryQuantity);
                            dtl.UNIT = item.purchaseUnit;
                            dtl.PRICE = Convert.ToDouble(item.price);
                            dtl.TAX_PRICE = Convert.ToDouble(item.taxPrice);
@@ -331,7 +331,7 @@
                            dlvySn.DELIVERY_NO = DeliveryNo;
                            //dlvySn.PO_LINE_NO = lineno;
                            dlvySn.ITEM_CODE = item.materialNumber;
                            dlvySn.QTY = Convert.ToDecimal(item.materialQuantity);
                            dlvySn.QTY = Convert.ToDouble(item.materialQuantity);
                            dlvySn.SMALL_BARCODE = sn;
                            dlvySn.SMALL_SN = sn;
                            dlvySn.BIG_BARCODE = item.mediumBarcodeNumber;
@@ -621,7 +621,7 @@
                                dtl.ITEM_CODE = item.materialNumber;
                                //productName = item.productName,
                                //productScale = item.productScale,
                                dtl.QTY = Convert.ToDecimal(item.deliveryQuantity);
                                dtl.QTY = Convert.ToDouble(item.deliveryQuantity);
                                dtl.UNIT = item.purchaseUnit;
                                dtl.PRICE = Convert.ToDouble(item.price);
                                dtl.TAX_PRICE = Convert.ToDouble(item.taxPrice);
@@ -651,7 +651,7 @@
                                dlvySn.DELIVERY_NO = DeliveryNo;
                                //dlvySn.PO_LINE_NO = lineno;
                                dlvySn.ITEM_CODE = item.materialNumber;
                                dlvySn.QTY = Convert.ToDecimal(item.materialQuantity);
                                dlvySn.QTY = Convert.ToDouble(item.materialQuantity);
                                dlvySn.SMALL_BARCODE = sn;
                                dlvySn.SMALL_SN = sn;
                                dlvySn.BIG_BARCODE = item.mediumBarcodeNumber;