用户开放机会商品采集功能

This commit is contained in:
wule committed 2026-05-04 19:43:15 +08:00
1 parent b5ae0fc2f2
commit 5470863fff
26 files changed
+3131 -288

No files matched your search

@@ -10,6 +10,7 @@ using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.BaseForms;
using AllBase;
using TemuKJD.PDDForms.ProductSelectForms;
namespace TemuKJD.WXForms.ProductForms
{
@@ -21,6 +22,7 @@ namespace TemuKJD.WXForms.ProductForms
public Lazy<WXProdCouponOrderBoomForm> wxProdCouponForm = new Lazy<WXProdCouponOrderBoomForm>();
public Lazy<WXProdSyncForm> wxProdSyncForm = new Lazy<WXProdSyncForm>();
public Lazy<WXFinderSquareForm> wxFinderSquareForm = new Lazy<WXFinderSquareForm>();
public Lazy<PDDGetChanceProdForm> getChanceProdForm = new Lazy<PDDGetChanceProdForm>();
public WXProductForm()
{
@@ -30,8 +32,10 @@ namespace TemuKJD.WXForms.ProductForms
{
tv.SelectedNode = tv.Nodes[0].Nodes[0];
tv.ExpandGroup(tv.Nodes[0].Name);
List<string> hideName = new List<string>() { "商品列表", "爆单神器1", "商品同步1" };
List<string> hideName = new List<string>() { "机会商品采集", "商品列表", "爆单神器1", "商品同步1" };
if (BaseClass.UserAuthority.Contains("机会商品采集"))
hideName.Remove("机会商品采集");
if (BaseClass.GroupId == 3)
{
//hideName.Remove("设置进货价");
@@ -84,6 +88,10 @@ namespace TemuKJD.WXForms.ProductForms
case "商品同步":
SetForm(wxProdSyncForm.Value);
break;
case "机会商品采集":
getChanceProdForm.Value.IsAuthorityUser = true;
SetForm(getChanceProdForm.Value);
break;
}
}));
}).Start();