1活动逻辑调整 2拼多多买手号存储
This commit is contained in:
1 parent
2df3769153
commit
fa96cc1444
22 files changed
+3251
-1167
No files matched your search
@@ -79,7 +79,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
public static Dictionary<DataGridViewRow, Color> dicRowColor = new Dictionary<DataGridViewRow, Color>();
|
||||
public List<string> LstTagShop = new List<string>();
|
||||
|
||||
public WxOrderListForm WxOrderListForm = null;
|
||||
public BuyerOrderListForm orderListForm = null;
|
||||
|
||||
public int LocationXY = 0;
|
||||
public int LocationSize = 200;
|
||||
@@ -169,6 +169,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
|
||||
SetMainBrowserUrl(GlobalConfig.ShopLoginList.FirstOrDefault());
|
||||
LoadShop();
|
||||
InitOrderForm(); // 加载店铺确认默认店铺后再初始化订单列表读取
|
||||
InitAutoExecute();
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
@@ -335,13 +336,6 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
}
|
||||
});
|
||||
|
||||
WxOrderListForm = new WxOrderListForm();
|
||||
WxOrderListForm.TopLevel = false;
|
||||
WxOrderListForm.FormBorderStyle = FormBorderStyle.None;
|
||||
WxOrderListForm.Dock = DockStyle.Fill;
|
||||
tabPage3.Controls.Add(WxOrderListForm);
|
||||
WxOrderListForm.Show();
|
||||
|
||||
//var _1688AddressForm = new GetAddressForm() { AddressType = "1688" };
|
||||
//_1688AddressForm.cmbType.Enabled = false;
|
||||
//_1688AddressForm.cmbTypeFilter.Enabled = false;
|
||||
@@ -352,6 +346,24 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
//_1688AddressForm.Show();
|
||||
}
|
||||
|
||||
|
||||
void InitOrderForm()
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
|
||||
orderListForm = new BuyerOrderListForm();
|
||||
orderListForm.TopLevel = false;
|
||||
orderListForm.FormBorderStyle = FormBorderStyle.None;
|
||||
orderListForm.Dock = DockStyle.Fill;
|
||||
orderListForm.lblCurrentShop.Text = currentShop?.ShopAccount;
|
||||
orderListForm.lblCurrentShop.Tag = currentShop;
|
||||
tabPage3.Controls.Add(orderListForm);
|
||||
orderListForm.Show();
|
||||
|
||||
}));
|
||||
}
|
||||
|
||||
void ClosePopWindow()
|
||||
{
|
||||
Task.Run(() =>
|
||||
@@ -1339,6 +1351,10 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
}
|
||||
|
||||
currentShop = shop;
|
||||
orderListForm.lblCurrentShop.Text = currentShop.ShopAccount;
|
||||
orderListForm.lblCurrentShop.Tag = currentShop;
|
||||
|
||||
|
||||
shop.Chat.Dock = DockStyle.Fill;
|
||||
shop.Chat.BringToFront();
|
||||
btnPrev.BringToFront();
|
||||
|
||||
Reference in new issue
Block a user