抖音小店准备阶段
This commit is contained in:
1 parent
9e0a3fc10c
commit
17e4dc4a3c
61 files changed
+5154
-1505
No files matched your search
@@ -65,14 +65,28 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
private void PriceManageForm_VisibleChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (Visible == true)
|
||||
RefreshShop();
|
||||
FiltShop();
|
||||
}
|
||||
|
||||
private void btnRefreshShop_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshShop();
|
||||
pbShopLoading.Visible = true;
|
||||
Task.Run(() =>
|
||||
{
|
||||
ShopListForm.UpdateShop();
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
FiltShop();
|
||||
pbShopLoading.Visible = false;
|
||||
}));
|
||||
});
|
||||
}
|
||||
private void RefreshShop()
|
||||
|
||||
private void btnSearchShop_Click(object sender, EventArgs e)
|
||||
{
|
||||
FiltShop();
|
||||
}
|
||||
private void FiltShop()
|
||||
{
|
||||
// 店铺Id
|
||||
var selectIds = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
|
||||
@@ -213,7 +227,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
ShopLoginForm shopLoginForm = new ShopLoginForm(shop);
|
||||
shopLoginForm.openType = EnumOpenType.login;
|
||||
shopLoginForm.ShowDialog();
|
||||
RefreshShop();
|
||||
FiltShop();
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -719,6 +733,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
private void btnEmpty_Click(object sender, EventArgs e)
|
||||
{
|
||||
txtNotes.Text = txtShopId.Text = txtShopName.Text = "";
|
||||
FiltShop();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user