pxx上货功能 temu备货管理可以查询商品售后率并根据售后率处理备货

This commit is contained in:
wule committed 2025-09-19 09:31:34 +08:00
1 parent f4fedf1e2f
commit 0e6a034d5f
34 files changed
+3568 -893

No files matched your search

@@ -32,6 +32,7 @@ namespace TemuKJD.PDDForms.AdminForms
{
public partial class PDDAdminShopLoginForm : LRBaseForm
{
public static PDDAdminShopLoginForm adminShopLoginInstance { get; set; } = null;
public int CloseAfterSecond { get; set; }
public EnumOpenType openType = EnumOpenType.manage;
public bool isMultiLogin = false;
@@ -49,6 +50,12 @@ namespace TemuKJD.PDDForms.AdminForms
public PDDAdminShopLoginForm(ShopLoginInfo shopInfo)
{
if (adminShopLoginInstance != null && !adminShopLoginInstance.IsDisposed)
{
adminShopLoginInstance.Dispose();
}
adminShopLoginInstance = this;
InitializeComponent();
this.shop = shopInfo;
@@ -59,6 +66,8 @@ namespace TemuKJD.PDDForms.AdminForms
private void ShopLoginForm_Load(object sender, EventArgs e)
{
//this.splitContainer1.SplitterDistance = 674;
this.splitContainer1.SplitterDistance = this.splitContainer1.Height - 62;
if (BaseClass.SaLevel == 1)
this.btnReturnPackage.Visible = true;
else
@@ -767,6 +776,13 @@ namespace TemuKJD.PDDForms.AdminForms
private void ShopLoginForm_FormClosed(object sender, FormClosedEventArgs e)
{
//OnSaveComplete(shop);
Task.Run(() => {
Thread.Sleep(500);
if (!this.IsDisposed)
{
MainForm.instance.Invoke(new Action(() => { this.Dispose(); }));
}
});
}
private void txtAddress_KeyDown(object sender, KeyEventArgs e)