超级店铺管理功能
This commit is contained in:
1 parent
d3e404ac2a
commit
fe2d2883db
91 files changed
+4295
-587
No files matched your search
@@ -102,14 +102,14 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
dgvShop.Rows.Remove(row);
|
||||
}
|
||||
// 绑定其他店铺(含新导入的店铺)
|
||||
foreach (DouShopLoginInfo shopEntity in GlobalConfig.ShopLoginList)
|
||||
foreach (ShopLoginInfo shopEntity in GlobalConfig.ShopLoginList)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(shopEntity.ShopId))
|
||||
BindShop(shopEntity, selectIds);
|
||||
}
|
||||
}
|
||||
|
||||
private void BindShop(DouShopLoginInfo shopEntity, List<string> selectShopId = null)
|
||||
private void BindShop(ShopLoginInfo shopEntity, List<string> selectShopId = null)
|
||||
{
|
||||
if (shopEntity == null)
|
||||
return;
|
||||
@@ -356,7 +356,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
/// <param name="shop"></param>
|
||||
/// <param name="page"></param>
|
||||
/// <returns></returns>
|
||||
private string GetShopStockList(DouShopLoginInfo shop, int page = 1, string type = "待创建")
|
||||
private string GetShopStockList(ShopLoginInfo shop, int page = 1, string type = "待创建")
|
||||
{
|
||||
page = Math.Max(page, 1);
|
||||
string url = "https://seller.kuajingmaihuo.com/oms/bg/venom/api/supplier/purchase/manager/querySubOrderList";
|
||||
@@ -377,7 +377,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
/// <param name="shop"></param>
|
||||
/// <param name="subPurchaseOrderSn"></param>
|
||||
/// <returns></returns>
|
||||
private string CancelSubPurchaseOrder(DouShopLoginInfo shop, string subPurchaseOrderSn)
|
||||
private string CancelSubPurchaseOrder(ShopLoginInfo shop, string subPurchaseOrderSn)
|
||||
{
|
||||
string url = "https://seller.kuajingmaihuo.com/oms/bg/venom/api/supplier/purchase/manager/batchCancelSubPurchaseOrder";
|
||||
string body = "{\"subPurchaseOrderSnList\":[\"" + subPurchaseOrderSn + "\"]}";
|
||||
@@ -386,7 +386,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
return ProductResponse.GetPostResponse(shop, url, body, refere);
|
||||
}
|
||||
|
||||
private string GetWarehouseList(DouShopLoginInfo shop, int page = 1)
|
||||
private string GetWarehouseList(ShopLoginInfo shop, int page = 1)
|
||||
{
|
||||
page = Math.Max(page, 1);
|
||||
string url = "https://seller.kuajingmaihuo.com/marvel-mms/cn/api/kiana/venom/sales/management/listWarehouse";
|
||||
@@ -402,7 +402,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
/// <param name="shop"></param>
|
||||
/// <param name="subOrderInfo"></param>
|
||||
/// <returns></returns>
|
||||
private string QueryStockBaseInfo(DouShopLoginInfo shop, SubOrderInfo subOrderInfo)
|
||||
private string QueryStockBaseInfo(ShopLoginInfo shop, SubOrderInfo subOrderInfo)
|
||||
{
|
||||
string url = "https://seller.kuajingmaihuo.com/oms/bg/venom/api/supplier/sales/management/queryStockBaseInfo";
|
||||
string body = "{\"productSkcId\":" + subOrderInfo.productSkcId
|
||||
@@ -417,7 +417,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
/// <param name="shop"></param>
|
||||
/// <param name="subOrderInfo"></param>
|
||||
/// <returns></returns>
|
||||
private string CreateStockOrder(DouShopLoginInfo shop, SubOrderInfo subOrderInfo)
|
||||
private string CreateStockOrder(ShopLoginInfo shop, SubOrderInfo subOrderInfo)
|
||||
{
|
||||
string url = "https://seller.kuajingmaihuo.com/oms/bg/venom/api/supplier/sales/management/createStockOrder";
|
||||
string body = "{\"productSkcId\":" + subOrderInfo.productSkcId + "," +
|
||||
@@ -505,7 +505,6 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
}
|
||||
|
||||
string searchText = txtStockid.Text.Trim();
|
||||
btnCancelSubPurchaseOrder.Enabled = false;
|
||||
ucGroupBoxEx2.Enabled = false;
|
||||
ucGroupBoxEx3.Enabled = false;
|
||||
ucGroupBoxEx4.Enabled = false;
|
||||
@@ -653,8 +652,6 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
}
|
||||
|
||||
string searchText = txtStockid.Text.Trim();
|
||||
btnListWarehouse.Enabled = false;
|
||||
btnSearch.Enabled = false;
|
||||
ucGroupBoxEx2.Enabled = false;
|
||||
ucGroupBoxEx3.Enabled = false;
|
||||
ucGroupBoxEx4.Enabled = false;
|
||||
|
||||
Reference in new issue
Block a user