Compare commits
2
Commits
36f9fa8178
...
6b6bac5b1e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b6bac5b1e | ||
|
|
14a26b7509 |
@@ -669,6 +669,13 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
if (!isInit)
|
if (!isInit)
|
||||||
{
|
{
|
||||||
InitWaitingProductConfigBinding();
|
InitWaitingProductConfigBinding();
|
||||||
|
foreach (var item in dgvShop.Rows.Cast<DataGridViewRow>())
|
||||||
|
{
|
||||||
|
var shopId = item.Cells["colShopId"]?.Value.ToString();
|
||||||
|
|
||||||
|
item.Cells["colSelect"].Value = wxUploadRule.SelectedShopIds.Contains(shopId);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
isInit = true;
|
isInit = true;
|
||||||
}
|
}
|
||||||
@@ -1025,6 +1032,10 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wxUploadRule.SelectedShopIds = shopIdLst;
|
||||||
|
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_upload_rule", wxUploadRule);
|
||||||
|
|
||||||
|
|
||||||
if (lstTemuDBProductSelect.Count() > 0)
|
if (lstTemuDBProductSelect.Count() > 0)
|
||||||
{
|
{
|
||||||
if (WXShopLoginForm.shopLoginInstance != null && WXShopLoginForm.shopLoginInstance.IsDisposed != true)
|
if (WXShopLoginForm.shopLoginInstance != null && WXShopLoginForm.shopLoginInstance.IsDisposed != true)
|
||||||
@@ -8092,6 +8103,10 @@ Content-Type: application/octet-stream
|
|||||||
|
|
||||||
public bool IsNotUploadShopProdMoreThan { get; set; } = false;
|
public bool IsNotUploadShopProdMoreThan { get; set; } = false;
|
||||||
public int NotUploadShopProdMoreThan { get; set; } = 500;
|
public int NotUploadShopProdMoreThan { get; set; } = 500;
|
||||||
|
/// <summary>
|
||||||
|
/// 选中上传的商铺
|
||||||
|
/// </summary>
|
||||||
|
public List<string> SelectedShopIds { get; set; } = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user