拼多多以图搜款上货 70% 拼多多接口上货和活动报名sku优化 微信店铺统计优化
This commit is contained in:
1 parent
90d40a6fd4
commit
79a752027a
20 files changed
+1481
-263
No files matched your search
@@ -27,7 +27,7 @@ namespace AllBase
|
||||
/// <summary>
|
||||
/// 版本ID
|
||||
/// </summary>
|
||||
public static int VersionCount = 996;
|
||||
public static int VersionCount = 999;
|
||||
//public static int VersionCount = 613;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -86,6 +86,10 @@ namespace AllBase.Model.Config
|
||||
/// </summary>
|
||||
public WxShopSaleStatisticsInfo WxShopSaleInfoToday { get; set; } = new WxShopSaleStatisticsInfo();
|
||||
/// <summary>
|
||||
/// 主页昨日店铺经营信息
|
||||
/// </summary>
|
||||
public WxShopSaleStatisticsInfo WxShopSaleInfo1Day { get; set; } = new WxShopSaleStatisticsInfo();
|
||||
/// <summary>
|
||||
/// 主页近7日店铺经营信息
|
||||
/// </summary>
|
||||
public WxShopSaleStatisticsInfo WxShopSaleInfo7Day { get; set; } = new WxShopSaleStatisticsInfo();
|
||||
|
||||
@@ -199,6 +199,8 @@ namespace AllBase.Model.Result
|
||||
public string ad_login_status { get; set; }
|
||||
|
||||
public DateTime? jit_expire_time { get; set; }
|
||||
|
||||
public string CurrentProdId { get; set; }
|
||||
}
|
||||
|
||||
public class AuthInfo
|
||||
|
||||
@@ -46,7 +46,9 @@ namespace KJD_Web.BLL.BXX
|
||||
obj1["client_id"] = "ad502ec19e0c49ab9df14f83494e153c";
|
||||
obj1["client_secret"] = "bd52aba51737d03fc073711d386b3b0779d010ad";
|
||||
obj1["market_id"] = 84862;
|
||||
obj1["redirect_uri"] = "http%3A%2F%2Fpo.e57.cn%2Flogin%3Fsource%3Dpdd_code";
|
||||
//https://fuwu.pinduoduo.com/service-market/auth?response_type=code&client_id=ad502ec19e0c49ab9df14f83494e153c&redirect_uri=http%3A%2F%2Fpo.e57.cn%2Flogin%3Fsource%3Dpdd_code_pixiu
|
||||
//obj1["redirect_uri"] = "http%3A%2F%2Fpo.e57.cn%2Flogin%3Fsource%3Dpdd_code";
|
||||
obj1["redirect_uri"] = "http%3A%2F%2Fpo.e57.cn%2Flogin%3Fsource%3Dpdd_code_pixiu";
|
||||
obj1["is_current"] = false;
|
||||
jArr.Add(obj1);
|
||||
|
||||
|
||||
@@ -78,23 +78,6 @@ namespace TemuKJD.BLL.PddApi
|
||||
};
|
||||
}
|
||||
|
||||
//public static List<List<AuthInfo>> LstAuthInfos { get; set; }
|
||||
//public static void GetPddLocalTokens()
|
||||
//{
|
||||
// if (BaseClass.MainPath == "binxixi")
|
||||
// {
|
||||
// LstAuthInfos = NaiBa.Util.Helper.ConfigHelper.LoadConfig<List<List<AuthInfo>>>("pdd_shop_api_auth_info_lists");
|
||||
// if (LstAuthInfos == null)
|
||||
// LstAuthInfos = new List<List<AuthInfo>>();
|
||||
// foreach (var shop in GlobalConfig.ShopLoginList)
|
||||
// {
|
||||
// shop.ApiAuthInfoList = LstAuthInfos.FirstOrDefault(l => l.FirstOrDefault()?.ShopId == shop.ShopId);
|
||||
// if (shop.ApiAuthInfoList == null)
|
||||
// shop.ApiAuthInfoList = new List<AuthInfo>();
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
public static void GetShopClientInfo(List<ShopLoginInfo> shops = null)
|
||||
{
|
||||
if (BaseClass.MainPath == "binxixi")
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
using CefSharp;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace TemuKJD.Helper
|
||||
{
|
||||
/// <summary>
|
||||
/// 屏蔽alert弹窗
|
||||
/// </summary>
|
||||
public class CustomJsDialogHandler : IJsDialogHandler
|
||||
{
|
||||
public bool OnBeforeUnloadDialog(IWebBrowser chromiumWebBrowser, IBrowser browser, string messageText, bool isReload, IJsDialogCallback callback)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public void OnDialogClosed(IWebBrowser chromiumWebBrowser, IBrowser browser)
|
||||
{
|
||||
}
|
||||
|
||||
public bool OnJSDialog(IWebBrowser chromiumWebBrowser, IBrowser browser, string originUrl, CefJsDialogType dialogType, string messageText, string defaultPromptText, IJsDialogCallback callback, ref bool suppressMessage)
|
||||
{
|
||||
//suppressMessage = true;
|
||||
callback.Continue(true);
|
||||
return true;
|
||||
}
|
||||
|
||||
public void OnResetDialogState(IWebBrowser chromiumWebBrowser, IBrowser browser)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -146,6 +146,7 @@
|
||||
</Compile>
|
||||
<Compile Include="CookieVisitor.cs" />
|
||||
<Compile Include="Extension\ControlExtension.cs" />
|
||||
<Compile Include="Helper\CustomJsDialogHandler.cs" />
|
||||
<Compile Include="PDDForms\AdminForms\RandomComProductForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace TemuKJD.KJDForms.ShopForms
|
||||
{
|
||||
// 获取服务端店铺
|
||||
var serverShopList = ShopListForm.GetServerShop();
|
||||
GlobalConfig.ShopLoginList.RemoveAll(s => serverShopList.Any(s1 => s1.LoginName == s.LoginName && s1.ShopId == s.ShopId));
|
||||
GlobalConfig.ShopLoginList.RemoveAll(s => serverShopList.Any(ss => ss.LoginName == s.LoginName && ss.ShopId == s.ShopId));
|
||||
|
||||
foreach (var serverShop in serverShopList)
|
||||
{
|
||||
|
||||
@@ -136,6 +136,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
this.btnClear = new DevComponents.DotNetBar.PanelEx();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.chkLowPrice = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -191,6 +192,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ucGroupBoxEx2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.ucGroupBoxEx2.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkLowPrice);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label6);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtMultiCnt);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label5);
|
||||
@@ -1516,6 +1518,18 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
this.panel1.TabIndex = 189;
|
||||
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
|
||||
//
|
||||
// chkLowPrice
|
||||
//
|
||||
this.chkLowPrice.AutoSize = true;
|
||||
this.chkLowPrice.Checked = true;
|
||||
this.chkLowPrice.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkLowPrice.Location = new System.Drawing.Point(662, 90);
|
||||
this.chkLowPrice.Name = "chkLowPrice";
|
||||
this.chkLowPrice.Size = new System.Drawing.Size(71, 21);
|
||||
this.chkLowPrice.TabIndex = 914;
|
||||
this.chkLowPrice.Text = "低价sku";
|
||||
this.chkLowPrice.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// PDDAddActivityForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -1663,5 +1677,6 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
private System.Windows.Forms.TextBox txtSleepTime;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox txtMultiCnt;
|
||||
private UserComponent.UcCheckBox chkLowPrice;
|
||||
}
|
||||
}
|
||||
@@ -504,7 +504,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
}
|
||||
|
||||
PDDActivitySubmitParam actSubmitParam = new PDDActivitySubmitParam();
|
||||
actSubmitParam.activity_id = pddActivitiPriceInfo.activity_id;
|
||||
actSubmitParam.activity_id = 21365;
|
||||
actSubmitParam.enroll_source_ctx.enroll_type = 3;
|
||||
actSubmitParam.enroll_source_ctx.scene_full_coverage = "mmsActBatchEnrollV1";
|
||||
actSubmitParam.enroll_source_ctx.source_type = "MMSActicon";
|
||||
@@ -3051,6 +3051,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
//var skuParam = JsonHelper.DeserializeJsonToObject<sku_param>(JsonHelper.SerializeObject(skuGetRstInfo));
|
||||
var skuParam = new sku_param();
|
||||
skuParam.sku_id = skuGetRstInfo.skuId;
|
||||
skuParam.out_sku_sn = skuGetRstInfo.outSkuSn;
|
||||
skuParam.thumb_url = skuGetRstInfo.skuThumbUrl;
|
||||
skuParam.quantity_delta = skuGetRstInfo.skuQuantity;
|
||||
skuParam.spec = new List<spec_param>();
|
||||
@@ -3175,6 +3176,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
}
|
||||
}
|
||||
}
|
||||
prodParamLst.RemoveAll(p => goodsIds.Contains(p.goods_id));
|
||||
|
||||
goodsIds = new List<long?>();
|
||||
// 编辑部分sku价格不可报价商品
|
||||
@@ -3205,6 +3207,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
var mdyQuantityRst = increase_prod_stock_quantity(shop, prodQuantity);
|
||||
for (int i = 0; i < 5 && !mdyQuantityRst.Contains("\"success\":true"); i++)
|
||||
{
|
||||
@@ -3242,6 +3245,62 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
rowOperateLst = rowOperateLst.Where(r => prodParamLst.Any(p => p.goods_id == r.Cells["colSpuId"].Value.ParseToLong())).ToList();
|
||||
}
|
||||
|
||||
if (chkLowPrice.Checked)
|
||||
{
|
||||
var goodsIds = new List<long?>();
|
||||
foreach (var prodParam in prodParamLst)
|
||||
{
|
||||
var rws = rowOperateLst.Where(r => prodParam.goods_id == r.Cells["colSpuId"].Value.ParseToLong()).ToList();
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
foreach (var rw in rws) rw.Cells["colOpResult"].Value += " 正在设置低价Sku";
|
||||
}));
|
||||
|
||||
var lowPrice = prodParam.skus.Where(s => s.sku69_code != "yes" && s.quantity_delta != 0).ToList().Min(s => s.multi_price);
|
||||
var skuTmp = prodParam.skus.Where(s => s.sku69_code != "yes" && s.quantity_delta != 0).ToList().FirstOrDefault(s => s.multi_price == lowPrice);
|
||||
var skuTmpLst = prodParam.skus.Where(s => s.spec[0].spec_id == skuTmp.spec[0].spec_id && s.multi_price == lowPrice).ToList();
|
||||
|
||||
PddEditProdStockQuantity prodQuantity = new PddEditProdStockQuantity();
|
||||
prodQuantity.data = new List<quantityData>();
|
||||
foreach (var sku in skuTmpLst)
|
||||
{
|
||||
prodQuantity.data.Add(new quantityData()
|
||||
{
|
||||
beforeQuantity = sku.quantity_delta,
|
||||
goodsId = prodParam.goods_id,
|
||||
quantity = -sku.quantity_delta + 1,
|
||||
skuId = sku.sku_id,
|
||||
});
|
||||
|
||||
var prodInfo = lstActListProdInfo.FirstOrDefault(a => a.goods_id == prodParam.goods_id).productInfo;
|
||||
var skuInfo = prodInfo.detail.sku.FirstOrDefault(s => s.out_sku_sn == sku.out_sku_sn);
|
||||
if (skuInfo != null)
|
||||
sku.multi_price = skuInfo.multi_price;
|
||||
}
|
||||
|
||||
var mdyQuantityRst = increase_prod_stock_quantity(shop, prodQuantity);
|
||||
for (int i = 0; i < 5 && !mdyQuantityRst.Contains("\"success\":true"); i++)
|
||||
{
|
||||
Thread.Sleep(Randomx.GetId(500, 1500));
|
||||
mdyQuantityRst = increase_prod_stock_quantity(shop, prodQuantity);
|
||||
}
|
||||
if (!mdyQuantityRst.Contains("\"success\":true"))
|
||||
{
|
||||
goodsIds.Add(prodParam.goods_id);
|
||||
var error = BaseRegex.GetStringJson(ref mdyQuantityRst, "error_msg");
|
||||
if (string.IsNullOrEmpty(error))
|
||||
error = mdyQuantityRst;
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
foreach (var rw in rws)
|
||||
rw.Cells["colOpResult"].Value = rw.Cells["colOpResult"].Value.ParseToString().Replace("正在优化商品以报名活动", "商品优化失败 " + error);
|
||||
}));
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
string activityRsts = SignActivity(shop, prodParamLst, sign22347, sign20981, sign21365, sign15996, sign23513, sign23730, sign23456);
|
||||
failList = JsonHelper.DeserializeJsonToList<AddActivityFailInfo>(activityRsts);
|
||||
foreach (var prodParam in prodParamLst)
|
||||
|
||||
+11
-11
@@ -772,7 +772,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbPddRelation.Location = new System.Drawing.Point(743, 5);
|
||||
this.cmbPddRelation.Location = new System.Drawing.Point(743, 7);
|
||||
this.cmbPddRelation.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbPddRelation.Name = "cmbPddRelation";
|
||||
this.cmbPddRelation.Size = new System.Drawing.Size(47, 25);
|
||||
@@ -827,7 +827,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.cmbCat2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbCat2.FormattingEnabled = true;
|
||||
this.cmbCat2.Location = new System.Drawing.Point(278, 77);
|
||||
this.cmbCat2.Location = new System.Drawing.Point(278, 75);
|
||||
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat2.Name = "cmbCat2";
|
||||
this.cmbCat2.Size = new System.Drawing.Size(46, 25);
|
||||
@@ -912,7 +912,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"机会商品",
|
||||
"以图搜品",
|
||||
"外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(278, 42);
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(278, 40);
|
||||
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(46, 25);
|
||||
@@ -958,7 +958,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(622, 7);
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(622, 5);
|
||||
this.cmbWxCat.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxCat.Name = "cmbWxCat";
|
||||
this.cmbWxCat.Size = new System.Drawing.Size(47, 25);
|
||||
@@ -980,7 +980,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.cmbSort.Items.AddRange(new object[] {
|
||||
"入库时间",
|
||||
"认领总数"});
|
||||
this.cmbSort.Location = new System.Drawing.Point(381, 42);
|
||||
this.cmbSort.Location = new System.Drawing.Point(381, 40);
|
||||
this.cmbSort.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSort.Name = "cmbSort";
|
||||
this.cmbSort.Size = new System.Drawing.Size(46, 25);
|
||||
@@ -1056,7 +1056,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.cmbGroupFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbGroupFilter.FormattingEnabled = true;
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(175, 42);
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(175, 40);
|
||||
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbGroupFilter.Name = "cmbGroupFilter";
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(46, 25);
|
||||
@@ -1071,7 +1071,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"是",
|
||||
"否",
|
||||
"导出未拉回"});
|
||||
this.cmbExportToOutServer.Location = new System.Drawing.Point(622, 42);
|
||||
this.cmbExportToOutServer.Location = new System.Drawing.Point(622, 40);
|
||||
this.cmbExportToOutServer.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbExportToOutServer.Name = "cmbExportToOutServer";
|
||||
this.cmbExportToOutServer.Size = new System.Drawing.Size(47, 25);
|
||||
@@ -1107,7 +1107,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"安全商品",
|
||||
"违规商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(501, 42);
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(501, 40);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(47, 25);
|
||||
@@ -1149,7 +1149,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.cmbCat1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbCat1.FormattingEnabled = true;
|
||||
this.cmbCat1.Location = new System.Drawing.Point(175, 77);
|
||||
this.cmbCat1.Location = new System.Drawing.Point(175, 75);
|
||||
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat1.Name = "cmbCat1";
|
||||
this.cmbCat1.Size = new System.Drawing.Size(46, 25);
|
||||
@@ -1171,7 +1171,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.cmbCat3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbCat3.FormattingEnabled = true;
|
||||
this.cmbCat3.Location = new System.Drawing.Point(381, 77);
|
||||
this.cmbCat3.Location = new System.Drawing.Point(381, 75);
|
||||
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat3.Name = "cmbCat3";
|
||||
this.cmbCat3.Size = new System.Drawing.Size(46, 25);
|
||||
@@ -1268,7 +1268,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"是",
|
||||
"否",
|
||||
"修复回传未拉回"});
|
||||
this.cmbHasReturn.Location = new System.Drawing.Point(743, 42);
|
||||
this.cmbHasReturn.Location = new System.Drawing.Point(743, 40);
|
||||
this.cmbHasReturn.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbHasReturn.Name = "cmbHasReturn";
|
||||
this.cmbHasReturn.Size = new System.Drawing.Size(47, 25);
|
||||
|
||||
@@ -332,6 +332,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnSeachPicUp.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSeachPicUp.TabIndex = 845;
|
||||
this.btnSeachPicUp.Text = "以图搜款";
|
||||
this.btnSeachPicUp.Visible = false;
|
||||
this.btnSeachPicUp.Click += new System.EventHandler(this.btnSeachPicUp_Click);
|
||||
//
|
||||
// txtMultiPcsSku4
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -38,19 +38,13 @@ namespace TemuKJD.PDDForms.ShopForms
|
||||
#region 服务端店铺管理
|
||||
public static void UpdateShop()
|
||||
{
|
||||
// 获取本地店铺和服务端店铺。将服务端相关信息与本地店铺合并后暂时存在内存中(不保存敏感信息)。
|
||||
// GlobalConfig.ShopLoginList = new ConcurrentList<ShopLoginInfo>();
|
||||
// 获取服务端店铺
|
||||
var serverShopList = PDDShopListForm.GetServerShop();
|
||||
//var localShopList = new ConcurrentList<ShopLoginInfo>();
|
||||
//localShopList.AddRange(serverShopList);
|
||||
GlobalConfig.ShopLoginList.RemoveAll(s => !serverShopList.Any(ss => ss.LoginName == s.LoginName && ss.ShopId == ss.ShopId));
|
||||
GlobalConfig.ShopLoginList.RemoveAll(s => !serverShopList.Any(ss => ss.UserName == s.UserName && ss.ShopId == s.ShopId));
|
||||
foreach (var serverShop in serverShopList)
|
||||
{
|
||||
var localShop = serverShopList.FirstOrDefault(s => s.LoginName == serverShop.LoginName && s.ShopId == serverShop.ShopId);
|
||||
if (localShop == null)
|
||||
GlobalConfig.ShopLoginList.Add(serverShop);
|
||||
else
|
||||
var localShop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.LoginName == serverShop.LoginName && s.ShopId == serverShop.ShopId);
|
||||
if (localShop != null)
|
||||
{
|
||||
localShop.ShopAccount = serverShop.ShopAccount;
|
||||
localShop.LoginName = serverShop.LoginName;
|
||||
@@ -77,11 +71,13 @@ namespace TemuKJD.PDDForms.ShopForms
|
||||
localShop.AntiContents = serverShop.AntiContents;
|
||||
localShop.AddProductRemaining = serverShop.AddProductRemaining;
|
||||
localShop.OperateSubSaName = serverShop.OperateSubSaName;
|
||||
if (localShop.TrialUploadCount < 0)
|
||||
localShop.TrialUploadCount = 0;
|
||||
localShop.TrialUploadCount = Math.Max(0, serverShop.TrialUploadCount);
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalConfig.ShopLoginList.Add(serverShop);
|
||||
}
|
||||
}
|
||||
//PddApiHelper.GetPddLocalTokens();
|
||||
PddApiHelper.GetShopClientInfo();
|
||||
}
|
||||
|
||||
@@ -865,10 +861,11 @@ namespace TemuKJD.PDDForms.ShopForms
|
||||
if (currentPddClient != null)
|
||||
{
|
||||
PDDShopLoginForm shopLoginForm = new PDDShopLoginForm(shop);
|
||||
//shopLoginForm.InitUrl = "https://fuwu.pinduoduo.com/service-market/auth?client_id=" + PddApi.clientId_pi_xiu_guan_jia + "&redirect_uri=" + GetHtml.UrlEncodeUtf8("http://po.e57.cn/login") + "?source=pdd_code&response_type=code";
|
||||
//shopLoginForm.InitUrl = "https://fuwu.pinduoduo.com/service-market/auth?client_id=" + PddApi.clientId_pi_xiu_guan_jia + "&redirect_uri=" + GetHtml.UrlEncodeUtf8("http://po.e57.cn/login?source=pdd_code") + "&response_type=code";
|
||||
//shopLoginForm.InitUrl = "https://fuwu.pinduoduo.com/service-market/auth?client_id=48e76c60853d47d8a4e2e631b6db26b5&redirect_uri=http%3A%2F%2Fxtjpd.jiaotian.vip%2Fpdd_token.html&response_type=code"
|
||||
shopLoginForm.InitUrl = "https://fuwu.pinduoduo.com/service-market/auth?client_id=" + currentPddClient.client_id +
|
||||
"&redirect_uri=" + currentPddClient.redirect_uri + "&response_type=code";
|
||||
//shopLoginForm.InitUrl = "https://fuwu.pinduoduo.com/service-market/auth?client_id=" + PddApi.clientId_pi_xiu_guan_jia + "&redirect_uri=" + GetHtml.UrlEncodeUtf8("http://po.e57.cn/login?source=pdd_code_pixiu") + "&response_type=code";
|
||||
shopLoginForm.openType = EnumOpenType.manage;
|
||||
shopLoginForm.AuthClientId = currentPddClient.client_id;
|
||||
shopLoginForm.SaveComplete += shopLoginForm_SaveComplete;
|
||||
|
||||
@@ -89,7 +89,6 @@ namespace TemuKJD
|
||||
ShopListForm.UpdateShop();
|
||||
PddApiHelper.GetPddClientInfo();
|
||||
PddApiHelper.GetShopClientInfo();
|
||||
//PddApiHelper.GetPddLocalTokens();
|
||||
IsShopInit = true;
|
||||
}));
|
||||
|
||||
|
||||
+7
-7
@@ -420,7 +420,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat3.DropDownWidth = 1;
|
||||
this.cmbCat3.FormattingEnabled = true;
|
||||
this.cmbCat3.IntegralHeight = false;
|
||||
this.cmbCat3.Location = new System.Drawing.Point(718, 7);
|
||||
this.cmbCat3.Location = new System.Drawing.Point(718, 5);
|
||||
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat3.Name = "cmbCat3";
|
||||
this.cmbCat3.Size = new System.Drawing.Size(146, 25);
|
||||
@@ -448,7 +448,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat2.DropDownWidth = 1;
|
||||
this.cmbCat2.FormattingEnabled = true;
|
||||
this.cmbCat2.IntegralHeight = false;
|
||||
this.cmbCat2.Location = new System.Drawing.Point(515, 7);
|
||||
this.cmbCat2.Location = new System.Drawing.Point(515, 5);
|
||||
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat2.Name = "cmbCat2";
|
||||
this.cmbCat2.Size = new System.Drawing.Size(146, 25);
|
||||
@@ -476,7 +476,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat1.DropDownWidth = 1;
|
||||
this.cmbCat1.FormattingEnabled = true;
|
||||
this.cmbCat1.IntegralHeight = false;
|
||||
this.cmbCat1.Location = new System.Drawing.Point(293, 5);
|
||||
this.cmbCat1.Location = new System.Drawing.Point(293, 7);
|
||||
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat1.Name = "cmbCat1";
|
||||
this.cmbCat1.Size = new System.Drawing.Size(146, 25);
|
||||
@@ -536,7 +536,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"安全+未校验",
|
||||
"安全商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(71, 40);
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(71, 42);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(146, 25);
|
||||
@@ -559,7 +559,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.cmbGroupFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbGroupFilter.FormattingEnabled = true;
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(938, 7);
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(938, 5);
|
||||
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbGroupFilter.Name = "cmbGroupFilter";
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(146, 25);
|
||||
@@ -580,7 +580,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"机会商品",
|
||||
"以图搜品",
|
||||
"外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(718, 42);
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(718, 40);
|
||||
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(146, 25);
|
||||
@@ -610,7 +610,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbRelation.Location = new System.Drawing.Point(938, 42);
|
||||
this.cmbRelation.Location = new System.Drawing.Point(938, 40);
|
||||
this.cmbRelation.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbRelation.Name = "cmbRelation";
|
||||
this.cmbRelation.Size = new System.Drawing.Size(146, 25);
|
||||
|
||||
@@ -32,19 +32,13 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
#region 服务端店铺管理
|
||||
public static void UpdateShop()
|
||||
{
|
||||
// 获取本地店铺和服务端店铺。将服务端相关信息与本地店铺合并后暂时存在内存中(不保存敏感信息)。
|
||||
GlobalConfig.ShopLoginList = new ConcurrentList<ShopLoginInfo>();
|
||||
// 获取服务端店铺
|
||||
var serverShopList = WXShopListForm.GetServerShop();
|
||||
var localShopList = new ConcurrentList<ShopLoginInfo>();
|
||||
localShopList.AddRange(serverShopList);
|
||||
foreach (var localShop in localShopList)
|
||||
GlobalConfig.ShopLoginList.RemoveAll(s => serverShopList.Any(ss => ss.LoginName == s.LoginName && ss.ShopId == s.ShopId));
|
||||
foreach (var serverShop in serverShopList)
|
||||
{
|
||||
if (GlobalConfig.ShopLoginList.Any(s => s.LoginName == localShop.LoginName && s.ShopId == localShop.ShopId))
|
||||
continue;
|
||||
|
||||
var serverShop = serverShopList.FirstOrDefault(s => s.LoginName == localShop.LoginName && s.ShopId == localShop.ShopId);
|
||||
if (serverShop != null)
|
||||
var localShop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.LoginName == serverShop.LoginName && s.ShopId == serverShop.ShopId);
|
||||
if (localShop != null)
|
||||
{
|
||||
localShop.ShopAccount = serverShop.ShopAccount;
|
||||
localShop.LoginName = serverShop.LoginName;
|
||||
@@ -68,9 +62,11 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
localShop.AntiContents = serverShop.AntiContents;
|
||||
localShop.AddProductRemaining = serverShop.AddProductRemaining;
|
||||
localShop.OperateSubSaName = serverShop.OperateSubSaName;
|
||||
if (localShop.TrialUploadCount < 0)
|
||||
localShop.TrialUploadCount = 0;
|
||||
GlobalConfig.ShopLoginList.Add(localShop);
|
||||
localShop.TrialUploadCount = Math.Max(0, serverShop.TrialUploadCount);
|
||||
}
|
||||
else
|
||||
{
|
||||
GlobalConfig.ShopLoginList.Add(serverShop);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+228
-109
@@ -86,6 +86,12 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.lblPay1 = new System.Windows.Forms.Label();
|
||||
this.label21 = new System.Windows.Forms.Label();
|
||||
this.lblPayCnt1 = new System.Windows.Forms.Label();
|
||||
this.label22 = new System.Windows.Forms.Label();
|
||||
this.lblPayRefund1 = new System.Windows.Forms.Label();
|
||||
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.colLoginStatus = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.colDetail = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
@@ -97,12 +103,15 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.colOnSaleProductNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colScore = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colPayCnt = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colPayCnt1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colPayCnt7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colPayCnt30 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colPay = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colPay1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colPay7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colPay30 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colRefund = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colRefund1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colRefund7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colRefund30 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colOrderNum = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -147,7 +156,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
|
||||
this.splitContainer1.Panel2.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1446, 450);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1235, 597);
|
||||
this.splitContainer1.SplitterDistance = 140;
|
||||
this.splitContainer1.TabIndex = 35;
|
||||
//
|
||||
@@ -166,7 +175,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.ucGroupBoxEx3.Controls.Add(this.pnlFliter);
|
||||
this.ucGroupBoxEx3.Controls.Add(this.btnSetColumn);
|
||||
this.ucGroupBoxEx3.Controls.Add(this.btnGetNotGet);
|
||||
this.ucGroupBoxEx3.Location = new System.Drawing.Point(1213, 2);
|
||||
this.ucGroupBoxEx3.Location = new System.Drawing.Point(1002, 2);
|
||||
this.ucGroupBoxEx3.Name = "ucGroupBoxEx3";
|
||||
this.ucGroupBoxEx3.Size = new System.Drawing.Size(230, 140);
|
||||
this.ucGroupBoxEx3.TabIndex = 668;
|
||||
@@ -350,7 +359,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.ucGroupBoxEx1.Controls.Add(this.tableLayoutPanel1);
|
||||
this.ucGroupBoxEx1.Location = new System.Drawing.Point(2, 2);
|
||||
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
|
||||
this.ucGroupBoxEx1.Size = new System.Drawing.Size(1211, 140);
|
||||
this.ucGroupBoxEx1.Size = new System.Drawing.Size(1000, 140);
|
||||
this.ucGroupBoxEx1.TabIndex = 667;
|
||||
this.ucGroupBoxEx1.TabStop = false;
|
||||
this.ucGroupBoxEx1.Text = "统计汇总";
|
||||
@@ -360,50 +369,57 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tableLayoutPanel1.ColumnCount = 9;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.11005F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.11005F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.11005F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.11005F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.11005F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.11005F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.11227F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.1137F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.1137F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.label17, 4, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label16, 8, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label15, 7, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPayRefund30, 8, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPayRefund7, 7, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPayRefund, 6, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label13, 6, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblOrderNum, 0, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPayCnt30, 2, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label12, 5, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPayCnt7, 1, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label2, 1, 0);
|
||||
this.tableLayoutPanel1.ColumnCount = 10;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.999151F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.99915F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.99915F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.99915F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.99915F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.99915F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.00115F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.00244F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.00244F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 9.999105F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPayRefund1, 9, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label22, 9, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPayCnt1, 1, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label21, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPayCnt, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPay30, 5, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label10, 4, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPay7, 4, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label9, 3, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPay, 3, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label11, 2, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblAvailableAmount, 5, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label7, 5, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label5, 3, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPunish, 3, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblAfterSaleAll, 2, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label4, 2, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblWaybillError, 1, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label3, 1, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label14, 0, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label8, 6, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPendingAmount, 6, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblDepositBalance, 7, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label6, 7, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblTotalAmount, 4, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label6, 9, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblDepositBalance, 9, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label8, 8, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPendingAmount, 8, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label7, 7, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblAvailableAmount, 7, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label17, 6, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblTotalAmount, 6, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label5, 5, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPunish, 5, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label4, 4, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblAfterSaleAll, 4, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label3, 3, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblWaybillError, 3, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblOrderNum, 2, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label14, 2, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label16, 1, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPayRefund30, 1, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label15, 0, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPayRefund7, 0, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label12, 7, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPay30, 7, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label10, 6, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPay7, 6, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label20, 5, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPay1, 5, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label9, 4, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPay, 4, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label11, 3, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPayCnt30, 3, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label2, 2, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPayCnt7, 2, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label13, 8, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPayRefund, 8, 1);
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(31, 19);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 4;
|
||||
@@ -411,7 +427,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(1168, 115);
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(957, 115);
|
||||
this.tableLayoutPanel1.TabIndex = 435;
|
||||
//
|
||||
// label17
|
||||
@@ -419,7 +435,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.label17.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label17.Location = new System.Drawing.Point(519, 60);
|
||||
this.label17.Location = new System.Drawing.Point(573, 60);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(80, 17);
|
||||
this.label17.TabIndex = 25;
|
||||
@@ -430,9 +446,9 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.label16.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label16.AutoSize = true;
|
||||
this.label16.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label16.Location = new System.Drawing.Point(1035, 3);
|
||||
this.label16.Location = new System.Drawing.Point(98, 57);
|
||||
this.label16.Name = "label16";
|
||||
this.label16.Size = new System.Drawing.Size(94, 17);
|
||||
this.label16.Size = new System.Drawing.Size(82, 23);
|
||||
this.label16.TabIndex = 24;
|
||||
this.label16.Text = "近30日退款金额";
|
||||
//
|
||||
@@ -441,7 +457,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.label15.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label15.AutoSize = true;
|
||||
this.label15.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label15.Location = new System.Drawing.Point(906, 3);
|
||||
this.label15.Location = new System.Drawing.Point(3, 60);
|
||||
this.label15.Name = "label15";
|
||||
this.label15.Size = new System.Drawing.Size(87, 17);
|
||||
this.label15.TabIndex = 23;
|
||||
@@ -452,7 +468,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.lblPayRefund30.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblPayRefund30.AutoSize = true;
|
||||
this.lblPayRefund30.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblPayRefund30.Location = new System.Drawing.Point(1035, 30);
|
||||
this.lblPayRefund30.Location = new System.Drawing.Point(98, 87);
|
||||
this.lblPayRefund30.Name = "lblPayRefund30";
|
||||
this.lblPayRefund30.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblPayRefund30.TabIndex = 21;
|
||||
@@ -463,7 +479,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.lblPayRefund7.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblPayRefund7.AutoSize = true;
|
||||
this.lblPayRefund7.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblPayRefund7.Location = new System.Drawing.Point(906, 30);
|
||||
this.lblPayRefund7.Location = new System.Drawing.Point(3, 87);
|
||||
this.lblPayRefund7.Name = "lblPayRefund7";
|
||||
this.lblPayRefund7.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblPayRefund7.TabIndex = 20;
|
||||
@@ -474,7 +490,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.lblPayRefund.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblPayRefund.AutoSize = true;
|
||||
this.lblPayRefund.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblPayRefund.Location = new System.Drawing.Point(777, 30);
|
||||
this.lblPayRefund.Location = new System.Drawing.Point(763, 30);
|
||||
this.lblPayRefund.Name = "lblPayRefund";
|
||||
this.lblPayRefund.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblPayRefund.TabIndex = 19;
|
||||
@@ -485,7 +501,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.label13.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label13.AutoSize = true;
|
||||
this.label13.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label13.Location = new System.Drawing.Point(777, 3);
|
||||
this.label13.Location = new System.Drawing.Point(763, 3);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new System.Drawing.Size(80, 17);
|
||||
this.label13.TabIndex = 15;
|
||||
@@ -496,7 +512,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.lblOrderNum.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblOrderNum.AutoSize = true;
|
||||
this.lblOrderNum.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblOrderNum.Location = new System.Drawing.Point(3, 87);
|
||||
this.lblOrderNum.Location = new System.Drawing.Point(193, 87);
|
||||
this.lblOrderNum.Name = "lblOrderNum";
|
||||
this.lblOrderNum.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblOrderNum.TabIndex = 22;
|
||||
@@ -507,7 +523,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.lblPayCnt30.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblPayCnt30.AutoSize = true;
|
||||
this.lblPayCnt30.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblPayCnt30.Location = new System.Drawing.Point(261, 30);
|
||||
this.lblPayCnt30.Location = new System.Drawing.Point(288, 30);
|
||||
this.lblPayCnt30.Name = "lblPayCnt30";
|
||||
this.lblPayCnt30.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblPayCnt30.TabIndex = 16;
|
||||
@@ -518,9 +534,9 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.label12.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label12.Location = new System.Drawing.Point(648, 3);
|
||||
this.label12.Location = new System.Drawing.Point(668, 0);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(94, 17);
|
||||
this.label12.Size = new System.Drawing.Size(82, 23);
|
||||
this.label12.TabIndex = 8;
|
||||
this.label12.Text = "近30日成交金额";
|
||||
//
|
||||
@@ -529,7 +545,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.lblPayCnt7.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblPayCnt7.AutoSize = true;
|
||||
this.lblPayCnt7.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblPayCnt7.Location = new System.Drawing.Point(132, 30);
|
||||
this.lblPayCnt7.Location = new System.Drawing.Point(193, 30);
|
||||
this.lblPayCnt7.Name = "lblPayCnt7";
|
||||
this.lblPayCnt7.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblPayCnt7.TabIndex = 15;
|
||||
@@ -540,7 +556,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label2.Location = new System.Drawing.Point(132, 3);
|
||||
this.label2.Location = new System.Drawing.Point(193, 3);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(63, 17);
|
||||
this.label2.TabIndex = 7;
|
||||
@@ -573,7 +589,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.lblPay30.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblPay30.AutoSize = true;
|
||||
this.lblPay30.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblPay30.Location = new System.Drawing.Point(648, 30);
|
||||
this.lblPay30.Location = new System.Drawing.Point(668, 30);
|
||||
this.lblPay30.Name = "lblPay30";
|
||||
this.lblPay30.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblPay30.TabIndex = 18;
|
||||
@@ -584,7 +600,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.label10.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label10.Location = new System.Drawing.Point(519, 3);
|
||||
this.label10.Location = new System.Drawing.Point(573, 3);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(87, 17);
|
||||
this.label10.TabIndex = 13;
|
||||
@@ -595,7 +611,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.lblPay7.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblPay7.AutoSize = true;
|
||||
this.lblPay7.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblPay7.Location = new System.Drawing.Point(519, 30);
|
||||
this.lblPay7.Location = new System.Drawing.Point(573, 30);
|
||||
this.lblPay7.Name = "lblPay7";
|
||||
this.lblPay7.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblPay7.TabIndex = 17;
|
||||
@@ -606,7 +622,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.label9.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label9.Location = new System.Drawing.Point(390, 3);
|
||||
this.label9.Location = new System.Drawing.Point(383, 3);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(80, 17);
|
||||
this.label9.TabIndex = 14;
|
||||
@@ -617,7 +633,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.lblPay.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblPay.AutoSize = true;
|
||||
this.lblPay.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblPay.Location = new System.Drawing.Point(390, 30);
|
||||
this.lblPay.Location = new System.Drawing.Point(383, 30);
|
||||
this.lblPay.Name = "lblPay";
|
||||
this.lblPay.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblPay.TabIndex = 16;
|
||||
@@ -628,7 +644,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.label11.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label11.Location = new System.Drawing.Point(261, 3);
|
||||
this.label11.Location = new System.Drawing.Point(288, 3);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(70, 17);
|
||||
this.label11.TabIndex = 14;
|
||||
@@ -639,7 +655,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.lblAvailableAmount.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblAvailableAmount.AutoSize = true;
|
||||
this.lblAvailableAmount.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblAvailableAmount.Location = new System.Drawing.Point(648, 87);
|
||||
this.lblAvailableAmount.Location = new System.Drawing.Point(668, 87);
|
||||
this.lblAvailableAmount.Name = "lblAvailableAmount";
|
||||
this.lblAvailableAmount.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblAvailableAmount.TabIndex = 15;
|
||||
@@ -650,9 +666,9 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.label7.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label7.Location = new System.Drawing.Point(648, 60);
|
||||
this.label7.Location = new System.Drawing.Point(668, 57);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(92, 17);
|
||||
this.label7.Size = new System.Drawing.Size(80, 23);
|
||||
this.label7.TabIndex = 12;
|
||||
this.label7.Text = "可提现金额总和";
|
||||
//
|
||||
@@ -661,7 +677,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.label5.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label5.Location = new System.Drawing.Point(390, 60);
|
||||
this.label5.Location = new System.Drawing.Point(478, 60);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(56, 17);
|
||||
this.label5.TabIndex = 10;
|
||||
@@ -672,7 +688,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.lblPunish.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblPunish.AutoSize = true;
|
||||
this.lblPunish.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblPunish.Location = new System.Drawing.Point(390, 87);
|
||||
this.lblPunish.Location = new System.Drawing.Point(478, 87);
|
||||
this.lblPunish.Name = "lblPunish";
|
||||
this.lblPunish.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblPunish.TabIndex = 15;
|
||||
@@ -683,7 +699,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.lblAfterSaleAll.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblAfterSaleAll.AutoSize = true;
|
||||
this.lblAfterSaleAll.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblAfterSaleAll.Location = new System.Drawing.Point(261, 87);
|
||||
this.lblAfterSaleAll.Location = new System.Drawing.Point(383, 87);
|
||||
this.lblAfterSaleAll.Name = "lblAfterSaleAll";
|
||||
this.lblAfterSaleAll.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblAfterSaleAll.TabIndex = 15;
|
||||
@@ -694,7 +710,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.label4.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label4.Location = new System.Drawing.Point(261, 60);
|
||||
this.label4.Location = new System.Drawing.Point(383, 60);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(32, 17);
|
||||
this.label4.TabIndex = 9;
|
||||
@@ -705,7 +721,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.lblWaybillError.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblWaybillError.AutoSize = true;
|
||||
this.lblWaybillError.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblWaybillError.Location = new System.Drawing.Point(132, 87);
|
||||
this.lblWaybillError.Location = new System.Drawing.Point(288, 87);
|
||||
this.lblWaybillError.Name = "lblWaybillError";
|
||||
this.lblWaybillError.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblWaybillError.TabIndex = 15;
|
||||
@@ -716,7 +732,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.label3.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label3.Location = new System.Drawing.Point(132, 60);
|
||||
this.label3.Location = new System.Drawing.Point(288, 60);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(56, 17);
|
||||
this.label3.TabIndex = 8;
|
||||
@@ -727,7 +743,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.label14.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label14.Location = new System.Drawing.Point(3, 60);
|
||||
this.label14.Location = new System.Drawing.Point(193, 60);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(44, 17);
|
||||
this.label14.TabIndex = 20;
|
||||
@@ -738,9 +754,9 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.label8.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label8.Location = new System.Drawing.Point(777, 60);
|
||||
this.label8.Location = new System.Drawing.Point(763, 57);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(92, 17);
|
||||
this.label8.Size = new System.Drawing.Size(80, 23);
|
||||
this.label8.TabIndex = 13;
|
||||
this.label8.Text = "待结算金额总和";
|
||||
//
|
||||
@@ -749,7 +765,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.lblPendingAmount.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblPendingAmount.AutoSize = true;
|
||||
this.lblPendingAmount.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblPendingAmount.Location = new System.Drawing.Point(777, 87);
|
||||
this.lblPendingAmount.Location = new System.Drawing.Point(763, 87);
|
||||
this.lblPendingAmount.Name = "lblPendingAmount";
|
||||
this.lblPendingAmount.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblPendingAmount.TabIndex = 15;
|
||||
@@ -760,7 +776,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.lblDepositBalance.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblDepositBalance.AutoSize = true;
|
||||
this.lblDepositBalance.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblDepositBalance.Location = new System.Drawing.Point(906, 87);
|
||||
this.lblDepositBalance.Location = new System.Drawing.Point(858, 87);
|
||||
this.lblDepositBalance.Name = "lblDepositBalance";
|
||||
this.lblDepositBalance.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblDepositBalance.TabIndex = 15;
|
||||
@@ -771,7 +787,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.label6.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label6.Location = new System.Drawing.Point(906, 60);
|
||||
this.label6.Location = new System.Drawing.Point(858, 60);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(92, 17);
|
||||
this.label6.TabIndex = 11;
|
||||
@@ -782,7 +798,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.lblTotalAmount.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblTotalAmount.AutoSize = true;
|
||||
this.lblTotalAmount.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblTotalAmount.Location = new System.Drawing.Point(519, 87);
|
||||
this.lblTotalAmount.Location = new System.Drawing.Point(573, 87);
|
||||
this.lblTotalAmount.Name = "lblTotalAmount";
|
||||
this.lblTotalAmount.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblTotalAmount.TabIndex = 26;
|
||||
@@ -808,15 +824,15 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
// splitContainer2.Panel2
|
||||
//
|
||||
this.splitContainer2.Panel2.Controls.Add(this.statusBar);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1446, 306);
|
||||
this.splitContainer2.SplitterDistance = 276;
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1235, 453);
|
||||
this.splitContainer2.SplitterDistance = 423;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
// pbLoading
|
||||
//
|
||||
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbLoading.Location = new System.Drawing.Point(698, 113);
|
||||
this.pbLoading.Location = new System.Drawing.Point(592, 186);
|
||||
this.pbLoading.Name = "pbLoading";
|
||||
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
@@ -833,18 +849,18 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.panel1.Controls.Add(this.flowLayoutPanel1);
|
||||
this.panel1.Location = new System.Drawing.Point(98, 65);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(1250, 134);
|
||||
this.panel1.Size = new System.Drawing.Size(1039, 154);
|
||||
this.panel1.TabIndex = 9;
|
||||
this.panel1.Visible = false;
|
||||
//
|
||||
// btnClose
|
||||
//
|
||||
this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnClose.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnClose.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnClose.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnClose.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnClose.Location = new System.Drawing.Point(1161, 98);
|
||||
this.btnClose.Location = new System.Drawing.Point(950, 118);
|
||||
this.btnClose.Name = "btnClose";
|
||||
this.btnClose.Size = new System.Drawing.Size(58, 23);
|
||||
this.btnClose.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -864,11 +880,12 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
//
|
||||
// flowLayoutPanel1
|
||||
//
|
||||
this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.flowLayoutPanel1.Location = new System.Drawing.Point(24, 17);
|
||||
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
||||
this.flowLayoutPanel1.Size = new System.Drawing.Size(1195, 75);
|
||||
this.flowLayoutPanel1.Size = new System.Drawing.Size(984, 95);
|
||||
this.flowLayoutPanel1.TabIndex = 8;
|
||||
//
|
||||
// dgvShop
|
||||
@@ -901,12 +918,15 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.colOnSaleProductNumber,
|
||||
this.colScore,
|
||||
this.colPayCnt,
|
||||
this.colPayCnt1,
|
||||
this.colPayCnt7,
|
||||
this.colPayCnt30,
|
||||
this.colPay,
|
||||
this.colPay1,
|
||||
this.colPay7,
|
||||
this.colPay30,
|
||||
this.colRefund,
|
||||
this.colRefund1,
|
||||
this.colRefund7,
|
||||
this.colRefund30,
|
||||
this.colOrderNum,
|
||||
@@ -919,11 +939,12 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.colDepositBalance});
|
||||
this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgvShop.Location = new System.Drawing.Point(4, 0);
|
||||
this.dgvShop.MultiSelectCheckBox = true;
|
||||
this.dgvShop.Name = "dgvShop";
|
||||
this.dgvShop.ReadOnly = true;
|
||||
this.dgvShop.RowHeadersWidth = 36;
|
||||
this.dgvShop.RowTemplate.Height = 23;
|
||||
this.dgvShop.Size = new System.Drawing.Size(1438, 276);
|
||||
this.dgvShop.Size = new System.Drawing.Size(1227, 423);
|
||||
this.dgvShop.TabIndex = 5;
|
||||
this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
|
||||
//
|
||||
@@ -935,9 +956,75 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.statusBar.Location = new System.Drawing.Point(0, 0);
|
||||
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.statusBar.Name = "statusBar";
|
||||
this.statusBar.Size = new System.Drawing.Size(1446, 26);
|
||||
this.statusBar.Size = new System.Drawing.Size(1235, 26);
|
||||
this.statusBar.TabIndex = 1;
|
||||
//
|
||||
// label20
|
||||
//
|
||||
this.label20.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label20.Location = new System.Drawing.Point(478, 3);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(80, 17);
|
||||
this.label20.TabIndex = 14;
|
||||
this.label20.Text = "昨日成交金额";
|
||||
//
|
||||
// lblPay1
|
||||
//
|
||||
this.lblPay1.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblPay1.AutoSize = true;
|
||||
this.lblPay1.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblPay1.Location = new System.Drawing.Point(478, 30);
|
||||
this.lblPay1.Name = "lblPay1";
|
||||
this.lblPay1.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblPay1.TabIndex = 18;
|
||||
this.lblPay1.Text = "0";
|
||||
//
|
||||
// label21
|
||||
//
|
||||
this.label21.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label21.AutoSize = true;
|
||||
this.label21.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label21.Location = new System.Drawing.Point(98, 3);
|
||||
this.label21.Name = "label21";
|
||||
this.label21.Size = new System.Drawing.Size(56, 17);
|
||||
this.label21.TabIndex = 15;
|
||||
this.label21.Text = "昨日订单";
|
||||
//
|
||||
// lblPayCnt1
|
||||
//
|
||||
this.lblPayCnt1.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblPayCnt1.AutoSize = true;
|
||||
this.lblPayCnt1.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblPayCnt1.Location = new System.Drawing.Point(98, 30);
|
||||
this.lblPayCnt1.Name = "lblPayCnt1";
|
||||
this.lblPayCnt1.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblPayCnt1.TabIndex = 16;
|
||||
this.lblPayCnt1.Text = "0";
|
||||
//
|
||||
// label22
|
||||
//
|
||||
this.label22.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label22.AutoSize = true;
|
||||
this.label22.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.label22.Location = new System.Drawing.Point(858, 3);
|
||||
this.label22.Name = "label22";
|
||||
this.label22.Size = new System.Drawing.Size(80, 17);
|
||||
this.label22.TabIndex = 16;
|
||||
this.label22.Text = "昨日退款金额";
|
||||
//
|
||||
// lblPayRefund1
|
||||
//
|
||||
this.lblPayRefund1.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblPayRefund1.AutoSize = true;
|
||||
this.lblPayRefund1.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.lblPayRefund1.Location = new System.Drawing.Point(858, 30);
|
||||
this.lblPayRefund1.Name = "lblPayRefund1";
|
||||
this.lblPayRefund1.Size = new System.Drawing.Size(18, 20);
|
||||
this.lblPayRefund1.TabIndex = 20;
|
||||
this.lblPayRefund1.Text = "0";
|
||||
//
|
||||
// colSelect
|
||||
//
|
||||
this.colSelect.FillWeight = 22F;
|
||||
@@ -1011,7 +1098,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.colOnSaleProductNumber.HeaderText = "在售商品";
|
||||
this.colOnSaleProductNumber.Name = "colOnSaleProductNumber";
|
||||
this.colOnSaleProductNumber.ReadOnly = true;
|
||||
this.colOnSaleProductNumber.Width = 68;
|
||||
this.colOnSaleProductNumber.Width = 62;
|
||||
//
|
||||
// colScore
|
||||
//
|
||||
@@ -1019,7 +1106,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.colScore.HeaderText = "体验分";
|
||||
this.colScore.Name = "colScore";
|
||||
this.colScore.ReadOnly = true;
|
||||
this.colScore.Width = 54;
|
||||
this.colScore.Width = 50;
|
||||
//
|
||||
// colPayCnt
|
||||
//
|
||||
@@ -1029,13 +1116,21 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.colPayCnt.ReadOnly = true;
|
||||
this.colPayCnt.Width = 62;
|
||||
//
|
||||
// colPayCnt1
|
||||
//
|
||||
this.colPayCnt1.FillWeight = 60F;
|
||||
this.colPayCnt1.HeaderText = "昨日订单";
|
||||
this.colPayCnt1.Name = "colPayCnt1";
|
||||
this.colPayCnt1.ReadOnly = true;
|
||||
this.colPayCnt1.Width = 62;
|
||||
//
|
||||
// colPayCnt7
|
||||
//
|
||||
this.colPayCnt7.FillWeight = 60F;
|
||||
this.colPayCnt7.HeaderText = "7日订单";
|
||||
this.colPayCnt7.Name = "colPayCnt7";
|
||||
this.colPayCnt7.ReadOnly = true;
|
||||
this.colPayCnt7.Width = 62;
|
||||
this.colPayCnt7.Width = 57;
|
||||
//
|
||||
// colPayCnt30
|
||||
//
|
||||
@@ -1047,52 +1142,66 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
//
|
||||
// colPay
|
||||
//
|
||||
this.colPay.HeaderText = "今日成交金额";
|
||||
this.colPay.HeaderText = "今日成交额";
|
||||
this.colPay.Name = "colPay";
|
||||
this.colPay.ReadOnly = true;
|
||||
this.colPay.Width = 86;
|
||||
this.colPay.Width = 75;
|
||||
//
|
||||
// colPay1
|
||||
//
|
||||
this.colPay1.HeaderText = "昨日成交额";
|
||||
this.colPay1.Name = "colPay1";
|
||||
this.colPay1.ReadOnly = true;
|
||||
this.colPay1.Width = 75;
|
||||
//
|
||||
// colPay7
|
||||
//
|
||||
this.colPay7.HeaderText = "7日成交金额";
|
||||
this.colPay7.HeaderText = "7日成交额";
|
||||
this.colPay7.Name = "colPay7";
|
||||
this.colPay7.ReadOnly = true;
|
||||
this.colPay7.Width = 86;
|
||||
this.colPay7.Width = 72;
|
||||
//
|
||||
// colPay30
|
||||
//
|
||||
this.colPay30.HeaderText = "30日成交金额";
|
||||
this.colPay30.HeaderText = "30日成交额";
|
||||
this.colPay30.Name = "colPay30";
|
||||
this.colPay30.ReadOnly = true;
|
||||
this.colPay30.Width = 88;
|
||||
this.colPay30.Width = 78;
|
||||
//
|
||||
// colRefund
|
||||
//
|
||||
this.colRefund.HeaderText = "今日退款金额";
|
||||
this.colRefund.HeaderText = "今日退款额";
|
||||
this.colRefund.Name = "colRefund";
|
||||
this.colRefund.ReadOnly = true;
|
||||
this.colRefund.Width = 86;
|
||||
this.colRefund.Width = 75;
|
||||
//
|
||||
// colRefund1
|
||||
//
|
||||
this.colRefund1.HeaderText = "昨日退款额";
|
||||
this.colRefund1.Name = "colRefund1";
|
||||
this.colRefund1.ReadOnly = true;
|
||||
this.colRefund1.Width = 75;
|
||||
//
|
||||
// colRefund7
|
||||
//
|
||||
this.colRefund7.HeaderText = "7日退款金额";
|
||||
this.colRefund7.HeaderText = "7日退款额";
|
||||
this.colRefund7.Name = "colRefund7";
|
||||
this.colRefund7.ReadOnly = true;
|
||||
this.colRefund7.Width = 86;
|
||||
this.colRefund7.Width = 72;
|
||||
//
|
||||
// colRefund30
|
||||
//
|
||||
this.colRefund30.HeaderText = "30日退款金额";
|
||||
this.colRefund30.HeaderText = "30日退款额";
|
||||
this.colRefund30.Name = "colRefund30";
|
||||
this.colRefund30.ReadOnly = true;
|
||||
this.colRefund30.Width = 88;
|
||||
this.colRefund30.Width = 78;
|
||||
//
|
||||
// colOrderNum
|
||||
//
|
||||
this.colOrderNum.HeaderText = "待发货";
|
||||
this.colOrderNum.Name = "colOrderNum";
|
||||
this.colOrderNum.ReadOnly = true;
|
||||
this.colOrderNum.Width = 54;
|
||||
this.colOrderNum.Width = 50;
|
||||
//
|
||||
// colShipErr
|
||||
//
|
||||
@@ -1148,9 +1257,10 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
// WxShopStatisticsForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(1446, 450);
|
||||
this.ClientSize = new System.Drawing.Size(1235, 597);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.KeyPreview = true;
|
||||
this.Name = "WxShopStatisticsForm";
|
||||
this.Text = "WxShopStatisticsForm";
|
||||
this.Load += new System.EventHandler(this.WxShopStatisticsForm_Load);
|
||||
@@ -1231,6 +1341,12 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
private System.Windows.Forms.Label label18;
|
||||
private System.Windows.Forms.TextBox txtFilterShopName;
|
||||
private System.Windows.Forms.Label label19;
|
||||
private System.Windows.Forms.Label lblPay1;
|
||||
private System.Windows.Forms.Label label20;
|
||||
private System.Windows.Forms.Label lblPayCnt1;
|
||||
private System.Windows.Forms.Label label21;
|
||||
private System.Windows.Forms.Label lblPayRefund1;
|
||||
private System.Windows.Forms.Label label22;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colLoginStatus;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colDetail;
|
||||
@@ -1242,12 +1358,15 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colOnSaleProductNumber;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colScore;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colPayCnt;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colPayCnt1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colPayCnt7;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colPayCnt30;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colPay;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colPay1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colPay7;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colPay30;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colRefund;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colRefund1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colRefund7;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colRefund30;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colOrderNum;
|
||||
|
||||
@@ -26,6 +26,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
{
|
||||
bool isInit = false;
|
||||
public List<WxShopSaleStatisticsGroup> lstShopStatisticsInfo = new List<WxShopSaleStatisticsGroup>();
|
||||
public List<string> lstHideColumns = new List<string>();
|
||||
public WxShopStatisticsForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -35,8 +36,15 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
{
|
||||
this.dgvShop.AddSelectorColumn("colSelect");
|
||||
|
||||
foreach(DataGridViewColumn column in dgvShop.Columns)
|
||||
|
||||
lstHideColumns = NaiBa.Util.Helper.ConfigHelper.LoadConfig<List<string>>("wx_shop_sale_statistics_hide_columns");
|
||||
if (lstHideColumns == null)
|
||||
lstHideColumns = new List<string>();
|
||||
foreach (DataGridViewColumn column in dgvShop.Columns)
|
||||
{
|
||||
if (lstHideColumns.Contains(column.HeaderText))
|
||||
column.Visible = false;
|
||||
|
||||
if (!string.IsNullOrEmpty(column.HeaderText) && column.HeaderText != "店铺登录号码" && column.HeaderText != "详情")
|
||||
{
|
||||
var chk = new UcCheckBox() { Name = "chk" + column.Name, Tag = column.Name, Text = column.HeaderText, Checked = column.Visible, };
|
||||
@@ -56,6 +64,15 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
if (chk != null)
|
||||
{
|
||||
dgvShop.Columns[chk.Tag.ParseToString()].Visible = chk.Checked;
|
||||
if (!chk.Checked)
|
||||
{
|
||||
lstHideColumns.Add(chk.Text);
|
||||
}
|
||||
else
|
||||
{
|
||||
lstHideColumns.Remove(chk.Text);
|
||||
}
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig<List<string>>("wx_shop_sale_statistics_hide_columns", lstHideColumns);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -182,12 +199,15 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.lblPayCnt.Text = this.lstShopStatisticsInfo.Sum(s => s.WxShopSaleInfoToday.pay_order_cnt.ParseToLong()).ToString();
|
||||
this.lblPayCnt1.Text = this.lstShopStatisticsInfo.Sum(s => s.WxShopSaleInfo1Day.pay_order_cnt.ParseToLong()).ToString();
|
||||
this.lblPayCnt7.Text = this.lstShopStatisticsInfo.Sum(s => s.WxShopSaleInfo7Day.pay_order_cnt.ParseToLong()).ToString();
|
||||
this.lblPayCnt30.Text = this.lstShopStatisticsInfo.Sum(s => s.WxShopSaleInfo30Day.pay_order_cnt.ParseToLong()).ToString();
|
||||
this.lblPay.Text = this.lstShopStatisticsInfo.Sum(s => s.WxShopSaleInfoToday.pay_gmv.ParseToDecimal() * 0.01m).ToString("f2");
|
||||
this.lblPay1.Text = this.lstShopStatisticsInfo.Sum(s => s.WxShopSaleInfo1Day.pay_gmv.ParseToDecimal() * 0.01m).ToString("f2");
|
||||
this.lblPay7.Text = this.lstShopStatisticsInfo.Sum(s => s.WxShopSaleInfo7Day.pay_gmv.ParseToDecimal() * 0.01m).ToString("f2");
|
||||
this.lblPay30.Text = this.lstShopStatisticsInfo.Sum(s => s.WxShopSaleInfo30Day.pay_gmv.ParseToDecimal() * 0.01m).ToString("f2");
|
||||
this.lblPayRefund.Text = this.lstShopStatisticsInfo.Sum(s => s.WxShopSaleInfoToday.pay_refund_gmv.ParseToLong() * 0.01m).ToString();
|
||||
this.lblPayRefund1.Text = this.lstShopStatisticsInfo.Sum(s => s.WxShopSaleInfo1Day.pay_refund_gmv.ParseToLong() * 0.01m).ToString();
|
||||
this.lblPayRefund7.Text = this.lstShopStatisticsInfo.Sum(s => s.WxShopSaleInfo7Day.pay_refund_gmv.ParseToLong() * 0.01m).ToString();
|
||||
this.lblPayRefund30.Text = this.lstShopStatisticsInfo.Sum(s => s.WxShopSaleInfo30Day.pay_refund_gmv.ParseToLong() * 0.01m).ToString();
|
||||
this.lblOrderNum.Text = this.lstShopStatisticsInfo.Sum(s => s.WxShopMainInfo.orderNumRet?.num.ParseToInt()).ToString();
|
||||
@@ -259,12 +279,15 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
statistics.ProdCount.ParseToNullableInt(), // 在售商品
|
||||
statistics.curScoreValue.ParseToNullableDecimal(), // 店铺体验分
|
||||
statistics.WxShopSaleInfoToday.pay_order_cnt, // 今日订单
|
||||
statistics.WxShopSaleInfo1Day.pay_order_cnt, // 昨日订单
|
||||
statistics.WxShopSaleInfo7Day.pay_order_cnt, // 7日订单
|
||||
statistics.WxShopSaleInfo30Day.pay_order_cnt, // 30日订单
|
||||
statistics.WxShopSaleInfoToday.pay_gmv, // 今日成交金额
|
||||
statistics.WxShopSaleInfo1Day.pay_gmv, // 昨日成交金额
|
||||
statistics.WxShopSaleInfo7Day.pay_gmv, // 7日成交金额
|
||||
statistics.WxShopSaleInfo30Day.pay_gmv, // 30日成交金额
|
||||
statistics.WxShopSaleInfoToday.pay_refund_gmv, // 今日退款金额
|
||||
statistics.WxShopSaleInfo1Day.pay_refund_gmv, // 昨日退款金额
|
||||
statistics.WxShopSaleInfo7Day.pay_refund_gmv, // 7日退款金额
|
||||
statistics.WxShopSaleInfo30Day.pay_refund_gmv, // 30日退款金额
|
||||
statistics.WxShopMainInfo.orderNumRet?.num, // 待发货
|
||||
@@ -299,12 +322,15 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
row.Cells["colOnSaleProductNumber"].Value = statistics.ProdCount.ParseToNullableInt(); // 商品数量
|
||||
row.Cells["colScore"].Value = statistics.curScoreValue.ParseToNullableDecimal(); // 店铺体验分
|
||||
row.Cells["colPayCnt"].Value = statistics.WxShopSaleInfoToday.pay_order_cnt; // 今日订单
|
||||
row.Cells["colPayCnt1"].Value = statistics.WxShopSaleInfo1Day.pay_order_cnt; // 昨日订单
|
||||
row.Cells["colPayCnt7"].Value = statistics.WxShopSaleInfo7Day.pay_order_cnt; // 7日订单
|
||||
row.Cells["colPayCnt30"].Value = statistics.WxShopSaleInfo30Day.pay_order_cnt; // 30日订单
|
||||
row.Cells["colPay"].Value = statistics.WxShopSaleInfoToday.pay_gmv.ParseToNullableLong() * 0.01m; // 今日成交金额
|
||||
row.Cells["colPay1"].Value = statistics.WxShopSaleInfo1Day.pay_gmv.ParseToNullableLong() * 0.01m; // 昨日成交金额
|
||||
row.Cells["colPay7"].Value = statistics.WxShopSaleInfo7Day.pay_gmv.ParseToNullableLong() * 0.01m; // 7日成交金额
|
||||
row.Cells["colPay30"].Value = statistics.WxShopSaleInfo30Day.pay_gmv.ParseToNullableLong() * 0.01m; // 30日成交金额
|
||||
row.Cells["colRefund"].Value = statistics.WxShopSaleInfoToday.pay_refund_gmv.ParseToNullableLong() * 0.01m; // 今日退款金额
|
||||
row.Cells["colRefund1"].Value = statistics.WxShopSaleInfo1Day.pay_refund_gmv.ParseToNullableLong() * 0.01m; // 昨日退款金额
|
||||
row.Cells["colRefund7"].Value = statistics.WxShopSaleInfo7Day.pay_refund_gmv.ParseToNullableLong() * 0.01m; // 7日退款金额
|
||||
row.Cells["colRefund30"].Value = statistics.WxShopSaleInfo30Day.pay_refund_gmv.ParseToNullableLong() * 0.01m; // 30日退款金额
|
||||
row.Cells["colOrderNum"].Value = statistics.WxShopMainInfo.orderNumRet?.num; // 待发货
|
||||
@@ -321,7 +347,8 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
|
||||
private void GetShopStatistics(ShopLoginInfo shop, WxShopSaleStatisticsGroup statistics)
|
||||
{
|
||||
if (statistics == null || statistics.WxShopMainInfo == null || statistics.WxShopSaleInfoToday == null || statistics.WxShopSaleInfo7Day == null || statistics.WxShopSaleInfo30Day == null)
|
||||
if (statistics == null || statistics.WxShopMainInfo == null ||
|
||||
statistics.WxShopSaleInfoToday == null || statistics.WxShopSaleInfo1Day == null || statistics.WxShopSaleInfo7Day == null || statistics.WxShopSaleInfo30Day == null)
|
||||
return;
|
||||
|
||||
if (statistics.lastRefreshDate != DateTime.Now.Date && shop.LoginStatus == "登录成功")
|
||||
@@ -440,6 +467,40 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
}
|
||||
}
|
||||
|
||||
if (statistics.WxShopSaleInfo1Day.LastRefreshDate != DateTime.Now.Date && shop.LoginStatus == "登录成功")
|
||||
{
|
||||
try
|
||||
{
|
||||
string html = GetShopSaleInfoList(shop,
|
||||
BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now.Date.AddDays(-1)),
|
||||
BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now.Date) - 1);
|
||||
System.Threading.Thread.Sleep(Randomx.GetId(50, 100));
|
||||
if (html.Contains("\"code\":0"))
|
||||
{
|
||||
var saleStr = JsonHelper.SerializeObject(JsonHelper.JObjectParse(html)["total"]);
|
||||
statistics.WxShopSaleInfo1Day = JsonHelper.DeserializeJsonToObject<WxShopSaleStatisticsInfo>(saleStr);
|
||||
statistics.WxShopSaleInfo1Day.LastRefreshDate = DateTime.Now.Date;
|
||||
}
|
||||
else
|
||||
{
|
||||
string errStr = BaseRegex.GetStringJson(ref html, "errorMsg");
|
||||
if (string.IsNullOrEmpty(errStr))
|
||||
errStr = BaseRegex.GetStringJson(ref html, "error_msg");
|
||||
if (string.IsNullOrEmpty(errStr))
|
||||
errStr = html;
|
||||
WXShopListForm.Instance.CheckShopLogin(new string[] { shop.LoginName }, false);
|
||||
statistics.err_msg = errStr;
|
||||
return;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
System.Threading.Thread.Sleep(Randomx.GetId(50, 100));
|
||||
statistics.err_msg = ex.Message;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (statistics.WxShopSaleInfo7Day.LastRefreshDate != DateTime.Now.Date && shop.LoginStatus == "登录成功")
|
||||
{
|
||||
try
|
||||
@@ -689,6 +750,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
{
|
||||
statistics.WxShopMainInfo.LastRefreshDate = DateTime.MinValue;
|
||||
statistics.WxShopSaleInfoToday.LastRefreshDate = DateTime.MinValue;
|
||||
statistics.WxShopSaleInfo1Day.LastRefreshDate = DateTime.MinValue;
|
||||
statistics.WxShopSaleInfo7Day.LastRefreshDate = DateTime.MinValue;
|
||||
statistics.WxShopSaleInfo30Day.LastRefreshDate = DateTime.MinValue;
|
||||
}
|
||||
|
||||
@@ -150,6 +150,9 @@
|
||||
<metadata name="colPayCnt.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colPayCnt1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colPayCnt7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
@@ -159,6 +162,9 @@
|
||||
<metadata name="colPay.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colPay1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colPay7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
@@ -168,6 +174,9 @@
|
||||
<metadata name="colRefund.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colRefund1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colRefund7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
||||
Reference in new issue
Block a user