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

@@ -1,7 +1,7 @@
using AllBase;
using AllBase.Helper;
using AllBase.Model.Result;
using LittleRabbit.Extension;
using TemuKJD.Extension;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -15,7 +15,7 @@ using System.Web.UI.WebControls;
using System.Windows.Forms;
using Work;
namespace LittleRabbit.LittleRabbitForms.ShopForms
namespace TemuKJD.KJDForms.ShopForms
{
/// <summary>
/// 运费模板管理窗口
@@ -53,10 +53,10 @@ namespace LittleRabbit.LittleRabbitForms.ShopForms
.Select(r2 => r2.Cells["colShopId"].Value?.ToString()).ToList();
Task.Run(()=> {
for (int i = 0; i < GlobalConfig.DouShopLoginList.Count; i++)
for (int i = 0; i < GlobalConfig.ShopLoginList.Count; i++)
{
var shop = GlobalConfig.DouShopLoginList[i];
if (!ids.Any(id => id == shop.ShopAccountId) || shop.LoginStatus != "登录成功")
var shop = GlobalConfig.ShopLoginList[i];
if (!ids.Any(id => id == shop.ShopId) || shop.LoginStatus != "登录成功")
continue;
string data = "template_name=" + template_name + "&product_province=" + pid + "&product_city=" + cid;
//固定运费
@@ -123,7 +123,7 @@ namespace LittleRabbit.LittleRabbitForms.ShopForms
count++;
for (int i = 0; i < dgvShop.Rows.Count; i++)
{
if (shop.ShopAccountId== dgvShop.Rows[i].Cells["colShopId"].Value.ToString())
if (shop.ShopId== dgvShop.Rows[i].Cells["colShopId"].Value.ToString())
{
dgvShop.Rows[i].Cells["colStatus"].Value = message;
break;
@@ -202,7 +202,7 @@ namespace LittleRabbit.LittleRabbitForms.ShopForms
{
var area = cobProvince.SelectedItem as ListItem;
int id = int.Parse(area.Value);
var shop = GlobalConfig.DouShopLoginList.Where(s=>s.LoginStatus=="登录成功").FirstOrDefault();
var shop = GlobalConfig.ShopLoginList.Where(s=>s.LoginStatus=="登录成功").FirstOrDefault();
if (shop == null)
return;
List<ListItem> list = new List<ListItem>();
@@ -265,10 +265,10 @@ namespace LittleRabbit.LittleRabbitForms.ShopForms
}
public void ReadLoad()
{
for (int i = 0; i < GlobalConfig.DouShopLoginList.Count; i++)
for (int i = 0; i < GlobalConfig.ShopLoginList.Count; i++)
{
var shop = GlobalConfig.DouShopLoginList[i];
dgvShop.Rows.Add(false, shop.ShopAccountId, shop.ShopAccount, 0, shop.LoginStatus);
var shop = GlobalConfig.ShopLoginList[i];
dgvShop.Rows.Add(false, shop.ShopId, shop.ShopAccount, 0, shop.LoginStatus);
}
}