1688上传类目转换等优化 充值用户服务充值和用户续费店铺功能
This commit is contained in:
1 parent
ecb291e3d7
commit
aab73b978f
56 files changed
+4532
-1748
No files matched your search
@@ -155,7 +155,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (shopEntity == null)
|
||||
return;
|
||||
if (shopEntity.is_shop_expire)
|
||||
if (shopEntity.is_point_shop_expire)
|
||||
return;
|
||||
if (selectShopId == null)
|
||||
selectShopId = new List<string>();
|
||||
|
||||
+696
-467
File diff suppressed because it is too large.
Load diff
@@ -29,6 +29,8 @@ using AllBase.Model.Result.WXResult;
|
||||
using Newtonsoft.Json;
|
||||
using NaiBa.Util;
|
||||
using AllBase.Model.Config;
|
||||
using CefSharp;
|
||||
using AllBase.Extension;
|
||||
|
||||
namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
@@ -53,6 +55,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"真丝", "蚕丝", "香云纱", "羊绒", "羊毛", "羊羔绒", "羊羔毛", "羽绒", "皮草"
|
||||
};
|
||||
string DefaultAdultBrandId = "";
|
||||
// 微信带货助手cookie
|
||||
List<Cookie> lstWxSaleAssistantCookie = new List<Cookie>();
|
||||
|
||||
public WXDBProdUploadForm()
|
||||
{
|
||||
@@ -61,6 +65,15 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
private void UserSelectDbProductForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!BaseClass.UserAuthority.Contains("佣金上货"))
|
||||
this.ucTabControlMetro1.TabPages.Remove(佣金上货);
|
||||
else
|
||||
{
|
||||
lstWxSaleAssistantCookie = NaiBa.Util.Helper.ConfigHelper.LoadConfig<List<Cookie>>("wx_sale_assistant_cookies");
|
||||
if (lstWxSaleAssistantCookie == null)
|
||||
lstWxSaleAssistantCookie = new List<Cookie>();
|
||||
}
|
||||
|
||||
GlobalConfig.lstWxShopAuthInfo = NaiBa.Util.Helper.ConfigHelper.LoadConfig<NaiBa.Util.ConcurrentList<AuthInfo>>("wx_shop_auth_list");
|
||||
if (GlobalConfig.lstWxShopAuthInfo == null)
|
||||
GlobalConfig.lstWxShopAuthInfo = new ConcurrentList<AuthInfo>();
|
||||
@@ -589,7 +602,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (shopEntity == null)
|
||||
return;
|
||||
if (shopEntity.is_shop_expire)
|
||||
if (shopEntity.is_point_shop_expire)
|
||||
return;
|
||||
if (selectShopId == null)
|
||||
selectShopId = new List<string>();
|
||||
@@ -819,7 +832,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
if (GlobalConfig.GlobalSettings.IsWxUseSoftwareDefaultAddress == true && !IsWxNotUseSoftwareDefaultAddressOnce &&
|
||||
lstTemuDBProductSelect.Any(p => p.product_get_type_text != "厂商直采" && p.product_get_type_text != "1688厂家"))
|
||||
{
|
||||
if (GlobalConfig.WXShopDefaultAddressList.Any(a => !shopIdLst.Contains(a.shop_id)))
|
||||
if (shopIdLst.Any(a => !GlobalConfig.WXShopDefaultAddressList.Any(aa => aa.shop_id == a)))
|
||||
WXShopDefaultAddressListForm.GetShopDefaultAddress();
|
||||
var addressLst = GlobalConfig.WXShopDefaultAddressList.Where(s => shopIdLst.Contains(s.shop_id)).ToList();
|
||||
foreach (var add in addressLst)
|
||||
@@ -1118,7 +1131,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
|
||||
result = UploadProduct(shop, kjdDbProdTmp, selectProd, row.Cells["colOpResult"], startTime);
|
||||
if (result.Contains("今日提审次数已用尽,请明日再试") || result.Contains("如需上架请先缴纳足额保证金") || result.Contains("在架商品数已达到上限"))
|
||||
if (result.Contains("今日提审次数已用尽,请明日再试") || result.Contains("如需上架请先缴纳足额保证金") || result.Contains("在架商品数已达到上限") ||
|
||||
result.Contains("拥金上货失败:需要开通优选联盟"))
|
||||
{
|
||||
var shopRow = dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ParseToString() == shop.ShopId);
|
||||
if (shopRow != null)
|
||||
@@ -1363,6 +1377,85 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}));
|
||||
}
|
||||
|
||||
#region 处理佣金上传
|
||||
int commissionRate = 0;
|
||||
int minCommissionRate = 0;
|
||||
int maxCommissionRate = 0;
|
||||
int commissionRateChange = 0;
|
||||
int? fromCommissionRate = 0;
|
||||
if (BaseClass.UserAuthority.Contains("佣金上货") && chkCommission.Checked)
|
||||
{
|
||||
if (dbProd.special_prod_type != "爆款数据" && dbProd.product_get_type_text != "微信小店")
|
||||
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"拥金上货失败:仅爆款微信小店数据支持佣金上传!\"}";
|
||||
|
||||
var rst = WXUpload.GetAndUpdateWebStatus(shop);
|
||||
if (!rst.Contains("\"isOpenLeague\":true"))
|
||||
{
|
||||
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"拥金上货失败:需要开通优选联盟!\"}";
|
||||
}
|
||||
|
||||
var url = BaseClass.BuildObjString("product/wx_get_commission_rate");
|
||||
var date = UserLogin.GetSignaturex();
|
||||
date += "&spu_ids=" + dbProd.spu_id;
|
||||
|
||||
var prodCommissionRst = GetHtml.PostUtf8(url, date);
|
||||
if (!prodCommissionRst.Contains("\"code\":200"))
|
||||
{
|
||||
var errMsg = BaseRegex.GetStringJsonByRegs(ref prodCommissionRst, prodCommissionRst, "msg");
|
||||
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"拥金上货失败:" + errMsg + "\"}";
|
||||
}
|
||||
fromCommissionRate = BaseRegex.GetStringJson(ref prodCommissionRst, "commission_rate").ParseToNullableInt();
|
||||
if (fromCommissionRate == null)
|
||||
fromCommissionRate = -1;
|
||||
if (prodCommissionRst.Contains("\"data\":[]"))
|
||||
{
|
||||
var assistantShop = new ShopLoginInfo();
|
||||
assistantShop.Cookies = JsonHelper.SerializeObject(lstWxSaleAssistantCookie);
|
||||
var result = WxGetAssistant.wxGetAssistant(assistantShop, dbProd.spu_id);
|
||||
if (result.Contains("mcn magic invalid"))
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
BaseMsgForm.ShowError("拥金上货失败:请先登录上货助手");
|
||||
btnLoginAssistant_Click(null, null);
|
||||
}));
|
||||
assistantShop.Cookies = JsonHelper.SerializeObject(lstWxSaleAssistantCookie);
|
||||
result = WxGetAssistant.wxGetAssistant(assistantShop, dbProd.spu_id);
|
||||
if (result.Contains("mcn magic invalid"))
|
||||
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"拥金上货失败:请先登录上货助手\"}";
|
||||
}
|
||||
fromCommissionRate = BaseRegex.GetStringJson(ref result, "commissionRate").ParseToNullableInt();
|
||||
var prodName = BaseRegex.GetStringJson(ref result, "name");
|
||||
if (fromCommissionRate == null)
|
||||
fromCommissionRate = -1;
|
||||
if (prodName.IsNullOrEmpty())
|
||||
prodName = dbProd.product_name;
|
||||
//if (fromCommissionRate != null && !string.IsNullOrEmpty(prodName))
|
||||
{
|
||||
url = BaseClass.BuildObjString("product/wx_add_mdy_commission_rate");
|
||||
date = UserLogin.GetSignaturex();
|
||||
date += "&spu_id=" + dbProd.spu_id;
|
||||
date += "&commission_rate=" + fromCommissionRate;
|
||||
date += "&product_name=" + prodName;
|
||||
var addCommissionRateRst = GetHtml.PostUtf8(url, date);
|
||||
}
|
||||
}
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
minCommissionRate = this.txtMinUpCommission.Text.Trim().ParseToInt() * 10000;
|
||||
maxCommissionRate = this.txtMaxUpCommission.Text.Trim().ParseToInt() * 10000;
|
||||
commissionRateChange = this.txtCommissionChangeValue.Text.Trim().ParseToInt() * 10000;
|
||||
if (cmbCommissionAddOrReduce.Text != "增加")
|
||||
commissionRateChange = -commissionRateChange;
|
||||
commissionRate = fromCommissionRate.ParseToInt() + commissionRateChange;
|
||||
}));
|
||||
if (fromCommissionRate < minCommissionRate || fromCommissionRate > maxCommissionRate)
|
||||
{
|
||||
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"拥金上货失败:原商品佣金比例 " + fromCommissionRate * 0.0001 + "% 超过设置的佣金范围!\"}";
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 跳过已上传商品
|
||||
if (chkSkipUploaded.Checked)
|
||||
{
|
||||
@@ -1438,6 +1531,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
if (!string.IsNullOrEmpty(convertRst))
|
||||
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"商品查询错误 " + convertRst + "\"}";
|
||||
}
|
||||
if (dbProd.product_get_type_text == "1688外部数据")
|
||||
{
|
||||
string convertRst = "";
|
||||
var pInfo = new PDDProdFormConverter()._1688OutToPddConvert(out convertRst, dbProd);
|
||||
if (!string.IsNullOrEmpty(convertRst))
|
||||
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"商品查询错误 " + convertRst + "\"}";
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 微信小店app
|
||||
@@ -2904,7 +3004,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (propInfo.name == "出版社名称")
|
||||
attr = productAttr.attr.FirstOrDefault(r => r.name == "出版社名称");
|
||||
else if (propInfo.name == "ISBN编号" && !prodInfo.property.goods_properties.Any(p => p.name == "ISBN版号/CN刊号"))
|
||||
else if ((propInfo.name == "ISBN编号" || propInfo.name == "书号") && !prodInfo.property.goods_properties.Any(p => p.name == "ISBN版号/CN刊号"))
|
||||
attr = productAttr.attr.FirstOrDefault(r => r.name == "ISBN版号/CN刊号");
|
||||
else if (propInfo.name == "书名")
|
||||
attr = productAttr.attr.FirstOrDefault(r => r.name == "书名");
|
||||
@@ -3680,7 +3780,18 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
#endregion
|
||||
|
||||
// 资质信息
|
||||
#region 佣金信息,需要权限
|
||||
if (BaseClass.UserAuthority.Contains("佣金上货") && chkCommission.Checked)
|
||||
{
|
||||
upProdParam.product.info.leagueItemInfo = new leagueItemInfoParam();
|
||||
upProdParam.product.info.leagueItemInfo.itemSwitch = 1;
|
||||
upProdParam.product.info.leagueItemInfo.itemRatio = commissionRate;
|
||||
upProdParam.product.info.leagueItemInfo.headSupplierPublicItemSwitch = 1;
|
||||
upProdParam.product.info.leagueItemInfo.headSupplierPublicItemServiceRatio = commissionRate;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 资质信息
|
||||
// 微信回采直接复制
|
||||
if (BaseClass.UserAuthority.ParseToString().Contains("微信回采") && chkUseWXComplateProd.Checked && dbProd.has_wx_format == "1" && wxEditProdInfo != null)
|
||||
{
|
||||
@@ -3987,6 +4098,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
#endregion
|
||||
|
||||
// 直接使用微信回采情趣商品品牌
|
||||
if (BaseClass.UserAuthority.ParseToString().Contains("微信回采") && chkUseWXComplateProd.Checked &&
|
||||
@@ -4059,6 +4171,18 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
#endregion
|
||||
|
||||
upProdParam.product.productKey.productId = BaseRegex.GetLongJson(ref uploadDraftRst, "productId").ParseToString();
|
||||
|
||||
var commissionRstStr = "";
|
||||
if (chkUpDraft.Checked && BaseClass.UserAuthority.Contains("佣金上货") && chkCommission.Checked)
|
||||
{
|
||||
var rst = WXUpload.addLeagueItemForUpdatingProduct(shop, 1, commissionRate, 1, commissionRate, upProdParam.product.productKey.productId.ParseToLong());
|
||||
if (!rst.Contains("\"code\":0"))
|
||||
{
|
||||
var error = BaseRegex.GetStringJsonByRegs(ref rst, rst, "msg", "errMsg", "errorMsg", "err_msg", "error_msg");
|
||||
commissionRstStr = "设置佣金比例失败 " + rst;
|
||||
}
|
||||
}
|
||||
|
||||
if (chkUpDraft.Checked)
|
||||
{
|
||||
selectProd.wxDraftProduct = upProdParam;
|
||||
@@ -4068,7 +4192,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
upload_draft_product_lst.Add(selectProd);
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_select_upload_draft_products", upload_draft_product_lst);
|
||||
|
||||
return "{\"success\":true,\"draftId\":" + upProdParam.product.productKey.productId + ",\"status\":\"草稿箱\",\"errMsg\":\"指定上传到草稿箱\"}";
|
||||
return "{\"success\":true,\"draftId\":" + upProdParam.product.productKey.productId + ",\"status\":\"草稿箱\",\"errMsg\":\"指定上传到草稿箱" + commissionRstStr + "\"}";
|
||||
}
|
||||
|
||||
// 提交商品上架
|
||||
@@ -4088,6 +4212,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
if (upProdParam.product.productKey.productId.IsNullOrEmpty())
|
||||
upProdParam.product.productKey.productId = BaseRegex.GetLongJson(ref uploadProdRst, "productId").ParseToString();
|
||||
|
||||
if (BaseClass.UserAuthority.Contains("佣金上货") && chkCommission.Checked)
|
||||
{
|
||||
var rst = WXUpload.addLeagueItemForUpdatingProduct(shop, 1, commissionRate, 1, commissionRate, upProdParam.product.productKey.productId.ParseToLong(), 1);
|
||||
if (!rst.Contains("\"code\":0"))
|
||||
{
|
||||
var error = BaseRegex.GetStringJsonByRegs(ref rst, rst, "msg", "errMsg", "errorMsg", "err_msg", "error_msg");
|
||||
commissionRstStr = "设置佣金比例失败 " + rst;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -4259,7 +4393,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}));
|
||||
}
|
||||
|
||||
return "{\"success\":true,\"draftId\":" + upProdParam.product.productKey.productId + ",\"status\":\"已上传\",\"msg\":\"上传成功\"}";
|
||||
return "{\"success\":true,\"draftId\":" + upProdParam.product.productKey.productId + ",\"status\":\"已上传\",\"msg\":\"上传成功" + commissionRstStr + "\"}";
|
||||
}
|
||||
|
||||
|
||||
@@ -5357,6 +5491,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
cmbJstInitSet.Text = "已设置";
|
||||
}
|
||||
}
|
||||
|
||||
private void btnLoginAssistant_Click(object sender, EventArgs e)
|
||||
{
|
||||
WXSaleAssistantForm assistantForm = new WXSaleAssistantForm();
|
||||
assistantForm.OpenType = "login";
|
||||
assistantForm.InitUrl = "https://store.weixin.qq.com/talent/home";
|
||||
assistantForm.ShowDialog();
|
||||
lstWxSaleAssistantCookie = NaiBa.Util.Helper.ConfigHelper.LoadConfig<List<Cookie>>("wx_sale_assistant_cookies");
|
||||
if (lstWxSaleAssistantCookie == null)
|
||||
lstWxSaleAssistantCookie = new List<Cookie>();
|
||||
}
|
||||
}
|
||||
|
||||
public class WXUpload
|
||||
@@ -5535,6 +5680,7 @@ Content-Type: image/jpeg
|
||||
string url = "https://store.weixin.qq.com/shop-faas/mmecnodeproductupload/common/cgi/goods/uploadProductDraft?token=&lang=zh_CN";
|
||||
string referer = "https://store.weixin.qq.com/shop/goods/entry";
|
||||
JsonSerializerSettings jsonSetting = new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore };
|
||||
prodParam.type = 1;
|
||||
var prodStr = JsonConvert.SerializeObject(prodParam, jsonSetting);
|
||||
JObject jObj = new JObject();
|
||||
jObj.Add("data", prodStr);
|
||||
@@ -5715,6 +5861,31 @@ Content-Type: application/octet-stream
|
||||
var result = WXHttpResponseBLL.WeiXinGetResponse(shop, url, referer);
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 店铺首页获取参数,包括是否开通优选联盟
|
||||
/// </summary>
|
||||
/// <param name="shop"></param>
|
||||
/// <returns></returns>
|
||||
public static string GetAndUpdateWebStatus(ShopLoginInfo shop)
|
||||
{
|
||||
string url = "https://store.weixin.qq.com/shop-faas/mmchannelstradehome/home/getAndUpdateWebStatus?token=&lang=zh_CN";
|
||||
string referer = "https://store.weixin.qq.com/shop/home";
|
||||
string body = @"{""timeQuery"":{""startMs"":" + BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now.Date.AddDays(-1)) +
|
||||
@",""endMs"":" + BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now.Date.AddSeconds(-1)) + @"}}";
|
||||
var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static string addLeagueItemForUpdatingProduct(ShopLoginInfo shop, int itemSwitch, int itemRatio, int headSupplierItemSwitch, int HeadSupplierItemRatio, long prodId, int updType = 2)
|
||||
{
|
||||
string url = "https://store.weixin.qq.com/shop-faas/mmecnodeproductupload/common/cgi/goods/addLeagueItemForUpdatingProduct?token=&lang=zh_CN";
|
||||
string referer = "https://store.weixin.qq.com/shop/home";
|
||||
string body = @"{""itemSwitch"":" + itemSwitch + @",""itemRatio"":" + itemRatio + @",""headSupplierPublicItemSwitch"":" + headSupplierItemSwitch +
|
||||
@",""headSupplierPublicItemServiceRatio"":" + HeadSupplierItemRatio + @",""productId"":" + prodId + @",""scene"":2,""updType"":" + updType + @"}";
|
||||
var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
public class AddPriceRule
|
||||
|
||||
@@ -103,10 +103,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
currentShop = GlobalConfig.ShopLoginList.FirstOrDefault();
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.textBox1.Text = currentShop.ShopAccount;
|
||||
this.textBox1.Tag = currentShop.ShopId;
|
||||
this.textBox1.Text = currentShop?.ShopAccount;
|
||||
this.textBox1.Tag = currentShop?.ShopId;
|
||||
}));
|
||||
SetMainBrowserUrl(currentShop);
|
||||
if (currentShop != null)
|
||||
SetMainBrowserUrl(currentShop);
|
||||
});
|
||||
|
||||
IsLoadComplate = true;
|
||||
@@ -250,7 +251,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (shopEntity == null)
|
||||
return;
|
||||
if (shopEntity.is_shop_expire)
|
||||
if (shopEntity.is_point_shop_expire)
|
||||
return;
|
||||
if (selectShopId == null)
|
||||
selectShopId = new List<string>();
|
||||
|
||||
@@ -154,7 +154,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (shopEntity == null)
|
||||
return;
|
||||
if (shopEntity.is_shop_expire)
|
||||
if (shopEntity.is_point_shop_expire)
|
||||
return;
|
||||
if (selectShopId == null)
|
||||
selectShopId = new List<string>();
|
||||
|
||||
@@ -162,7 +162,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (shopEntity == null)
|
||||
return;
|
||||
if (shopEntity.is_shop_expire)
|
||||
if (shopEntity.is_point_shop_expire)
|
||||
return;
|
||||
if (selectShopId == null)
|
||||
selectShopId = new List<string>();
|
||||
|
||||
@@ -181,7 +181,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (shopEntity == null)
|
||||
return;
|
||||
if (shopEntity.is_shop_expire)
|
||||
if (shopEntity.is_point_shop_expire)
|
||||
return;
|
||||
if (selectShopId == null)
|
||||
selectShopId = new List<string>();
|
||||
|
||||
@@ -268,7 +268,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (shopEntity == null)
|
||||
return;
|
||||
if (shopEntity.is_shop_expire)
|
||||
if (shopEntity.is_point_shop_expire)
|
||||
return;
|
||||
if (selectShopId == null)
|
||||
selectShopId = new List<string>();
|
||||
|
||||
@@ -180,7 +180,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (shopEntity == null)
|
||||
return;
|
||||
if (shopEntity.is_shop_expire)
|
||||
if (shopEntity.is_point_shop_expire)
|
||||
return;
|
||||
if (selectShopId == null)
|
||||
selectShopId = new List<string>();
|
||||
|
||||
+34
-33
@@ -330,16 +330,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtViewUvMin
|
||||
//
|
||||
this.txtViewUvMin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtViewUvMin.Location = new System.Drawing.Point(1113, 41);
|
||||
this.txtViewUvMin.Location = new System.Drawing.Point(1107, 41);
|
||||
this.txtViewUvMin.Name = "txtViewUvMin";
|
||||
this.txtViewUvMin.Size = new System.Drawing.Size(77, 23);
|
||||
this.txtViewUvMin.Size = new System.Drawing.Size(83, 23);
|
||||
this.txtViewUvMin.TabIndex = 882;
|
||||
this.txtViewUvMin.Visible = false;
|
||||
//
|
||||
// chkViewUvMin
|
||||
//
|
||||
this.chkViewUvMin.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkViewUvMin.Location = new System.Drawing.Point(1059, 42);
|
||||
this.chkViewUvMin.Location = new System.Drawing.Point(1053, 42);
|
||||
this.chkViewUvMin.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
|
||||
this.chkViewUvMin.Name = "chkViewUvMin";
|
||||
this.chkViewUvMin.Size = new System.Drawing.Size(48, 21);
|
||||
@@ -356,10 +356,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"爆款数据",
|
||||
"普通商品"});
|
||||
this.cmbHot.Location = new System.Drawing.Point(906, 7);
|
||||
this.cmbHot.Location = new System.Drawing.Point(901, 7);
|
||||
this.cmbHot.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbHot.Name = "cmbHot";
|
||||
this.cmbHot.Size = new System.Drawing.Size(144, 25);
|
||||
this.cmbHot.Size = new System.Drawing.Size(143, 25);
|
||||
this.cmbHot.TabIndex = 882;
|
||||
this.cmbHot.Text = "普通商品";
|
||||
this.cmbHot.Visible = false;
|
||||
@@ -369,7 +369,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblHot.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblHot.AutoSize = true;
|
||||
this.lblHot.Location = new System.Drawing.Point(862, 9);
|
||||
this.lblHot.Location = new System.Drawing.Point(857, 9);
|
||||
this.lblHot.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblHot.Name = "lblHot";
|
||||
this.lblHot.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -384,7 +384,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSearch.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSearch.Location = new System.Drawing.Point(1056, 5);
|
||||
this.btnSearch.Location = new System.Drawing.Point(1050, 5);
|
||||
this.btnSearch.Name = "btnSearch";
|
||||
this.btnSearch.Size = new System.Drawing.Size(51, 25);
|
||||
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -408,9 +408,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnEmpty.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnEmpty.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnEmpty.Location = new System.Drawing.Point(1113, 5);
|
||||
this.btnEmpty.Location = new System.Drawing.Point(1107, 5);
|
||||
this.btnEmpty.Name = "btnEmpty";
|
||||
this.btnEmpty.Size = new System.Drawing.Size(77, 25);
|
||||
this.btnEmpty.Size = new System.Drawing.Size(83, 25);
|
||||
this.btnEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
@@ -435,10 +435,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat3.DropDownWidth = 1;
|
||||
this.cmbCat3.FormattingEnabled = true;
|
||||
this.cmbCat3.IntegralHeight = false;
|
||||
this.cmbCat3.Location = new System.Drawing.Point(712, 7);
|
||||
this.cmbCat3.Location = new System.Drawing.Point(708, 7);
|
||||
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat3.Name = "cmbCat3";
|
||||
this.cmbCat3.Size = new System.Drawing.Size(144, 25);
|
||||
this.cmbCat3.Size = new System.Drawing.Size(143, 25);
|
||||
this.cmbCat3.TabIndex = 811;
|
||||
this.cmbCat3.Text = "全部";
|
||||
this.cmbCat3.SelectedIndexChanged += new System.EventHandler(this.cmbCat3_SelectedIndexChanged);
|
||||
@@ -448,7 +448,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label17.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(661, 9);
|
||||
this.label17.Location = new System.Drawing.Point(657, 9);
|
||||
this.label17.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(51, 17);
|
||||
@@ -463,10 +463,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat2.DropDownWidth = 1;
|
||||
this.cmbCat2.FormattingEnabled = true;
|
||||
this.cmbCat2.IntegralHeight = false;
|
||||
this.cmbCat2.Location = new System.Drawing.Point(511, 7);
|
||||
this.cmbCat2.Location = new System.Drawing.Point(509, 7);
|
||||
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat2.Name = "cmbCat2";
|
||||
this.cmbCat2.Size = new System.Drawing.Size(144, 25);
|
||||
this.cmbCat2.Size = new System.Drawing.Size(142, 25);
|
||||
this.cmbCat2.TabIndex = 804;
|
||||
this.cmbCat2.Text = "全部";
|
||||
this.cmbCat2.SelectedIndexChanged += new System.EventHandler(this.cmbCat2_SelectedIndexChanged);
|
||||
@@ -476,7 +476,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label14.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(460, 9);
|
||||
this.label14.Location = new System.Drawing.Point(458, 9);
|
||||
this.label14.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(51, 17);
|
||||
@@ -491,10 +491,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat1.DropDownWidth = 1;
|
||||
this.cmbCat1.FormattingEnabled = true;
|
||||
this.cmbCat1.IntegralHeight = false;
|
||||
this.cmbCat1.Location = new System.Drawing.Point(291, 7);
|
||||
this.cmbCat1.Location = new System.Drawing.Point(290, 5);
|
||||
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat1.Name = "cmbCat1";
|
||||
this.cmbCat1.Size = new System.Drawing.Size(144, 25);
|
||||
this.cmbCat1.Size = new System.Drawing.Size(143, 25);
|
||||
this.cmbCat1.TabIndex = 805;
|
||||
this.cmbCat1.Text = "全部";
|
||||
this.cmbCat1.SelectedIndexChanged += new System.EventHandler(this.cmbCat1_SelectedIndexChanged);
|
||||
@@ -504,7 +504,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(240, 9);
|
||||
this.label2.Location = new System.Drawing.Point(239, 9);
|
||||
this.label2.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(51, 17);
|
||||
@@ -517,7 +517,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtProdName.Location = new System.Drawing.Point(71, 6);
|
||||
this.txtProdName.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtProdName.Name = "txtProdName";
|
||||
this.txtProdName.Size = new System.Drawing.Size(144, 23);
|
||||
this.txtProdName.Size = new System.Drawing.Size(143, 23);
|
||||
this.txtProdName.TabIndex = 427;
|
||||
//
|
||||
// label3
|
||||
@@ -551,17 +551,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"安全+未校验",
|
||||
"安全商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(71, 42);
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(71, 40);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(144, 25);
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(143, 25);
|
||||
this.cmbWxSafe.TabIndex = 676;
|
||||
this.cmbWxSafe.Text = "安全+未校验";
|
||||
//
|
||||
// chkCatBoundMoreThan
|
||||
//
|
||||
this.chkCatBoundMoreThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(224, 42);
|
||||
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(223, 42);
|
||||
this.chkCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
|
||||
this.chkCatBoundMoreThan.Name = "chkCatBoundMoreThan";
|
||||
this.chkCatBoundMoreThan.Size = new System.Drawing.Size(64, 21);
|
||||
@@ -573,10 +573,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtCatBoundMoreThan
|
||||
//
|
||||
this.txtCatBoundMoreThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(291, 41);
|
||||
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(290, 41);
|
||||
this.txtCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundMoreThan.Name = "txtCatBoundMoreThan";
|
||||
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(144, 23);
|
||||
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(143, 23);
|
||||
this.txtCatBoundMoreThan.TabIndex = 882;
|
||||
this.txtCatBoundMoreThan.Text = "1000";
|
||||
this.txtCatBoundMoreThan.Visible = false;
|
||||
@@ -584,7 +584,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// chkCatBoundLessThan
|
||||
//
|
||||
this.chkCatBoundLessThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkCatBoundLessThan.Location = new System.Drawing.Point(444, 42);
|
||||
this.chkCatBoundLessThan.Location = new System.Drawing.Point(442, 42);
|
||||
this.chkCatBoundLessThan.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
|
||||
this.chkCatBoundLessThan.Name = "chkCatBoundLessThan";
|
||||
this.chkCatBoundLessThan.Size = new System.Drawing.Size(64, 21);
|
||||
@@ -596,10 +596,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtCatBoundLessThan
|
||||
//
|
||||
this.txtCatBoundLessThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtCatBoundLessThan.Location = new System.Drawing.Point(511, 41);
|
||||
this.txtCatBoundLessThan.Location = new System.Drawing.Point(509, 41);
|
||||
this.txtCatBoundLessThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundLessThan.Name = "txtCatBoundLessThan";
|
||||
this.txtCatBoundLessThan.Size = new System.Drawing.Size(144, 23);
|
||||
this.txtCatBoundLessThan.Size = new System.Drawing.Size(142, 23);
|
||||
this.txtCatBoundLessThan.TabIndex = 883;
|
||||
this.txtCatBoundLessThan.Text = "100000";
|
||||
this.txtCatBoundLessThan.Visible = false;
|
||||
@@ -608,10 +608,10 @@ 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(906, 42);
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(901, 42);
|
||||
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbGroupFilter.Name = "cmbGroupFilter";
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(144, 25);
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(143, 25);
|
||||
this.cmbGroupFilter.TabIndex = 653;
|
||||
this.cmbGroupFilter.Visible = false;
|
||||
//
|
||||
@@ -619,7 +619,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblSourceType.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblSourceType.AutoSize = true;
|
||||
this.lblSourceType.Location = new System.Drawing.Point(668, 44);
|
||||
this.lblSourceType.Location = new System.Drawing.Point(664, 44);
|
||||
this.lblSourceType.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblSourceType.Name = "lblSourceType";
|
||||
this.lblSourceType.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -631,7 +631,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblGroup.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblGroup.AutoSize = true;
|
||||
this.lblGroup.Location = new System.Drawing.Point(862, 44);
|
||||
this.lblGroup.Location = new System.Drawing.Point(857, 44);
|
||||
this.lblGroup.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblGroup.Name = "lblGroup";
|
||||
this.lblGroup.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -647,16 +647,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"厂商直采",
|
||||
"1688厂家",
|
||||
"1688外部数据",
|
||||
"微信小店",
|
||||
"微信店采",
|
||||
"母店采集",
|
||||
"机会商品",
|
||||
"以图搜品",
|
||||
"外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(712, 42);
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(708, 42);
|
||||
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(144, 25);
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(143, 25);
|
||||
this.cmbSourceType.TabIndex = 654;
|
||||
this.cmbSourceType.Text = "厂商直采";
|
||||
this.cmbSourceType.Visible = false;
|
||||
|
||||
Reference in new issue
Block a user