尺码表信息传递到草稿箱 选品相关功能优化

This commit is contained in:
wule committed 2025-07-18 18:18:08 +08:00
1 parent 40bf0623ca
commit 39cfc15188
34 files changed
+5562 -1581

No files matched your search

+17 -2
View File
@@ -99,6 +99,7 @@ namespace TemuKJD.KJDForms.AdminForms
"多重登录",
shop.ApiAuthStatus,
shop.BuyApiAuth.ApiAuthStatus,
"导入Cookies",
"复制Cookies",
"上传",
"编辑",
@@ -206,6 +207,11 @@ namespace TemuKJD.KJDForms.AdminForms
Clipboard.SetDataObject(cookJs);
BaseMsgForm.ShowInfo("复制成功");
break;
case "导入Cookie":
ShopUpdateCookieForm updateCookieForm = new ShopUpdateCookieForm(shop);
updateCookieForm.SaveComplete += UpdateCookieForm_SaveComplete;
updateCookieForm.ShowDialog();
break;
case "删除":
if (BaseMsgForm.ShowConfirm("确定删除店铺吗?删除后不可恢复!").DialogResult == DialogResult.Cancel)
return;
@@ -239,6 +245,16 @@ namespace TemuKJD.KJDForms.AdminForms
}
}
private void UpdateCookieForm_SaveComplete(object obj)
{
Task.Run(() =>
{
//CheckShopListLogin(new string[] { (obj as DouShopLoginInfo).LoginName });
//RefreshDataGridView(false);
SearchShop(this.ucSplitPage1.CurrentPage);
});
}
private void EditForm_SaveCompleteWithDescribe(object obj, object isAdd)
{
var shopInfo = obj as ShopLoginInfo;
@@ -437,9 +453,8 @@ namespace TemuKJD.KJDForms.AdminForms
{
this.pbLoading.Visible = true;
this.statusBar.lblTaskStatus.Text = "正在检测...";
this.statusBar.pgbTaskProgress.Value = 0;
this.statusBar.pgbTaskProgress.Maximum = shopNames.Length;
this.statusBar.pgbTaskProgress.Text = "0" + "/" + shopNames.Length;
this.statusBar.UpdateProgressBar(0);
}));
}