diff --git a/AllBase/AllBase.csproj b/AllBase/AllBase.csproj index 00adec7..1ad11a8 100644 --- a/AllBase/AllBase.csproj +++ b/AllBase/AllBase.csproj @@ -182,6 +182,8 @@ + + @@ -205,6 +207,7 @@ + @@ -291,6 +294,7 @@ + diff --git a/AllBase/BaseClass.cs b/AllBase/BaseClass.cs index 6eccd85..1f248d3 100644 --- a/AllBase/BaseClass.cs +++ b/AllBase/BaseClass.cs @@ -27,7 +27,7 @@ namespace AllBase /// /// 版本ID /// - public static int VersionCount = 1086; + public static int VersionCount = 1092; //public static int VersionCount = 613; /// diff --git a/AllBase/Model/Data/WXBuyUrlNotesInfo.cs b/AllBase/Model/Data/WXBuyUrlNotesInfo.cs new file mode 100644 index 0000000..1047b5f --- /dev/null +++ b/AllBase/Model/Data/WXBuyUrlNotesInfo.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AllBase.Model.Data +{ + public class WXBuyUrlNotesInfo + { + public int id { get; set; } + public string spu_code { get; set; } + public string user_name { get; set; } + public string buy_url_notes { get; set; } + public DateTime add_time { get; set; } + public DateTime mdy_time { get; set; } + } +} diff --git a/AllBase/Model/Data/WXOrderDecryptAddressInfo.cs b/AllBase/Model/Data/WXOrderDecryptAddressInfo.cs new file mode 100644 index 0000000..b07edf2 --- /dev/null +++ b/AllBase/Model/Data/WXOrderDecryptAddressInfo.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AllBase.Model.Data +{ + public class WXOrderDecryptAddressInfo + { + public int id { get; set; } + public string shop_id { get; set; } + public string order_id { get; set; } + public string order_address { get; set; } + public DateTime add_time { get; set; } + public DateTime mdy_time { get; set; } + } +} diff --git a/AllBase/Model/Param/WXParam/WXPreCreateOrderWaybillOnlineParam.cs b/AllBase/Model/Param/WXParam/WXPreCreateOrderWaybillOnlineParam.cs new file mode 100644 index 0000000..29581af --- /dev/null +++ b/AllBase/Model/Param/WXParam/WXPreCreateOrderWaybillOnlineParam.cs @@ -0,0 +1,117 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AllBase.Model.Param.WXParam +{ + + public class WaybillHelper + { + //中国移动‌:134、135、136、137、138、139、147、150、151、152、157、158、159、172、178、182、183、184、187、188、195、197、198。 + //中国联通‌:130、131、132、145、155、156、166、175、176、185、186、196。其中‌145号段‌主要用于上网卡。 + //中国电信‌:133、149、153、173、177、180、181、189、190、191、193、199。 + //中国广电‌:192。作为第四大运营商,其号段于2022年开始放号。 + public static List MobileHead { get; set; } = new List() + { + 134, 135, 136, 137, 138, 139, 147, 150, 151, 152, 157, 158, 159, 172, 178, 182, 183, 184, 187, 188, 195, 197, 198, + 130, 131, 132, 155, 156, 166, 175, 176, 185, 186, 196, + 133, 149, 153, 173, 177, 180, 181, 189, 190, 191, 193, 199, + }; + + public static List LastName { get; set; } = new List() + { + "赵", "钱", "孙", "李", "周", "吴", "郑", "王", "冯", "陈", "沈", "杨", "朱", "许", "何", "张", + }; + } + + // 预在线寄件读取快递信息 + public class WXPreCreateOrderWaybillOnlineParam + { + public List deliveryIds { get; set; } = new List() + { + "JTSD", "YUNDA", "YTO", "ZTO", "JD", "SF", "DBKD", "STO", "CNSD", + }; + public WXPreCreateOrderWaybillOnlineReqParam req { get; set; } = new WXPreCreateOrderWaybillOnlineReqParam(); + } + + // 选中快递寄件信息后申请在线寄件 + public class WXCreateOrderWaybillOnlineParam + { + public int? payMethod { get; set; } = 2; // 2, + + public List requestContent { get; set; } = new List(); + } + + public class WaybillOnlineRequestContentParam + { + public string deliveryId { get; set; } // = "YTO"; + public string ewaybillOrderId { get; set; } // = "4525894132274036739"; + public List ecOrderList { get; set; } = new List(); + public waybillOnlineSenderParam sender { get; set; } = new waybillOnlineSenderParam(); + public wayBillOnlineDeliveryInfo deliveryInfo { get; set; } = new wayBillOnlineDeliveryInfo(); + public wayBillOnlineExtInfo extInfo { get; set; } + public string uuid { get; set; } // "ac843315-48c8-4186-b573-1880f497c002" + public List orderVasList { get; set; } = new List(); + public int? source { get; set; } = 3; + } + + + public class WXPreCreateOrderWaybillOnlineReqParam + { + public List requestContent { get; set; } = new List(); + } + + public class preWaybillOnlineRequestContentParam + { + public string deliveryId { get; set; } = ""; + public int? orderType { get; set; } = 1; + public List ecOrderList { get; set; } = new List(); + public waybillOnlineSenderParam sender { get; set; } = new waybillOnlineSenderParam(); + public wayBillOnlineDeliveryInfo deliveryInfo { get; set; } = new wayBillOnlineDeliveryInfo(); + public wayBillOnlineExtInfo extInfo { get; set; } = new wayBillOnlineExtInfo(); + public string uuid { get; set; } // "ac843315-48c8-4186-b573-1880f497c002" + public List orderVasList { get; set; } = new List(); + public int? source { get; set; } = 3; + } + + public class wayBillOnlineExtInfo + { + public int? packageWeightG { get; set; } = 1000; + } + + public class wayBillOnlineDeliveryInfo + { + public int? appointmentType { get; set; } = 1; // 1, + public string datetime { get; set; } = DateTime.Now.AddDays(1).ToString("yyyyMMdd"); // "20260521" + + } + + public class waybillOnlineSenderParam + { + public string name { get; set; } = ""; // "陈图书", + public string mobile { get; set; } = ""; // "13023098035", + public string province { get; set; } = ""; // "安徽省", + public string city { get; set; } = ""; // "合肥市", + public string county { get; set; } = "";// "肥西县", + public string street { get; set; } = ""; // "", + public string address { get; set; } = ""; // "上派镇中盟电子产业园8栋一单元(东电梯3楼快递指定存放点)", + public string lat { get; set; } = "";// "", + public string lng { get; set; } = ""; // "" + } + + public class ecOrderParam + { + public string ecOrderId { get; set; } // "3736506990289905920", + public List goodsList { get; set; } = new List(); + } + + public class orderGoodsParam + { + public int? goodCount { get; set; } // 1, + public string goodName { get; set; } // "【抢限量印签】信任养育:你的孩子本来就很好 白瑞家庭教育作品,千万父母追随,20余年经验沉淀", + public string productId { get; set; } // "10000852376968", + public string skuId { get; set; } // "15057811153" + } +} diff --git a/AllBase/Model/Result/WXResult/WxOnlineWaybillDeliveryInfo.cs b/AllBase/Model/Result/WXResult/WxOnlineWaybillDeliveryInfo.cs new file mode 100644 index 0000000..5dfd919 --- /dev/null +++ b/AllBase/Model/Result/WXResult/WxOnlineWaybillDeliveryInfo.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AllBase.Model.Result.WXResult +{ + public class WxOnlineWaybillDeliveryInfo + { + public int? code { get; set; } // 0; + public List responseContent { get; set; } + public bool? showInsufficientBalance { get; set; } // false + } + + public class DeliveryResponseContentInfo + { + public int? retcode { get; set; } // 0, + public string errorMsg { get; set; } // "", + public string deliveryErrorMsg { get; set; } // "success", + public string totalFee { get; set; } // "400", + public feeDetailInfo feeDetail { get; set; } + public int? predictedArrivedTime { get; set; } // 0, + public string uuid { get; set; } // "4da17f94-b935-4022-a531-3b431279273f", + public string deliveryId { get; set; } // "JTSD", + public int? orderType { get; set; } // 1, + public string ewaybillOrderId { get; set; } // "4526098104048025619", + public string deliveryResultCode { get; set; } // "0", + public int? errorType { get; set; } // 0, + public object blockExplainUrl { get; set; } // { }, + public bool? showInsufficientBalance { get; set; } // false + } + + public class feeDetailInfo + { + public string totalShippingFee { get; set; } // "400", + public int? totalVasFee { get; set; } // 0, + public int? otherFee { get; set; } // 0, + public string otherFeeName { get; set; } // "" + + } +} diff --git a/AllBase/Model/Result/WXResult/WxOrderInfoLite.cs b/AllBase/Model/Result/WXResult/WxOrderInfoLite.cs index e60b0e9..2e0d9eb 100644 --- a/AllBase/Model/Result/WXResult/WxOrderInfoLite.cs +++ b/AllBase/Model/Result/WXResult/WxOrderInfoLite.cs @@ -11,6 +11,7 @@ namespace AllBase.Model.Result.WXResult public commonInfoInfo commonInfo { get; set; } public buyerInfoInfo buyerInfo { get; set; } + public flagInfoInfo flagInfo { get; set; } public acceptInfoInfo acceptInfo { get; set; } public notesInfoInfo notesInfo { get; set; } public List orderProductInfo { get; set; } @@ -117,6 +118,12 @@ namespace AllBase.Model.Result.WXResult public string presentNotes { get; set; } // "" } + public class flagInfoInfo + { + public string flagNotes { get; set; } // "订单测试", + public int? flagColor { get; set; } // 1 + } + public class acceptInfoInfo { public addressInfoInfo addressInfo { get; set; } diff --git a/KJDService/KJD_WebService/BLL/WXXD/WXProductManage.cs b/KJDService/KJD_WebService/BLL/WXXD/WXProductManage.cs index 65f3dcc..6afa0bc 100644 --- a/KJDService/KJD_WebService/BLL/WXXD/WXProductManage.cs +++ b/KJDService/KJD_WebService/BLL/WXXD/WXProductManage.cs @@ -831,6 +831,97 @@ namespace KJD_Web.BLL.WXXD return "{\"code\":19999,\"msg\":\"输入为空\"}"; } + public string WXGetRandomAfterSaleList(string inputData) + { + if (!string.IsNullOrEmpty(inputData)) + { + var timeCalc = DateTime.Now; + var time = RegexUtils.GetStringQuery(ref inputData, "time").ParseToInt(); + string time1 = RegexUtils.GetStringQuery(ref inputData, "code"); + if (time1 != EncrypUtil.Encryption(time)) + return "{\"code\":50000,\"msg\":\"校验失败\"}"; + + var user_name = RegexUtils.GetStringQuery(ref inputData, "user_name")?.Replace("'", "\\'"); + if (string.IsNullOrEmpty(user_name)) + { + return "{\"code\":50001,\"msg\":\"没有用户名\"}"; + } + + int page = RegexUtils.GetStringQuery(ref inputData, "page").ParseToInt(); + int page_size = RegexUtils.GetStringQuery(ref inputData, "page_size").ParseToInt(50); + string type = RegexUtils.GetStringQuery(ref inputData, "type")?.Replace("'", "\\'"); + string isDel = RegexUtils.GetStringQuery(ref inputData, "isDel")?.Replace("'", "\\'"); + + string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString; + MysqlUtils mySql = new MysqlUtils(conn); + + string sql = "SELECT count(*) FROM `wxxd`.`after_sale` where 1=1"; + + string where = ""; + if (type != null) + where += " and type='" + type + "'"; + + if (isDel == "true") + where += " and is_del>0"; + else + where += " and is_del=0"; + + sql += where; + sql += ";"; + + var count = 0; + count = mySql.ExecuteRowCount(sql); + + DataTable dt; + if (count == 0) + { + dt = new DataTable(); + } + else + { + sql = "SELECT * FROM `wxxd`.`after_sale` where 1=1"; + sql += where; + sql += " order by RAND() limit " + Math.Max(0, page - 1) * page_size + "," + page_size + ";"; + dt = mySql.ExecuteDataTable(sql); + } + mySql.Close(); + + if (dt != null) + { + try + { + List WXAddressInfoLst = new List(); + foreach (DataRow row in dt.Rows) + { + WXAddressInfoLst.Add(new WXAddressInfo() + { + id = row["id"].ParseToInt(), + after_sale_json = row["after_sale_json"].ParseToString(), + coid = row["coid"].ParseToString(), + supplier_name = row["supplier_name"].ParseToString(), + type = row["type"].ParseToString(), + add_time = Convert.ToDateTime(row["add_time"]), + mdy_time = Convert.ToDateTime(row["mdy_time"]), + }); + } + JsonSerializerSettings jsonSetting = new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }; + var data = JsonUtils.SerializeObjectToString(WXAddressInfoLst, jsonSetting); + var seconds = (DateTime.Now - timeCalc).TotalSeconds.ToString("0.000"); + return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + ",\"seconds\":" + seconds + "}"; + } + catch (Exception ex) + { + return "{\"code\":500,\"msg\":\"" + ex.Message + "\",\"data\":[],\"count\":" + 0 + "}"; + } + } + else + { + return "{\"code\":500,\"msg\":\"" + mySql.Message + "\",\"data\":[],\"count\":" + 0 + "}"; + } + } + return "{\"code\":19999,\"msg\":\"输入为空\"}"; + } + /// /// 聚水潭等外部平台售后列表 /// diff --git a/KJDService/KJD_WebService/BLL/WXXD/WXShopManage.cs b/KJDService/KJD_WebService/BLL/WXXD/WXShopManage.cs index 2131e42..8b0460f 100644 --- a/KJDService/KJD_WebService/BLL/WXXD/WXShopManage.cs +++ b/KJDService/KJD_WebService/BLL/WXXD/WXShopManage.cs @@ -1,5 +1,6 @@ using KJD_Web.Model; using KJD_Web.Model.ShopModel; +using KJD_Web.Model.WxModel; using KJD_Web.Utils; using MySql.Data.MySqlClient; using MySqlX.XDevAPI; @@ -14,6 +15,7 @@ using System.Linq; using System.Security.Cryptography; using System.Web; using System.Web.Security; +using System.Web.UI.HtmlControls; namespace KJD_Web.BLL.WXXD { @@ -1000,6 +1002,304 @@ namespace KJD_Web.BLL.WXXD return "{\"code\":19999,\"msg\":\"输入为空\"}"; } + + + public string WXAddMdyOrderDecryptAddress(string inputData) + { + if (!string.IsNullOrEmpty(inputData)) + { + if (!WXUserManage.GetSign(inputData)) + return "{\"code\":999,\"msg\":\"校验失败\"}"; + + // 软件用户名 + string shop_id = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "shop_id"))?.Replace("'", "\\'"); + string order_id = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "order_id"))?.Replace("'", "\\'"); + string order_address = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "order_address"))?.Replace("'", "\\'"); + + if (string.IsNullOrEmpty(shop_id)) + return "{\"code\":500,\"msg\":\"缺少店铺编号\"}"; + if (string.IsNullOrEmpty(order_id)) + return "{\"code\":500,\"msg\":\"缺少订单编号\"}"; + if (string.IsNullOrEmpty(order_address)) + return "{\"code\":500,\"msg\":\"缺少地址信息\"}"; + + string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString; + MysqlUtils mySql = new MysqlUtils(conn); + + string sql = "SELECT 1 FROM `wxxd`.`order_decrypt_address` where order_id='" + order_id + "' AND shop_id='" + shop_id + "'"; + string where = ""; + sql += where; + var exist = mySql.ExecuteFirstInt(sql); + if (!mySql.Message.IsNullOrEmpty()) + { + mySql.Close(); + return "{\"code\":501,\"msg\":\"" + mySql.Message + "\"}"; + } + + if (exist == 0) + { + sql = " INSERT INTO `wxxd`.`order_decrypt_address` (shop_id,order_id,order_address)" + + " VALUES (@shop_id,@order_id,@order_address);"; + } + else + { + sql = "UPDATE `wxxd`.`order_decrypt_address` SET "; + if (order_address != null) + sql += " order_address=@order_address,"; + sql = sql.TrimEnd(','); + sql += " WHERE order_id=@order_id and shop_id=@shop_id;"; + } + + List paramLst = new List(); + paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "order_address", Value = order_address, }); + paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "order_id", Value = order_id, }); + paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "shop_id", Value = shop_id, }); + mySql.ExecuteNonQuery(sql, paramLst.ToArray()); + mySql.Close(); + if (string.IsNullOrEmpty(mySql.Message)) + { + return "{\"code\":200,\"msg\":\"success\",\"data\":\"\"}"; + } + else + { + return "{\"code\":50003,\"msg\":\"" + mySql.Message + "\",\"data\":\"\"}"; + } + } + return "{\"code\":19999,\"msg\":\"输入为空\"}"; + } + + public string WXGetOrderDecryptAddress(string inputData) + { + if (!string.IsNullOrEmpty(inputData)) + { + var timeCalc = DateTime.Now; + if (!WXUserManage.GetSign(inputData)) + return "{\"code\":999,\"msg\":\"校验失败\"}"; + + int page = RegexUtils.GetStringQuery(ref inputData, "page").ParseToInt(); + int page_size = RegexUtils.GetStringQuery(ref inputData, "page_size").ParseToInt(200); + string order_ids = RegexUtils.GetStringQuery(ref inputData, "order_ids")?.Replace("'", "\\'"); + string not_count = RegexUtils.GetStringQuery(ref inputData, "not_count")?.Replace("'", "\\'"); + if (string.IsNullOrEmpty(order_ids)) + return "{\"code\":500,\"msg\":\"订单编号不能为空\"}"; + + string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString; + MysqlUtils mySql = new MysqlUtils(conn); + + string sql = ""; + var count = -1; + + sql = "SELECT count(*) FROM `wxxd`.`order_decrypt_address` where 1=1"; + string where = ""; + if (order_ids != null) + where += " and order_id IN ('" + order_ids.Replace(",", "','") + "')"; + sql += where; + sql += ";"; + + if (not_count != "true") + count = mySql.ExecuteRowCount(sql); + + DataTable dt; + if (count == 0) + { + dt = new DataTable(); + } + else + { + sql = "SELECT * FROM `wxxd`.`order_decrypt_address` where 1=1"; + sql += where; + sql += " order by id desc limit " + Math.Max(0, page - 1) * page_size + "," + page_size + ";"; + dt = mySql.ExecuteDataTable(sql); + } + mySql.Close(); + + if (dt != null) + { + try + { + List WXOrderAddressInfoLst = new List(); + foreach (DataRow row in dt.Rows) + { + WXOrderAddressInfoLst.Add(new WXOrderDecryptAddressInfo() + { + id = row["id"].ParseToInt(), + shop_id = row["shop_id"].ParseToString(), + order_address = row["order_address"].ParseToString(), + order_id = row["order_id"].ParseToString(), + add_time = Convert.ToDateTime(row["add_time"]), + mdy_time = Convert.ToDateTime(row["mdy_time"]), + }); + } + JsonSerializerSettings jsonSetting = new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }; + var data = JsonUtils.SerializeObjectToString(WXOrderAddressInfoLst, jsonSetting); + var seconds = (DateTime.Now - timeCalc).TotalSeconds.ToString("0.000"); + return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + ",\"seconds\":" + seconds + "}"; + } + catch (Exception ex) + { + return "{\"code\":500,\"msg\":\"" + ex.Message + "\",\"data\":[],\"count\":" + 0 + "}"; + } + } + else + { + return "{\"code\":500,\"msg\":\"" + mySql.Message + "\",\"data\":[],\"count\":" + 0 + "}"; + } + } + return "{\"code\":19999,\"msg\":\"输入为空\"}"; + } + + + public string WXAddMdyBuyUrlNotes(string inputData) + { + if (!string.IsNullOrEmpty(inputData)) + { + if (!WXUserManage.GetSign(inputData)) + return "{\"code\":999,\"msg\":\"校验失败\"}"; + + // 软件用户名 + string spu_code = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "spu_code"))?.Replace("'", "\\'"); + string user_name = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "main_user_name"))?.Replace("'", "\\'"); + string buy_url_notes = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "buy_url_notes"))?.Replace("'", "\\'"); + + if (string.IsNullOrEmpty(spu_code)) + return "{\"code\":500,\"msg\":\"缺少店铺编号\"}"; + if (string.IsNullOrEmpty(user_name)) + return "{\"code\":500,\"msg\":\"缺少用户名\"}"; + if (string.IsNullOrEmpty(buy_url_notes)) + return "{\"code\":500,\"msg\":\"缺少地址信息\"}"; + + string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString; + MysqlUtils mySql = new MysqlUtils(conn); + + string sql = "SELECT 1 FROM `bxx`.`product_buy_url_notes` where user_name='" + user_name + "' AND spu_code='" + spu_code + "'"; + string where = ""; + sql += where; + var exist = mySql.ExecuteFirstInt(sql); + if (!mySql.Message.IsNullOrEmpty()) + { + mySql.Close(); + return "{\"code\":501,\"msg\":\"" + mySql.Message + "\"}"; + } + + if (exist == 0) + { + sql = " INSERT INTO `bxx`.`product_buy_url_notes` (spu_code,user_name,buy_url_notes)" + + " VALUES (@spu_code,@user_name,@buy_url_notes);"; + } + else + { + sql = "UPDATE `bxx`.`product_buy_url_notes` SET "; + if (buy_url_notes != null) + sql += " buy_url_notes=@buy_url_notes,"; + sql = sql.TrimEnd(','); + sql += " WHERE user_name=@user_name and spu_code=@spu_code;"; + } + + List paramLst = new List(); + paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "buy_url_notes", Value = buy_url_notes, }); + paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "user_name", Value = user_name, }); + paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "spu_code", Value = spu_code, }); + mySql.ExecuteNonQuery(sql, paramLst.ToArray()); + mySql.Close(); + if (string.IsNullOrEmpty(mySql.Message)) + { + return "{\"code\":200,\"msg\":\"success\",\"data\":\"\"}"; + } + else + { + return "{\"code\":50003,\"msg\":\"" + mySql.Message + "\",\"data\":\"\"}"; + } + } + return "{\"code\":19999,\"msg\":\"输入为空\"}"; + } + + public string WXGetBuyUrlNotes(string inputData) + { + if (!string.IsNullOrEmpty(inputData)) + { + var timeCalc = DateTime.Now; + if (!WXUserManage.GetSign(inputData)) + return "{\"code\":999,\"msg\":\"校验失败\"}"; + + int page = RegexUtils.GetStringQuery(ref inputData, "page").ParseToInt(); + int page_size = RegexUtils.GetStringQuery(ref inputData, "page_size").ParseToInt(200); + string spu_codes = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "spu_codes"))?.Replace("'", "\\'"); + string user_name = RegexUtils.GetStringQuery(ref inputData, "main_user_name")?.Replace("'", "\\'"); + string not_count = RegexUtils.GetStringQuery(ref inputData, "not_count")?.Replace("'", "\\'"); + if (string.IsNullOrEmpty(spu_codes)) + return "{\"code\":500,\"msg\":\"商品编码不能为空\"}"; + if (string.IsNullOrEmpty(user_name)) + return "{\"code\":500,\"msg\":\"用户名不能为空\"}"; + + string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString; + MysqlUtils mySql = new MysqlUtils(conn); + + string sql = ""; + var count = -1; + + sql = "SELECT COUNT(*) FROM `bxx`.`product_buy_url_notes` WHERE 1=1"; + string where = ""; + if (spu_codes != null) + where += " and spu_code IN ('" + spu_codes.Replace(",", "','") + "')"; + if (user_name != null) + where += " and user_name='" + user_name + "'"; + sql += where; + sql += ";"; + + if (not_count != "true") + count = mySql.ExecuteRowCount(sql); + + DataTable dt; + if (count == 0) + { + dt = new DataTable(); + } + else + { + sql = "SELECT * FROM `bxx`.`product_buy_url_notes` WHERE 1=1"; + sql += where; + sql += " order by id desc limit " + Math.Max(0, page - 1) * page_size + "," + page_size + ";"; + dt = mySql.ExecuteDataTable(sql); + } + mySql.Close(); + + if (dt != null) + { + try + { + List WXBuyUrlNotesInfoLst = new List(); + foreach (DataRow row in dt.Rows) + { + WXBuyUrlNotesInfoLst.Add(new WXBuyUrlNotesInfo() + { + id = row["id"].ParseToInt(), + user_name = row["user_name"].ParseToString(), + spu_code = row["spu_code"].ParseToString(), + buy_url_notes = row["buy_url_notes"].ParseToString(), + add_time = Convert.ToDateTime(row["add_time"]), + mdy_time = Convert.ToDateTime(row["mdy_time"]), + }); + } + JsonSerializerSettings jsonSetting = new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }; + var data = JsonUtils.SerializeObjectToString(WXBuyUrlNotesInfoLst, jsonSetting); + var seconds = (DateTime.Now - timeCalc).TotalSeconds.ToString("0.000"); + return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + ",\"seconds\":" + seconds + "}"; + } + catch (Exception ex) + { + return "{\"code\":500,\"msg\":\"" + ex.Message + "\",\"data\":[],\"count\":" + 0 + "}"; + } + } + else + { + return "{\"code\":500,\"msg\":\"" + mySql.Message + "\",\"data\":[],\"count\":" + 0 + "}"; + } + } + return "{\"code\":19999,\"msg\":\"输入为空\"}"; + } + + + public string E57GetWxTokens(string inputData) { if (!string.IsNullOrEmpty(inputData)) diff --git a/KJDService/KJD_WebService/KJD_WebService.csproj b/KJDService/KJD_WebService/KJD_WebService.csproj index 987c748..93da609 100644 --- a/KJDService/KJD_WebService/KJD_WebService.csproj +++ b/KJDService/KJD_WebService/KJD_WebService.csproj @@ -128,9 +128,11 @@ + + diff --git a/KJDService/KJD_WebService/Model/WxModel/WXBuyUrlNotesInfo.cs b/KJDService/KJD_WebService/Model/WxModel/WXBuyUrlNotesInfo.cs new file mode 100644 index 0000000..97c19a1 --- /dev/null +++ b/KJDService/KJD_WebService/Model/WxModel/WXBuyUrlNotesInfo.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace KJD_Web.Model.WxModel +{ + public class WXBuyUrlNotesInfo + { + public int id { get; set; } + public string spu_code { get; set; } + public string user_name { get; set; } + public string buy_url_notes { get; set; } + public DateTime add_time { get; set; } + public DateTime mdy_time { get; set; } + } +} \ No newline at end of file diff --git a/KJDService/KJD_WebService/Model/WxModel/WXOrderDecryptAddressInfo.cs b/KJDService/KJD_WebService/Model/WxModel/WXOrderDecryptAddressInfo.cs new file mode 100644 index 0000000..b8ea24a --- /dev/null +++ b/KJDService/KJD_WebService/Model/WxModel/WXOrderDecryptAddressInfo.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace KJD_Web.Model.WxModel +{ + public class WXOrderDecryptAddressInfo + { + public int id { get; set; } + public string shop_id { get; set; } + public string order_id { get; set; } + public string order_address { get; set; } + public DateTime add_time { get; set; } + public DateTime mdy_time { get; set; } + } +} \ No newline at end of file diff --git a/KJDService/KJD_WebService/WXProductService.asmx.cs b/KJDService/KJD_WebService/WXProductService.asmx.cs index 624f10f..cbdd379 100644 --- a/KJDService/KJD_WebService/WXProductService.asmx.cs +++ b/KJDService/KJD_WebService/WXProductService.asmx.cs @@ -232,6 +232,17 @@ namespace KJD_Web Context.Response.End(); } [WebMethod] + public void wx_get_random_after_sale_list() + { + string jsontext = GetRequestJsonString(); + + var result = jsontext; + result = new WXProductManage().WXGetRandomAfterSaleList(jsontext); + + Context.Response.Write(result); + Context.Response.End(); + } + [WebMethod] public void wx_get_after_sale_list() { string jsontext = GetRequestJsonString(); diff --git a/KJDService/KJD_WebService/WXShopService.asmx.cs b/KJDService/KJD_WebService/WXShopService.asmx.cs index 9b28194..ccef485 100644 --- a/KJDService/KJD_WebService/WXShopService.asmx.cs +++ b/KJDService/KJD_WebService/WXShopService.asmx.cs @@ -376,6 +376,52 @@ namespace KJD_Web Context.Response.End(); } + [WebMethod] + public void wx_add_mdy_order_address() + { + string jsontext = GetRequestJsonString(); + + var result = jsontext; + result = new WXShopManage().WXAddMdyOrderDecryptAddress(jsontext); + + Context.Response.Write(result); + Context.Response.End(); + } + [WebMethod] + public void wx_get_order_address() + { + string jsontext = GetRequestJsonString(); + + var result = jsontext; + result = new WXShopManage().WXGetOrderDecryptAddress(jsontext); + + Context.Response.Write(result); + Context.Response.End(); + } + + [WebMethod] + public void wx_add_mdy_buy_url_notes() + { + string jsontext = GetRequestJsonString(); + + var result = jsontext; + result = new WXShopManage().WXAddMdyBuyUrlNotes(jsontext); + + Context.Response.Write(result); + Context.Response.End(); + } + [WebMethod] + public void wx_get_buy_url_notes() + { + string jsontext = GetRequestJsonString(); + + var result = jsontext; + result = new WXShopManage().WXGetBuyUrlNotes(jsontext); + + Context.Response.Write(result); + Context.Response.End(); + } + [WebMethod] public void e57_get_wx_tokens() { diff --git a/TEMUKJD/KJD.csproj b/TEMUKJD/KJD.csproj index 9ab39f8..e8b544f 100644 --- a/TEMUKJD/KJD.csproj +++ b/TEMUKJD/KJD.csproj @@ -294,6 +294,12 @@ WXActivity618Form.cs + + Form + + + WXOrderListForm.cs + Form @@ -1372,6 +1378,9 @@ WXActivity618Form.cs + + WXOrderListForm.cs + WXOrderConsignmentForm.cs diff --git a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.Designer.cs b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.Designer.cs index fd6bb13..0907d5e 100644 --- a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.Designer.cs +++ b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.Designer.cs @@ -789,7 +789,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms this.tableLayoutPanel1.Controls.Add(this.btnSearch, 16, 0); this.tableLayoutPanel1.Controls.Add(this.label11, 14, 0); this.tableLayoutPanel1.Controls.Add(this.cmbSpProdType, 15, 0); - this.tableLayoutPanel1.Controls.Add(this.chkWXComplateProd, 13, 2); + this.tableLayoutPanel1.Controls.Add(this.chkWXComplateProd, 14, 1); this.tableLayoutPanel1.Location = new System.Drawing.Point(4, 4); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 3; @@ -827,7 +827,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms "", "是", "否"}); - this.cmbPddRelation.Location = new System.Drawing.Point(693, 5); + this.cmbPddRelation.Location = new System.Drawing.Point(693, 7); this.cmbPddRelation.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbPddRelation.Name = "cmbPddRelation"; this.cmbPddRelation.Size = new System.Drawing.Size(38, 25); @@ -882,7 +882,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(262, 75); + this.cmbCat2.Location = new System.Drawing.Point(262, 77); this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbCat2.Name = "cmbCat2"; this.cmbCat2.Size = new System.Drawing.Size(38, 25); @@ -967,7 +967,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms "机会商品", "以图搜品", "外部数据"}); - this.cmbSourceType.Location = new System.Drawing.Point(262, 40); + this.cmbSourceType.Location = new System.Drawing.Point(262, 42); this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbSourceType.Name = "cmbSourceType"; this.cmbSourceType.Size = new System.Drawing.Size(38, 25); @@ -1013,7 +1013,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms "", "是", "否"}); - this.cmbWxCat.Location = new System.Drawing.Point(581, 5); + this.cmbWxCat.Location = new System.Drawing.Point(581, 7); this.cmbWxCat.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbWxCat.Name = "cmbWxCat"; this.cmbWxCat.Size = new System.Drawing.Size(38, 25); @@ -1035,7 +1035,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms this.cmbSort.Items.AddRange(new object[] { "入库时间", "曝光量"}); - this.cmbSort.Location = new System.Drawing.Point(357, 40); + this.cmbSort.Location = new System.Drawing.Point(357, 42); this.cmbSort.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbSort.Name = "cmbSort"; this.cmbSort.Size = new System.Drawing.Size(38, 25); @@ -1099,7 +1099,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(167, 40); + this.cmbGroupFilter.Location = new System.Drawing.Point(167, 42); this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbGroupFilter.Name = "cmbGroupFilter"; this.cmbGroupFilter.Size = new System.Drawing.Size(38, 25); @@ -1114,7 +1114,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms "是", "否", "导出未拉回"}); - this.cmbExportToOutServer.Location = new System.Drawing.Point(581, 40); + this.cmbExportToOutServer.Location = new System.Drawing.Point(581, 42); this.cmbExportToOutServer.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbExportToOutServer.Name = "cmbExportToOutServer"; this.cmbExportToOutServer.Size = new System.Drawing.Size(38, 25); @@ -1150,7 +1150,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms "安全商品", "违规商品", "未校验"}); - this.cmbWxSafe.Location = new System.Drawing.Point(469, 40); + this.cmbWxSafe.Location = new System.Drawing.Point(469, 42); this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbWxSafe.Name = "cmbWxSafe"; this.cmbWxSafe.Size = new System.Drawing.Size(38, 25); @@ -1192,7 +1192,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(167, 75); + this.cmbCat1.Location = new System.Drawing.Point(167, 77); this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbCat1.Name = "cmbCat1"; this.cmbCat1.Size = new System.Drawing.Size(38, 25); @@ -1214,7 +1214,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(357, 75); + this.cmbCat3.Location = new System.Drawing.Point(357, 77); this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbCat3.Name = "cmbCat3"; this.cmbCat3.Size = new System.Drawing.Size(38, 25); @@ -1310,7 +1310,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms "", "普通商品", "爆款数据"}); - this.cmbSpProdType.Location = new System.Drawing.Point(805, 5); + this.cmbSpProdType.Location = new System.Drawing.Point(805, 7); this.cmbSpProdType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbSpProdType.Name = "cmbSpProdType"; this.cmbSpProdType.Size = new System.Drawing.Size(38, 25); @@ -1320,7 +1320,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // this.chkWXComplateProd.Anchor = System.Windows.Forms.AnchorStyles.Left; this.tableLayoutPanel1.SetColumnSpan(this.chkWXComplateProd, 2); - this.chkWXComplateProd.Location = new System.Drawing.Point(699, 77); + this.chkWXComplateProd.Location = new System.Drawing.Point(740, 42); this.chkWXComplateProd.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3); this.chkWXComplateProd.Name = "chkWXComplateProd"; this.chkWXComplateProd.Size = new System.Drawing.Size(87, 21); diff --git a/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.Designer.cs b/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.Designer.cs index 2bba0d1..585a086 100644 --- a/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.Designer.cs +++ b/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.Designer.cs @@ -145,17 +145,6 @@ namespace TemuKJD.WXForms.ProductForms this.pbLoadingShop = new System.Windows.Forms.PictureBox(); this.lblExtCodeFilter = new System.Windows.Forms.Label(); this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx(); - this.pbLoading = new System.Windows.Forms.PictureBox(); - this.并发上传 = new DevComponents.DotNetBar.PanelEx(); - this.chkImgRandomBlock = new TemuKJD.UserComponent.UcCheckBox(this.components); - this.label11 = new System.Windows.Forms.Label(); - this.txtSinglePriceAdd = new System.Windows.Forms.TextBox(); - this.chkTestNoAuditUpload = new TemuKJD.UserComponent.UcCheckBox(this.components); - this.dgvSelectProduct = new TemuKJD.UserComponent.DataGridViewEx(); - this.splitContainer4 = new System.Windows.Forms.SplitContainer(); - this.statusBar = new TemuKJD.UserControls.StatusBarUserControl(); - this.btnClear = new DevComponents.DotNetBar.PanelEx(); - this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colShopLoginName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -170,6 +159,13 @@ namespace TemuKJD.WXForms.ProductForms this.colOnSaleNum = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colRemaining = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.pbLoading = new System.Windows.Forms.PictureBox(); + this.并发上传 = new DevComponents.DotNetBar.PanelEx(); + this.chkImgRandomBlock = new TemuKJD.UserComponent.UcCheckBox(this.components); + this.label11 = new System.Windows.Forms.Label(); + this.txtSinglePriceAdd = new System.Windows.Forms.TextBox(); + this.chkTestNoAuditUpload = new TemuKJD.UserComponent.UcCheckBox(this.components); + this.dgvSelectProduct = new TemuKJD.UserComponent.DataGridViewEx(); this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colSelectId = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colSupplierId = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -192,6 +188,13 @@ namespace TemuKJD.WXForms.ProductForms this.ColDelete = new System.Windows.Forms.DataGridViewLinkColumn(); this.colAddTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colOpResult = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.splitContainer4 = new System.Windows.Forms.SplitContainer(); + this.statusBar = new TemuKJD.UserControls.StatusBarUserControl(); + this.btnClear = new DevComponents.DotNetBar.PanelEx(); + this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); + this.chkDefaultBestBefore = new TemuKJD.UserComponent.UcCheckBox(this.components); + this.txtDefaultBestBefore = new System.Windows.Forms.TextBox(); + this.label25 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); @@ -238,7 +241,7 @@ namespace TemuKJD.WXForms.ProductForms // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.splitContainer3); - this.splitContainer1.Size = new System.Drawing.Size(1524, 641); + this.splitContainer1.Size = new System.Drawing.Size(1605, 641); this.splitContainer1.SplitterDistance = 165; this.splitContainer1.TabIndex = 11; // @@ -250,6 +253,9 @@ namespace TemuKJD.WXForms.ProductForms this.ucGroupBoxEx2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; 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.label25); + this.ucGroupBoxEx2.Controls.Add(this.txtDefaultBestBefore); + this.ucGroupBoxEx2.Controls.Add(this.chkDefaultBestBefore); this.ucGroupBoxEx2.Controls.Add(this.chkRandomCompanyProd); this.ucGroupBoxEx2.Controls.Add(this.chkUseWXComplateProd); this.ucGroupBoxEx2.Controls.Add(this.chkSaveBound); @@ -296,7 +302,7 @@ namespace TemuKJD.WXForms.ProductForms this.ucGroupBoxEx2.Controls.Add(this.chkStepAddPrice); this.ucGroupBoxEx2.Location = new System.Drawing.Point(595, 2); this.ucGroupBoxEx2.Name = "ucGroupBoxEx2"; - this.ucGroupBoxEx2.Size = new System.Drawing.Size(927, 165); + this.ucGroupBoxEx2.Size = new System.Drawing.Size(1008, 165); this.ucGroupBoxEx2.TabIndex = 667; this.ucGroupBoxEx2.TabStop = false; this.ucGroupBoxEx2.Text = "商品上传"; @@ -305,7 +311,7 @@ namespace TemuKJD.WXForms.ProductForms // this.chkRandomCompanyProd.Checked = true; this.chkRandomCompanyProd.CheckState = System.Windows.Forms.CheckState.Checked; - this.chkRandomCompanyProd.Location = new System.Drawing.Point(856, 110); + this.chkRandomCompanyProd.Location = new System.Drawing.Point(902, 136); this.chkRandomCompanyProd.Name = "chkRandomCompanyProd"; this.chkRandomCompanyProd.Size = new System.Drawing.Size(87, 21); this.chkRandomCompanyProd.TabIndex = 889; @@ -353,7 +359,7 @@ namespace TemuKJD.WXForms.ProductForms // this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(738, 18); + this.label6.Location = new System.Drawing.Point(819, 18); this.label6.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(56, 17); @@ -363,7 +369,7 @@ namespace TemuKJD.WXForms.ProductForms // txtWaitSeconds // this.txtWaitSeconds.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.txtWaitSeconds.Location = new System.Drawing.Point(794, 15); + this.txtWaitSeconds.Location = new System.Drawing.Point(875, 15); this.txtWaitSeconds.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2); this.txtWaitSeconds.Name = "txtWaitSeconds"; this.txtWaitSeconds.Size = new System.Drawing.Size(24, 23); @@ -520,7 +526,7 @@ namespace TemuKJD.WXForms.ProductForms // label18 // this.label18.AutoSize = true; - this.label18.Location = new System.Drawing.Point(796, 112); + this.label18.Location = new System.Drawing.Point(791, 112); this.label18.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(54, 17); @@ -532,7 +538,7 @@ namespace TemuKJD.WXForms.ProductForms this.txtPreDays.Location = new System.Drawing.Point(763, 109); this.txtPreDays.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.txtPreDays.Name = "txtPreDays"; - this.txtPreDays.Size = new System.Drawing.Size(33, 23); + this.txtPreDays.Size = new System.Drawing.Size(28, 23); this.txtPreDays.TabIndex = 790; this.txtPreDays.Text = "5"; this.txtPreDays.TextChanged += new System.EventHandler(this.txtPreDays_TextChanged); @@ -599,7 +605,7 @@ namespace TemuKJD.WXForms.ProductForms this.txtReplaceText.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.txtReplaceText.Multiline = true; this.txtReplaceText.Name = "txtReplaceText"; - this.txtReplaceText.Size = new System.Drawing.Size(287, 40); + this.txtReplaceText.Size = new System.Drawing.Size(368, 40); this.txtReplaceText.TabIndex = 740; this.txtReplaceText.Text = "真丝,蚕丝,香云纱,羊绒,羊毛,羊羔绒,羊羔毛,羽绒,皮草"; this.txtReplaceText.TextChanged += new System.EventHandler(this.txtReplaceText_TextChanged); @@ -629,7 +635,7 @@ namespace TemuKJD.WXForms.ProductForms // this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(818, 18); + this.label7.Location = new System.Drawing.Point(899, 18); this.label7.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(20, 17); @@ -642,7 +648,7 @@ namespace TemuKJD.WXForms.ProductForms this.btnStop.CanvasColor = System.Drawing.SystemColors.Control; this.btnStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnStop.DisabledBackColor = System.Drawing.Color.Empty; - this.btnStop.Location = new System.Drawing.Point(843, 47); + this.btnStop.Location = new System.Drawing.Point(924, 47); this.btnStop.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2); this.btnStop.Name = "btnStop"; this.btnStop.Size = new System.Drawing.Size(71, 23); @@ -680,7 +686,7 @@ namespace TemuKJD.WXForms.ProductForms this.btnClearDgv.CanvasColor = System.Drawing.SystemColors.Control; this.btnClearDgv.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnClearDgv.DisabledBackColor = System.Drawing.Color.Empty; - this.btnClearDgv.Location = new System.Drawing.Point(843, 75); + this.btnClearDgv.Location = new System.Drawing.Point(924, 75); this.btnClearDgv.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2); this.btnClearDgv.Name = "btnClearDgv"; this.btnClearDgv.Size = new System.Drawing.Size(71, 23); @@ -886,7 +892,7 @@ namespace TemuKJD.WXForms.ProductForms this.btnUpload.Cursor = System.Windows.Forms.Cursors.Hand; this.btnUpload.DisabledBackColor = System.Drawing.Color.Empty; this.btnUpload.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnUpload.Location = new System.Drawing.Point(843, 19); + this.btnUpload.Location = new System.Drawing.Point(924, 19); this.btnUpload.Name = "btnUpload"; this.btnUpload.Size = new System.Drawing.Size(71, 23); this.btnUpload.Style.Alignment = System.Drawing.StringAlignment.Center; @@ -1734,7 +1740,7 @@ namespace TemuKJD.WXForms.ProductForms // splitContainer3.Panel2 // this.splitContainer3.Panel2.Controls.Add(this.splitContainer4); - this.splitContainer3.Size = new System.Drawing.Size(1524, 472); + this.splitContainer3.Size = new System.Drawing.Size(1605, 472); this.splitContainer3.SplitterDistance = 442; this.splitContainer3.TabIndex = 1; // @@ -1764,7 +1770,7 @@ namespace TemuKJD.WXForms.ProductForms this.splitContainer2.Panel2.Controls.Add(this.chkTestNoAuditUpload); this.splitContainer2.Panel2.Controls.Add(this.dgvSelectProduct); this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0); - this.splitContainer2.Size = new System.Drawing.Size(1524, 442); + this.splitContainer2.Size = new System.Drawing.Size(1605, 442); this.splitContainer2.SplitterDistance = 410; this.splitContainer2.TabIndex = 0; // @@ -1871,221 +1877,6 @@ namespace TemuKJD.WXForms.ProductForms this.dgvShop.TabIndex = 6; this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick); // - // 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(530, 196); - this.pbLoading.Name = "pbLoading"; - this.pbLoading.Size = new System.Drawing.Size(50, 50); - this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pbLoading.TabIndex = 780; - this.pbLoading.TabStop = false; - this.pbLoading.Visible = false; - // - // 并发上传 - // - this.并发上传.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.并发上传.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.并发上传.Cursor = System.Windows.Forms.Cursors.Hand; - this.并发上传.DisabledBackColor = System.Drawing.Color.Empty; - this.并发上传.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.并发上传.Location = new System.Drawing.Point(984, 30); - this.并发上传.Name = "并发上传"; - this.并发上传.Size = new System.Drawing.Size(118, 23); - this.并发上传.Style.Alignment = System.Drawing.StringAlignment.Center; - this.并发上传.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.并发上传.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.并发上传.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.并发上传.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; - this.并发上传.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; - this.并发上传.Style.ForeColor.Color = System.Drawing.Color.White; - this.并发上传.Style.GradientAngle = 90; - this.并发上传.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.并发上传.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.并发上传.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.并发上传.TabIndex = 768; - this.并发上传.Text = "测试并发上传"; - this.并发上传.Visible = false; - this.并发上传.Click += new System.EventHandler(this.并发上传_Click); - // - // chkImgRandomBlock - // - this.chkImgRandomBlock.AutoSize = true; - this.chkImgRandomBlock.Location = new System.Drawing.Point(11, 32); - this.chkImgRandomBlock.Name = "chkImgRandomBlock"; - this.chkImgRandomBlock.Size = new System.Drawing.Size(123, 21); - this.chkImgRandomBlock.TabIndex = 821; - this.chkImgRandomBlock.Text = "图书图片随机打码"; - this.chkImgRandomBlock.UseVisualStyleBackColor = true; - this.chkImgRandomBlock.Visible = false; - // - // label11 - // - this.label11.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.label11.AutoSize = true; - this.label11.Location = new System.Drawing.Point(8, 129); - this.label11.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(68, 17); - this.label11.TabIndex = 536; - this.label11.Text = "元,单买加"; - this.label11.Visible = false; - // - // txtSinglePriceAdd - // - this.txtSinglePriceAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.txtSinglePriceAdd.Location = new System.Drawing.Point(76, 126); - this.txtSinglePriceAdd.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2); - this.txtSinglePriceAdd.Name = "txtSinglePriceAdd"; - this.txtSinglePriceAdd.Size = new System.Drawing.Size(31, 23); - this.txtSinglePriceAdd.TabIndex = 587; - this.txtSinglePriceAdd.Text = "1.0"; - this.txtSinglePriceAdd.Visible = false; - this.txtSinglePriceAdd.TextChanged += new System.EventHandler(this.txtAddPrice_TextChanged); - // - // chkTestNoAuditUpload - // - this.chkTestNoAuditUpload.AutoSize = true; - this.chkTestNoAuditUpload.Location = new System.Drawing.Point(11, 59); - this.chkTestNoAuditUpload.Name = "chkTestNoAuditUpload"; - this.chkTestNoAuditUpload.Size = new System.Drawing.Size(123, 21); - this.chkTestNoAuditUpload.TabIndex = 779; - this.chkTestNoAuditUpload.Text = "测试免审提交商品"; - this.chkTestNoAuditUpload.UseVisualStyleBackColor = true; - this.chkTestNoAuditUpload.Visible = false; - // - // dgvSelectProduct - // - this.dgvSelectProduct.AllowUserToAddRows = false; - this.dgvSelectProduct.AllowUserToDeleteRows = false; - dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke; - this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3; - this.dgvSelectProduct.AutoRowNumber = true; - this.dgvSelectProduct.BackgroundColor = System.Drawing.Color.White; - this.dgvSelectProduct.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4; - this.dgvSelectProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dgvSelectProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.colCheck, - this.colSelectId, - this.colSupplierId, - this.colSupplierName, - this.colLogin, - this.colInShop, - this.colSpuId, - this.colSkcId, - this.colImgUrl, - this.colProductSkcPic, - this.colSkuFakeImgUrl, - this.colSkuFakeImg, - this.colProductName, - this.colProductCat, - this.colExtCode, - this.colMsg, - this.colDraftId, - this.colNotes, - this.colUserNotes, - this.ColDelete, - this.colAddTime, - this.colOpResult}); - this.dgvSelectProduct.Dock = System.Windows.Forms.DockStyle.Fill; - this.dgvSelectProduct.Location = new System.Drawing.Point(0, 0); - this.dgvSelectProduct.MultiSelectCheckBox = true; - this.dgvSelectProduct.Name = "dgvSelectProduct"; - this.dgvSelectProduct.ReadOnly = true; - this.dgvSelectProduct.RowTemplate.Height = 23; - this.dgvSelectProduct.Size = new System.Drawing.Size(1106, 442); - this.dgvSelectProduct.TabIndex = 187; - this.dgvSelectProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSelectProduct_CellContentClick); - // - // splitContainer4 - // - this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill; - this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; - this.splitContainer4.Location = new System.Drawing.Point(0, 0); - this.splitContainer4.Name = "splitContainer4"; - // - // splitContainer4.Panel1 - // - this.splitContainer4.Panel1.Controls.Add(this.statusBar); - // - // splitContainer4.Panel2 - // - this.splitContainer4.Panel2.Controls.Add(this.btnClear); - this.splitContainer4.Panel2.Controls.Add(this.panelEx1); - this.splitContainer4.Size = new System.Drawing.Size(1524, 26); - this.splitContainer4.SplitterDistance = 833; - this.splitContainer4.TabIndex = 3; - // - // statusBar - // - this.statusBar.BackColor = System.Drawing.Color.White; - this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill; - this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - 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(833, 26); - this.statusBar.TabIndex = 2; - // - // btnClear - // - this.btnClear.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.btnClear.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnClear.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnClear.DisabledBackColor = System.Drawing.Color.Empty; - this.btnClear.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnClear.Location = new System.Drawing.Point(475, 2); - this.btnClear.Name = "btnClear"; - this.btnClear.Size = new System.Drawing.Size(90, 21); - this.btnClear.Style.Alignment = System.Drawing.StringAlignment.Center; - this.btnClear.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnClear.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnClear.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.btnClear.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; - this.btnClear.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; - this.btnClear.Style.ForeColor.Color = System.Drawing.Color.White; - this.btnClear.Style.GradientAngle = 90; - this.btnClear.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.btnClear.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnClear.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnClear.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; - this.btnClear.TabIndex = 440; - this.btnClear.Text = "清空结果"; - this.btnClear.Visible = false; - // - // panelEx1 - // - this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control; - this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty; - this.panelEx1.Location = new System.Drawing.Point(568, 2); - this.panelEx1.Name = "panelEx1"; - this.panelEx1.Size = new System.Drawing.Size(115, 21); - this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; - this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); - this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); - this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.panelEx1.Style.GradientAngle = 90; - this.panelEx1.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; - this.panelEx1.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.panelEx1.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.panelEx1.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.panelEx1.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; - this.panelEx1.TabIndex = 668; - this.panelEx1.Text = "停止当前操作"; - this.panelEx1.Visible = false; - // // colSelect // this.colSelect.Frozen = true; @@ -2202,6 +1993,141 @@ namespace TemuKJD.WXForms.ProductForms this.colMessage.Name = "colMessage"; this.colMessage.ReadOnly = true; // + // 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(570, 196); + this.pbLoading.Name = "pbLoading"; + this.pbLoading.Size = new System.Drawing.Size(50, 50); + this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pbLoading.TabIndex = 780; + this.pbLoading.TabStop = false; + this.pbLoading.Visible = false; + // + // 并发上传 + // + this.并发上传.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.并发上传.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.并发上传.Cursor = System.Windows.Forms.Cursors.Hand; + this.并发上传.DisabledBackColor = System.Drawing.Color.Empty; + this.并发上传.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.并发上传.Location = new System.Drawing.Point(1065, 30); + this.并发上传.Name = "并发上传"; + this.并发上传.Size = new System.Drawing.Size(118, 23); + this.并发上传.Style.Alignment = System.Drawing.StringAlignment.Center; + this.并发上传.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.并发上传.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.并发上传.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.并发上传.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.并发上传.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.并发上传.Style.ForeColor.Color = System.Drawing.Color.White; + this.并发上传.Style.GradientAngle = 90; + this.并发上传.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.并发上传.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.并发上传.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.并发上传.TabIndex = 768; + this.并发上传.Text = "测试并发上传"; + this.并发上传.Visible = false; + this.并发上传.Click += new System.EventHandler(this.并发上传_Click); + // + // chkImgRandomBlock + // + this.chkImgRandomBlock.AutoSize = true; + this.chkImgRandomBlock.Location = new System.Drawing.Point(11, 32); + this.chkImgRandomBlock.Name = "chkImgRandomBlock"; + this.chkImgRandomBlock.Size = new System.Drawing.Size(123, 21); + this.chkImgRandomBlock.TabIndex = 821; + this.chkImgRandomBlock.Text = "图书图片随机打码"; + this.chkImgRandomBlock.UseVisualStyleBackColor = true; + this.chkImgRandomBlock.Visible = false; + // + // label11 + // + this.label11.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(8, 129); + this.label11.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(68, 17); + this.label11.TabIndex = 536; + this.label11.Text = "元,单买加"; + this.label11.Visible = false; + // + // txtSinglePriceAdd + // + this.txtSinglePriceAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.txtSinglePriceAdd.Location = new System.Drawing.Point(76, 126); + this.txtSinglePriceAdd.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2); + this.txtSinglePriceAdd.Name = "txtSinglePriceAdd"; + this.txtSinglePriceAdd.Size = new System.Drawing.Size(31, 23); + this.txtSinglePriceAdd.TabIndex = 587; + this.txtSinglePriceAdd.Text = "1.0"; + this.txtSinglePriceAdd.Visible = false; + this.txtSinglePriceAdd.TextChanged += new System.EventHandler(this.txtAddPrice_TextChanged); + // + // chkTestNoAuditUpload + // + this.chkTestNoAuditUpload.AutoSize = true; + this.chkTestNoAuditUpload.Location = new System.Drawing.Point(11, 59); + this.chkTestNoAuditUpload.Name = "chkTestNoAuditUpload"; + this.chkTestNoAuditUpload.Size = new System.Drawing.Size(123, 21); + this.chkTestNoAuditUpload.TabIndex = 779; + this.chkTestNoAuditUpload.Text = "测试免审提交商品"; + this.chkTestNoAuditUpload.UseVisualStyleBackColor = true; + this.chkTestNoAuditUpload.Visible = false; + // + // dgvSelectProduct + // + this.dgvSelectProduct.AllowUserToAddRows = false; + this.dgvSelectProduct.AllowUserToDeleteRows = false; + dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke; + this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3; + this.dgvSelectProduct.AutoRowNumber = true; + this.dgvSelectProduct.BackgroundColor = System.Drawing.Color.White; + this.dgvSelectProduct.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4; + this.dgvSelectProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvSelectProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.colCheck, + this.colSelectId, + this.colSupplierId, + this.colSupplierName, + this.colLogin, + this.colInShop, + this.colSpuId, + this.colSkcId, + this.colImgUrl, + this.colProductSkcPic, + this.colSkuFakeImgUrl, + this.colSkuFakeImg, + this.colProductName, + this.colProductCat, + this.colExtCode, + this.colMsg, + this.colDraftId, + this.colNotes, + this.colUserNotes, + this.ColDelete, + this.colAddTime, + this.colOpResult}); + this.dgvSelectProduct.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgvSelectProduct.Location = new System.Drawing.Point(0, 0); + this.dgvSelectProduct.MultiSelectCheckBox = true; + this.dgvSelectProduct.Name = "dgvSelectProduct"; + this.dgvSelectProduct.ReadOnly = true; + this.dgvSelectProduct.RowTemplate.Height = 23; + this.dgvSelectProduct.Size = new System.Drawing.Size(1187, 442); + this.dgvSelectProduct.TabIndex = 187; + this.dgvSelectProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSelectProduct_CellContentClick); + // // colCheck // this.colCheck.Frozen = true; @@ -2389,11 +2315,120 @@ namespace TemuKJD.WXForms.ProductForms this.colOpResult.ReadOnly = true; this.colOpResult.Width = 280; // + // splitContainer4 + // + this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; + this.splitContainer4.Location = new System.Drawing.Point(0, 0); + this.splitContainer4.Name = "splitContainer4"; + // + // splitContainer4.Panel1 + // + this.splitContainer4.Panel1.Controls.Add(this.statusBar); + // + // splitContainer4.Panel2 + // + this.splitContainer4.Panel2.Controls.Add(this.btnClear); + this.splitContainer4.Panel2.Controls.Add(this.panelEx1); + this.splitContainer4.Size = new System.Drawing.Size(1605, 26); + this.splitContainer4.SplitterDistance = 914; + this.splitContainer4.TabIndex = 3; + // + // statusBar + // + this.statusBar.BackColor = System.Drawing.Color.White; + this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill; + this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + 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(914, 26); + this.statusBar.TabIndex = 2; + // + // btnClear + // + this.btnClear.Anchor = System.Windows.Forms.AnchorStyles.Right; + this.btnClear.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnClear.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnClear.DisabledBackColor = System.Drawing.Color.Empty; + this.btnClear.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnClear.Location = new System.Drawing.Point(475, 2); + this.btnClear.Name = "btnClear"; + this.btnClear.Size = new System.Drawing.Size(90, 21); + this.btnClear.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnClear.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnClear.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnClear.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnClear.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnClear.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnClear.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnClear.Style.GradientAngle = 90; + this.btnClear.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnClear.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnClear.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnClear.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; + this.btnClear.TabIndex = 440; + this.btnClear.Text = "清空结果"; + this.btnClear.Visible = false; + // + // panelEx1 + // + this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control; + this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty; + this.panelEx1.Location = new System.Drawing.Point(568, 2); + this.panelEx1.Name = "panelEx1"; + this.panelEx1.Size = new System.Drawing.Size(115, 21); + this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; + this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.panelEx1.Style.GradientAngle = 90; + this.panelEx1.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; + this.panelEx1.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.panelEx1.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.panelEx1.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.panelEx1.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; + this.panelEx1.TabIndex = 668; + this.panelEx1.Text = "停止当前操作"; + this.panelEx1.Visible = false; + // + // chkDefaultBestBefore + // + this.chkDefaultBestBefore.AutoSize = true; + this.chkDefaultBestBefore.Location = new System.Drawing.Point(850, 110); + this.chkDefaultBestBefore.Name = "chkDefaultBestBefore"; + this.chkDefaultBestBefore.Size = new System.Drawing.Size(111, 21); + this.chkDefaultBestBefore.TabIndex = 902; + this.chkDefaultBestBefore.Text = "食品默认保质期"; + this.chkDefaultBestBefore.UseVisualStyleBackColor = true; + // + // txtDefaultBestBefore + // + this.txtDefaultBestBefore.Location = new System.Drawing.Point(953, 109); + this.txtDefaultBestBefore.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); + this.txtDefaultBestBefore.Name = "txtDefaultBestBefore"; + this.txtDefaultBestBefore.Size = new System.Drawing.Size(32, 23); + this.txtDefaultBestBefore.TabIndex = 903; + this.txtDefaultBestBefore.Text = "90"; + // + // label25 + // + this.label25.AutoSize = true; + this.label25.Location = new System.Drawing.Point(985, 112); + this.label25.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.label25.Name = "label25"; + this.label25.Size = new System.Drawing.Size(20, 17); + this.label25.TabIndex = 904; + this.label25.Text = "天"; + // // WXDBProdUploadForm // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.BackColor = System.Drawing.Color.White; - this.ClientSize = new System.Drawing.Size(1524, 641); + this.ClientSize = new System.Drawing.Size(1605, 641); 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; @@ -2593,5 +2628,8 @@ namespace TemuKJD.WXForms.ProductForms private System.Windows.Forms.DataGridViewLinkColumn ColDelete; private System.Windows.Forms.DataGridViewTextBoxColumn colAddTime; private System.Windows.Forms.DataGridViewTextBoxColumn colOpResult; + private System.Windows.Forms.Label label25; + private System.Windows.Forms.TextBox txtDefaultBestBefore; + private UserComponent.UcCheckBox chkDefaultBestBefore; } } \ No newline at end of file diff --git a/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.cs b/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.cs index 5d4e80c..d0199ec 100644 --- a/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.cs +++ b/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.cs @@ -1118,7 +1118,7 @@ namespace TemuKJD.WXForms.ProductForms } result = UploadProduct(shop, kjdDbProdTmp, selectProd, row.Cells["colOpResult"], startTime); - if (result.Contains("今日提审次数已用尽,请明日再试") || result.Contains("如需上架请先缴纳足额保证金")) + if (result.Contains("今日提审次数已用尽,请明日再试") || result.Contains("如需上架请先缴纳足额保证金") || result.Contains("在架商品数已达到上限")) { var shopRow = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ParseToString() == shop.ShopId); if (shopRow != null) @@ -3267,7 +3267,11 @@ namespace TemuKJD.WXForms.ProductForms attrValue = "常温"; if (attr.name == "保质期") { - return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"食品属性不含保质期,跳过上传\"}"; + if (chkDefaultBestBefore.Checked == false) + return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"食品属性不含保质期,跳过上传\"}"; + if (txtDefaultBestBefore.Text.ParseToInt() < 30) + return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"食品默认保质期设置小于30天,跳过上传\"}"; + attrValue = txtDefaultBestBefore.Text.ParseToInt() + " 天"; } } } diff --git a/TEMUKJD/WXForms/ProductForms/WXOrderListForm.Designer.cs b/TEMUKJD/WXForms/ProductForms/WXOrderListForm.Designer.cs new file mode 100644 index 0000000..bf4b6e0 --- /dev/null +++ b/TEMUKJD/WXForms/ProductForms/WXOrderListForm.Designer.cs @@ -0,0 +1,2410 @@ + +using TemuKJD.PDDForms.ProductSelectForms; + +namespace TemuKJD.WXForms.ProductForms +{ + partial class WXOrderListForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle(); + this.splitContainer1 = new System.Windows.Forms.SplitContainer(); + this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components); + this.dtpFilterEndTime = new System.Windows.Forms.DateTimePicker(); + this.dtpFilterBeginTime = new System.Windows.Forms.DateTimePicker(); + this.txtFilterTitleNotContainWords = new System.Windows.Forms.TextBox(); + this.label19 = new System.Windows.Forms.Label(); + this.cmbFilterOrderShopGroup = new TemuKJD.UserComponent.UcComboBoxMutiSelect(); + this.label15 = new System.Windows.Forms.Label(); + this.label18 = new System.Windows.Forms.Label(); + this.txtFilterOrderShopName = new System.Windows.Forms.TextBox(); + this.txtFilterNotesNotContainWords = new System.Windows.Forms.TextBox(); + this.label14 = new System.Windows.Forms.Label(); + this.label13 = new System.Windows.Forms.Label(); + this.cmbFilterOrderStatus = new System.Windows.Forms.ComboBox(); + this.btnRestore = new DevComponents.DotNetBar.PanelEx(); + this.btnFilterOrder = new DevComponents.DotNetBar.PanelEx(); + this.label10 = new System.Windows.Forms.Label(); + this.txtFilterOrderProdInfo = new System.Windows.Forms.TextBox(); + this.label9 = new System.Windows.Forms.Label(); + this.txtFilterOrderId = new System.Windows.Forms.TextBox(); + this.btnBatchDel = new DevComponents.DotNetBar.PanelEx(); + this.label4 = new System.Windows.Forms.Label(); + this.btnFiltSelect = new DevComponents.DotNetBar.PanelEx(); + this.btnStopOp = new DevComponents.DotNetBar.PanelEx(); + this.btnClearList = new DevComponents.DotNetBar.PanelEx(); + this.btnCancel = new DevComponents.DotNetBar.PanelEx(); + this.chkFilterBeginTime = new TemuKJD.UserComponent.UcCheckBox(this.components); + this.chkFilterEndTime = new TemuKJD.UserComponent.UcCheckBox(this.components); + this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components); + this.chkHasSend = new TemuKJD.UserComponent.UcCheckBox(this.components); + this.chkWaitSend = new TemuKJD.UserComponent.UcCheckBox(this.components); + this.label1 = new System.Windows.Forms.Label(); + this.btnStopSearch = new DevComponents.DotNetBar.PanelEx(); + this.btnClearFilter = new DevComponents.DotNetBar.PanelEx(); + this.btnSearchOrder = new DevComponents.DotNetBar.PanelEx(); + this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components); + this.btnSelectOffline = new DevComponents.DotNetBar.PanelEx(); + this.btnSelectOnline = new DevComponents.DotNetBar.PanelEx(); + this.cmbFilterShopGroup = new TemuKJD.UserComponent.UcComboBoxMutiSelect(); + this.btnEmptyShop = new DevComponents.DotNetBar.PanelEx(); + this.btnFilterShop = new DevComponents.DotNetBar.PanelEx(); + this.btnRefreshShop = new DevComponents.DotNetBar.PanelEx(); + this.btnReverse = new DevComponents.DotNetBar.PanelEx(); + this.btnAddUnSelect = new DevComponents.DotNetBar.PanelEx(); + this.cmbFilterShopNotes = new TemuKJD.UserComponent.UcComboBoxMutiSelect(); + this.btnAddSelect = new DevComponents.DotNetBar.PanelEx(); + this.label16 = new System.Windows.Forms.Label(); + this.txtFilterShopName = new System.Windows.Forms.TextBox(); + this.label17 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.splitContainer3 = new System.Windows.Forms.SplitContainer(); + this.splitContainer2 = new System.Windows.Forms.SplitContainer(); + this.pbLoadingShop = new System.Windows.Forms.PictureBox(); + this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx(); + this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.colShopLoginName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colShopName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colShopNotes = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colGroup = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colSelectProduct = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colLoginStatus = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colApi = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colCanUse = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.colUploadCount = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colOnSaleNum = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colRemaining = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.pnlBuyUrl = new System.Windows.Forms.Panel(); + this.lblBuyUrlSpuCode = new System.Windows.Forms.Label(); + this.lblBuyUrlShopId = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.txtBuyUrl = new System.Windows.Forms.TextBox(); + this.btnBuyUrlCancel = new DevComponents.DotNetBar.PanelEx(); + this.btnBuyUrlOk = new DevComponents.DotNetBar.PanelEx(); + this.lblBuyUrlOrderId = new System.Windows.Forms.Label(); + this.lblBuyUrlShopName = new System.Windows.Forms.Label(); + this.label12 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.pnlEditReceiveInfo = new System.Windows.Forms.Panel(); + this.lblEditReceiveInfoShopId = new System.Windows.Forms.Label(); + this.label8 = new System.Windows.Forms.Label(); + this.txtEditReceiveInfoAddress = new System.Windows.Forms.TextBox(); + this.btnEditReceiveInfoCancel = new DevComponents.DotNetBar.PanelEx(); + this.btnEditReceiveInfoOk = new DevComponents.DotNetBar.PanelEx(); + this.lblEditReceiveInfoOrderId = new System.Windows.Forms.Label(); + this.lblEditReceiveInfoShopName = new System.Windows.Forms.Label(); + this.label11 = new System.Windows.Forms.Label(); + this.pnlUpdateNotes = new System.Windows.Forms.Panel(); + this.lblColorTag = new System.Windows.Forms.Label(); + this.ucCheckBox5 = new TemuKJD.UserComponent.UcCheckBox(this.components); + this.ucCheckBox4 = new TemuKJD.UserComponent.UcCheckBox(this.components); + this.ucCheckBox3 = new TemuKJD.UserComponent.UcCheckBox(this.components); + this.ucCheckBox2 = new TemuKJD.UserComponent.UcCheckBox(this.components); + this.ucCheckBox1 = new TemuKJD.UserComponent.UcCheckBox(this.components); + this.lblShopId = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.txtNotes = new System.Windows.Forms.TextBox(); + this.btnNotesCancel = new DevComponents.DotNetBar.PanelEx(); + this.btnNotesOK = new DevComponents.DotNetBar.PanelEx(); + this.lblOrderId = new System.Windows.Forms.Label(); + this.lblShopName = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.pbLoading = new System.Windows.Forms.PictureBox(); + this.dgvOrder = new TemuKJD.UserComponent.DataGridViewEx(); + this.splitContainer4 = new System.Windows.Forms.SplitContainer(); + this.statusBar = new TemuKJD.UserControls.StatusBarUserControl(); + this.btnClear = new DevComponents.DotNetBar.PanelEx(); + this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); + this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.colSupplierId = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colSupplierName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colOrderShopNotes = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colOrderShopGroup = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colLogin = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colInShop = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colOrderId = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colOrderTimeFull = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colOrderTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colImgUrl = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colProductSkcPic = new System.Windows.Forms.DataGridViewImageColumn(); + this.colProdInfo = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colDraftId = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colProductName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colSpuCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colSkuId = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colSkuSpec = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colSkuCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colCnt = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colPriceCnt = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colTotalPrice = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colDiscount = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colOrderStatus = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colBuyUrl = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colEditBuyPath = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colReceiveInfo = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colDecrypt = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colOnlineWaybill = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colAddReceiveInfo = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colNotes = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colNotesColor = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colEditNotes = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colOpResult = new System.Windows.Forms.DataGridViewTextBoxColumn(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); + this.splitContainer1.Panel1.SuspendLayout(); + this.splitContainer1.Panel2.SuspendLayout(); + this.splitContainer1.SuspendLayout(); + this.ucGroupBoxEx3.SuspendLayout(); + this.ucGroupBoxEx4.SuspendLayout(); + this.ucGroupBoxEx1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit(); + this.splitContainer3.Panel1.SuspendLayout(); + this.splitContainer3.Panel2.SuspendLayout(); + this.splitContainer3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); + this.splitContainer2.Panel1.SuspendLayout(); + this.splitContainer2.Panel2.SuspendLayout(); + this.splitContainer2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pbLoadingShop)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit(); + this.pnlBuyUrl.SuspendLayout(); + this.pnlEditReceiveInfo.SuspendLayout(); + this.pnlUpdateNotes.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvOrder)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit(); + this.splitContainer4.Panel1.SuspendLayout(); + this.splitContainer4.Panel2.SuspendLayout(); + this.splitContainer4.SuspendLayout(); + this.SuspendLayout(); + // + // splitContainer1 + // + this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; + this.splitContainer1.Location = new System.Drawing.Point(0, 0); + this.splitContainer1.Name = "splitContainer1"; + this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; + // + // splitContainer1.Panel1 + // + this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx3); + this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx4); + this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx1); + // + // splitContainer1.Panel2 + // + this.splitContainer1.Panel2.Controls.Add(this.splitContainer3); + this.splitContainer1.Size = new System.Drawing.Size(1698, 641); + this.splitContainer1.SplitterDistance = 165; + this.splitContainer1.TabIndex = 11; + // + // ucGroupBoxEx3 + // + this.ucGroupBoxEx3.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.ucGroupBoxEx3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.ucGroupBoxEx3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.ucGroupBoxEx3.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND; + this.ucGroupBoxEx3.Controls.Add(this.dtpFilterEndTime); + this.ucGroupBoxEx3.Controls.Add(this.dtpFilterBeginTime); + this.ucGroupBoxEx3.Controls.Add(this.txtFilterTitleNotContainWords); + this.ucGroupBoxEx3.Controls.Add(this.label19); + this.ucGroupBoxEx3.Controls.Add(this.cmbFilterOrderShopGroup); + this.ucGroupBoxEx3.Controls.Add(this.label15); + this.ucGroupBoxEx3.Controls.Add(this.label18); + this.ucGroupBoxEx3.Controls.Add(this.txtFilterOrderShopName); + this.ucGroupBoxEx3.Controls.Add(this.txtFilterNotesNotContainWords); + this.ucGroupBoxEx3.Controls.Add(this.label14); + this.ucGroupBoxEx3.Controls.Add(this.label13); + this.ucGroupBoxEx3.Controls.Add(this.cmbFilterOrderStatus); + this.ucGroupBoxEx3.Controls.Add(this.btnRestore); + this.ucGroupBoxEx3.Controls.Add(this.btnFilterOrder); + this.ucGroupBoxEx3.Controls.Add(this.label10); + this.ucGroupBoxEx3.Controls.Add(this.txtFilterOrderProdInfo); + this.ucGroupBoxEx3.Controls.Add(this.label9); + this.ucGroupBoxEx3.Controls.Add(this.txtFilterOrderId); + this.ucGroupBoxEx3.Controls.Add(this.btnBatchDel); + this.ucGroupBoxEx3.Controls.Add(this.label4); + this.ucGroupBoxEx3.Controls.Add(this.btnFiltSelect); + this.ucGroupBoxEx3.Controls.Add(this.btnStopOp); + this.ucGroupBoxEx3.Controls.Add(this.btnClearList); + this.ucGroupBoxEx3.Controls.Add(this.btnCancel); + this.ucGroupBoxEx3.Controls.Add(this.chkFilterBeginTime); + this.ucGroupBoxEx3.Controls.Add(this.chkFilterEndTime); + this.ucGroupBoxEx3.Location = new System.Drawing.Point(595, 2); + this.ucGroupBoxEx3.Name = "ucGroupBoxEx3"; + this.ucGroupBoxEx3.Size = new System.Drawing.Size(1101, 165); + this.ucGroupBoxEx3.TabIndex = 668; + this.ucGroupBoxEx3.TabStop = false; + this.ucGroupBoxEx3.Text = "订单操作"; + // + // dtpFilterEndTime + // + this.dtpFilterEndTime.CustomFormat = "yyyy-MM-dd HH:mm"; + this.dtpFilterEndTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom; + this.dtpFilterEndTime.Location = new System.Drawing.Point(326, 89); + this.dtpFilterEndTime.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); + this.dtpFilterEndTime.Name = "dtpFilterEndTime"; + this.dtpFilterEndTime.Size = new System.Drawing.Size(178, 23); + this.dtpFilterEndTime.TabIndex = 980; + // + // dtpFilterBeginTime + // + this.dtpFilterBeginTime.CustomFormat = "yyyy-MM-dd HH:mm"; + this.dtpFilterBeginTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom; + this.dtpFilterBeginTime.Location = new System.Drawing.Point(87, 89); + this.dtpFilterBeginTime.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); + this.dtpFilterBeginTime.Name = "dtpFilterBeginTime"; + this.dtpFilterBeginTime.Size = new System.Drawing.Size(178, 23); + this.dtpFilterBeginTime.TabIndex = 979; + // + // txtFilterTitleNotContainWords + // + this.txtFilterTitleNotContainWords.Font = new System.Drawing.Font("微软雅黑", 10F); + this.txtFilterTitleNotContainWords.Location = new System.Drawing.Point(576, 88); + this.txtFilterTitleNotContainWords.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2); + this.txtFilterTitleNotContainWords.Name = "txtFilterTitleNotContainWords"; + this.txtFilterTitleNotContainWords.Size = new System.Drawing.Size(178, 25); + this.txtFilterTitleNotContainWords.TabIndex = 940; + // + // label19 + // + this.label19.AutoSize = true; + this.label19.Location = new System.Drawing.Point(509, 93); + this.label19.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(68, 17); + this.label19.TabIndex = 939; + this.label19.Text = "标题不包含"; + // + // cmbFilterOrderShopGroup + // + this.cmbFilterOrderShopGroup.DefaultText = "全部"; + this.cmbFilterOrderShopGroup.DropDownHeight = 1; + this.cmbFilterOrderShopGroup.DropDownWidth = 1; + this.cmbFilterOrderShopGroup.FormattingEnabled = true; + this.cmbFilterOrderShopGroup.IntegralHeight = false; + this.cmbFilterOrderShopGroup.Location = new System.Drawing.Point(87, 59); + this.cmbFilterOrderShopGroup.Name = "cmbFilterOrderShopGroup"; + this.cmbFilterOrderShopGroup.Size = new System.Drawing.Size(178, 25); + this.cmbFilterOrderShopGroup.TabIndex = 916; + this.cmbFilterOrderShopGroup.Text = "全部"; + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Location = new System.Drawing.Point(31, 63); + this.label15.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(56, 17); + this.label15.TabIndex = 915; + this.label15.Text = "店铺分组"; + // + // label18 + // + this.label18.AutoSize = true; + this.label18.Location = new System.Drawing.Point(31, 34); + this.label18.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(56, 17); + this.label18.TabIndex = 913; + this.label18.Text = "店铺名称"; + // + // txtFilterOrderShopName + // + this.txtFilterOrderShopName.Font = new System.Drawing.Font("微软雅黑", 10F); + this.txtFilterOrderShopName.Location = new System.Drawing.Point(87, 30); + this.txtFilterOrderShopName.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2); + this.txtFilterOrderShopName.Name = "txtFilterOrderShopName"; + this.txtFilterOrderShopName.Size = new System.Drawing.Size(178, 25); + this.txtFilterOrderShopName.TabIndex = 912; + // + // txtFilterNotesNotContainWords + // + this.txtFilterNotesNotContainWords.Font = new System.Drawing.Font("微软雅黑", 10F); + this.txtFilterNotesNotContainWords.Location = new System.Drawing.Point(576, 59); + this.txtFilterNotesNotContainWords.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2); + this.txtFilterNotesNotContainWords.Name = "txtFilterNotesNotContainWords"; + this.txtFilterNotesNotContainWords.Size = new System.Drawing.Size(178, 25); + this.txtFilterNotesNotContainWords.TabIndex = 890; + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Location = new System.Drawing.Point(509, 63); + this.label14.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(68, 17); + this.label14.TabIndex = 889; + this.label14.Text = "备注不包含"; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Location = new System.Drawing.Point(520, 34); + this.label13.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(56, 17); + this.label13.TabIndex = 867; + this.label13.Text = "订单状态"; + // + // cmbFilterOrderStatus + // + this.cmbFilterOrderStatus.FormattingEnabled = true; + this.cmbFilterOrderStatus.Items.AddRange(new object[] { + "待发货", + "已发货"}); + this.cmbFilterOrderStatus.Location = new System.Drawing.Point(576, 30); + this.cmbFilterOrderStatus.Name = "cmbFilterOrderStatus"; + this.cmbFilterOrderStatus.Size = new System.Drawing.Size(178, 25); + this.cmbFilterOrderStatus.TabIndex = 866; + // + // btnRestore + // + this.btnRestore.CanvasColor = System.Drawing.SystemColors.Control; + this.btnRestore.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnRestore.DisabledBackColor = System.Drawing.Color.Empty; + this.btnRestore.Location = new System.Drawing.Point(759, 59); + this.btnRestore.Name = "btnRestore"; + this.btnRestore.Size = new System.Drawing.Size(60, 25); + this.btnRestore.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnRestore.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnRestore.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnRestore.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.btnRestore.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnRestore.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.btnRestore.Style.GradientAngle = 90; + this.btnRestore.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; + this.btnRestore.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnRestore.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnRestore.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnRestore.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; + this.btnRestore.TabIndex = 844; + this.btnRestore.Text = "重置"; + this.btnRestore.Click += new System.EventHandler(this.btnRestore_Click); + // + // btnFilterOrder + // + this.btnFilterOrder.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnFilterOrder.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnFilterOrder.DisabledBackColor = System.Drawing.Color.Empty; + this.btnFilterOrder.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnFilterOrder.Location = new System.Drawing.Point(759, 30); + this.btnFilterOrder.Name = "btnFilterOrder"; + this.btnFilterOrder.Size = new System.Drawing.Size(60, 25); + this.btnFilterOrder.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnFilterOrder.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnFilterOrder.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnFilterOrder.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnFilterOrder.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnFilterOrder.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnFilterOrder.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnFilterOrder.Style.GradientAngle = 90; + this.btnFilterOrder.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnFilterOrder.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnFilterOrder.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnFilterOrder.TabIndex = 840; + this.btnFilterOrder.Text = "订单过滤"; + this.btnFilterOrder.Click += new System.EventHandler(this.btnFilterOrder_Click); + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(270, 63); + this.label10.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(56, 17); + this.label10.TabIndex = 836; + this.label10.Text = "商品信息"; + // + // txtFilterOrderProdInfo + // + this.txtFilterOrderProdInfo.Font = new System.Drawing.Font("微软雅黑", 10F); + this.txtFilterOrderProdInfo.Location = new System.Drawing.Point(326, 59); + this.txtFilterOrderProdInfo.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2); + this.txtFilterOrderProdInfo.Name = "txtFilterOrderProdInfo"; + this.txtFilterOrderProdInfo.Size = new System.Drawing.Size(178, 25); + this.txtFilterOrderProdInfo.TabIndex = 835; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Location = new System.Drawing.Point(270, 34); + this.label9.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(56, 17); + this.label9.TabIndex = 834; + this.label9.Text = "订单编号"; + // + // txtFilterOrderId + // + this.txtFilterOrderId.Font = new System.Drawing.Font("微软雅黑", 10F); + this.txtFilterOrderId.Location = new System.Drawing.Point(326, 30); + this.txtFilterOrderId.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2); + this.txtFilterOrderId.Name = "txtFilterOrderId"; + this.txtFilterOrderId.Size = new System.Drawing.Size(178, 25); + this.txtFilterOrderId.TabIndex = 833; + // + // btnBatchDel + // + this.btnBatchDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnBatchDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnBatchDel.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnBatchDel.DisabledBackColor = System.Drawing.Color.Empty; + this.btnBatchDel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnBatchDel.Location = new System.Drawing.Point(995, 61); + this.btnBatchDel.Name = "btnBatchDel"; + this.btnBatchDel.Size = new System.Drawing.Size(84, 23); + this.btnBatchDel.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnBatchDel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnBatchDel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnBatchDel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnBatchDel.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnBatchDel.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnBatchDel.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnBatchDel.Style.GradientAngle = 90; + this.btnBatchDel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnBatchDel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnBatchDel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnBatchDel.TabIndex = 817; + this.btnBatchDel.Text = "批量代发"; + this.btnBatchDel.Visible = false; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(977, 34); + this.label4.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(116, 17); + this.label4.TabIndex = 801; + this.label4.Text = "含有外采备注的订单"; + this.label4.Visible = false; + // + // btnFiltSelect + // + this.btnFiltSelect.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnFiltSelect.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnFiltSelect.DisabledBackColor = System.Drawing.Color.Empty; + this.btnFiltSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnFiltSelect.Location = new System.Drawing.Point(891, 31); + this.btnFiltSelect.Name = "btnFiltSelect"; + this.btnFiltSelect.Size = new System.Drawing.Size(84, 23); + this.btnFiltSelect.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnFiltSelect.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnFiltSelect.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnFiltSelect.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnFiltSelect.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnFiltSelect.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnFiltSelect.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnFiltSelect.Style.GradientAngle = 90; + this.btnFiltSelect.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnFiltSelect.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnFiltSelect.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnFiltSelect.TabIndex = 794; + this.btnFiltSelect.Text = "批量选择"; + this.btnFiltSelect.Visible = false; + this.btnFiltSelect.Click += new System.EventHandler(this.btnFiltSelect_Click); + // + // btnStopOp + // + this.btnStopOp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnStopOp.CanvasColor = System.Drawing.SystemColors.Control; + this.btnStopOp.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnStopOp.DisabledBackColor = System.Drawing.Color.Empty; + this.btnStopOp.Location = new System.Drawing.Point(995, 121); + this.btnStopOp.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2); + this.btnStopOp.Name = "btnStopOp"; + this.btnStopOp.Size = new System.Drawing.Size(84, 23); + this.btnStopOp.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnStopOp.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnStopOp.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnStopOp.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.btnStopOp.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnStopOp.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.btnStopOp.Style.GradientAngle = 90; + this.btnStopOp.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; + this.btnStopOp.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnStopOp.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnStopOp.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnStopOp.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; + this.btnStopOp.TabIndex = 546; + this.btnStopOp.Text = "停止操作"; + this.btnStopOp.Visible = false; + this.btnStopOp.Click += new System.EventHandler(this.btnStop_Click); + // + // btnClearList + // + this.btnClearList.CanvasColor = System.Drawing.SystemColors.Control; + this.btnClearList.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnClearList.DisabledBackColor = System.Drawing.Color.Empty; + this.btnClearList.Location = new System.Drawing.Point(891, 68); + this.btnClearList.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2); + this.btnClearList.Name = "btnClearList"; + this.btnClearList.Size = new System.Drawing.Size(84, 23); + this.btnClearList.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnClearList.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnClearList.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnClearList.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.btnClearList.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnClearList.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.btnClearList.Style.GradientAngle = 90; + this.btnClearList.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; + this.btnClearList.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnClearList.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnClearList.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnClearList.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; + this.btnClearList.TabIndex = 612; + this.btnClearList.Text = "清空列表选中"; + this.btnClearList.Visible = false; + this.btnClearList.Click += new System.EventHandler(this.btnClearDgv_Click); + // + // btnCancel + // + this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnCancel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnCancel.DisabledBackColor = System.Drawing.Color.Empty; + this.btnCancel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnCancel.Location = new System.Drawing.Point(995, 31); + this.btnCancel.Name = "btnCancel"; + this.btnCancel.Size = new System.Drawing.Size(84, 23); + this.btnCancel.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnCancel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnCancel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnCancel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnCancel.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnCancel.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnCancel.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnCancel.Style.GradientAngle = 90; + this.btnCancel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnCancel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnCancel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnCancel.TabIndex = 517; + this.btnCancel.Text = "批量取消"; + this.btnCancel.Visible = false; + this.btnCancel.Click += new System.EventHandler(this.btnCancelConsignment_Click); + // + // chkFilterBeginTime + // + this.chkFilterBeginTime.AutoSize = true; + this.chkFilterBeginTime.Location = new System.Drawing.Point(41, 90); + this.chkFilterBeginTime.Name = "chkFilterBeginTime"; + this.chkFilterBeginTime.Size = new System.Drawing.Size(51, 21); + this.chkFilterBeginTime.TabIndex = 981; + this.chkFilterBeginTime.Text = "开始"; + this.chkFilterBeginTime.UseVisualStyleBackColor = true; + // + // chkFilterEndTime + // + this.chkFilterEndTime.AutoSize = true; + this.chkFilterEndTime.Location = new System.Drawing.Point(281, 90); + this.chkFilterEndTime.Name = "chkFilterEndTime"; + this.chkFilterEndTime.Size = new System.Drawing.Size(51, 21); + this.chkFilterEndTime.TabIndex = 982; + this.chkFilterEndTime.Text = "结束"; + this.chkFilterEndTime.UseVisualStyleBackColor = true; + // + // ucGroupBoxEx4 + // + this.ucGroupBoxEx4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left))); + this.ucGroupBoxEx4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.ucGroupBoxEx4.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND; + this.ucGroupBoxEx4.Controls.Add(this.chkHasSend); + this.ucGroupBoxEx4.Controls.Add(this.chkWaitSend); + this.ucGroupBoxEx4.Controls.Add(this.label1); + this.ucGroupBoxEx4.Controls.Add(this.btnStopSearch); + this.ucGroupBoxEx4.Controls.Add(this.btnClearFilter); + this.ucGroupBoxEx4.Controls.Add(this.btnSearchOrder); + this.ucGroupBoxEx4.Location = new System.Drawing.Point(186, 2); + this.ucGroupBoxEx4.Name = "ucGroupBoxEx4"; + this.ucGroupBoxEx4.Size = new System.Drawing.Size(410, 165); + this.ucGroupBoxEx4.TabIndex = 666; + this.ucGroupBoxEx4.TabStop = false; + this.ucGroupBoxEx4.Text = "商品流量查询"; + // + // chkHasSend + // + this.chkHasSend.AutoSize = true; + this.chkHasSend.Checked = true; + this.chkHasSend.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkHasSend.Location = new System.Drawing.Point(137, 27); + this.chkHasSend.Name = "chkHasSend"; + this.chkHasSend.Size = new System.Drawing.Size(63, 21); + this.chkHasSend.TabIndex = 840; + this.chkHasSend.Text = "已发货"; + this.chkHasSend.UseVisualStyleBackColor = true; + // + // chkWaitSend + // + this.chkWaitSend.AutoSize = true; + this.chkWaitSend.Checked = true; + this.chkWaitSend.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkWaitSend.Location = new System.Drawing.Point(75, 27); + this.chkWaitSend.Name = "chkWaitSend"; + this.chkWaitSend.Size = new System.Drawing.Size(63, 21); + this.chkWaitSend.TabIndex = 839; + this.chkWaitSend.Text = "待发货"; + this.chkWaitSend.UseVisualStyleBackColor = true; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(13, 29); + this.label1.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(56, 17); + this.label1.TabIndex = 829; + this.label1.Text = "订单状态"; + // + // btnStopSearch + // + this.btnStopSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnStopSearch.CanvasColor = System.Drawing.SystemColors.Control; + this.btnStopSearch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnStopSearch.DisabledBackColor = System.Drawing.Color.Empty; + this.btnStopSearch.Location = new System.Drawing.Point(338, 127); + this.btnStopSearch.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2); + this.btnStopSearch.Name = "btnStopSearch"; + this.btnStopSearch.Size = new System.Drawing.Size(58, 25); + this.btnStopSearch.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnStopSearch.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnStopSearch.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnStopSearch.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.btnStopSearch.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnStopSearch.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.btnStopSearch.Style.GradientAngle = 90; + this.btnStopSearch.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; + this.btnStopSearch.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnStopSearch.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnStopSearch.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnStopSearch.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; + this.btnStopSearch.TabIndex = 805; + this.btnStopSearch.Text = "停止查询"; + this.btnStopSearch.Click += new System.EventHandler(this.btnStop_Click); + // + // btnClearFilter + // + this.btnClearFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnClearFilter.CanvasColor = System.Drawing.SystemColors.Control; + this.btnClearFilter.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnClearFilter.DisabledBackColor = System.Drawing.Color.Empty; + this.btnClearFilter.Location = new System.Drawing.Point(338, 25); + this.btnClearFilter.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2); + this.btnClearFilter.Name = "btnClearFilter"; + this.btnClearFilter.Size = new System.Drawing.Size(58, 25); + this.btnClearFilter.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnClearFilter.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnClearFilter.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnClearFilter.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.btnClearFilter.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnClearFilter.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.btnClearFilter.Style.GradientAngle = 90; + this.btnClearFilter.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; + this.btnClearFilter.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnClearFilter.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnClearFilter.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnClearFilter.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; + this.btnClearFilter.TabIndex = 548; + this.btnClearFilter.Text = "还原条件"; + this.btnClearFilter.Click += new System.EventHandler(this.btnClearFilter_Click); + // + // btnSearchOrder + // + this.btnSearchOrder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnSearchOrder.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnSearchOrder.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnSearchOrder.DisabledBackColor = System.Drawing.Color.Empty; + this.btnSearchOrder.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnSearchOrder.Location = new System.Drawing.Point(239, 127); + this.btnSearchOrder.Name = "btnSearchOrder"; + this.btnSearchOrder.Size = new System.Drawing.Size(96, 25); + this.btnSearchOrder.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnSearchOrder.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnSearchOrder.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnSearchOrder.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnSearchOrder.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnSearchOrder.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnSearchOrder.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnSearchOrder.Style.GradientAngle = 90; + this.btnSearchOrder.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnSearchOrder.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnSearchOrder.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnSearchOrder.TabIndex = 431; + this.btnSearchOrder.Text = "订单查询"; + this.btnSearchOrder.Click += new System.EventHandler(this.btnSearchProd_Click); + // + // ucGroupBoxEx1 + // + this.ucGroupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left))); + this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND; + this.ucGroupBoxEx1.Controls.Add(this.btnSelectOffline); + this.ucGroupBoxEx1.Controls.Add(this.btnSelectOnline); + this.ucGroupBoxEx1.Controls.Add(this.cmbFilterShopGroup); + this.ucGroupBoxEx1.Controls.Add(this.btnEmptyShop); + this.ucGroupBoxEx1.Controls.Add(this.btnFilterShop); + this.ucGroupBoxEx1.Controls.Add(this.btnRefreshShop); + this.ucGroupBoxEx1.Controls.Add(this.btnReverse); + this.ucGroupBoxEx1.Controls.Add(this.btnAddUnSelect); + this.ucGroupBoxEx1.Controls.Add(this.cmbFilterShopNotes); + this.ucGroupBoxEx1.Controls.Add(this.btnAddSelect); + this.ucGroupBoxEx1.Controls.Add(this.label16); + this.ucGroupBoxEx1.Controls.Add(this.txtFilterShopName); + this.ucGroupBoxEx1.Controls.Add(this.label17); + this.ucGroupBoxEx1.Controls.Add(this.label3); + this.ucGroupBoxEx1.Location = new System.Drawing.Point(2, 2); + this.ucGroupBoxEx1.Name = "ucGroupBoxEx1"; + this.ucGroupBoxEx1.Size = new System.Drawing.Size(185, 165); + this.ucGroupBoxEx1.TabIndex = 399; + this.ucGroupBoxEx1.TabStop = false; + this.ucGroupBoxEx1.Text = "店铺筛选"; + // + // btnSelectOffline + // + this.btnSelectOffline.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnSelectOffline.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnSelectOffline.DisabledBackColor = System.Drawing.Color.Empty; + this.btnSelectOffline.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnSelectOffline.Location = new System.Drawing.Point(59, 139); + this.btnSelectOffline.Name = "btnSelectOffline"; + this.btnSelectOffline.Size = new System.Drawing.Size(48, 18); + this.btnSelectOffline.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnSelectOffline.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnSelectOffline.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnSelectOffline.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnSelectOffline.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnSelectOffline.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnSelectOffline.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnSelectOffline.Style.GradientAngle = 90; + this.btnSelectOffline.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnSelectOffline.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnSelectOffline.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnSelectOffline.TabIndex = 772; + this.btnSelectOffline.Text = "选掉线"; + this.btnSelectOffline.Click += new System.EventHandler(this.btnSelectOffline_Click); + // + // btnSelectOnline + // + this.btnSelectOnline.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnSelectOnline.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnSelectOnline.DisabledBackColor = System.Drawing.Color.Empty; + this.btnSelectOnline.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnSelectOnline.Location = new System.Drawing.Point(9, 139); + this.btnSelectOnline.Name = "btnSelectOnline"; + this.btnSelectOnline.Size = new System.Drawing.Size(48, 18); + this.btnSelectOnline.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnSelectOnline.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnSelectOnline.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnSelectOnline.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnSelectOnline.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnSelectOnline.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnSelectOnline.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnSelectOnline.Style.GradientAngle = 90; + this.btnSelectOnline.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnSelectOnline.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnSelectOnline.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnSelectOnline.TabIndex = 768; + this.btnSelectOnline.Text = "选在线"; + this.btnSelectOnline.Click += new System.EventHandler(this.btnSelectOnline_Click); + // + // cmbFilterShopGroup + // + this.cmbFilterShopGroup.DefaultText = "全部"; + this.cmbFilterShopGroup.DropDownHeight = 1; + this.cmbFilterShopGroup.DropDownWidth = 1; + this.cmbFilterShopGroup.FormattingEnabled = true; + this.cmbFilterShopGroup.IntegralHeight = false; + this.cmbFilterShopGroup.Location = new System.Drawing.Point(38, 92); + this.cmbFilterShopGroup.Name = "cmbFilterShopGroup"; + this.cmbFilterShopGroup.Size = new System.Drawing.Size(137, 25); + this.cmbFilterShopGroup.TabIndex = 829; + this.cmbFilterShopGroup.Text = "全部"; + // + // btnEmptyShop + // + this.btnEmptyShop.CanvasColor = System.Drawing.SystemColors.Control; + this.btnEmptyShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnEmptyShop.DisabledBackColor = System.Drawing.Color.Empty; + this.btnEmptyShop.Location = new System.Drawing.Point(143, 139); + this.btnEmptyShop.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2); + this.btnEmptyShop.Name = "btnEmptyShop"; + this.btnEmptyShop.Size = new System.Drawing.Size(32, 18); + this.btnEmptyShop.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnEmptyShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnEmptyShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnEmptyShop.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.btnEmptyShop.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnEmptyShop.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.btnEmptyShop.Style.GradientAngle = 90; + this.btnEmptyShop.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; + this.btnEmptyShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnEmptyShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnEmptyShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnEmptyShop.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; + this.btnEmptyShop.TabIndex = 713; + this.btnEmptyShop.Text = "清空"; + this.btnEmptyShop.Click += new System.EventHandler(this.btnEmptyShop_Click); + // + // btnFilterShop + // + this.btnFilterShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnFilterShop.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnFilterShop.DisabledBackColor = System.Drawing.Color.Empty; + this.btnFilterShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnFilterShop.Location = new System.Drawing.Point(143, 119); + this.btnFilterShop.Name = "btnFilterShop"; + this.btnFilterShop.Size = new System.Drawing.Size(32, 18); + this.btnFilterShop.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnFilterShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnFilterShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnFilterShop.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnFilterShop.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnFilterShop.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnFilterShop.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnFilterShop.Style.GradientAngle = 90; + this.btnFilterShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnFilterShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnFilterShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnFilterShop.TabIndex = 703; + this.btnFilterShop.Text = "过滤"; + this.btnFilterShop.Click += new System.EventHandler(this.btnFilterShop_Click); + // + // btnRefreshShop + // + this.btnRefreshShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnRefreshShop.DisabledBackColor = System.Drawing.Color.Empty; + this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnRefreshShop.Location = new System.Drawing.Point(9, 18); + this.btnRefreshShop.Name = "btnRefreshShop"; + this.btnRefreshShop.Size = new System.Drawing.Size(166, 18); + this.btnRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnRefreshShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnRefreshShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnRefreshShop.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnRefreshShop.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnRefreshShop.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnRefreshShop.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnRefreshShop.Style.GradientAngle = 90; + this.btnRefreshShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnRefreshShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnRefreshShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnRefreshShop.TabIndex = 431; + this.btnRefreshShop.Text = "刷新店铺"; + this.btnRefreshShop.Click += new System.EventHandler(this.btnRefreshShop_Click); + // + // btnReverse + // + this.btnReverse.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnReverse.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnReverse.DisabledBackColor = System.Drawing.Color.Empty; + this.btnReverse.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnReverse.Location = new System.Drawing.Point(109, 139); + this.btnReverse.Name = "btnReverse"; + this.btnReverse.Size = new System.Drawing.Size(32, 18); + this.btnReverse.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnReverse.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnReverse.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnReverse.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnReverse.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnReverse.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnReverse.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnReverse.Style.GradientAngle = 90; + this.btnReverse.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnReverse.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnReverse.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnReverse.TabIndex = 726; + this.btnReverse.Text = "反选"; + this.btnReverse.Click += new System.EventHandler(this.btnReverse_Click); + // + // btnAddUnSelect + // + this.btnAddUnSelect.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnAddUnSelect.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnAddUnSelect.DisabledBackColor = System.Drawing.Color.Empty; + this.btnAddUnSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnAddUnSelect.Location = new System.Drawing.Point(76, 119); + this.btnAddUnSelect.Name = "btnAddUnSelect"; + this.btnAddUnSelect.Size = new System.Drawing.Size(65, 18); + this.btnAddUnSelect.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnAddUnSelect.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnAddUnSelect.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnAddUnSelect.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnAddUnSelect.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnAddUnSelect.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnAddUnSelect.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnAddUnSelect.Style.GradientAngle = 90; + this.btnAddUnSelect.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnAddUnSelect.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnAddUnSelect.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnAddUnSelect.TabIndex = 746; + this.btnAddUnSelect.Text = "弃选条件"; + this.btnAddUnSelect.Click += new System.EventHandler(this.btnAddUnSelect_Click); + // + // cmbFilterShopNotes + // + this.cmbFilterShopNotes.DefaultText = "全部"; + this.cmbFilterShopNotes.DropDownHeight = 1; + this.cmbFilterShopNotes.DropDownWidth = 1; + this.cmbFilterShopNotes.FormattingEnabled = true; + this.cmbFilterShopNotes.IntegralHeight = false; + this.cmbFilterShopNotes.Location = new System.Drawing.Point(38, 65); + this.cmbFilterShopNotes.Name = "cmbFilterShopNotes"; + this.cmbFilterShopNotes.Size = new System.Drawing.Size(137, 25); + this.cmbFilterShopNotes.TabIndex = 442; + this.cmbFilterShopNotes.Text = "全部"; + // + // btnAddSelect + // + this.btnAddSelect.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnAddSelect.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnAddSelect.DisabledBackColor = System.Drawing.Color.Empty; + this.btnAddSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnAddSelect.Location = new System.Drawing.Point(9, 119); + this.btnAddSelect.Name = "btnAddSelect"; + this.btnAddSelect.Size = new System.Drawing.Size(65, 18); + this.btnAddSelect.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnAddSelect.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnAddSelect.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnAddSelect.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnAddSelect.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnAddSelect.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnAddSelect.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnAddSelect.Style.GradientAngle = 90; + this.btnAddSelect.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnAddSelect.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnAddSelect.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnAddSelect.TabIndex = 742; + this.btnAddSelect.Text = "加选条件"; + this.btnAddSelect.Click += new System.EventHandler(this.btnAddSelect_Click); + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Location = new System.Drawing.Point(7, 69); + this.label16.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(32, 17); + this.label16.TabIndex = 697; + this.label16.Text = "备注"; + // + // txtFilterShopName + // + this.txtFilterShopName.Font = new System.Drawing.Font("微软雅黑", 10F); + this.txtFilterShopName.Location = new System.Drawing.Point(38, 38); + this.txtFilterShopName.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2); + this.txtFilterShopName.Name = "txtFilterShopName"; + this.txtFilterShopName.Size = new System.Drawing.Size(137, 25); + this.txtFilterShopName.TabIndex = 653; + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Location = new System.Drawing.Point(7, 42); + this.label17.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(32, 17); + this.label17.TabIndex = 699; + this.label17.Text = "名称"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(7, 96); + this.label3.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(32, 17); + this.label3.TabIndex = 831; + this.label3.Text = "分组"; + // + // splitContainer3 + // + this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; + this.splitContainer3.Location = new System.Drawing.Point(0, 0); + this.splitContainer3.Name = "splitContainer3"; + this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal; + // + // splitContainer3.Panel1 + // + this.splitContainer3.Panel1.Controls.Add(this.splitContainer2); + // + // splitContainer3.Panel2 + // + this.splitContainer3.Panel2.Controls.Add(this.splitContainer4); + this.splitContainer3.Size = new System.Drawing.Size(1698, 472); + this.splitContainer3.SplitterDistance = 442; + this.splitContainer3.TabIndex = 1; + // + // splitContainer2 + // + this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; + this.splitContainer2.Location = new System.Drawing.Point(0, 0); + this.splitContainer2.Name = "splitContainer2"; + // + // splitContainer2.Panel1 + // + this.splitContainer2.Panel1.Controls.Add(this.pbLoadingShop); + this.splitContainer2.Panel1.Controls.Add(this.dgvShop); + this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0); + // + // splitContainer2.Panel2 + // + this.splitContainer2.Panel2.Controls.Add(this.pnlBuyUrl); + this.splitContainer2.Panel2.Controls.Add(this.pnlEditReceiveInfo); + this.splitContainer2.Panel2.Controls.Add(this.pnlUpdateNotes); + this.splitContainer2.Panel2.Controls.Add(this.pbLoading); + this.splitContainer2.Panel2.Controls.Add(this.dgvOrder); + this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0); + this.splitContainer2.Size = new System.Drawing.Size(1698, 442); + this.splitContainer2.SplitterDistance = 350; + this.splitContainer2.TabIndex = 0; + // + // pbLoadingShop + // + this.pbLoadingShop.Anchor = System.Windows.Forms.AnchorStyles.None; + this.pbLoadingShop.Image = global::TemuKJD.Properties.Resources.loading_blue; + this.pbLoadingShop.Location = new System.Drawing.Point(150, 196); + this.pbLoadingShop.Name = "pbLoadingShop"; + this.pbLoadingShop.Size = new System.Drawing.Size(50, 50); + this.pbLoadingShop.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pbLoadingShop.TabIndex = 189; + this.pbLoadingShop.TabStop = false; + this.pbLoadingShop.Visible = false; + // + // dgvShop + // + this.dgvShop.AllowUserToAddRows = false; + this.dgvShop.AllowUserToDeleteRows = false; + dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke; + this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; + this.dgvShop.AutoRowNumber = true; + this.dgvShop.BackgroundColor = System.Drawing.Color.White; + this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; + this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.colSelect, + this.colShopLoginName, + this.colShopId, + this.colShopName, + this.colShopNotes, + this.colGroup, + this.colSelectProduct, + this.colLoginStatus, + this.colApi, + this.colCanUse, + this.colUploadCount, + this.colOnSaleNum, + this.colRemaining, + this.colMessage}); + 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 = 25; + this.dgvShop.RowTemplate.Height = 23; + this.dgvShop.Size = new System.Drawing.Size(346, 442); + this.dgvShop.TabIndex = 6; + this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick); + // + // colSelect + // + this.colSelect.Frozen = true; + this.colSelect.HeaderText = "全选"; + this.colSelect.Name = "colSelect"; + this.colSelect.ReadOnly = true; + this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.colSelect.Width = 28; + // + // colShopLoginName + // + this.colShopLoginName.Frozen = true; + this.colShopLoginName.HeaderText = "店铺登录名"; + this.colShopLoginName.Name = "colShopLoginName"; + this.colShopLoginName.ReadOnly = true; + this.colShopLoginName.Visible = false; + // + // colShopId + // + this.colShopId.Frozen = true; + this.colShopId.HeaderText = "店铺Id"; + this.colShopId.Name = "colShopId"; + this.colShopId.ReadOnly = true; + this.colShopId.Visible = false; + this.colShopId.Width = 55; + // + // colShopName + // + this.colShopName.FillWeight = 150F; + this.colShopName.Frozen = true; + this.colShopName.HeaderText = "店铺名称"; + this.colShopName.Name = "colShopName"; + this.colShopName.ReadOnly = true; + this.colShopName.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colShopName.Width = 75; + // + // colShopNotes + // + this.colShopNotes.HeaderText = "备注"; + this.colShopNotes.Name = "colShopNotes"; + this.colShopNotes.ReadOnly = true; + this.colShopNotes.Width = 66; + // + // colGroup + // + this.colGroup.HeaderText = "分组"; + this.colGroup.Name = "colGroup"; + this.colGroup.ReadOnly = true; + this.colGroup.Width = 66; + // + // colSelectProduct + // + this.colSelectProduct.HeaderText = "选择商品"; + this.colSelectProduct.Name = "colSelectProduct"; + this.colSelectProduct.ReadOnly = true; + this.colSelectProduct.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colSelectProduct.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.colSelectProduct.Visible = false; + this.colSelectProduct.Width = 62; + // + // colLoginStatus + // + this.colLoginStatus.HeaderText = "状态"; + this.colLoginStatus.Name = "colLoginStatus"; + this.colLoginStatus.ReadOnly = true; + this.colLoginStatus.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colLoginStatus.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.colLoginStatus.Width = 38; + // + // colApi + // + this.colApi.HeaderText = "Api"; + this.colApi.Name = "colApi"; + this.colApi.ReadOnly = true; + this.colApi.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.colApi.Visible = false; + this.colApi.Width = 38; + // + // colCanUse + // + this.colCanUse.HeaderText = "可用"; + this.colCanUse.Name = "colCanUse"; + this.colCanUse.ReadOnly = true; + this.colCanUse.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colCanUse.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.colCanUse.Visible = false; + this.colCanUse.Width = 28; + // + // colUploadCount + // + this.colUploadCount.HeaderText = "已传"; + this.colUploadCount.Name = "colUploadCount"; + this.colUploadCount.ReadOnly = true; + this.colUploadCount.Visible = false; + this.colUploadCount.Width = 38; + // + // colOnSaleNum + // + this.colOnSaleNum.HeaderText = "在售"; + this.colOnSaleNum.Name = "colOnSaleNum"; + this.colOnSaleNum.ReadOnly = true; + this.colOnSaleNum.Visible = false; + this.colOnSaleNum.Width = 38; + // + // colRemaining + // + this.colRemaining.HeaderText = "月限额"; + this.colRemaining.Name = "colRemaining"; + this.colRemaining.ReadOnly = true; + this.colRemaining.Visible = false; + // + // colMessage + // + this.colMessage.HeaderText = "消息"; + this.colMessage.Name = "colMessage"; + this.colMessage.ReadOnly = true; + // + // pnlBuyUrl + // + this.pnlBuyUrl.Anchor = System.Windows.Forms.AnchorStyles.Top; + this.pnlBuyUrl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlBuyUrl.Controls.Add(this.lblBuyUrlSpuCode); + this.pnlBuyUrl.Controls.Add(this.lblBuyUrlShopId); + this.pnlBuyUrl.Controls.Add(this.label7); + this.pnlBuyUrl.Controls.Add(this.txtBuyUrl); + this.pnlBuyUrl.Controls.Add(this.btnBuyUrlCancel); + this.pnlBuyUrl.Controls.Add(this.btnBuyUrlOk); + this.pnlBuyUrl.Controls.Add(this.lblBuyUrlOrderId); + this.pnlBuyUrl.Controls.Add(this.lblBuyUrlShopName); + this.pnlBuyUrl.Controls.Add(this.label12); + this.pnlBuyUrl.Controls.Add(this.label6); + this.pnlBuyUrl.Location = new System.Drawing.Point(694, 252); + this.pnlBuyUrl.Name = "pnlBuyUrl"; + this.pnlBuyUrl.Size = new System.Drawing.Size(474, 146); + this.pnlBuyUrl.TabIndex = 784; + this.pnlBuyUrl.Visible = false; + // + // lblBuyUrlSpuCode + // + this.lblBuyUrlSpuCode.AutoSize = true; + this.lblBuyUrlSpuCode.Location = new System.Drawing.Point(78, 114); + this.lblBuyUrlSpuCode.Name = "lblBuyUrlSpuCode"; + this.lblBuyUrlSpuCode.Size = new System.Drawing.Size(61, 17); + this.lblBuyUrlSpuCode.TabIndex = 483; + this.lblBuyUrlSpuCode.Text = "SpuCode"; + // + // lblBuyUrlShopId + // + this.lblBuyUrlShopId.AutoSize = true; + this.lblBuyUrlShopId.Location = new System.Drawing.Point(20, 82); + this.lblBuyUrlShopId.Name = "lblBuyUrlShopId"; + this.lblBuyUrlShopId.Size = new System.Drawing.Size(50, 17); + this.lblBuyUrlShopId.TabIndex = 475; + this.lblBuyUrlShopId.Text = "ShopId"; + this.lblBuyUrlShopId.Visible = false; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(20, 52); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(56, 17); + this.label7.TabIndex = 468; + this.label7.Text = "采购链接"; + // + // txtBuyUrl + // + this.txtBuyUrl.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.txtBuyUrl.Location = new System.Drawing.Point(79, 48); + this.txtBuyUrl.Multiline = true; + this.txtBuyUrl.Name = "txtBuyUrl"; + this.txtBuyUrl.Size = new System.Drawing.Size(383, 54); + this.txtBuyUrl.TabIndex = 467; + // + // btnBuyUrlCancel + // + this.btnBuyUrlCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnBuyUrlCancel.CanvasColor = System.Drawing.SystemColors.Control; + this.btnBuyUrlCancel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnBuyUrlCancel.DisabledBackColor = System.Drawing.Color.Empty; + this.btnBuyUrlCancel.Location = new System.Drawing.Point(406, 112); + this.btnBuyUrlCancel.Name = "btnBuyUrlCancel"; + this.btnBuyUrlCancel.Size = new System.Drawing.Size(56, 24); + this.btnBuyUrlCancel.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnBuyUrlCancel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnBuyUrlCancel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnBuyUrlCancel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.btnBuyUrlCancel.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnBuyUrlCancel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.btnBuyUrlCancel.Style.GradientAngle = 90; + this.btnBuyUrlCancel.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; + this.btnBuyUrlCancel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnBuyUrlCancel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnBuyUrlCancel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnBuyUrlCancel.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; + this.btnBuyUrlCancel.TabIndex = 466; + this.btnBuyUrlCancel.Text = "取消"; + this.btnBuyUrlCancel.Click += new System.EventHandler(this.btnBuyUrlCancel_Click); + // + // btnBuyUrlOk + // + this.btnBuyUrlOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnBuyUrlOk.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnBuyUrlOk.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnBuyUrlOk.DisabledBackColor = System.Drawing.Color.Empty; + this.btnBuyUrlOk.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnBuyUrlOk.Location = new System.Drawing.Point(347, 112); + this.btnBuyUrlOk.Name = "btnBuyUrlOk"; + this.btnBuyUrlOk.Size = new System.Drawing.Size(56, 24); + this.btnBuyUrlOk.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnBuyUrlOk.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnBuyUrlOk.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnBuyUrlOk.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnBuyUrlOk.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnBuyUrlOk.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnBuyUrlOk.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnBuyUrlOk.Style.GradientAngle = 90; + this.btnBuyUrlOk.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnBuyUrlOk.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnBuyUrlOk.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnBuyUrlOk.TabIndex = 465; + this.btnBuyUrlOk.Text = "确定"; + this.btnBuyUrlOk.Click += new System.EventHandler(this.btnBuyUrlOk_Click); + // + // lblBuyUrlOrderId + // + this.lblBuyUrlOrderId.AutoSize = true; + this.lblBuyUrlOrderId.Location = new System.Drawing.Point(255, 19); + this.lblBuyUrlOrderId.Name = "lblBuyUrlOrderId"; + this.lblBuyUrlOrderId.Size = new System.Drawing.Size(55, 17); + this.lblBuyUrlOrderId.TabIndex = 456; + this.lblBuyUrlOrderId.Text = "OrderId"; + // + // lblBuyUrlShopName + // + this.lblBuyUrlShopName.AutoSize = true; + this.lblBuyUrlShopName.Location = new System.Drawing.Point(20, 19); + this.lblBuyUrlShopName.Name = "lblBuyUrlShopName"; + this.lblBuyUrlShopName.Size = new System.Drawing.Size(73, 17); + this.lblBuyUrlShopName.TabIndex = 455; + this.lblBuyUrlShopName.Text = "ShopName"; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Location = new System.Drawing.Point(223, 19); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(44, 17); + this.label12.TabIndex = 482; + this.label12.Text = "单号:"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(21, 114); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(68, 17); + this.label6.TabIndex = 490; + this.label6.Text = "商品货号:"; + // + // pnlEditReceiveInfo + // + this.pnlEditReceiveInfo.Anchor = System.Windows.Forms.AnchorStyles.Top; + this.pnlEditReceiveInfo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlEditReceiveInfo.Controls.Add(this.lblEditReceiveInfoShopId); + this.pnlEditReceiveInfo.Controls.Add(this.label8); + this.pnlEditReceiveInfo.Controls.Add(this.txtEditReceiveInfoAddress); + this.pnlEditReceiveInfo.Controls.Add(this.btnEditReceiveInfoCancel); + this.pnlEditReceiveInfo.Controls.Add(this.btnEditReceiveInfoOk); + this.pnlEditReceiveInfo.Controls.Add(this.lblEditReceiveInfoOrderId); + this.pnlEditReceiveInfo.Controls.Add(this.lblEditReceiveInfoShopName); + this.pnlEditReceiveInfo.Controls.Add(this.label11); + this.pnlEditReceiveInfo.Location = new System.Drawing.Point(179, 252); + this.pnlEditReceiveInfo.Name = "pnlEditReceiveInfo"; + this.pnlEditReceiveInfo.Size = new System.Drawing.Size(474, 146); + this.pnlEditReceiveInfo.TabIndex = 783; + this.pnlEditReceiveInfo.Visible = false; + // + // lblEditReceiveInfoShopId + // + this.lblEditReceiveInfoShopId.AutoSize = true; + this.lblEditReceiveInfoShopId.Location = new System.Drawing.Point(20, 114); + this.lblEditReceiveInfoShopId.Name = "lblEditReceiveInfoShopId"; + this.lblEditReceiveInfoShopId.Size = new System.Drawing.Size(50, 17); + this.lblEditReceiveInfoShopId.TabIndex = 475; + this.lblEditReceiveInfoShopId.Text = "ShopId"; + this.lblEditReceiveInfoShopId.Visible = false; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(20, 52); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(32, 17); + this.label8.TabIndex = 468; + this.label8.Text = "地址"; + // + // txtEditReceiveInfoAddress + // + this.txtEditReceiveInfoAddress.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.txtEditReceiveInfoAddress.Location = new System.Drawing.Point(55, 48); + this.txtEditReceiveInfoAddress.Multiline = true; + this.txtEditReceiveInfoAddress.Name = "txtEditReceiveInfoAddress"; + this.txtEditReceiveInfoAddress.Size = new System.Drawing.Size(407, 54); + this.txtEditReceiveInfoAddress.TabIndex = 467; + // + // btnEditReceiveInfoCancel + // + this.btnEditReceiveInfoCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnEditReceiveInfoCancel.CanvasColor = System.Drawing.SystemColors.Control; + this.btnEditReceiveInfoCancel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnEditReceiveInfoCancel.DisabledBackColor = System.Drawing.Color.Empty; + this.btnEditReceiveInfoCancel.Location = new System.Drawing.Point(406, 112); + this.btnEditReceiveInfoCancel.Name = "btnEditReceiveInfoCancel"; + this.btnEditReceiveInfoCancel.Size = new System.Drawing.Size(56, 24); + this.btnEditReceiveInfoCancel.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnEditReceiveInfoCancel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnEditReceiveInfoCancel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnEditReceiveInfoCancel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.btnEditReceiveInfoCancel.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnEditReceiveInfoCancel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.btnEditReceiveInfoCancel.Style.GradientAngle = 90; + this.btnEditReceiveInfoCancel.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; + this.btnEditReceiveInfoCancel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnEditReceiveInfoCancel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnEditReceiveInfoCancel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnEditReceiveInfoCancel.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; + this.btnEditReceiveInfoCancel.TabIndex = 466; + this.btnEditReceiveInfoCancel.Text = "取消"; + this.btnEditReceiveInfoCancel.Click += new System.EventHandler(this.btnEditReceiveInfoCancel_Click); + // + // btnEditReceiveInfoOk + // + this.btnEditReceiveInfoOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnEditReceiveInfoOk.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnEditReceiveInfoOk.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnEditReceiveInfoOk.DisabledBackColor = System.Drawing.Color.Empty; + this.btnEditReceiveInfoOk.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnEditReceiveInfoOk.Location = new System.Drawing.Point(347, 112); + this.btnEditReceiveInfoOk.Name = "btnEditReceiveInfoOk"; + this.btnEditReceiveInfoOk.Size = new System.Drawing.Size(56, 24); + this.btnEditReceiveInfoOk.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnEditReceiveInfoOk.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnEditReceiveInfoOk.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnEditReceiveInfoOk.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnEditReceiveInfoOk.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnEditReceiveInfoOk.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnEditReceiveInfoOk.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnEditReceiveInfoOk.Style.GradientAngle = 90; + this.btnEditReceiveInfoOk.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnEditReceiveInfoOk.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnEditReceiveInfoOk.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnEditReceiveInfoOk.TabIndex = 465; + this.btnEditReceiveInfoOk.Text = "确定"; + this.btnEditReceiveInfoOk.Click += new System.EventHandler(this.btnEditReceiveInfoOk_Click); + // + // lblEditReceiveInfoOrderId + // + this.lblEditReceiveInfoOrderId.AutoSize = true; + this.lblEditReceiveInfoOrderId.Location = new System.Drawing.Point(255, 19); + this.lblEditReceiveInfoOrderId.Name = "lblEditReceiveInfoOrderId"; + this.lblEditReceiveInfoOrderId.Size = new System.Drawing.Size(55, 17); + this.lblEditReceiveInfoOrderId.TabIndex = 456; + this.lblEditReceiveInfoOrderId.Text = "OrderId"; + // + // lblEditReceiveInfoShopName + // + this.lblEditReceiveInfoShopName.AutoSize = true; + this.lblEditReceiveInfoShopName.Location = new System.Drawing.Point(20, 19); + this.lblEditReceiveInfoShopName.Name = "lblEditReceiveInfoShopName"; + this.lblEditReceiveInfoShopName.Size = new System.Drawing.Size(73, 17); + this.lblEditReceiveInfoShopName.TabIndex = 455; + this.lblEditReceiveInfoShopName.Text = "ShopName"; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(223, 19); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(44, 17); + this.label11.TabIndex = 482; + this.label11.Text = "单号:"; + // + // pnlUpdateNotes + // + this.pnlUpdateNotes.Anchor = System.Windows.Forms.AnchorStyles.Top; + this.pnlUpdateNotes.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlUpdateNotes.Controls.Add(this.lblColorTag); + this.pnlUpdateNotes.Controls.Add(this.ucCheckBox5); + this.pnlUpdateNotes.Controls.Add(this.ucCheckBox4); + this.pnlUpdateNotes.Controls.Add(this.ucCheckBox3); + this.pnlUpdateNotes.Controls.Add(this.ucCheckBox2); + this.pnlUpdateNotes.Controls.Add(this.ucCheckBox1); + this.pnlUpdateNotes.Controls.Add(this.lblShopId); + this.pnlUpdateNotes.Controls.Add(this.label2); + this.pnlUpdateNotes.Controls.Add(this.txtNotes); + this.pnlUpdateNotes.Controls.Add(this.btnNotesCancel); + this.pnlUpdateNotes.Controls.Add(this.btnNotesOK); + this.pnlUpdateNotes.Controls.Add(this.lblOrderId); + this.pnlUpdateNotes.Controls.Add(this.lblShopName); + this.pnlUpdateNotes.Controls.Add(this.label5); + this.pnlUpdateNotes.Location = new System.Drawing.Point(435, 64); + this.pnlUpdateNotes.Name = "pnlUpdateNotes"; + this.pnlUpdateNotes.Size = new System.Drawing.Size(474, 146); + this.pnlUpdateNotes.TabIndex = 782; + this.pnlUpdateNotes.Visible = false; + // + // lblColorTag + // + this.lblColorTag.AutoSize = true; + this.lblColorTag.Location = new System.Drawing.Point(223, 112); + this.lblColorTag.Name = "lblColorTag"; + this.lblColorTag.Size = new System.Drawing.Size(62, 17); + this.lblColorTag.TabIndex = 494; + this.lblColorTag.Text = "ColorTag"; + this.lblColorTag.Visible = false; + // + // ucCheckBox5 + // + this.ucCheckBox5.AutoSize = true; + this.ucCheckBox5.Location = new System.Drawing.Point(187, 112); + this.ucCheckBox5.Name = "ucCheckBox5"; + this.ucCheckBox5.Size = new System.Drawing.Size(15, 14); + this.ucCheckBox5.TabIndex = 487; + this.ucCheckBox5.UseVisualStyleBackColor = true; + this.ucCheckBox5.Click += new System.EventHandler(this.ucCheckBox_Click); + // + // ucCheckBox4 + // + this.ucCheckBox4.AutoSize = true; + this.ucCheckBox4.Location = new System.Drawing.Point(154, 112); + this.ucCheckBox4.Name = "ucCheckBox4"; + this.ucCheckBox4.Size = new System.Drawing.Size(15, 14); + this.ucCheckBox4.TabIndex = 486; + this.ucCheckBox4.UseVisualStyleBackColor = true; + this.ucCheckBox4.Click += new System.EventHandler(this.ucCheckBox_Click); + // + // ucCheckBox3 + // + this.ucCheckBox3.AutoSize = true; + this.ucCheckBox3.Location = new System.Drawing.Point(121, 112); + this.ucCheckBox3.Name = "ucCheckBox3"; + this.ucCheckBox3.Size = new System.Drawing.Size(15, 14); + this.ucCheckBox3.TabIndex = 485; + this.ucCheckBox3.UseVisualStyleBackColor = true; + this.ucCheckBox3.Click += new System.EventHandler(this.ucCheckBox_Click); + // + // ucCheckBox2 + // + this.ucCheckBox2.AutoSize = true; + this.ucCheckBox2.Location = new System.Drawing.Point(88, 112); + this.ucCheckBox2.Name = "ucCheckBox2"; + this.ucCheckBox2.Size = new System.Drawing.Size(15, 14); + this.ucCheckBox2.TabIndex = 484; + this.ucCheckBox2.UseVisualStyleBackColor = true; + this.ucCheckBox2.Click += new System.EventHandler(this.ucCheckBox_Click); + // + // ucCheckBox1 + // + this.ucCheckBox1.AutoSize = true; + this.ucCheckBox1.Checked = true; + this.ucCheckBox1.CheckState = System.Windows.Forms.CheckState.Checked; + this.ucCheckBox1.Location = new System.Drawing.Point(55, 112); + this.ucCheckBox1.Name = "ucCheckBox1"; + this.ucCheckBox1.Size = new System.Drawing.Size(15, 14); + this.ucCheckBox1.TabIndex = 483; + this.ucCheckBox1.UseVisualStyleBackColor = true; + this.ucCheckBox1.Click += new System.EventHandler(this.ucCheckBox_Click); + // + // lblShopId + // + this.lblShopId.AutoSize = true; + this.lblShopId.Location = new System.Drawing.Point(126, 19); + this.lblShopId.Name = "lblShopId"; + this.lblShopId.Size = new System.Drawing.Size(50, 17); + this.lblShopId.TabIndex = 475; + this.lblShopId.Text = "ShopId"; + this.lblShopId.Visible = false; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(20, 52); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(32, 17); + this.label2.TabIndex = 468; + this.label2.Text = "备注"; + // + // txtNotes + // + this.txtNotes.Location = new System.Drawing.Point(55, 48); + this.txtNotes.Multiline = true; + this.txtNotes.Name = "txtNotes"; + this.txtNotes.Size = new System.Drawing.Size(407, 54); + this.txtNotes.TabIndex = 467; + // + // btnNotesCancel + // + this.btnNotesCancel.CanvasColor = System.Drawing.SystemColors.Control; + this.btnNotesCancel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnNotesCancel.DisabledBackColor = System.Drawing.Color.Empty; + this.btnNotesCancel.Location = new System.Drawing.Point(406, 112); + this.btnNotesCancel.Name = "btnNotesCancel"; + this.btnNotesCancel.Size = new System.Drawing.Size(56, 24); + this.btnNotesCancel.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnNotesCancel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnNotesCancel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnNotesCancel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.btnNotesCancel.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnNotesCancel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.btnNotesCancel.Style.GradientAngle = 90; + this.btnNotesCancel.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; + this.btnNotesCancel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnNotesCancel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnNotesCancel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnNotesCancel.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; + this.btnNotesCancel.TabIndex = 466; + this.btnNotesCancel.Text = "取消"; + this.btnNotesCancel.Click += new System.EventHandler(this.btnNotesCancel_Click); + // + // btnNotesOK + // + this.btnNotesOK.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnNotesOK.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnNotesOK.DisabledBackColor = System.Drawing.Color.Empty; + this.btnNotesOK.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnNotesOK.Location = new System.Drawing.Point(347, 112); + this.btnNotesOK.Name = "btnNotesOK"; + this.btnNotesOK.Size = new System.Drawing.Size(56, 24); + this.btnNotesOK.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnNotesOK.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnNotesOK.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnNotesOK.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnNotesOK.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnNotesOK.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnNotesOK.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnNotesOK.Style.GradientAngle = 90; + this.btnNotesOK.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnNotesOK.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnNotesOK.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnNotesOK.TabIndex = 465; + this.btnNotesOK.Text = "确定"; + this.btnNotesOK.Click += new System.EventHandler(this.btnNotesOK_Click); + // + // lblOrderId + // + this.lblOrderId.AutoSize = true; + this.lblOrderId.Location = new System.Drawing.Point(255, 19); + this.lblOrderId.Name = "lblOrderId"; + this.lblOrderId.Size = new System.Drawing.Size(55, 17); + this.lblOrderId.TabIndex = 456; + this.lblOrderId.Text = "OrderId"; + // + // lblShopName + // + this.lblShopName.AutoSize = true; + this.lblShopName.Location = new System.Drawing.Point(20, 19); + this.lblShopName.Name = "lblShopName"; + this.lblShopName.Size = new System.Drawing.Size(73, 17); + this.lblShopName.TabIndex = 455; + this.lblShopName.Text = "ShopName"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(223, 19); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(44, 17); + this.label5.TabIndex = 482; + this.label5.Text = "单号:"; + // + // 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(647, 196); + this.pbLoading.Name = "pbLoading"; + this.pbLoading.Size = new System.Drawing.Size(50, 50); + this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pbLoading.TabIndex = 780; + this.pbLoading.TabStop = false; + this.pbLoading.Visible = false; + // + // dgvOrder + // + this.dgvOrder.AllowUserToAddRows = false; + this.dgvOrder.AllowUserToDeleteRows = false; + dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke; + this.dgvOrder.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3; + this.dgvOrder.AutoRowNumber = true; + this.dgvOrder.BackgroundColor = System.Drawing.Color.White; + this.dgvOrder.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvOrder.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4; + this.dgvOrder.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvOrder.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.colCheck, + this.colSupplierId, + this.colSupplierName, + this.colOrderShopNotes, + this.colOrderShopGroup, + this.colLogin, + this.colInShop, + this.colOrderId, + this.colOrderTimeFull, + this.colOrderTime, + this.colImgUrl, + this.colProductSkcPic, + this.colProdInfo, + this.colDraftId, + this.colProductName, + this.colSpuCode, + this.colSkuId, + this.colSkuSpec, + this.colSkuCode, + this.colCode, + this.colCnt, + this.colPriceCnt, + this.colTotalPrice, + this.colDiscount, + this.colOrderStatus, + this.colBuyUrl, + this.colEditBuyPath, + this.colReceiveInfo, + this.colDecrypt, + this.colOnlineWaybill, + this.colAddReceiveInfo, + this.colNotes, + this.colNotesColor, + this.colEditNotes, + this.colOpResult}); + this.dgvOrder.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgvOrder.Location = new System.Drawing.Point(0, 0); + this.dgvOrder.MultiSelectCheckBox = true; + this.dgvOrder.Name = "dgvOrder"; + this.dgvOrder.ReadOnly = true; + this.dgvOrder.RowTemplate.Height = 23; + this.dgvOrder.Size = new System.Drawing.Size(1340, 442); + this.dgvOrder.TabIndex = 187; + this.dgvOrder.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSelectProduct_CellContentClick); + // + // splitContainer4 + // + this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; + this.splitContainer4.Location = new System.Drawing.Point(0, 0); + this.splitContainer4.Name = "splitContainer4"; + // + // splitContainer4.Panel1 + // + this.splitContainer4.Panel1.Controls.Add(this.statusBar); + // + // splitContainer4.Panel2 + // + this.splitContainer4.Panel2.Controls.Add(this.btnClear); + this.splitContainer4.Panel2.Controls.Add(this.panelEx1); + this.splitContainer4.Size = new System.Drawing.Size(1698, 26); + this.splitContainer4.SplitterDistance = 1007; + this.splitContainer4.TabIndex = 3; + // + // statusBar + // + this.statusBar.BackColor = System.Drawing.Color.White; + this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill; + this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + 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(1007, 26); + this.statusBar.TabIndex = 2; + // + // btnClear + // + this.btnClear.Anchor = System.Windows.Forms.AnchorStyles.Right; + this.btnClear.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnClear.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnClear.DisabledBackColor = System.Drawing.Color.Empty; + this.btnClear.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnClear.Location = new System.Drawing.Point(475, 2); + this.btnClear.Name = "btnClear"; + this.btnClear.Size = new System.Drawing.Size(90, 21); + this.btnClear.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnClear.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnClear.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnClear.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnClear.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnClear.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnClear.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnClear.Style.GradientAngle = 90; + this.btnClear.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnClear.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnClear.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnClear.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; + this.btnClear.TabIndex = 440; + this.btnClear.Text = "清空结果"; + this.btnClear.Visible = false; + // + // panelEx1 + // + this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control; + this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty; + this.panelEx1.Location = new System.Drawing.Point(568, 2); + this.panelEx1.Name = "panelEx1"; + this.panelEx1.Size = new System.Drawing.Size(115, 21); + this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; + this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.panelEx1.Style.GradientAngle = 90; + this.panelEx1.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; + this.panelEx1.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.panelEx1.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.panelEx1.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.panelEx1.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; + this.panelEx1.TabIndex = 668; + this.panelEx1.Text = "停止当前操作"; + this.panelEx1.Visible = false; + // + // colCheck + // + this.colCheck.Frozen = true; + this.colCheck.HeaderText = "选择"; + this.colCheck.Name = "colCheck"; + this.colCheck.ReadOnly = true; + this.colCheck.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colCheck.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.colCheck.Width = 30; + // + // colSupplierId + // + this.colSupplierId.Frozen = true; + this.colSupplierId.HeaderText = "店铺Id"; + this.colSupplierId.Name = "colSupplierId"; + this.colSupplierId.ReadOnly = true; + this.colSupplierId.Visible = false; + // + // colSupplierName + // + dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle5; + this.colSupplierName.Frozen = true; + this.colSupplierName.HeaderText = "店铺名称"; + this.colSupplierName.Name = "colSupplierName"; + this.colSupplierName.ReadOnly = true; + this.colSupplierName.Width = 65; + // + // colOrderShopNotes + // + this.colOrderShopNotes.Frozen = true; + this.colOrderShopNotes.HeaderText = "店铺备注"; + this.colOrderShopNotes.Name = "colOrderShopNotes"; + this.colOrderShopNotes.ReadOnly = true; + this.colOrderShopNotes.Visible = false; + // + // colOrderShopGroup + // + this.colOrderShopGroup.Frozen = true; + this.colOrderShopGroup.HeaderText = "店铺分组"; + this.colOrderShopGroup.Name = "colOrderShopGroup"; + this.colOrderShopGroup.ReadOnly = true; + this.colOrderShopGroup.Visible = false; + // + // colLogin + // + this.colLogin.Frozen = true; + this.colLogin.HeaderText = "登录"; + this.colLogin.Name = "colLogin"; + this.colLogin.ReadOnly = true; + this.colLogin.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colLogin.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.colLogin.Visible = false; + this.colLogin.Width = 38; + // + // colInShop + // + this.colInShop.Frozen = true; + this.colInShop.HeaderText = "进店"; + this.colInShop.Name = "colInShop"; + this.colInShop.ReadOnly = true; + this.colInShop.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colInShop.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.colInShop.Width = 38; + // + // colOrderId + // + this.colOrderId.Frozen = true; + this.colOrderId.HeaderText = "订单号"; + this.colOrderId.Name = "colOrderId"; + this.colOrderId.ReadOnly = true; + this.colOrderId.Width = 150; + // + // colOrderTimeFull + // + this.colOrderTimeFull.HeaderText = "完整时间"; + this.colOrderTimeFull.Name = "colOrderTimeFull"; + this.colOrderTimeFull.ReadOnly = true; + this.colOrderTimeFull.Visible = false; + // + // colOrderTime + // + dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colOrderTime.DefaultCellStyle = dataGridViewCellStyle6; + this.colOrderTime.HeaderText = "时间"; + this.colOrderTime.Name = "colOrderTime"; + this.colOrderTime.ReadOnly = true; + this.colOrderTime.Width = 50; + // + // colImgUrl + // + this.colImgUrl.HeaderText = "图片地址"; + this.colImgUrl.Name = "colImgUrl"; + this.colImgUrl.ReadOnly = true; + this.colImgUrl.Visible = false; + // + // colProductSkcPic + // + this.colProductSkcPic.HeaderText = "图片"; + this.colProductSkcPic.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom; + this.colProductSkcPic.Name = "colProductSkcPic"; + this.colProductSkcPic.ReadOnly = true; + this.colProductSkcPic.Width = 60; + // + // colProdInfo + // + dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colProdInfo.DefaultCellStyle = dataGridViewCellStyle7; + this.colProdInfo.HeaderText = "商品信息"; + this.colProdInfo.Name = "colProdInfo"; + this.colProdInfo.ReadOnly = true; + this.colProdInfo.Width = 200; + // + // colDraftId + // + this.colDraftId.HeaderText = "商品Id"; + this.colDraftId.Name = "colDraftId"; + this.colDraftId.ReadOnly = true; + this.colDraftId.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colDraftId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.colDraftId.Visible = false; + this.colDraftId.Width = 110; + // + // colProductName + // + dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colProductName.DefaultCellStyle = dataGridViewCellStyle8; + this.colProductName.HeaderText = "商品名称"; + this.colProductName.Name = "colProductName"; + this.colProductName.ReadOnly = true; + this.colProductName.Visible = false; + this.colProductName.Width = 120; + // + // colSpuCode + // + this.colSpuCode.HeaderText = "商品货号"; + this.colSpuCode.Name = "colSpuCode"; + this.colSpuCode.ReadOnly = true; + this.colSpuCode.Visible = false; + this.colSpuCode.Width = 145; + // + // colSkuId + // + this.colSkuId.HeaderText = "SkuId"; + this.colSkuId.Name = "colSkuId"; + this.colSkuId.ReadOnly = true; + this.colSkuId.Visible = false; + // + // colSkuSpec + // + dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colSkuSpec.DefaultCellStyle = dataGridViewCellStyle9; + this.colSkuSpec.HeaderText = "Sku规格"; + this.colSkuSpec.Name = "colSkuSpec"; + this.colSkuSpec.ReadOnly = true; + this.colSkuSpec.Visible = false; + // + // colSkuCode + // + dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colSkuCode.DefaultCellStyle = dataGridViewCellStyle10; + this.colSkuCode.HeaderText = "Sku货号"; + this.colSkuCode.Name = "colSkuCode"; + this.colSkuCode.ReadOnly = true; + this.colSkuCode.Visible = false; + this.colSkuCode.Width = 220; + // + // colCode + // + dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colCode.DefaultCellStyle = dataGridViewCellStyle11; + this.colCode.HeaderText = "货号信息"; + this.colCode.Name = "colCode"; + this.colCode.ReadOnly = true; + this.colCode.Visible = false; + this.colCode.Width = 200; + // + // colCnt + // + this.colCnt.HeaderText = "件数"; + this.colCnt.Name = "colCnt"; + this.colCnt.ReadOnly = true; + this.colCnt.Visible = false; + // + // colPriceCnt + // + dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; + dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colPriceCnt.DefaultCellStyle = dataGridViewCellStyle12; + this.colPriceCnt.HeaderText = "数量"; + this.colPriceCnt.Name = "colPriceCnt"; + this.colPriceCnt.ReadOnly = true; + this.colPriceCnt.Width = 50; + // + // colTotalPrice + // + dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; + dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colTotalPrice.DefaultCellStyle = dataGridViewCellStyle13; + this.colTotalPrice.HeaderText = "合计"; + this.colTotalPrice.Name = "colTotalPrice"; + this.colTotalPrice.ReadOnly = true; + this.colTotalPrice.Width = 50; + // + // colDiscount + // + dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; + this.colDiscount.DefaultCellStyle = dataGridViewCellStyle14; + this.colDiscount.HeaderText = "优惠"; + this.colDiscount.Name = "colDiscount"; + this.colDiscount.ReadOnly = true; + this.colDiscount.Visible = false; + this.colDiscount.Width = 50; + // + // colOrderStatus + // + dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colOrderStatus.DefaultCellStyle = dataGridViewCellStyle15; + this.colOrderStatus.HeaderText = "状态"; + this.colOrderStatus.Name = "colOrderStatus"; + this.colOrderStatus.ReadOnly = true; + this.colOrderStatus.Width = 50; + // + // colBuyUrl + // + dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colBuyUrl.DefaultCellStyle = dataGridViewCellStyle16; + this.colBuyUrl.HeaderText = "采购地址"; + this.colBuyUrl.Name = "colBuyUrl"; + this.colBuyUrl.ReadOnly = true; + // + // colEditBuyPath + // + this.colEditBuyPath.HeaderText = "编辑"; + this.colEditBuyPath.Name = "colEditBuyPath"; + this.colEditBuyPath.ReadOnly = true; + this.colEditBuyPath.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colEditBuyPath.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.colEditBuyPath.Width = 38; + // + // colReceiveInfo + // + dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colReceiveInfo.DefaultCellStyle = dataGridViewCellStyle17; + this.colReceiveInfo.HeaderText = "收货信息"; + this.colReceiveInfo.Name = "colReceiveInfo"; + this.colReceiveInfo.ReadOnly = true; + this.colReceiveInfo.Width = 120; + // + // colDecrypt + // + this.colDecrypt.HeaderText = "解密"; + this.colDecrypt.Name = "colDecrypt"; + this.colDecrypt.ReadOnly = true; + this.colDecrypt.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colDecrypt.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.colDecrypt.Width = 38; + // + // colOnlineWaybill + // + dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colOnlineWaybill.DefaultCellStyle = dataGridViewCellStyle18; + this.colOnlineWaybill.HeaderText = "寄件"; + this.colOnlineWaybill.Name = "colOnlineWaybill"; + this.colOnlineWaybill.ReadOnly = true; + this.colOnlineWaybill.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colOnlineWaybill.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.colOnlineWaybill.Visible = false; + this.colOnlineWaybill.Width = 38; + // + // colAddReceiveInfo + // + this.colAddReceiveInfo.HeaderText = "填写"; + this.colAddReceiveInfo.Name = "colAddReceiveInfo"; + this.colAddReceiveInfo.ReadOnly = true; + this.colAddReceiveInfo.Width = 38; + // + // colNotes + // + dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colNotes.DefaultCellStyle = dataGridViewCellStyle19; + this.colNotes.HeaderText = "备注"; + this.colNotes.Name = "colNotes"; + this.colNotes.ReadOnly = true; + this.colNotes.Width = 160; + // + // colNotesColor + // + this.colNotesColor.HeaderText = "备注颜色Id"; + this.colNotesColor.Name = "colNotesColor"; + this.colNotesColor.ReadOnly = true; + this.colNotesColor.Visible = false; + // + // colEditNotes + // + dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colEditNotes.DefaultCellStyle = dataGridViewCellStyle20; + this.colEditNotes.HeaderText = "修改"; + this.colEditNotes.Name = "colEditNotes"; + this.colEditNotes.ReadOnly = true; + this.colEditNotes.Width = 38; + // + // colOpResult + // + dataGridViewCellStyle21.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.colOpResult.DefaultCellStyle = dataGridViewCellStyle21; + this.colOpResult.HeaderText = "操作结果"; + this.colOpResult.Name = "colOpResult"; + this.colOpResult.ReadOnly = true; + this.colOpResult.Width = 120; + // + // WXOrderListForm + // + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; + this.BackColor = System.Drawing.Color.White; + this.ClientSize = new System.Drawing.Size(1698, 641); + 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 = "WXOrderListForm"; + this.Text = "微信小店 - 订单管理"; + this.Load += new System.EventHandler(this.UserSelectDbProductForm_Load); + this.VisibleChanged += new System.EventHandler(this.UserSelectDbProductForm_VisibleChanged); + this.splitContainer1.Panel1.ResumeLayout(false); + this.splitContainer1.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); + this.splitContainer1.ResumeLayout(false); + this.ucGroupBoxEx3.ResumeLayout(false); + this.ucGroupBoxEx3.PerformLayout(); + this.ucGroupBoxEx4.ResumeLayout(false); + this.ucGroupBoxEx4.PerformLayout(); + this.ucGroupBoxEx1.ResumeLayout(false); + this.ucGroupBoxEx1.PerformLayout(); + this.splitContainer3.Panel1.ResumeLayout(false); + this.splitContainer3.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit(); + this.splitContainer3.ResumeLayout(false); + this.splitContainer2.Panel1.ResumeLayout(false); + this.splitContainer2.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); + this.splitContainer2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.pbLoadingShop)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit(); + this.pnlBuyUrl.ResumeLayout(false); + this.pnlBuyUrl.PerformLayout(); + this.pnlEditReceiveInfo.ResumeLayout(false); + this.pnlEditReceiveInfo.PerformLayout(); + this.pnlUpdateNotes.ResumeLayout(false); + this.pnlUpdateNotes.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvOrder)).EndInit(); + this.splitContainer4.Panel1.ResumeLayout(false); + this.splitContainer4.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit(); + this.splitContainer4.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.SplitContainer splitContainer1; + private UserComponent.UcGroupBoxEx ucGroupBoxEx4; + private UserComponent.UcGroupBoxEx ucGroupBoxEx1; + private DevComponents.DotNetBar.PanelEx btnRefreshShop; + private System.Windows.Forms.SplitContainer splitContainer3; + private System.Windows.Forms.SplitContainer splitContainer2; + private UserComponent.DataGridViewEx dgvShop; + private UserComponent.DataGridViewEx dgvOrder; + private System.Windows.Forms.SplitContainer splitContainer4; + private UserControls.StatusBarUserControl statusBar; + private DevComponents.DotNetBar.PanelEx btnSearchOrder; + private DevComponents.DotNetBar.PanelEx btnClear; + private DevComponents.DotNetBar.PanelEx panelEx1; + private System.Windows.Forms.PictureBox pbLoadingShop; + private System.Windows.Forms.PictureBox pbLoading; + private System.Windows.Forms.TextBox txtFilterShopName; + private DevComponents.DotNetBar.PanelEx btnFilterShop; + private System.Windows.Forms.Label label17; + private System.Windows.Forms.Label label16; + private DevComponents.DotNetBar.PanelEx btnEmptyShop; + private UserComponent.UcComboBoxMutiSelect cmbFilterShopNotes; + private DevComponents.DotNetBar.PanelEx btnReverse; + private DevComponents.DotNetBar.PanelEx btnAddUnSelect; + private DevComponents.DotNetBar.PanelEx btnAddSelect; + private DevComponents.DotNetBar.PanelEx btnSelectOffline; + private DevComponents.DotNetBar.PanelEx btnSelectOnline; + private DevComponents.DotNetBar.PanelEx btnStopSearch; + private UserComponent.UcGroupBoxEx ucGroupBoxEx3; + private DevComponents.DotNetBar.PanelEx btnStopOp; + private DevComponents.DotNetBar.PanelEx btnClearList; + private DevComponents.DotNetBar.PanelEx btnCancel; + private System.Windows.Forms.Label label4; + private DevComponents.DotNetBar.PanelEx btnFiltSelect; + private DevComponents.DotNetBar.PanelEx btnBatchDel; + private UserComponent.UcComboBoxMutiSelect cmbFilterShopGroup; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect; + private System.Windows.Forms.DataGridViewTextBoxColumn colShopLoginName; + private System.Windows.Forms.DataGridViewTextBoxColumn colShopId; + private System.Windows.Forms.DataGridViewTextBoxColumn colShopName; + private System.Windows.Forms.DataGridViewTextBoxColumn colShopNotes; + private System.Windows.Forms.DataGridViewTextBoxColumn colGroup; + private System.Windows.Forms.DataGridViewLinkColumn colSelectProduct; + private System.Windows.Forms.DataGridViewLinkColumn colLoginStatus; + private System.Windows.Forms.DataGridViewLinkColumn colApi; + private System.Windows.Forms.DataGridViewCheckBoxColumn colCanUse; + private System.Windows.Forms.DataGridViewTextBoxColumn colUploadCount; + private System.Windows.Forms.DataGridViewTextBoxColumn colOnSaleNum; + private System.Windows.Forms.DataGridViewTextBoxColumn colRemaining; + private System.Windows.Forms.DataGridViewTextBoxColumn colMessage; + private DevComponents.DotNetBar.PanelEx btnClearFilter; + private System.Windows.Forms.Label label1; + private UserComponent.UcCheckBox chkHasSend; + private UserComponent.UcCheckBox chkWaitSend; + private System.Windows.Forms.Panel pnlUpdateNotes; + private System.Windows.Forms.Label lblShopId; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox txtNotes; + private DevComponents.DotNetBar.PanelEx btnNotesCancel; + private DevComponents.DotNetBar.PanelEx btnNotesOK; + private System.Windows.Forms.Label lblOrderId; + private System.Windows.Forms.Label lblShopName; + private System.Windows.Forms.Label label5; + private UserComponent.UcCheckBox ucCheckBox1; + private UserComponent.UcCheckBox ucCheckBox5; + private UserComponent.UcCheckBox ucCheckBox4; + private UserComponent.UcCheckBox ucCheckBox3; + private UserComponent.UcCheckBox ucCheckBox2; + private System.Windows.Forms.Label lblColorTag; + private System.Windows.Forms.Panel pnlEditReceiveInfo; + private System.Windows.Forms.Label lblEditReceiveInfoShopId; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.TextBox txtEditReceiveInfoAddress; + private DevComponents.DotNetBar.PanelEx btnEditReceiveInfoCancel; + private DevComponents.DotNetBar.PanelEx btnEditReceiveInfoOk; + private System.Windows.Forms.Label lblEditReceiveInfoOrderId; + private System.Windows.Forms.Label lblEditReceiveInfoShopName; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.Panel pnlBuyUrl; + private System.Windows.Forms.Label lblBuyUrlShopId; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.TextBox txtBuyUrl; + private DevComponents.DotNetBar.PanelEx btnBuyUrlCancel; + private DevComponents.DotNetBar.PanelEx btnBuyUrlOk; + private System.Windows.Forms.Label lblBuyUrlOrderId; + private System.Windows.Forms.Label lblBuyUrlShopName; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.Label lblBuyUrlSpuCode; + private System.Windows.Forms.Label label6; + private DevComponents.DotNetBar.PanelEx btnRestore; + private DevComponents.DotNetBar.PanelEx btnFilterOrder; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.TextBox txtFilterOrderProdInfo; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.TextBox txtFilterOrderId; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.ComboBox cmbFilterOrderStatus; + private System.Windows.Forms.TextBox txtFilterNotesNotContainWords; + private System.Windows.Forms.Label label14; + private UserComponent.UcComboBoxMutiSelect cmbFilterOrderShopGroup; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.Label label18; + private System.Windows.Forms.TextBox txtFilterOrderShopName; + private System.Windows.Forms.TextBox txtFilterTitleNotContainWords; + private System.Windows.Forms.Label label19; + private System.Windows.Forms.DateTimePicker dtpFilterEndTime; + private System.Windows.Forms.DateTimePicker dtpFilterBeginTime; + private UserComponent.UcCheckBox chkFilterBeginTime; + private UserComponent.UcCheckBox chkFilterEndTime; + private System.Windows.Forms.DataGridViewCheckBoxColumn colCheck; + private System.Windows.Forms.DataGridViewTextBoxColumn colSupplierId; + private System.Windows.Forms.DataGridViewTextBoxColumn colSupplierName; + private System.Windows.Forms.DataGridViewTextBoxColumn colOrderShopNotes; + private System.Windows.Forms.DataGridViewTextBoxColumn colOrderShopGroup; + private System.Windows.Forms.DataGridViewLinkColumn colLogin; + private System.Windows.Forms.DataGridViewLinkColumn colInShop; + private System.Windows.Forms.DataGridViewTextBoxColumn colOrderId; + private System.Windows.Forms.DataGridViewTextBoxColumn colOrderTimeFull; + private System.Windows.Forms.DataGridViewTextBoxColumn colOrderTime; + private System.Windows.Forms.DataGridViewTextBoxColumn colImgUrl; + private System.Windows.Forms.DataGridViewImageColumn colProductSkcPic; + private System.Windows.Forms.DataGridViewTextBoxColumn colProdInfo; + private System.Windows.Forms.DataGridViewTextBoxColumn colDraftId; + private System.Windows.Forms.DataGridViewTextBoxColumn colProductName; + private System.Windows.Forms.DataGridViewTextBoxColumn colSpuCode; + private System.Windows.Forms.DataGridViewTextBoxColumn colSkuId; + private System.Windows.Forms.DataGridViewTextBoxColumn colSkuSpec; + private System.Windows.Forms.DataGridViewTextBoxColumn colSkuCode; + private System.Windows.Forms.DataGridViewTextBoxColumn colCode; + private System.Windows.Forms.DataGridViewTextBoxColumn colCnt; + private System.Windows.Forms.DataGridViewTextBoxColumn colPriceCnt; + private System.Windows.Forms.DataGridViewTextBoxColumn colTotalPrice; + private System.Windows.Forms.DataGridViewTextBoxColumn colDiscount; + private System.Windows.Forms.DataGridViewTextBoxColumn colOrderStatus; + private System.Windows.Forms.DataGridViewTextBoxColumn colBuyUrl; + private System.Windows.Forms.DataGridViewLinkColumn colEditBuyPath; + private System.Windows.Forms.DataGridViewTextBoxColumn colReceiveInfo; + private System.Windows.Forms.DataGridViewLinkColumn colDecrypt; + private System.Windows.Forms.DataGridViewLinkColumn colOnlineWaybill; + private System.Windows.Forms.DataGridViewLinkColumn colAddReceiveInfo; + private System.Windows.Forms.DataGridViewTextBoxColumn colNotes; + private System.Windows.Forms.DataGridViewTextBoxColumn colNotesColor; + private System.Windows.Forms.DataGridViewLinkColumn colEditNotes; + private System.Windows.Forms.DataGridViewTextBoxColumn colOpResult; + } +} \ No newline at end of file diff --git a/TEMUKJD/WXForms/ProductForms/WXOrderListForm.cs b/TEMUKJD/WXForms/ProductForms/WXOrderListForm.cs new file mode 100644 index 0000000..423aff7 --- /dev/null +++ b/TEMUKJD/WXForms/ProductForms/WXOrderListForm.cs @@ -0,0 +1,1509 @@ +using AllBase; +using AllBase.Helper; +using AllBase.Model.Result; +using NaiBa.Util.Extension; +using Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.IO; +using System.Linq; +using System.Net.Http; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using System.Windows.Forms; +using TemuKJD.Extension; +using TemuKJD.BaseForms; +using TemuKJD.ToolForms; +using Work; +using TemuKJD.BLL; +using System.Text.RegularExpressions; +using TemuKJD.PDDForms.ProductSelectForms; +using TemuKJD.WXForms.ShopForms; +using AllBase.Model.Result.PDDResult; +using AllBase.Model.Param.WXParam; +using AllBase.Model.Result.WXResult; +using Newtonsoft.Json; +using NaiBa.Util; +using AllBase.Model.Config; +using TemuKJD.BLL.Wx; +using AllBase.Model.Data; + +namespace TemuKJD.WXForms.ProductForms +{ + public partial class WXOrderListForm : BaseForm + { + int PageBegin = 1; + int PageEnd = 9999; + + public CancellationTokenSource cancellationTokenSource { get; set; } = null; + public bool IsLoadComplate { get; set; } = false; + + bool isInit = false; + CheckBox chkSelectAll = null; + ConcurrentList lstWXConsignmentOrderInfo = new ConcurrentList(); + public Dictionary dicCheckedShopId = new Dictionary(); + public WXOrderListForm() + { + InitializeComponent(); + } + + private void UserSelectDbProductForm_Load(object sender, EventArgs e) + { + this.splitContainer1.Dock = DockStyle.Fill; + pnlEditReceiveInfo.Location = new Point(pnlUpdateNotes.Location.X, pnlUpdateNotes.Location.Y); + pnlBuyUrl.Location = new Point(pnlUpdateNotes.Location.X, pnlUpdateNotes.Location.Y); + + dtpFilterBeginTime.Value = DateTime.Now.AddDays(-1); + dtpFilterEndTime.Value = DateTime.Now.Date.AddDays(1).AddSeconds(-1); + + dicCheckedShopId = NaiBa.Util.Helper.ConfigHelper.LoadConfig>("wx_checked_shop_dic"); + if (dicCheckedShopId == null) + dicCheckedShopId = new Dictionary(); + + chkSelectAll = dgvShop.Columns["colSelect"].AddHeaderCheckBox(HorizontalAlignment.Center, 0, 0, null, null, false); + dgvShop.Columns["colSelect"].HeaderText = ""; + chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged; + + this.dgvOrder.AddSelectorColumn("colCheck"); + + dgvOrder.AddImgColumn("colProductSkcPic", "colImgUrl"); + + IsLoadComplate = true; + } + + private void chkSelectAll_CheckedChanged(object sender, EventArgs e) + { + if (!chkSelectAll.Checked) + { + foreach (DataGridViewRow row in dgvShop.Rows) + { + row.Cells["colSelect"].Value = false; + } + } + else + { + //var list = GlobalConfig.ShopLoginList.Where(s => s.LoginStatus == "登录成功").Select(ss => ss.ShopId); + foreach (DataGridViewRow row in dgvShop.Rows) + { + //if (list.Any(l => l == row.Cells["colShopId"]?.Value?.ToString())) + if (row.Visible == true) + row.Cells["colSelect"].Value = true; + } + } + + foreach (var r in dgvShop.Rows.Cast()) + { + dicCheckedShopId[r.Cells["colShopId"].Value.ParseToString()] = r.Cells["colSelect"].Value.ParseToBool(); + } + NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_checked_shop_dic", dicCheckedShopId); + } + + private void btnRefreshShop_Click(object sender, EventArgs e) + { + pbLoadingShop.Visible = true; + RefreshShopLogin(); + pbLoadingShop.Visible = false; + } + + private void UserSelectDbProductForm_VisibleChanged(object sender, EventArgs e) + { + if (Visible == true) + { + RefreshShopLogin(); + //updateAuthor(); + + if (!isInit) + { + } + + isInit = true; + } + } + + private void RefreshShopLogin() + { + // 店铺Id + var selectIds = dgvShop.Rows.Cast().Where(row + => row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList(); + // 获取被删除的店铺 + List dgvRowList = dgvShop.Rows.Cast().Where(row + => !GlobalConfig.ShopLoginList.Any(s => s.ShopId == row.Cells["colShopId"]?.Value?.ToString())).ToList(); + // 更新被删除的店铺列表 + foreach (var row in dgvRowList) + { + dgvShop.Rows.Remove(row); + } + // 绑定其他店铺(含新导入的店铺) + foreach (ShopLoginInfo shopEntity in GlobalConfig.ShopLoginList) + { + if (!string.IsNullOrEmpty(shopEntity.ShopId)) + BindShop(shopEntity, selectIds); + } + cmbFilterShopNotes.Items.Clear(); + foreach (var note in GlobalConfig.ShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct()) + { + cmbFilterShopNotes.Items.Add(note); + } + cmbFilterShopGroup.Items.Clear(); + foreach (var group in GlobalConfig.ShopLoginList.Select(s => s.GroupName).Where(s => !s.IsNullOrEmpty()).Distinct()) + { + cmbFilterShopGroup.Items.Add(group); + } + cmbFilterOrderShopGroup.Items.Clear(); + foreach (var group in GlobalConfig.ShopLoginList.Select(s => s.GroupName).Where(s => !s.IsNullOrEmpty()).Distinct()) + { + cmbFilterOrderShopGroup.Items.Add(group); + } + } + + private void BindShop(ShopLoginInfo shopEntity, List selectShopId = null, string msg = "") + { + if (shopEntity == null) + return; + if (shopEntity.is_shop_expire) + return; + if (selectShopId == null) + selectShopId = new List(); + + bool canUse = shopEntity.LoginStatus == "登录成功"; + var rows = dgvShop.Rows.Cast().Where(p => p.Cells.GetCellValueFromColumnName("colShopId").ParseToString() == shopEntity.ShopId).ToList(); + var day = DateTime.Now.ToString("yyyyMMdd").ParseToInt(); + if (rows.Count == 0) + { + this.dgvShop.Rows.Add( + dicCheckedShopId.Keys.Contains(shopEntity.ShopId) && dicCheckedShopId[shopEntity.ShopId] == true, + shopEntity.LoginName, + shopEntity.ShopId, + shopEntity.ShopAccount, + shopEntity.Notes, + shopEntity.GroupName, + "选择商品", + canUse ? "在线" : "掉线", + GlobalConfig.lstWxShopAuthInfo.FirstOrDefault(sa => sa.ShopId == shopEntity.ShopId)?.ExpiresTime > DateTime.Now.AddMinutes(5) ? "可用" : "过期", + canUse, + GlobalConfig.dicWxShopUploadInfo.ContainsKey(shopEntity.ShopId) ? GlobalConfig.dicWxShopUploadInfo[shopEntity.ShopId].DicDayUploadCount[day] : 0, + GlobalConfig.dicWxShopUploadInfo.ContainsKey(shopEntity.ShopId) ? GlobalConfig.dicWxShopUploadInfo[shopEntity.ShopId].OnSaleCount : 0, + shopEntity.AddProductRemaining, + msg + ); + } + else + { + foreach (var row in rows) + { + row.Cells["colSelect"].Value = !isInit || (selectShopId.Contains(shopEntity.ShopId) && canUse); + row.Cells["colShopLoginName"].Value = shopEntity.LoginName; + row.Cells["colShopName"].Value = shopEntity.ShopAccount; + row.Cells["colShopNotes"].Value = shopEntity.Notes; + row.Cells["colGroup"].Value = shopEntity.GroupName; + row.Cells["colLoginStatus"].Value = canUse ? "在线" : "掉线"; + row.Cells["colLoginStatus"].Style.ForeColor = canUse ? Color.Green : Color.Red; + row.Cells["colCanUse"].Value = canUse; + row.Cells["colApi"].Value = GlobalConfig.lstWxShopAuthInfo.FirstOrDefault(sa => sa.ShopId == shopEntity.ShopId)?.ExpiresTime > DateTime.Now.AddMinutes(5) ? "可用" : "过期"; + row.Cells["colRemaining"].Value = shopEntity.AddProductRemaining; + row.Cells["colUploadCount"].Value = GlobalConfig.dicWxShopUploadInfo.ContainsKey(shopEntity.ShopId) ? GlobalConfig.dicWxShopUploadInfo[shopEntity.ShopId].DicDayUploadCount[day] : 0; + row.Cells["colOnSaleNum"].Value = GlobalConfig.dicWxShopUploadInfo.ContainsKey(shopEntity.ShopId) ? GlobalConfig.dicWxShopUploadInfo[shopEntity.ShopId].OnSaleCount : 0; + row.Cells["colMessage"].Value = msg; + } + } + + displayAuthStatus(shopEntity); + } + + void displayAuthStatus(ShopLoginInfo shop) + { + var rows = this.dgvShop.Rows.Cast().Where(r => r.Cells["colShopId"].Value.ParseToString() == shop?.ShopId); + foreach (var row in rows) + { + bool canUse = row.Cells["colLoginStatus"].Value.ParseToString() == "在线"; + (row.Cells["colLoginStatus"] as DataGridViewLinkCell).Style.ForeColor = canUse ? Color.Blue : Color.Red; + (row.Cells["colLoginStatus"] as DataGridViewLinkCell).LinkColor = canUse ? Color.Blue : Color.Red; + (row.Cells["colLoginStatus"] as DataGridViewLinkCell).ActiveLinkColor = canUse ? Color.LightBlue : Color.OrangeRed; + (row.Cells["colLoginStatus"] as DataGridViewLinkCell).VisitedLinkColor = canUse ? Color.DarkBlue : Color.DarkRed; + canUse = row.Cells["colApi"].Value.ParseToString() == "可用"; + (row.Cells["colApi"] as DataGridViewLinkCell).Style.ForeColor = canUse ? Color.Blue : Color.Red; + (row.Cells["colApi"] as DataGridViewLinkCell).LinkColor = canUse ? Color.Blue : Color.Red; + (row.Cells["colApi"] as DataGridViewLinkCell).ActiveLinkColor = canUse ? Color.LightBlue : Color.OrangeRed; + (row.Cells["colApi"] as DataGridViewLinkCell).VisitedLinkColor = canUse ? Color.DarkBlue : Color.DarkRed; + } + } + + private void dgvShop_CellContentClick(object sender, DataGridViewCellEventArgs e) + { + if (e.ColumnIndex < 0 || e.RowIndex < 0) + return; + string headerText = dgvShop.Columns[e.ColumnIndex].HeaderText; + string columnName = dgvShop.Columns[e.ColumnIndex].Name; + string shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToString(); + string shopAccount = dgvShop.Rows[e.RowIndex].Cells["colShopName"].Value.ToString(); + var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString()); + var row = dgvShop.Rows[e.RowIndex]; + switch (columnName) + { + case "colSelect": + //if (row.Cells["colCanUse"].Value.ParseToBool()) + { + row.Cells["colSelect"].Value = !row.Cells["colSelect"].Value.ParseToBool(); + + chkSelectAll.CheckedChanged -= chkSelectAll_CheckedChanged; + if (dgvShop.Rows.Cast().All(r => r.Cells["colSelect"].Value.ParseToBool())) + chkSelectAll.Checked = true; + else + chkSelectAll.Checked = false; + chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged; + } + //else + { + //BaseMsgForm.ShowInfo("店铺未登录!"); + } + + dicCheckedShopId[row.Cells["colShopId"].Value.ParseToString()] = row.Cells["colSelect"].Value.ParseToBool(); + NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_checked_shop_dic", dicCheckedShopId); + break; + case "colLoginStatus": + { + if (WXShopListForm.Instance == null) + WXShopListForm.Instance = new WXShopListForm(); + WXShopListForm.Instance.CheckShopLogin(new string[] { shop.LoginName }, false); + WXShopLoginForm shopLoginForm = new WXShopLoginForm(shop); + //shopLoginForm.prodUserSelectForm = this; + if (shop.LoginStatus != "登录成功") + { + shopLoginForm.openType = EnumOpenType.login; + shopLoginForm.ShowDialog(); + RefreshShopLogin(); + } + else + { + shopLoginForm.openType = EnumOpenType.manage; + shopLoginForm.WindowState = FormWindowState.Maximized; + shopLoginForm.Show(); + } + } + break; + case "colApi": + { + WXShopLoginForm shopLoginForm = new WXShopLoginForm(shop); + shopLoginForm.openType = EnumOpenType.manage; + shopLoginForm.WindowState = FormWindowState.Maximized; + shopLoginForm.InitUrl = "https://store.weixin.qq.com/shop/servicemarket/detail?serviceId=3984039898079707139"; + shopLoginForm.Show(); + } + break; + } + } + + private void btnSearch_Click(object sender, EventArgs e) + { + var lstShopId = dgvShop.Rows.Cast().Where(row + => row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList(); + if (lstShopId.Count == 0) + { + BaseMsgForm.ShowInfo("请选择店铺!"); + return; + } + } + + private void dgvSelectProduct_CellContentClick(object sender, DataGridViewCellEventArgs e) + { + if (e.ColumnIndex < 0 || e.RowIndex < 0) + return; + string headerText = dgvOrder.Columns[e.ColumnIndex].HeaderText; + var shopId = dgvOrder.Rows[e.RowIndex].Cells["colSupplierId"].Value.ParseToString(); + var draftId = dgvOrder.Rows[e.RowIndex].Cells["colDraftId"].Value.ParseToString(); + var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId); + var row = dgvOrder.Rows[e.RowIndex]; + var orderId = row.Cells["colOrderId"].Value.ParseToString(); + + switch (headerText) + { + case "删除": + break; + case "登录": + { + WXShopLoginForm shopLoginForm = new WXShopLoginForm(shop); + shopLoginForm.openType = EnumOpenType.login; + shopLoginForm.ShowDialog(); + RefreshShopLogin(); + } + break; + case "进店": + { + WXShopLoginForm shopLoginForm = new WXShopLoginForm(shop); + WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false); + if (shop.LoginStatus == "登录成功") + { + shopLoginForm.openType = EnumOpenType.manage; + shopLoginForm.WindowState = FormWindowState.Maximized; + //shopLoginForm.InitUrl = "https://store.weixin.qq.com/shop/home"; + shopLoginForm.InitUrl = "https://store.weixin.qq.com/shop/order/list"; + shopLoginForm.Show(); + } + else + { + shopLoginForm.openType = EnumOpenType.login; + shopLoginForm.ShowDialog(); + RefreshShopLogin(); + } + } + break; + case "图片": + { + ShowImgForm imgFrom = new ShowImgForm(dgvOrder.Rows[e.RowIndex].Cells["colImgUrl"].Value.ParseToString()); + imgFrom.ShowDialog(); + break; + } + case "操作": + { + if (BaseMsgForm.ShowConfirm("确认要取消分配吗?取消分配后,订单将回到待分配状态").DialogResult != DialogResult.OK) + return; + this.pbLoading.Visible = true; + Task.Run(() => + { + CancelConsignment(new List() { dgvOrder.Rows[e.RowIndex] }); + Invoke(new Action(() => + { + this.pbLoading.Visible = false; + })); + }, cancellationTokenSource.Token); + break; + } + case "修改": + pnlUpdateNotes.Visible = true; + pnlEditReceiveInfo.Visible = false; + pnlBuyUrl.Visible = false; + lblShopName.Text = shop.ShopAccount; + lblShopId.Text = shop.ShopId; + lblOrderId.Text = orderId; + txtNotes.Text = row.Cells["colNotes"].Value.ParseToString(); + lblColorTag.Text = row.Cells["colNotesColor"].Value.ParseToString(); + ucCheckBox1.CheckBoxCheckColor = Color.Gray; + ucCheckBox1.CheckBoxBorderColor = Color.Gray; + ucCheckBox2.CheckBoxCheckColor = Color.Red; + ucCheckBox2.CheckBoxBorderColor = Color.Red; + ucCheckBox3.CheckBoxCheckColor = Color.Orange; + ucCheckBox3.CheckBoxBorderColor = Color.Orange; + ucCheckBox4.CheckBoxCheckColor = Color.Green; + ucCheckBox4.CheckBoxBorderColor = Color.Green; + ucCheckBox5.CheckBoxCheckColor = Color.Blue; + ucCheckBox5.CheckBoxBorderColor = Color.Blue; + ucCheckBox1.Checked = lblColorTag.Text == "0"; + ucCheckBox2.Checked = lblColorTag.Text == "1"; + ucCheckBox3.Checked = lblColorTag.Text == "2"; + ucCheckBox4.Checked = lblColorTag.Text == "3"; + ucCheckBox5.Checked = lblColorTag.Text == "4"; + break; + case "解密": + { + var deRst = "测试地址写入{\"code\"0}"; + deRst = WXOrderList.decryptOrder(shop, orderId); + if (deRst.Contains("\"code\":0")) + { + var url = BaseClass.BuildObjString("shop/wx_add_mdy_order_address"); + var data = UserLogin.GetSignaturex(); + data += "&shop_id=" + shop.ShopId; + data += "&order_id=" + orderId; + data += "&order_address=" + GetHtml.UrlEncodeUtf8(deRst); + var html = GetHtml.PostUtf8(url, data); + if (!html.Contains("\"code\":200")) + html = GetHtml.PostUtf8(url, data); + if (!html.Contains("\"code\":200")) + { + var errMsg = BaseRegex.GetStringJson(ref html, "msg"); + if (errMsg.IsNullOrEmpty()) + errMsg = html; + BaseMsgForm.ShowError("解密成功但保存到服务端失败:" + errMsg); + row.Cells["colOpResult"].Value = errMsg; + row.Cells["colReceiveInfo"].Value = GetDecryptOrder(deRst); + row.Cells["colReceiveInfo"].Style.ForeColor = DefaultForeColor; + } + else + { + row.Cells["colOpResult"].Value = "解密成功"; + row.Cells["colReceiveInfo"].Value = GetDecryptOrder(deRst); + row.Cells["colReceiveInfo"].Style.ForeColor = DefaultForeColor; + } + } + else + { + var error = BaseRegex.GetStringJson(ref deRst, "msg"); + if (string.IsNullOrEmpty(error)) + error = BaseRegex.GetStringJson(ref deRst, "errMsg"); + if (string.IsNullOrEmpty(error)) + error = BaseRegex.GetStringJson(ref deRst, "errorMsg"); + if (string.IsNullOrEmpty(error)) + error = deRst; + row.Cells["colOpResult"].Value = "解密失败:" + error; + BaseMsgForm.ShowError("解密失败:" + error); + } + } + break; + case "填写": + { + pnlUpdateNotes.Visible = false; + pnlEditReceiveInfo.Visible = true; + pnlBuyUrl.Visible = false; + lblEditReceiveInfoShopName.Text = shop.ShopAccount; + lblEditReceiveInfoShopId.Text = shop.ShopId; + lblEditReceiveInfoOrderId.Text = orderId; + txtEditReceiveInfoAddress.Text = row.Cells["colReceiveInfo"].Value.ParseToString(); + } + break; + case "编辑": + { + pnlUpdateNotes.Visible = false; + pnlEditReceiveInfo.Visible = false; + pnlBuyUrl.Visible = true; + lblBuyUrlShopName.Text = shop.ShopAccount; + lblBuyUrlShopId.Text = shop.ShopId; + lblBuyUrlOrderId.Text = orderId; + lblBuyUrlSpuCode.Text = row.Cells["colSpuCode"].Value.ParseToString(); + txtBuyUrl.Text = row.Cells["colBuyUrl"].Value.ParseToString(); + } + break; + case "寄件": + { + pbLoading.Visible = true; + Task.Run(() => + { + WXPreCreateOrderWaybillOnlineParam preWaybillOnlineparam = new WXPreCreateOrderWaybillOnlineParam(); + preWaybillOnlineparam.req.requestContent.Add(new preWaybillOnlineRequestContentParam() + { + ecOrderList = new List(), + uuid = Guid.NewGuid().ParseToString(), + }); + + +#if DEBUG + var url = BaseClass.BuildObjString("product/wx_get_random_after_sale_list"); + var data = Work.UserLogin.GetSignaturex(); + data += "&page_size=1"; + var html = GetHtml.PostUtf8(url, data); + if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200")) + html = GetHtml.PostUtf8(url, data); + if (html.Contains("\"code\":200") && !html.Contains("\"data\":[]")) + { + var obj = JsonHelper.JObjectParse(html)["data"].FirstOrDefault()["after_sale_json"]; + string addressJson = obj.ParseToString(); + + var senderInfo = preWaybillOnlineparam.req.requestContent.FirstOrDefault().sender; + senderInfo.province = BaseRegex.GetStringJson(ref addressJson, "province_name"); + senderInfo.city = BaseRegex.GetStringJson(ref addressJson, "city_name"); + senderInfo.county = BaseRegex.GetStringJson(ref addressJson, "county_name"); + senderInfo.street = BaseRegex.GetStringJson(ref addressJson, "street_name").ParseToString(); + senderInfo.mobile = BaseRegex.GetStringJson(ref addressJson, "tel_number"); + senderInfo.name = BaseRegex.GetStringJson(ref addressJson, "user_name"); + senderInfo.address = BaseRegex.GetStringJson(ref addressJson, "detail_info"); + senderInfo.mobile = WaybillHelper.MobileHead[Randomx.GetId(WaybillHelper.MobileHead.Count)] + Randomx.GetNumber(8); + senderInfo.name = WaybillHelper.LastName[Randomx.GetId(WaybillHelper.LastName.Count)] + (Randomx.GetId(2) == 1 ? "先生" : "女士"); + } + ecOrderParam orderParam = new ecOrderParam(); + orderParam.ecOrderId = orderId; + var rows = dgvOrder.Rows.Cast().Where(r => r.Cells["colOrderId"].Value.ParseToString() == orderId); + foreach(var rw in rows) + { + orderParam.goodsList.Add(new orderGoodsParam + { + goodCount = rw.Cells["colCnt"].Value.ParseToInt(), + goodName = rw.Cells["colProductName"].Value.ParseToString(), + productId = rw.Cells["colDraftId"].Value.ParseToString(), + skuId = rw.Cells["colSkuId"].Value.ParseToString(), + }); + } + preWaybillOnlineparam.req.requestContent.FirstOrDefault().ecOrderList.Add(orderParam); + + var result = WXOrderList.preCreateOrderWaybillOnline(shop, preWaybillOnlineparam); + if (result.Contains("账号未开通在线寄件服务")) + { + BaseMsgForm.ShowError("账号未开通在线寄件服务"); + Invoke(new Action(() => { pbLoading.Visible = false; })); + return; + } + if (result.Contains("订单已分配给供货商,商家无需发货")) + { + BaseMsgForm.ShowError("订单已分配给供货商,商家无需发货"); + Invoke(new Action(() => { pbLoading.Visible = false; })); + return; + } + if (!result.Contains("\"ret\":0,")) + { + BaseMsgForm.ShowError("在线寄件失败:" + result, "错误", FormLevel.LARGE); + Invoke(new Action(() => { pbLoading.Visible = false; })); + return; + } + List deliverInfoLst = new List(); + var jObj = JsonHelper.JObjectParse(result)["list"]; + deliverInfoLst = JsonHelper.DeserializeJsonToList(jObj.ParseToString()) + .Where(d => d.responseContent.FirstOrDefault()?.deliveryId == "YTO" || d.responseContent.FirstOrDefault()?.deliveryId == "YUNDA" || + d.responseContent.FirstOrDefault()?.deliveryId == "ZTO" || d.responseContent.FirstOrDefault()?.deliveryId == "STO").ToList() + .Where(d => d.responseContent.FirstOrDefault()?.deliveryErrorMsg == "success").ToList(); + + var deliverInfo = deliverInfoLst[Randomx.GetId(deliverInfoLst.Count)]; + + WXCreateOrderWaybillOnlineParam waybillOnlineparam = new WXCreateOrderWaybillOnlineParam(); + waybillOnlineparam.requestContent.Add(new WaybillOnlineRequestContentParam() + { + deliveryId = deliverInfo.responseContent.FirstOrDefault().deliveryId, + deliveryInfo = preWaybillOnlineparam.req.requestContent.FirstOrDefault().deliveryInfo, + ecOrderList = preWaybillOnlineparam.req.requestContent.FirstOrDefault().ecOrderList, + ewaybillOrderId = deliverInfo.responseContent.FirstOrDefault().ewaybillOrderId, + extInfo = preWaybillOnlineparam.req.requestContent.FirstOrDefault().extInfo, + orderVasList = preWaybillOnlineparam.req.requestContent.FirstOrDefault().orderVasList, + sender = preWaybillOnlineparam.req.requestContent.FirstOrDefault().sender, + source = preWaybillOnlineparam.req.requestContent.FirstOrDefault().source, + uuid = preWaybillOnlineparam.req.requestContent.FirstOrDefault().uuid, + }); +#endif + + Invoke(new Action(() => { pbLoading.Visible = false; })); + }); + } + break; + case "": + dgvOrder.Rows[e.RowIndex].Cells["colCheck"].Value = !(bool)dgvOrder.Rows[e.RowIndex].Cells["colCheck"].Value; + break; + default: + break; + } + } + + public string GetDecryptOrder(string sourceOrderAddressStr) + { + //黄颖飞(4559),18466134204-4559,广西壮族自治区柳州市柳南区福柳宏都8-1-701 (拨打请输入分机号4559) + var userName = BaseRegex.GetStringJson(ref sourceOrderAddressStr, "userName"); // 黄颖飞 + var extension = BaseRegex.GetStringJson(ref sourceOrderAddressStr, "extension"); // 4559 + var virtualNumber = BaseRegex.GetStringJson(ref sourceOrderAddressStr, "virtualNumber"); // 18466134204 + var provinceName = BaseRegex.GetStringJson(ref sourceOrderAddressStr, "provinceName"); // 广西壮族自治区 + var cityName = BaseRegex.GetStringJson(ref sourceOrderAddressStr, "cityName"); // 柳州市 + var countyName = BaseRegex.GetStringJson(ref sourceOrderAddressStr, "countyName"); // 柳南区 + var detailInfo = BaseRegex.GetStringJson(ref sourceOrderAddressStr, "detailInfo"); // 福柳宏都8-1-701 + if (userName.IsNullOrEmpty() || extension.IsNullOrEmpty() || virtualNumber.IsNullOrEmpty() || provinceName.IsNullOrEmpty() || cityName.IsNullOrEmpty() || + countyName.IsNullOrEmpty() || detailInfo.IsNullOrEmpty()) + { + return sourceOrderAddressStr; + } + return userName + "(" + extension + ")," + virtualNumber + "-" + extension + "," + provinceName + cityName + countyName + detailInfo + "(拨打请输入分机号" + extension + ")"; + } + + private void btnStop_Click(object sender, EventArgs e) + { + if (this.cancellationTokenSource != null) + this.cancellationTokenSource.Cancel(); + } + + private void btnSearchProd_Click(object sender, EventArgs e) + { + var shopIdLst = dgvShop.Rows.Cast().Where(row + => row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList(); + if (shopIdLst.Count <= 0) + { + BaseMsgForm.ShowError("未勾选查询店铺!"); + return; + } + btnSearchOrder.Enabled = false; + pbLoading.Visible = true; + if (cancellationTokenSource != null) + cancellationTokenSource.Cancel(); + cancellationTokenSource = new CancellationTokenSource(); + dgvOrder.Rows.Clear(); + Task.Run(() => + { + GetConsignmentOrder(shopIdLst); + Invoke(new Action(() => + { + if (cancellationTokenSource.IsCancellationRequested) + { + this.statusBar.lblTaskStatus.Text = "订单查询停止"; + BaseMsgForm.ShowInfo("订单查询停止"); + } + else + { + this.statusBar.lblTaskStatus.Text = "订单查询完毕"; + BaseMsgForm.ShowInfo("订单查询完毕"); + } + pbLoading.Visible = false; + btnSearchOrder.Enabled = true; + })); + }, cancellationTokenSource.Token); + } + + void GetConsignmentOrder(List shopIdLst) + { + List shopLst = GlobalConfig.ShopLoginList.Where(s => shopIdLst.Contains(s.ShopId)).ToList(); + + Invoke(new Action(() => + { + this.pbLoading.Visible = true; + this.statusBar.lblTaskStatus.Text = "正在查询店铺"; + this.statusBar.pgbTaskProgress.Maximum = shopIdLst.Count; + this.statusBar.UpdateProgressBar(0); + })); + + foreach (var shop in shopLst) + { + if (cancellationTokenSource.IsCancellationRequested) + break; + + Invoke(new Action(() => + { + this.statusBar.UpdateProgressBar(this.statusBar.pgbTaskProgress.Value + 1); + })); + + if (shop.LoginStatus != "登录成功") + { + continue; + } + + for (int orderStatus = 20; orderStatus <= 30; orderStatus += 10) + { + int page = PageBegin - 1; + int totalPage = 1; + int pageSize = 30; + while (page < totalPage && page < PageEnd) + { + page++; + + if (orderStatus == 20 && !chkWaitSend.Checked) + break; + if (orderStatus == 30 && !chkHasSend.Checked) + break; + + if (cancellationTokenSource.IsCancellationRequested) + break; + + // 查找订单 + pageSize = 30; + var result = WXOrderList.orderSearch(shop, orderStatus, page, pageSize); + if (!result.Contains("\"code\":0")) + { + ShowShopError(shop, result); + break; + } + totalPage = Math.Ceiling(BaseRegex.GetIntJson(ref result, "totalNum") * 1m / pageSize).ParseToInt(); + List orderLst = new List(); + try + { + var jArr = JsonHelper.JObjectParse(result)["orderList"]; + orderLst = JsonHelper.DeserializeJsonToList(JsonHelper.SerializeObject(jArr)); + } + catch (Exception ex) + { + ShowShopError(shop, ex.Message); + break; + } + Thread.Sleep(Randomx.GetId(200, 1000)); + + try + { + Invoke(new Action(() => + { + this.pbLoading.Visible = true; + this.statusBar.lblTaskStatus.Text = "正在查询店铺:" + shop.ShopAccount + " " + page + "/" + Math.Min(PageEnd, totalPage); + })); + + var url = BaseClass.BuildObjString("shop/wx_get_order_address"); + var data = UserLogin.GetSignaturex() + "&shop_id=" + shop.ShopId; + data += "&order_ids=" + string.Join(",", orderLst.Select(o => o.commonInfo.orderId)); + data += "¬_count=true"; + var html = GetHtml.PostUtf8(url, data); + if (!html.Contains("\"code\":200")) + html = GetHtml.PostUtf8(url, data); + List orderDecryptAddressLst = new List(); + if (html.Contains("\"code\":200")) + { + var jObj = JsonHelper.JObjectParse(html)["data"]; + orderDecryptAddressLst = JsonHelper.DeserializeJsonToList(jObj.ParseToString()); + } + + url = BaseClass.BuildObjString("shop/wx_get_buy_url_notes"); + data = UserLogin.GetSignaturex() + "&shop_id=" + shop.ShopId; + data += "&spu_codes=" + GetHtml.UrlEncodeUtf8(string.Join(",", orderLst.SelectMany(o => o.orderProductInfo.Select(p => p.spuCode)).Distinct())); + data += "&main_user_name=" + (BaseClass.GroupId == 3 ? BaseClass.UserName : BaseClass.ParentUserName); + data += "¬_count=true"; + html = GetHtml.PostUtf8(url, data); + if (!html.Contains("\"code\":200")) + html = GetHtml.PostUtf8(url, data); + List buyUrlNotesInfoLst = new List(); + if (html.Contains("\"code\":200")) + { + var jObj = JsonHelper.JObjectParse(html)["data"]; + buyUrlNotesInfoLst = JsonHelper.DeserializeJsonToList(jObj.ParseToString()); + } + + foreach (var order in orderLst) + { + foreach (var orderProd in order.orderProductInfo) + { + var discount = orderProd.salePrice.ParseToInt() * orderProd.productCnt - orderProd.realPrice; + var orderAddresss = orderDecryptAddressLst.FirstOrDefault(a => a.order_id == order.commonInfo.orderId); + var buyUrlNotes = buyUrlNotesInfoLst.FirstOrDefault(b => b.spu_code == orderProd.spuCode); + var DecryptAddress = this.GetDecryptOrder((orderAddresss?.order_address).ParseToString()); + Invoke(new Action(() => + { + var rowIndex = this.dgvOrder.Rows.Add( + false, + shop.ShopId, + shop.ShopAccount, + shop.Notes, + shop.GroupName, + "登录", + "进店", + order.commonInfo.orderId, + order.commonInfo.createTimeStr, + order.commonInfo.createTimeStr.ParseToDateTime().ToString("M/d HH:mm"), + orderProd.thumbImg, + DataGridViewExtension.defaultBitmap, + + //orderProd.productId + "\r\n" + string.Join("", orderProd.title.Take(30)) + (orderProd.title.Length > 30 ? "…" : "") + + // "\r\n-----\r\n" + string.Join(";", orderProd.saleParam), // 商品信息合集 + orderProd.productId + "\r\n" + orderProd.title + "\r\n-----\r\n" + string.Join(";", orderProd.saleParam), // 商品信息合集 + orderProd.productId, // 商品Id + orderProd.title, // 商品名称 + orderProd.spuCode, // 商品编码 + + orderProd.skuId, // skuId + string.Join(";", orderProd.saleParam), // sku规格 + orderProd.skuCode, // sku编码 + "商品编码:\r\n" + orderProd.spuCode + "\r\n" + "规格编码:\r\n" + orderProd.skuCode, // 编码信息合集 + + orderProd.productCnt, // 商品数量 + orderProd.salePrice.ParseToInt() * 0.01m + "\r\nx" + orderProd.productCnt, // 商品单价/数量 + orderProd.realPrice * 0.01m + (discount > 0 ? "\r\n优惠\r\n-" + discount * 0.01m : ""), // 商品总价/优惠 + discount > 0 ? discount * 0.01m : null, // 商品优惠 + + order.commonInfo.statusStr, // 订单状态 + + buyUrlNotes?.buy_url_notes, // 采购地址 + "编辑", + + DecryptAddress.IsNullOrEmpty() ? (order.acceptInfo.addressInfo.userName + " " + order.acceptInfo.addressInfo.telNumber + " " + + order.acceptInfo.addressInfo.provinceName + " " + order.acceptInfo.addressInfo.cityName + " " + + order.acceptInfo.addressInfo.countyName + " " + order.acceptInfo.addressInfo.detailInfo + " " + + " 未解密") : DecryptAddress, // 收件地址解密 + + "解密", + "在线\r\n寄件", + "填写", + + order.flagInfo.flagNotes, // 卖家备注 + order.flagInfo.flagColor, // 卖家备注颜色 + "修改", + "" + ); + + var row = dgvOrder.Rows[rowIndex]; + SizeF textSize = TextRenderer.MeasureText(row.Cells["colProdInfo"].Value.ParseToString(), row.Cells["colProdInfo"].Style.Font, + new Size(row.Cells["colProdInfo"].ContentBounds.Width, 500), TextFormatFlags.WordBreak); + + row.Height = Math.Max(textSize.Height + 20, 100).ParseToInt(); + // 根据卖家备注颜色显示文字颜色 + if (order.flagInfo.flagColor == 1) + row.Cells["colNotes"].Style.ForeColor = Color.Red; + if (order.flagInfo.flagColor == 2) + row.Cells["colNotes"].Style.ForeColor = Color.Orange; + if (order.flagInfo.flagColor == 3) + row.Cells["colNotes"].Style.ForeColor = Color.Green; + if (order.flagInfo.flagColor == 4) + row.Cells["colNotes"].Style.ForeColor = Color.Blue; + + if (row.Cells["colReceiveInfo"].Value.ParseToString().Contains("未解密")) + row.Cells["colReceiveInfo"].Style.ForeColor = Color.DarkGray; + })); + } + } + } + catch (Exception ex) + { + ShowShopError(shop, ex.Message); + } + } + } + } + } + + private void btnClearDgv_Click(object sender, EventArgs e) + { + var rows = this.dgvOrder.Rows.Cast().ToList(); //Cast后Rows做foreach循环时仍会夹花跳过,所以要ToList转一个新的数组。 + foreach (var row in rows) + { + if (row.Cells["colCheck"].Value.ParseToBool() == true) + { + //var draft_id = row.Cells["colDraftId"].Value.ParseToString(); + //upload_draft_product_lst.RemoveAll(p => p.draft_id == draft_id); + + this.dgvOrder.Rows.Remove(row); + } + } + //NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_select_upload_draft_products", upload_draft_product_lst); + } + + private void btnClearFilter_Click(object sender, EventArgs e) + { + chkHasSend.Checked = true; + chkWaitSend.Checked = true; + } + + private void btnFilterShop_Click(object sender, EventArgs e) + { + string notes = cmbFilterShopNotes.Text.Trim().Trim(';'); + if (notes == "全部") + notes = ""; + List notesLst = notes.Split(new string[] { ";", ";", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList(); + + string group = cmbFilterShopGroup.Text.Trim().Trim(';'); + if (group == "全部") + group = ""; + List groupLst = group.Split(new string[] { ";", ";", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList(); + + foreach (DataGridViewRow row in dgvShop.Rows) + { + if (!row.Cells["colShopName"].Value.ParseToString().Contains(txtFilterShopName.Text.Trim())) + { + row.Visible = false; + row.Cells["colSelect"].Value = false; + continue; + } + if (!string.IsNullOrWhiteSpace(notes) && !notesLst.Contains(row.Cells["colShopNotes"].Value.ParseToString())) + { + row.Visible = false; + row.Cells["colSelect"].Value = false; + continue; + } + if (!string.IsNullOrWhiteSpace(group) && !groupLst.Contains(row.Cells["colGroup"].Value.ParseToString())) + { + row.Visible = false; + row.Cells["colSelect"].Value = false; + continue; + } + row.Visible = true; + } + } + + private void btnEmptyShop_Click(object sender, EventArgs e) + { + txtFilterShopName.Text = ""; + cmbFilterShopNotes.Text = "全部"; + cmbFilterShopGroup.Text = "全部"; + btnFilterShop_Click(null, null); + } + + private void btnReverse_Click(object sender, EventArgs e) + { + foreach (DataGridViewRow row in dgvShop.Rows) + { + if (row.Visible == true) + row.Cells["colSelect"].Value = !row.Cells["colSelect"].Value.ParseToBool(); + } + } + + private void btnAddSelect_Click(object sender, EventArgs e) + { + string notes = cmbFilterShopNotes.Text.Trim().Trim(';'); + if (notes == "全部") + notes = ""; + List notesLst = notes.Split(new string[] { ";", ";", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList(); + + string group = cmbFilterShopGroup.Text.Trim().Trim(';'); + if (group == "全部") + group = ""; + List groupLst = group.Split(new string[] { ";", ";", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList(); + + foreach (DataGridViewRow row in dgvShop.Rows) + { + if (row.Visible == false) + continue; + + if (!row.Cells["colShopName"].Value.ParseToString().Contains(txtFilterShopName.Text.Trim())) + continue; + if (!string.IsNullOrWhiteSpace(notes) && !notesLst.Contains(row.Cells["colShopNotes"].Value.ParseToString())) + continue; + if (!string.IsNullOrWhiteSpace(group) && !groupLst.Contains(row.Cells["colGroup"].Value.ParseToString())) + continue; + + row.Cells["colSelect"].Value = true; + } + } + + private void btnAddUnSelect_Click(object sender, EventArgs e) + { + string notes = cmbFilterShopNotes.Text.Trim().Trim(';'); + if (notes == "全部") + notes = ""; + List notesLst = notes.Split(new string[] { ";", ";", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList(); + + string group = cmbFilterShopGroup.Text.Trim().Trim(';'); + if (group == "全部") + group = ""; + List groupLst = group.Split(new string[] { ";", ";", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList(); + + foreach (DataGridViewRow row in dgvShop.Rows) + { + if (row.Visible == false) + continue; + + if (!row.Cells["colShopName"].Value.ParseToString().Contains(txtFilterShopName.Text.Trim())) + continue; + if (!string.IsNullOrWhiteSpace(notes) && !notesLst.Contains(row.Cells["colShopNotes"].Value.ParseToString())) + continue; + if (!string.IsNullOrWhiteSpace(group) && !groupLst.Contains(row.Cells["colGroup"].Value.ParseToString())) + continue; + + row.Cells["colSelect"].Value = false; + } + } + + private void btnSelectOnline_Click(object sender, EventArgs e) + { + foreach (DataGridViewRow row in dgvShop.Rows) + { + if (row.Visible == true) + { + if (row.Cells["colLoginStatus"].Value.ParseToString() == "在线") + { + row.Cells["colSelect"].Value = true; + } + else + { + row.Cells["colSelect"].Value = false; + } + } + } + } + + private void btnSelectOffline_Click(object sender, EventArgs e) + { + foreach (DataGridViewRow row in dgvShop.Rows) + { + if (row.Visible == true) + { + if (row.Cells["colLoginStatus"].Value.ParseToString() != "在线") + { + row.Cells["colSelect"].Value = true; + } + else + { + row.Cells["colSelect"].Value = false; + } + } + } + } + + private void btnCancelConsignment_Click(object sender, EventArgs e) + { + var rowLst = dgvOrder.Rows.Cast().Where(r => r.Cells["colCheck"].Value.ParseToBool() == true).ToList(); + if (rowLst.Count <= 0) + { + BaseMsgForm.ShowError("请勾选需要操作的订单!"); + return; + } + + if (BaseMsgForm.ShowConfirm("确认要取消分配吗?取消分配后,订单将回到待分配状态").DialogResult != DialogResult.OK) + return; + + this.pbLoading.Visible = true; + if (cancellationTokenSource != null && !cancellationTokenSource.IsCancellationRequested) + cancellationTokenSource.Cancel(); + cancellationTokenSource = new CancellationTokenSource(); + Task.Run(() => + { + CancelConsignment(rowLst); + Invoke(new Action(() => + { + if (cancellationTokenSource.IsCancellationRequested) + { + this.statusBar.lblTaskStatus.Text = "取消分配中断"; + BaseMsgForm.ShowInfo("取消分配中断"); + } + else + { + this.statusBar.lblTaskStatus.Text = "取消分配完毕"; + BaseMsgForm.ShowInfo("取消分配完毕"); + } + + this.pbLoading.Visible = false; + })); + }, cancellationTokenSource.Token); + } + + void CancelConsignment(List rowLst) + { + Invoke(new Action(() => + { + this.pbLoading.Visible = true; + this.statusBar.lblTaskStatus.Text = "正在取消分配" + "...".Substring(0, DateTime.Now.Second % 4); + this.statusBar.pgbTaskProgress.Maximum = rowLst.Count; + this.statusBar.UpdateProgressBar(0); + })); + + while (rowLst.Count > 0) + { + if (cancellationTokenSource.IsCancellationRequested) + break; + + var r0 = rowLst.FirstOrDefault(); + var shopId = r0.Cells["colSupplierId"].Value.ParseToString(); + var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId); + var rowLstTmp = rowLst.Where(r => r.Cells["colSupplierId"].Value.ParseToString() == shopId).Take(1).ToList(); + + foreach (var r in rowLstTmp) + { + rowLst.RemoveAll(rw => rw.Cells["colConsignmentOrderId"].Value == r.Cells["colConsignmentOrderId"].Value); + + Invoke(new Action(() => + { + this.statusBar.lblTaskStatus.Text = "正在取消分配" + "...".Substring(0, DateTime.Now.Second % 4); + this.statusBar.UpdateProgressBar(this.statusBar.pgbTaskProgress.Value + 1); + r.Cells["colOpResult"].Value = ""; + })); + } + if (shop == null) + { + Invoke(new Action(() => + { + foreach (var r in rowLstTmp) + { + r.Cells["colOpResult"].Value = "店铺不存在"; + } + })); + continue; + } + if (shop.LoginStatus != "登录成功") + { + Invoke(new Action(() => + { + foreach (var r in rowLstTmp) + { + r.Cells["colOpResult"].Value = "店铺掉线"; + } + })); + continue; + } + + //{"cosignmentOrderId":"4436464658179189760","cosignmentProductList":[{"spuId":"10000826730228","skuId":"14511204738","cancelScene":2}],"orderId":"3736464645960385280"} + JObject cancelAssignOrderData = new JObject(); + foreach (var row in rowLstTmp) + { + cancelAssignOrderData["cosignmentOrderId"] = row.Cells["colConsignmentOrderId"].Value.ParseToString(); + var jArr = new JArray(); + var dgvrs = dgvOrder.Rows.Cast().Where(dgvr => dgvr.Cells["colConsignmentOrderId"] == row.Cells["colConsignmentOrderId"]).ToList(); + foreach (var dgvr in dgvrs) + { + JObject jProd = new JObject(); + jProd["spuId"] = dgvr.Cells["colDraftId"].Value.ParseToString(); + jProd["skuId"] = dgvr.Cells["colSkuId"].Value.ParseToString(); + jProd["cancelScene"] = 2; + jArr.Add(jProd); + } + cancelAssignOrderData["cosignmentProductList"] = jArr; + cancelAssignOrderData["orderId"] = row.Cells["colOrderId"].Value.ParseToString(); + } + + var cancelRst = WXOrderConsignment.cancelConsignmentOrder(shop, cancelAssignOrderData); + Thread.Sleep(Randomx.GetId(500, 1000)); + if (!cancelRst.Contains("\"code\":0")) + { + if (cancelRst.Contains("biz magic invalid")) + { + WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false); + if (shop.LoginStatus != "登录成功") + { + Invoke(new Action(() => + { + foreach (var row in rowLstTmp) + { + row.Cells["colOpResult"].Value = "店铺掉线"; + } + })); + continue; + } + } + + var errmsg = BaseRegex.GetStringJson(ref cancelRst, "msg"); + if (string.IsNullOrWhiteSpace(errmsg)) + errmsg = cancelRst; + + Invoke(new Action(() => + { + foreach (var row in rowLstTmp) + { + var dgvrs = dgvOrder.Rows.Cast().Where(dgvr => dgvr.Cells["colConsignmentOrderId"] == row.Cells["colConsignmentOrderId"]).ToList(); + foreach (var dgvr in dgvrs) + dgvr.Cells["colOpResult"].Value = errmsg; + } + })); + } + + if (cancelRst.Contains("\"code\":0")) + { + Invoke(new Action(() => + { + foreach (var row in rowLstTmp) + { + var dgvrs = dgvOrder.Rows.Cast().Where(dgvr => dgvr.Cells["colConsignmentOrderId"] == row.Cells["colConsignmentOrderId"]).ToList(); + foreach (var dgvr in dgvrs) + dgvr.Cells["colOpResult"].Value = "取消分配成功"; + } + })); + } + } + } + + private void btnFiltSelect_Click(object sender, EventArgs e) + { + foreach (DataGridViewRow row in dgvOrder.Rows) + { + // 2,3拼多多 6抖音 + if (!row.Cells["colNotes"].Value.ParseToString().StartsWith("2") && !row.Cells["colNotes"].Value.ParseToString().StartsWith("3") && + !row.Cells["colNotes"].Value.ParseToString().StartsWith("6")) + { + row.Cells["colCheck"].Value = false; + continue; + } + // ^\d{6}.*$ + string pattern1 = @"^\d{6}-\d{15}.*$"; // 定义正则表达式模式 + string pattern2 = @"^\d{19}.*$"; // 定义正则表达式模式 + Regex regex1 = new Regex(pattern1); + Regex regex2 = new Regex(pattern2); + if (!regex1.IsMatch(row.Cells["colNotes"].Value.ParseToString()) && !regex2.IsMatch(row.Cells["colNotes"].Value.ParseToString())) + { + row.Cells["colCheck"].Value = false; + continue; + } + row.Cells["colCheck"].Value = true; + } + } + + void ShowShopError(ShopLoginInfo shop, string operateResult, bool isShowDialog = false) + { + var error = BaseRegex.GetStringJson(ref operateResult, "msg"); + if (string.IsNullOrEmpty(error)) + error = BaseRegex.GetStringJson(ref operateResult, "errMsg"); + if (string.IsNullOrEmpty(error)) + error = BaseRegex.GetStringJson(ref operateResult, "errorMsg"); + if (string.IsNullOrEmpty(error)) + error = operateResult; + + WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false); + + if (shop.LoginStatus != "登录成功") + { + error = "店铺掉线"; + } + Invoke(new Action(() => { BindShop(shop, new List { shop.ShopId }, error); })); + if (isShowDialog) + BaseMsgForm.ShowError(error); + } + + private void ucCheckBox_Click(object sender, EventArgs e) + { + ucCheckBox1.Checked = false; + ucCheckBox2.Checked = false; + ucCheckBox3.Checked = false; + ucCheckBox4.Checked = false; + ucCheckBox5.Checked = false; + + if (sender is UserComponent.UcCheckBox) + { + (sender as UserComponent.UcCheckBox).Checked = true; + if (sender == ucCheckBox1) lblColorTag.Text = "0"; + if (sender == ucCheckBox2) lblColorTag.Text = "1"; + if (sender == ucCheckBox3) lblColorTag.Text = "2"; + if (sender == ucCheckBox4) lblColorTag.Text = "3"; + if (sender == ucCheckBox5) lblColorTag.Text = "4"; + } + } + + private void btnNotesCancel_Click(object sender, EventArgs e) + { + pnlUpdateNotes.Visible = false; + } + + private void btnNotesOK_Click(object sender, EventArgs e) + { + var orderId = lblOrderId.Text; + var notes = txtNotes.Text.Trim(); + var tagColor = lblColorTag.Text.ParseToInt(); + var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == lblShopId.Text); + var rows = dgvOrder.Rows.Cast().Where(r => r.Cells["colOrderId"].Value.ParseToString() == orderId); + if (shop != null) + { + var notesRst = WXOrderList.addNotes(shop, orderId, notes, tagColor); + if (notesRst.Contains("\"code\":0")) + { + pnlUpdateNotes.Visible = false; + foreach (var row in rows) + { + row.Cells["colNotes"].Value = notes; + row.Cells["colNotesColor"].Value = tagColor; + row.Cells["colOpResult"].Value = "修改备注成功"; + + row.Cells["colNotes"].Style.ForeColor = DefaultForeColor; + if (tagColor == 1) + row.Cells["colNotes"].Style.ForeColor = Color.Red; + if (tagColor == 2) + row.Cells["colNotes"].Style.ForeColor = Color.Orange; + if (tagColor == 3) + row.Cells["colNotes"].Style.ForeColor = Color.Green; + if (tagColor == 4) + row.Cells["colNotes"].Style.ForeColor = Color.Blue; + } + } + else + { + pnlUpdateNotes.Visible = false; + ShowShopError(shop, notesRst, true); + } + } + } + + private void btnEditReceiveInfoCancel_Click(object sender, EventArgs e) + { + pnlEditReceiveInfo.Visible = false; + } + + private void btnEditReceiveInfoOk_Click(object sender, EventArgs e) + { + var orderId = lblEditReceiveInfoOrderId.Text; + var address = txtEditReceiveInfoAddress.Text.Trim(); + var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == lblEditReceiveInfoShopId.Text); + var rows = dgvOrder.Rows.Cast().Where(r => r.Cells["colOrderId"].Value.ParseToString() == orderId); + + var url = BaseClass.BuildObjString("shop/wx_add_mdy_order_address"); + var data = UserLogin.GetSignaturex() + "&shop_id=" + shop.ShopId; + data += "&order_id=" + orderId; + data += "&order_address=" + GetHtml.UrlEncodeUtf8(address); + var html = GetHtml.PostUtf8(url, data); + if (!html.Contains("\"code\":200")) + html = GetHtml.PostUtf8(url, data); + if (!html.Contains("\"code\":200")) + { + var errMsg = BaseRegex.GetStringJson(ref html, "msg"); + if (errMsg.IsNullOrEmpty()) + errMsg = html; + foreach (var row in rows) + { + row.Cells["colOpResult"].Value = errMsg; + } + } + else + { + pnlEditReceiveInfo.Visible = false; + foreach (var row in rows) + { + row.Cells["colOpResult"].Value = "填写收货地址成功"; + row.Cells["colReceiveInfo"].Value = address; + row.Cells["colReceiveInfo"].Style.ForeColor = DefaultForeColor; + } + } + } + + private void btnBuyUrlCancel_Click(object sender, EventArgs e) + { + pnlBuyUrl.Visible = false; + } + + private void btnBuyUrlOk_Click(object sender, EventArgs e) + { + var orderId = lblBuyUrlOrderId.Text; + var buyUrl = txtBuyUrl.Text.Trim(); + var spuCode = lblBuyUrlSpuCode.Text; + var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == lblEditReceiveInfoShopId.Text); + var rows = dgvOrder.Rows.Cast().Where(r => r.Cells["colSpuCode"].Value.ParseToString() == spuCode); + + var url = BaseClass.BuildObjString("shop/wx_add_mdy_buy_url_notes"); + var data = UserLogin.GetSignaturex(); + data += "&main_user_name=" + (BaseClass.GroupId == 3 ? BaseClass.UserName : BaseClass.ParentUserName); + data += "&spu_code=" + spuCode; + data += "&buy_url_notes=" + GetHtml.UrlEncodeUtf8(buyUrl); + var html = GetHtml.PostUtf8(url, data); + if (!html.Contains("\"code\":200")) + html = GetHtml.PostUtf8(url, data); + if (!html.Contains("\"code\":200")) + { + var errMsg = BaseRegex.GetStringJson(ref html, "msg"); + if (errMsg.IsNullOrEmpty()) + errMsg = html; + foreach (var row in rows) + { + row.Cells["colOpResult"].Value = errMsg; + } + } + else + { + pnlBuyUrl.Visible = false; + foreach (var row in rows) + { + row.Cells["colOpResult"].Value = "编辑采购地址成功"; + row.Cells["colBuyUrl"].Value = buyUrl; + } + } + } + + private void btnFilterOrder_Click(object sender, EventArgs e) + { + var filterOrderId = txtFilterOrderId.Text.Trim(); + var filterProdInfo = txtFilterOrderProdInfo.Text.Trim(); + var filterStatus = cmbFilterOrderStatus.Text.Trim(); + var filterNotesNotContainWords = txtFilterNotesNotContainWords.Text.Trim().Split(new string[] { ",", ",", " " }, StringSplitOptions.RemoveEmptyEntries).ToList(); + var filterTitleNotContainWords = txtFilterTitleNotContainWords.Text.Trim().Split(new string[] { ",", ",", " " }, StringSplitOptions.RemoveEmptyEntries).ToList(); + string group = cmbFilterOrderShopGroup.Text.Trim().Trim(';'); + if (group == "全部") + group = ""; + List groupLst = group.Split(new string[] { ";", ";", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList(); + foreach (DataGridViewRow row in dgvOrder.Rows) + { + if (!row.Cells["colSupplierName"].Value.ParseToString().Contains(txtFilterOrderShopName.Text.Trim())) + { + row.Visible = false; + row.Cells["colCheck"].Value = false; + continue; + } + if (!string.IsNullOrWhiteSpace(group) && !groupLst.Contains(row.Cells["colOrderShopGroup"].Value.ParseToString())) + { + row.Visible = false; + row.Cells["colCheck"].Value = false; + continue; + } + + string orderId = row.Cells["colOrderId"].Value.ParseToString(); + if (!string.IsNullOrEmpty(filterOrderId) && !orderId.Contains(filterOrderId)) + { + row.Cells["colCheck"].Value = false; + row.Visible = false; + continue; + } + string prodInfo = row.Cells["colProdInfo"].Value.ParseToString(); + if (!string.IsNullOrEmpty(filterProdInfo) && !prodInfo.Contains(filterProdInfo)) + { + row.Cells["colCheck"].Value = false; + row.Visible = false; + continue; + } + string orderStatus = row.Cells["colOrderStatus"].Value.ParseToString(); + if (!string.IsNullOrEmpty(filterStatus) && !orderStatus.Contains(filterStatus)) + { + row.Cells["colCheck"].Value = false; + row.Visible = false; + continue; + } + string orderNotes = row.Cells["colNotes"].Value.ParseToString(); + if (filterNotesNotContainWords.Count > 0 && filterNotesNotContainWords.Any(w => orderNotes.Contains(w))) + { + row.Cells["colCheck"].Value = false; + row.Visible = false; + continue; + } + string goodsName = row.Cells["colProductName"].Value.ParseToString(); + if (filterTitleNotContainWords.Count > 0 && filterTitleNotContainWords.Any(w => goodsName.Contains(w))) + { + row.Cells["colCheck"].Value = false; + row.Visible = false; + continue; + } + if (chkFilterBeginTime.Checked && row.Cells["colOrderTimeFull"].Value.ParseToString().ParseToDateTime() < dtpFilterBeginTime.Value) + { + row.Cells["colCheck"].Value = false; + row.Visible = false; + continue; + } + if (chkFilterEndTime.Checked && row.Cells["colOrderTimeFull"].Value.ParseToString().ParseToDateTime() > dtpFilterEndTime.Value) + { + row.Cells["colCheck"].Value = false; + row.Visible = false; + continue; + } + + row.Visible = true; + } + } + + private void btnRestore_Click(object sender, EventArgs e) + { + txtFilterOrderId.Text = ""; + txtFilterOrderProdInfo.Text = ""; + cmbFilterOrderStatus.Text = ""; + txtFilterNotesNotContainWords.Text = ""; + txtFilterTitleNotContainWords.Text = ""; + txtFilterOrderShopName.Text = ""; + cmbFilterOrderShopGroup.Text = "全部"; + chkFilterEndTime.Checked = false; + chkFilterBeginTime.Checked = false; + dtpFilterBeginTime.Value = DateTime.Now.AddDays(-1); + dtpFilterEndTime.Value = DateTime.Now.Date.AddDays(1).AddSeconds(-1); + btnFilterOrder_Click(null, null); + } + } + + public class WXOrderList + { + /// + /// + /// + /// + /// 订单状态 20待发货 30已发货 + /// + public static string orderSearch(ShopLoginInfo shop, int orderStatus = 20, int pageNum = 1, int pageSize = 30) + { + string url = "https://store.weixin.qq.com/shop-faas/mmchannelstradeorder/list/cgi/orderSearch?token=&lang=zh_CN"; + string body = @"{""isSearch"":false,""pageSize"":" + pageSize + + @",""overTime"":0,""pengingShipOneDay"":0,""pengingShipSixHour"":0,""expediteDelivery"":0,""stockoutPunishAlert"":0,""waybillStatus"":0,""pageNum"":" + 1 + + @",""onAftersaleOrderExist"":0,""orderStatus"":" + orderStatus + @"}"; + if (pageNum > 1) + body = @"{""isSearch"":false,""pageSize"":" + pageSize + + @",""overTime"":0,""pengingShipOneDay"":0,""pengingShipSixHour"":0,""expediteDelivery"":0,""stockoutPunishAlert"":0,""waybillStatus"":0,""pageNum"":" + 1 + + @",""onAftersaleOrderExist"":0,""orderStatus"":" + orderStatus + @",""page"":" + pageNum + @"}"; + string refere = "https://store.weixin.qq.com/shop/order/list"; + var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, refere); + return result; + } + + public static string addNotes(ShopLoginInfo shop, string orderId, string notes, int tagColor = 0) + { + string url = "https://store.weixin.qq.com/shop-faas/mmchannelstradeorder/common/cgi/batchMerchantNotes?token=&lang=zh_CN"; + string body = @"{""items"":[{""orderId"":""" + orderId + @""",""merchantNotes"":""" + notes + @""",""merchantNotesTagColor"":" + tagColor + @"}]}"; + + string refere = "https://store.weixin.qq.com/shop/order/list"; + var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, refere); + return result; + } + + public static string decryptOrder(ShopLoginInfo shop, string orderId) + { + string url = "https://store.weixin.qq.com/shop-faas/mmchannelstradeorder/common/cgi/decryptOrder?token=&lang=zh_CN"; + string body = @"{""id"":""" + orderId + @"""}"; + + string refere = "https://store.weixin.qq.com/shop/order/list"; + var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, refere); + return result; + } + + // 预在线寄件 + public static string preCreateOrderWaybillOnline(ShopLoginInfo shop, WXPreCreateOrderWaybillOnlineParam preWaybillOnlineparam) + { + string url = "https://store.weixin.qq.com/shop-faas/mmecnodewaybill/alltoall/platPreCreateOrder?token=&lang=zh_CN"; + //string body = @"{""deliveryIds"":[""JTSD"",""YTO"",""YUNDA"",""ZTO"",""STO"",""JD"",""DBKD"",""CNSD"",""SF""],""req"":{""requestContent"":[{""deliveryId"":"""",""orderType"":1,""ecOrderList"":[{""ecOrderId"":""3736506990289905920"",""goodsList"":[{""goodCount"":1,""goodName"":""【抢限量印签】信任养育:你的孩子本来就很好 白瑞家庭教育作品,千万父母追随,20余年经验沉淀"",""productId"":""10000852376968"",""skuId"":""15057811153""}]}],""sender"":{""name"":""陈图书"",""mobile"":""13023098035"",""province"":""安徽省"",""city"":""合肥市"",""county"":""肥西县"",""street"":"""",""address"":""上派镇中盟电子产业园8栋一单元(东电梯3楼快递指定存放点)"",""lat"":"""",""lng"":""""},""deliveryInfo"":{""appointmentType"":1,""datetime"":""20260521""},""extInfo"":{""packageWeightG"":1000},""uuid"":""37f59ae7-32fb-4e7a-89af-1d228c9d933f"",""orderVasList"":[],""source"":3}]}}"; + string body = JsonHelper.SerializeObject(preWaybillOnlineparam); + string refere = "https://store.weixin.qq.com/shop/waybill/allToAll"; + var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, refere); + //{"ret":0,"list":[{"code":0,"responseContent":[{"retcode":0,"errorMsg":"","deliveryErrorMsg":"success","totalFee":"390","feeDetail":{"totalShippingFee":"390","totalVasFee":0,"otherFee":0,"otherFeeName":""},"predictedArrivedTime":0,"uuid":"1ef8b9e2-d68e-4e12-8bda-e188e246d5ae","deliveryId":"JTSD","orderType":1,"ewaybillOrderId":"4525894130917130247","deliveryResultCode":"0","errorType":0,"blockExplainUrl":{},"showInsufficientBalance":true}],"showInsufficientBalance":true},{"code":0,"responseContent":[{"retcode":0,"errorMsg":"","deliveryErrorMsg":"success","totalFee":"440","feeDetail":{"totalShippingFee":"440","totalVasFee":0,"otherFee":0,"otherFeeName":""},"predictedArrivedTime":0,"uuid":"1ef8b9e2-d68e-4e12-8bda-e188e246d5ae","deliveryId":"YTO","orderType":1,"ewaybillOrderId":"4525894132274036739","deliveryResultCode":"0","errorType":0,"blockExplainUrl":{},"showInsufficientBalance":true}],"showInsufficientBalance":true},{"code":0,"responseContent":[{"retcode":0,"errorMsg":"","deliveryErrorMsg":"success","totalFee":"440","feeDetail":{"totalShippingFee":"440","vasPriceDetail":[{"vasType":"","vasDetail":"","vasPrice":0}],"totalVasFee":0,"otherFee":0,"otherFeeName":""},"predictedArrivedTime":1779537600,"uuid":"1ef8b9e2-d68e-4e12-8bda-e188e246d5ae","deliveryId":"YUNDA","orderType":1,"ewaybillOrderId":"4525894133585330193","deliveryResultCode":"0","errorType":0,"blockExplainUrl":{},"showInsufficientBalance":true}],"showInsufficientBalance":true},{"code":0,"responseContent":[{"retcode":0,"errorMsg":"","deliveryErrorMsg":"成功","totalFee":"499","feeDetail":{"totalShippingFee":"499","totalVasFee":0,"otherFee":0,"otherFeeName":""},"predictedArrivedTime":0,"uuid":"1ef8b9e2-d68e-4e12-8bda-e188e246d5ae","deliveryId":"ZTO","orderType":1,"ewaybillOrderId":"4525894130125225990","deliveryResultCode":"0","errorType":0,"blockExplainUrl":{},"showInsufficientBalance":true}],"showInsufficientBalance":true},{"code":0,"responseContent":[{"retcode":0,"errorMsg":"","deliveryErrorMsg":"success","totalFee":"440","feeDetail":{"totalShippingFee":"440","totalVasFee":0,"otherFee":0,"otherFeeName":""},"predictedArrivedTime":0,"uuid":"1ef8b9e2-d68e-4e12-8bda-e188e246d5ae","deliveryId":"STO","orderType":1,"ewaybillOrderId":"4525894133215215616","deliveryResultCode":"0","errorType":0,"blockExplainUrl":{},"showInsufficientBalance":true}],"showInsufficientBalance":true},{"code":0,"responseContent":[{"retcode":0,"errorMsg":"","deliveryErrorMsg":"成功","totalFee":"600","feeDetail":{"totalShippingFee":"600","totalVasFee":0,"otherFee":0,"otherFeeName":"其他费用"},"predictedArrivedTime":0,"uuid":"1ef8b9e2-d68e-4e12-8bda-e188e246d5ae","deliveryId":"JD","orderType":1,"ewaybillOrderId":"4525894136920145936","deliveryResultCode":"0","errorType":0,"blockExplainUrl":{},"showInsufficientBalance":true}],"showInsufficientBalance":true},{"code":0,"responseContent":[{"retcode":0,"errorMsg":"","deliveryErrorMsg":"success","totalFee":"1100","feeDetail":{"totalShippingFee":"1100","totalVasFee":0,"otherFee":0,"otherFeeName":""},"predictedArrivedTime":1779445800,"uuid":"1ef8b9e2-d68e-4e12-8bda-e188e246d5ae","deliveryId":"DBKD","orderType":1,"ewaybillOrderId":"4525894139054424087","deliveryResultCode":"0","errorType":0,"blockExplainUrl":{},"showInsufficientBalance":true}],"showInsufficientBalance":true},{"code":0,"responseContent":[{"retcode":1000000,"errorMsg":"","deliveryErrorMsg":"获取预估价格失败","uuid":"1ef8b9e2-d68e-4e12-8bda-e188e246d5ae","deliveryId":"CNSD","orderType":1,"deliveryResultCode":"10002","errorType":0,"blockExplainUrl":{},"showInsufficientBalance":false}],"showInsufficientBalance":false},{"code":0,"responseContent":[{"retcode":0,"errorMsg":"","deliveryErrorMsg":"success","totalFee":"1100","feeDetail":{"totalShippingFee":"1100","totalVasFee":0,"otherFee":0,"otherFeeName":""},"predictedArrivedTime":1779530400,"uuid":"1ef8b9e2-d68e-4e12-8bda-e188e246d5ae","deliveryId":"SF","orderType":231,"ewaybillOrderId":"4525894132961951757","deliveryResultCode":"0","errorType":0,"blockExplainUrl":{},"showInsufficientBalance":true}],"showInsufficientBalance":true}]} + return result; + } + + // 设置在线寄件 + public static string createOrderWaybillOnline(ShopLoginInfo shop, WXCreateOrderWaybillOnlineParam waybillOnlineparam) + { + string url = "https://store.weixin.qq.com/shop-faas/mmecnodewaybill/alltoall/platCreateOrder?token=&lang=zh_CN"; + //string body = @"{""payMethod"":2,""requestContent"":[{""deliveryId"":""YTO"",""ewaybillOrderId"":""4525894132274036739"",""ecOrderList"":[{""ecOrderId"":""3736528290099110144"",""goodsList"":[{""goodCount"":1,""goodName"":""荣恒教育[青春期男孩要知道的45件事]10-16岁必读告别迷茫与尴尬青春期枕边书送给孩子的成长礼物"",""productId"":""10000826945183"",""skuId"":""14514725990""}]}],""sender"":{""name"":""李"",""mobile"":""17855123321"",""province"":""江苏省"",""city"":""常州市"",""county"":""天宁区"",""street"":"""",""address"":""九洲环宇大酒店(常州青果巷火车站店)201"",""lat"":""31.779615"",""lng"":""119.974997""},""deliveryInfo"":{""appointmentType"":1,""datetime"":""20260522""},""extInfo"":{""packageWeightG"":1000},""remark"":"""",""uuid"":""1ef8b9e2-d68e-4e12-8bda-e188e246d5ae"",""orderVasList"":[],""source"":3}]}"; + string body = JsonHelper.SerializeObject(waybillOnlineparam); + string refere = "https://store.weixin.qq.com/shop/waybill/allToAll"; + var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, refere); + //{"ret":0,"code":0,"responseContent":[{"ewaybillOrderId":"4525894132274036739","retcode":0,"errorMsg":"","deliveryErrorMsg":"success","waybillId":"YT2547223870618","deliveryId":"YTO","uuid":"1ef8b9e2-d68e-4e12-8bda-e188e246d5ae","errorType":0,"deliveryResultCode":"0","blockExplainUrl":{}}],"displayNewuserTips":false,"createSuccTips":"预计 明天上门取件"} + return result; + } + } + +} diff --git a/TEMUKJD/WXForms/ProductForms/WXOrderListForm.resx b/TEMUKJD/WXForms/ProductForms/WXOrderListForm.resx new file mode 100644 index 0000000..ef44e20 --- /dev/null +++ b/TEMUKJD/WXForms/ProductForms/WXOrderListForm.resx @@ -0,0 +1,264 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + \ No newline at end of file diff --git a/TEMUKJD/WXForms/ProductForms/WXProductForm.Designer.cs b/TEMUKJD/WXForms/ProductForms/WXProductForm.Designer.cs index 7b7ee6a..8bbe987 100644 --- a/TEMUKJD/WXForms/ProductForms/WXProductForm.Designer.cs +++ b/TEMUKJD/WXForms/ProductForms/WXProductForm.Designer.cs @@ -35,9 +35,10 @@ System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("活动报名"); System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("达人广场"); System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("商品同步"); - System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("订单代发管理"); - System.Windows.Forms.TreeNode treeNode9 = new System.Windows.Forms.TreeNode("机会商品采集"); - System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("商品管理", new System.Windows.Forms.TreeNode[] { + System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("订单管理"); + System.Windows.Forms.TreeNode treeNode9 = new System.Windows.Forms.TreeNode("订单代发管理"); + System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("机会商品采集"); + System.Windows.Forms.TreeNode treeNode11 = new System.Windows.Forms.TreeNode("商品管理", new System.Windows.Forms.TreeNode[] { treeNode1, treeNode2, treeNode3, @@ -46,7 +47,8 @@ treeNode6, treeNode7, treeNode8, - treeNode9}); + treeNode9, + treeNode10}); this.panel1 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); @@ -151,14 +153,16 @@ treeNode6.Text = "达人广场"; treeNode7.Name = "商品同步"; treeNode7.Text = "商品同步"; - treeNode8.Name = "订单代发管理"; - treeNode8.Text = "订单代发管理"; - treeNode9.Name = "机会商品采集"; - treeNode9.Text = "机会商品采集"; - treeNode10.Name = "商品管理"; - treeNode10.Text = "商品管理"; + treeNode8.Name = "订单管理"; + treeNode8.Text = "订单管理"; + treeNode9.Name = "订单代发管理"; + treeNode9.Text = "订单代发管理"; + treeNode10.Name = "机会商品采集"; + treeNode10.Text = "机会商品采集"; + treeNode11.Name = "商品管理"; + treeNode11.Text = "商品管理"; this.tv.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { - treeNode10}); + treeNode11}); this.tv.OverForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); this.tv.Size = new System.Drawing.Size(140, 521); this.tv.TabIndex = 1; diff --git a/TEMUKJD/WXForms/ProductForms/WXProductForm.cs b/TEMUKJD/WXForms/ProductForms/WXProductForm.cs index f068e49..f6d7e96 100644 --- a/TEMUKJD/WXForms/ProductForms/WXProductForm.cs +++ b/TEMUKJD/WXForms/ProductForms/WXProductForm.cs @@ -26,6 +26,7 @@ namespace TemuKJD.WXForms.ProductForms public Lazy wxActivityForm = new Lazy(); public Lazy getChanceProdForm = new Lazy(); public Lazy orderConsignmentForm = new Lazy(); + public Lazy orderListForm = new Lazy(); public WXProductForm() { @@ -97,6 +98,9 @@ namespace TemuKJD.WXForms.ProductForms case "商品同步": SetForm(wxProdSyncForm.Value); break; + case "订单管理": + SetForm(orderListForm.Value); + break; case "订单代发管理": SetForm(orderConsignmentForm.Value); break; diff --git a/TEMUKJD/WXForms/ProductForms/WXUserProdListForm.Designer.cs b/TEMUKJD/WXForms/ProductForms/WXUserProdListForm.Designer.cs index 329ba2a..b76e345 100644 --- a/TEMUKJD/WXForms/ProductForms/WXUserProdListForm.Designer.cs +++ b/TEMUKJD/WXForms/ProductForms/WXUserProdListForm.Designer.cs @@ -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(1127, 41); + this.txtViewUvMin.Location = new System.Drawing.Point(1118, 41); this.txtViewUvMin.Name = "txtViewUvMin"; - this.txtViewUvMin.Size = new System.Drawing.Size(63, 23); + this.txtViewUvMin.Size = new System.Drawing.Size(72, 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(1073, 42); + this.chkViewUvMin.Location = new System.Drawing.Point(1064, 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(917, 7); + this.cmbHot.Location = new System.Drawing.Point(910, 7); this.cmbHot.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbHot.Name = "cmbHot"; - this.cmbHot.Size = new System.Drawing.Size(147, 25); + this.cmbHot.Size = new System.Drawing.Size(145, 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(873, 9); + this.lblHot.Location = new System.Drawing.Point(866, 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(1070, 5); + this.btnSearch.Location = new System.Drawing.Point(1061, 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(1127, 5); + this.btnEmpty.Location = new System.Drawing.Point(1118, 5); this.btnEmpty.Name = "btnEmpty"; - this.btnEmpty.Size = new System.Drawing.Size(63, 25); + this.btnEmpty.Size = new System.Drawing.Size(72, 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(720, 7); + this.cmbCat3.Location = new System.Drawing.Point(715, 7); this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbCat3.Name = "cmbCat3"; - this.cmbCat3.Size = new System.Drawing.Size(147, 25); + this.cmbCat3.Size = new System.Drawing.Size(145, 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(669, 9); + this.label17.Location = new System.Drawing.Point(664, 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(517, 7); + this.cmbCat2.Location = new System.Drawing.Point(513, 7); 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); + this.cmbCat2.Size = new System.Drawing.Size(145, 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(466, 9); + this.label14.Location = new System.Drawing.Point(462, 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(294, 5); + this.cmbCat1.Location = new System.Drawing.Point(292, 7); this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbCat1.Name = "cmbCat1"; - this.cmbCat1.Size = new System.Drawing.Size(147, 25); + this.cmbCat1.Size = new System.Drawing.Size(145, 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(243, 9); + this.label2.Location = new System.Drawing.Point(241, 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(147, 23); + this.txtProdName.Size = new System.Drawing.Size(145, 23); this.txtProdName.TabIndex = 427; // // label3 @@ -551,17 +551,17 @@ 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(147, 25); + this.cmbWxSafe.Size = new System.Drawing.Size(145, 25); this.cmbWxSafe.TabIndex = 676; this.cmbWxSafe.Text = "安全+未校验"; // // chkCatBoundMoreThan // this.chkCatBoundMoreThan.Anchor = System.Windows.Forms.AnchorStyles.Left; - this.chkCatBoundMoreThan.Location = new System.Drawing.Point(227, 42); + this.chkCatBoundMoreThan.Location = new System.Drawing.Point(225, 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(294, 41); + this.txtCatBoundMoreThan.Location = new System.Drawing.Point(292, 41); this.txtCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.txtCatBoundMoreThan.Name = "txtCatBoundMoreThan"; - this.txtCatBoundMoreThan.Size = new System.Drawing.Size(147, 23); + this.txtCatBoundMoreThan.Size = new System.Drawing.Size(145, 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(450, 42); + this.chkCatBoundLessThan.Location = new System.Drawing.Point(446, 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(517, 41); + this.txtCatBoundLessThan.Location = new System.Drawing.Point(513, 41); this.txtCatBoundLessThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.txtCatBoundLessThan.Name = "txtCatBoundLessThan"; - this.txtCatBoundLessThan.Size = new System.Drawing.Size(146, 23); + this.txtCatBoundLessThan.Size = new System.Drawing.Size(145, 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(917, 42); + this.cmbGroupFilter.Location = new System.Drawing.Point(910, 42); this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbGroupFilter.Name = "cmbGroupFilter"; - this.cmbGroupFilter.Size = new System.Drawing.Size(147, 25); + this.cmbGroupFilter.Size = new System.Drawing.Size(145, 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(676, 44); + this.lblSourceType.Location = new System.Drawing.Point(671, 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(873, 44); + this.lblGroup.Location = new System.Drawing.Point(866, 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); @@ -653,10 +653,10 @@ namespace TemuKJD.WXForms.ProductForms "机会商品", "以图搜品", "外部数据"}); - this.cmbSourceType.Location = new System.Drawing.Point(720, 42); + this.cmbSourceType.Location = new System.Drawing.Point(715, 42); this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbSourceType.Name = "cmbSourceType"; - this.cmbSourceType.Size = new System.Drawing.Size(147, 25); + this.cmbSourceType.Size = new System.Drawing.Size(145, 25); this.cmbSourceType.TabIndex = 654; this.cmbSourceType.Text = "厂商直采"; this.cmbSourceType.Visible = false; diff --git a/Work/UserLogin.cs b/Work/UserLogin.cs index 9fafafe..fe93744 100644 --- a/Work/UserLogin.cs +++ b/Work/UserLogin.cs @@ -74,12 +74,6 @@ namespace Work return false; } - //if (IsLoginDef) - //{ - // BaseClass.LoginApiUrl = "http://new.taojinhu.com/";//淘金虎 - // BaseClass.ImageApiUrl = BaseClass.LoginApiUrl + "index.php?obj=api/image"; - //} - BaseClass.UserId = BaseRegex.GetStringJson(ref html, "id").ParseToInt(); BaseClass.UserKey = BaseRegex.GetStringJson(ref html, "user_key").ParseToInt(); BaseClass.NickName = BaseRegex.GetStringJson(ref html, "nick_name"); @@ -95,15 +89,6 @@ namespace Work BaseClass.GroupId = BaseRegex.GetStringJson(ref html, "group_id").ParseToInt(); BaseClass.AuthorizedAmount = BaseRegex.GetNullableDecimalJson(ref html, "authorized_amount"); - //BaseClass.Balance = BaseRegex.GetStringJson(ref html, "balance").ParseToInt(); - //BaseClass.DarenYaoyue = BaseRegex.GetStringJson(ref html, "daren_group") == "1"; - //BaseClass.DyProductCollect = BaseRegex.GetStringJson(ref html, "show_collect") == "1"; - //if ("18655555336,18937517772,17777777777,18135637272,15324492822,18134451116".Contains(mobile)) - //{ - // BaseClass.DyProductCollect = true; - //} - //BaseClass.IsCloudBuyOrder = BaseRegex.GetStringJson(ref html, "cloud_buy_order_status") == "1"; - if (BaseClass.GroupId != 3 && BaseClass.GroupId != 4 && BaseClass.GroupId != 9 && BaseClass.GroupId != 10 && BaseClass.GroupId != 11) { BaseClass.UserId = 0;