1店铺登录逻辑优化 2备货单查询显示

This commit is contained in:
wule committed 2025-07-01 18:58:51 +08:00
1 parent 89eb9ce9d4
commit 862ad088f5
216 files changed
+3481 -1543

No files matched your search

@@ -2,8 +2,8 @@
using AllBase.Helper;
using AllBase.Model.Param.FissionManage;
using AllBase.Model.Result;
using LittleRabbit.Extension;
using LittleRabbit.LittleRabbitForms.BaseForms;
using TemuKJD.Extension;
using TemuKJD.KJDForms.BaseForms;
using NaiBa.Util.Extension;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
@@ -24,7 +24,7 @@ using Work.BLL.Upload;
using Work.CollectClass;
using Work.DouyinApiClass;
namespace LittleRabbit.LittleRabbitForms.UploadForms
namespace TemuKJD.KJDForms.UploadForms
{
public partial class FissionDataBaseForm : Form
{
@@ -208,7 +208,7 @@ namespace LittleRabbit.LittleRabbitForms.UploadForms
{
cmbShop.Items.Clear();
cmbShop.Items.Add("不限");
foreach (var shop in GlobalConfig.DouShopLoginList)
foreach (var shop in GlobalConfig.ShopLoginList)
{
cmbShop.Items.Add(shop.ShopAccount);
}
@@ -228,7 +228,7 @@ namespace LittleRabbit.LittleRabbitForms.UploadForms
catList1.Insert(0, new GoodsCategoryModel() { name = "不限", parent_id = 0, level = 0, enable = true, is_leaf = false, id = -1, main_cat_id = 0 });
string shopname = cmbShop.Text;
var shop = GlobalConfig.DouShopLoginList.FirstOrDefault(x => x.ShopAccount == shopname);
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(x => x.ShopAccount == shopname);
if (shop != null)
{
catList1.AddRange(GetCategoryList(0, shop));
@@ -258,7 +258,7 @@ namespace LittleRabbit.LittleRabbitForms.UploadForms
cmbShopCat3.Items.Clear(); // 防止有的店铺没有一级、二级、三级类目,所以,更改店铺前要把一级类目清空
List<GoodsCategoryModel> catList2 = new List<GoodsCategoryModel>();
string shopname = cmbShop.Text;
var shop = GlobalConfig.DouShopLoginList.FirstOrDefault(x => x.ShopAccount == shopname);
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(x => x.ShopAccount == shopname);
if (shop != null)
{
if (cmbShopCat1.SelectedItem is GoodsCategoryModel)
@@ -277,7 +277,7 @@ namespace LittleRabbit.LittleRabbitForms.UploadForms
cmbShopCat3.Items.Clear(); // 防止有的店铺没有一级、二级、三级类目,所以,更改店铺前要把三级类目清空
List<GoodsCategoryModel> catList3 = new List<GoodsCategoryModel>();
string shopname = cmbShop.Text;
var shop = GlobalConfig.DouShopLoginList.FirstOrDefault(x => x.ShopAccount == shopname);
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(x => x.ShopAccount == shopname);
if (shop != null)
{
if (cmbShopCat2.SelectedItem is GoodsCategoryModel)