diff --git a/UniApiGroup/Controller/OdbcApiScpController.cs b/UniApiGroup/Controller/OdbcApiScpController.cs index f244b67..c23769d 100644 --- a/UniApiGroup/Controller/OdbcApiScpController.cs +++ b/UniApiGroup/Controller/OdbcApiScpController.cs @@ -47,11 +47,17 @@ namespace CK.SCP.GrupUniApi.Controller { var list = dataList.Where(p => p.BillNum == billNum).ToList(); if (GlobalVar.ApiConfig.Scm采购订单) + { PutScmPo(idb, list.Where(p => p.InterfaceType == UniApiType.Pobillnum.ToString()).ToList()); + } if (GlobalVar.ApiConfig.Scm大订单) + { PutScmMaxPo(idb, list.Where(p => p.InterfaceType == UniApiType.MaxPobillnum.ToString()).ToList()); + } if (GlobalVar.ApiConfig.Scm发货单) + { PutScmAsn(idb, list.Where(p => p.InterfaceType == UniApiType.Receive.ToString()).ToList()); + } //if (GlobalVar.ApiConfig.Scm条码明细) // PutScmBarcode(idb, list.Where(p => p.InterfaceType == UniApiType.BarCode.ToString()).ToList()); //if (GlobalVar.ApiConfig.Scm发票)