修改程序逻辑,准备批量打包

This commit is contained in:
wule committed 2026-05-28 17:28:08 +08:00
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;