1服务功能 2用户商品备注并支持下拉框显示

This commit is contained in:
wule committed 2026-07-28 21:12:07 +08:00
1 parent bd3040efa3
commit b4ec400796
33 files changed
+2597 -551

No files matched your search

+1 -1
View File
@@ -157,7 +157,7 @@ namespace TemuKJD.WXForms.ShopForms
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(92, 17);
this.label2.TabIndex = 1150;
this.label2.Text = "余额充值金额:";
this.label2.Text = "积分充值金额:";
//
// splitContainer1
//
@@ -115,6 +115,19 @@ namespace TemuKJD.WXForms.ShopForms
//{
// updateBalanceAction();
//}
var url3 = BaseClass.BuildWXObjString("user/get_all_user");
var data3 = UserLogin.GetSignaturex();
data3 += "&search_user_name=" + BaseClass.UserName;
var html = GetHtml.PostUtf8(url3, data3);
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
html = GetHtml.PostUtf8(url3, data3);
if (html.Contains("\"code\":200"))
{
var p = BaseRegex.GetDecimalJson(ref html, "points");
BaseClass.Points = p.ParseToInt();
MainForm.instance.lblPoints.Text = "账户积分:" + BaseClass.Points.ToString();
}
}
}
}
+3 -3
View File
@@ -37,7 +37,7 @@
System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("店铺经营统计");
System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("评分考核");
System.Windows.Forms.TreeNode treeNode9 = new System.Windows.Forms.TreeNode("税务申报");
System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("充值二维码");
System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("积分充值");
System.Windows.Forms.TreeNode treeNode11 = new System.Windows.Forms.TreeNode("店铺管理", new System.Windows.Forms.TreeNode[] {
treeNode1,
treeNode2,
@@ -158,8 +158,8 @@
treeNode8.Text = "评分考核";
treeNode9.Name = "税务申报";
treeNode9.Text = "税务申报";
treeNode10.Name = "充值二维码";
treeNode10.Text = "充值二维码";
treeNode10.Name = "积分充值";
treeNode10.Text = "积分充值";
treeNode11.Name = "店铺管理";
treeNode11.Text = "店铺管理";
this.tv.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
+3 -3
View File
@@ -60,7 +60,7 @@ namespace TemuKJD.WXForms.ShopForms
public List<string> getHideTreeNodes()
{
List<string> hideNames = new List<string>() { "充值二维码", "OEM账号管理", "OEM返现明细", "OEM积分明细", "店铺地址管理", "评分考核", "子账号管理", "高级运费模板", "运费模板", "素材库管理", "订单金额统计", "工作明细统计", "店铺经营统计1" };
List<string> hideNames = new List<string>() { "积分充值", "OEM账号管理", "OEM返现明细", "OEM积分明细", "店铺地址管理", "评分考核", "子账号管理", "高级运费模板", "运费模板", "素材库管理", "订单金额统计", "工作明细统计", "店铺经营统计1" };
if (BaseClass.SaLevel == 1)
{
@@ -78,7 +78,7 @@ namespace TemuKJD.WXForms.ShopForms
}
if (BaseClass.UserAuthority.Contains("充值用户") && BaseClass.GroupId == 3 && BaseClass.AgentCode.IsNullOrEmpty() && BaseClass.OemId.IsNullOrEmpty())
{
hideNames.Remove("充值二维码");
//hideNames.Remove("积分充值");
}
if (!BaseClass.OemId.IsNullOrEmpty() && BaseClass.IsOemOwner)
{
@@ -133,7 +133,7 @@ namespace TemuKJD.WXForms.ShopForms
case "评分考核":
SetForm(shopOptimizeForm.Value);
break;
case "充值二维码":
case "积分充值":
SetForm(getTopUpQrCode.Value);
break;
case "OEM账号管理":
@@ -246,7 +246,7 @@ namespace TemuKJD.WXForms.ShopForms
this.flowLayoutPanel1.Controls.Add(new UcCheckBox() { Name = "拍单", Text = "拍单", AutoSize = true });
this.flowLayoutPanel1.Controls.Add(new Label() { Text = "-------------------------------------", AutoSize = true });
//this.flowLayoutPanel1.Controls.Add(new UcCheckBox() { Name = "采购", Text = "采购", AutoSize = true });
List<string> subUserNoAuthorityPageNames = new List<string>() { "子账号管理", "店铺地址管理", "充值二维码", "1688商品采集", "多多商品采集" };
List<string> subUserNoAuthorityPageNames = new List<string>() { "子账号管理", "店铺地址管理", "积分充值", "1688商品采集", "多多商品采集" };
var shopForm = MainForm.instance.shopForm as WXShopForm;
if (shopForm != null)
{