修改程序逻辑,准备批量打包
This commit is contained in:
1 parent
aab73b978f
commit
55528e5109
30 files changed
+297
-150
No files matched your search
@@ -56,7 +56,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
tableLayoutPanel1.SetColumn(lblSourceType, 2);
|
||||
tableLayoutPanel1.SetColumn(cmbSourceType, 3);
|
||||
|
||||
if (BaseClass.MainPath == "binxixi")
|
||||
if (BaseClass.MainPath == "29pdd")
|
||||
{
|
||||
chkCatBoundLessThan.Visible = false;
|
||||
chkCatBoundMoreThan.Visible = false;
|
||||
@@ -83,7 +83,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.dgvDbProduct.Columns["colPriceText"].Visible = true;
|
||||
lblGroup.Visible = false;
|
||||
}
|
||||
if (BaseClass.MainPath != "binxixi")
|
||||
if (BaseClass.MainPath != "29pdd")
|
||||
{
|
||||
this.dgvDbProduct.Columns["colExtCodePrice"].Visible = false;
|
||||
this.dgvDbProduct.Columns["colEdit"].Visible = false;
|
||||
@@ -342,9 +342,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"&search_prod_name=" + txtProdName.Text.Trim() +
|
||||
"&wx_safe_status=" + cmbWxSafe.Text.Trim().Replace("安全+未校验", "安全商品,未校验").Replace("违规商品", "");
|
||||
data += "&add_user_name=" + BaseClass.UserName;
|
||||
if (BaseClass.MainPath == "weixin")
|
||||
if (BaseClass.MainPath == "29wx")
|
||||
data += "&ban_wx=0";
|
||||
if (BaseClass.MainPath == "binxixi")
|
||||
if (BaseClass.MainPath == "29pdd")
|
||||
data += "&ban_pdd=0";
|
||||
if (cmbRelation.Text == "否")
|
||||
data += "&is_relation=0";
|
||||
@@ -587,7 +587,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
case "详情":
|
||||
case "编辑/详情":
|
||||
//PDDDBProdEditForm editForm = new PDDDBProdEditForm(dbProduct);
|
||||
//if (BaseClass.MainPath != "binxixi")
|
||||
//if (BaseClass.MainPath != "29pdd")
|
||||
//{
|
||||
// editForm.pnlSkuOption.Visible = false;
|
||||
// editForm.txtProductName.ReadOnly = true;
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
private void ProductListForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (BaseClass.MainPath == "binxixi")
|
||||
if (BaseClass.MainPath == "29pdd")
|
||||
{
|
||||
chkCatBoundLessThan.Visible = false;
|
||||
chkCatBoundMoreThan.Visible = false;
|
||||
@@ -83,7 +83,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.dgvDbProduct.Columns["colPriceText"].Visible = true;
|
||||
lblGroup.Visible = false;
|
||||
}
|
||||
if (BaseClass.MainPath != "binxixi")
|
||||
if (BaseClass.MainPath != "29pdd")
|
||||
{
|
||||
this.dgvDbProduct.Columns["colExtCodePrice"].Visible = false;
|
||||
this.dgvDbProduct.Columns["colEdit"].Visible = false;
|
||||
@@ -415,9 +415,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
addUserName = BaseClass.ParentAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.ParentUserName) : "admin";
|
||||
data += "&add_user_name=" + addUserName;
|
||||
|
||||
if (BaseClass.MainPath == "weixin")
|
||||
if (BaseClass.MainPath == "29wx")
|
||||
data += "&ban_wx=0";
|
||||
if (BaseClass.MainPath == "binxixi")
|
||||
if (BaseClass.MainPath == "29pdd")
|
||||
data += "&ban_pdd=0";
|
||||
if (cmbRelation.Text == "否")
|
||||
data += "&is_relation=0";
|
||||
@@ -664,7 +664,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
case "详情":
|
||||
case "编辑/详情":
|
||||
//PDDDBProdEditForm editForm = new PDDDBProdEditForm(dbProduct);
|
||||
//if (BaseClass.MainPath != "binxixi")
|
||||
//if (BaseClass.MainPath != "29pdd")
|
||||
//{
|
||||
// editForm.pnlSkuOption.Visible = false;
|
||||
// editForm.txtProductName.ReadOnly = true;
|
||||
|
||||
@@ -345,7 +345,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
|
||||
public static void GetShopDefaultAddress(List<ShopLoginInfo> shopGetAddressList = null)
|
||||
{
|
||||
if (BaseClass.MainPath == "weixin")
|
||||
if (BaseClass.MainPath == "29wx")
|
||||
{
|
||||
if (shopGetAddressList == null)
|
||||
{
|
||||
|
||||
+3
-3
@@ -358,7 +358,7 @@
|
||||
this.cmbGroup.DropDownWidth = 1;
|
||||
this.cmbGroup.FormattingEnabled = true;
|
||||
this.cmbGroup.IntegralHeight = false;
|
||||
this.cmbGroup.Location = new System.Drawing.Point(385, 5);
|
||||
this.cmbGroup.Location = new System.Drawing.Point(385, 8);
|
||||
this.cmbGroup.Margin = new System.Windows.Forms.Padding(0, 0, 0, 4);
|
||||
this.cmbGroup.Name = "cmbGroup";
|
||||
this.cmbGroup.Size = new System.Drawing.Size(74, 25);
|
||||
@@ -384,7 +384,7 @@
|
||||
this.cmbNotes.DropDownWidth = 1;
|
||||
this.cmbNotes.FormattingEnabled = true;
|
||||
this.cmbNotes.IntegralHeight = false;
|
||||
this.cmbNotes.Location = new System.Drawing.Point(276, 5);
|
||||
this.cmbNotes.Location = new System.Drawing.Point(276, 8);
|
||||
this.cmbNotes.Margin = new System.Windows.Forms.Padding(0, 0, 0, 4);
|
||||
this.cmbNotes.Name = "cmbNotes";
|
||||
this.cmbNotes.Size = new System.Drawing.Size(74, 25);
|
||||
@@ -517,7 +517,7 @@
|
||||
this.cmbSubAccount.DropDownWidth = 1;
|
||||
this.cmbSubAccount.FormattingEnabled = true;
|
||||
this.cmbSubAccount.IntegralHeight = false;
|
||||
this.cmbSubAccount.Location = new System.Drawing.Point(506, 5);
|
||||
this.cmbSubAccount.Location = new System.Drawing.Point(506, 8);
|
||||
this.cmbSubAccount.Margin = new System.Windows.Forms.Padding(0, 0, 0, 4);
|
||||
this.cmbSubAccount.Name = "cmbSubAccount";
|
||||
this.cmbSubAccount.Size = new System.Drawing.Size(74, 25);
|
||||
|
||||
@@ -1185,7 +1185,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
case "详情":
|
||||
case "编辑/详情":
|
||||
//PDDDBProdEditForm editForm = new PDDDBProdEditForm(dbProduct);
|
||||
//if (BaseClass.MainPath != "binxixi")
|
||||
//if (BaseClass.MainPath != "29pdd")
|
||||
//{
|
||||
// editForm.pnlSkuOption.Visible = false;
|
||||
// editForm.txtProductName.ReadOnly = true;
|
||||
|
||||
Reference in new issue
Block a user