拼多多版权限管理 指定类目上传 ai图片上传权限管理
This commit is contained in:
1 parent
58798805ed
commit
ce23b0a49a
28 files changed
+1265
-483
No files matched your search
@@ -371,6 +371,8 @@ namespace TemuKJD.PDDForms.ProductForms
|
||||
string activityPriceStr = "";
|
||||
if (pInfo.sku_group_price.FirstOrDefault() != pInfo.origin_sku_group_price.FirstOrDefault())
|
||||
activityPriceStr = "\r\n活动价:\r\n" + string.Join("~", pInfo.sku_group_price.Select(s => s / 100m));
|
||||
if (pInfo.wait_cut_price == true)
|
||||
activityPriceStr = "\r\n活动权益失效\r\n活动价:" + string.Join("~", pInfo.sku_group_price.Select(s => s / 100m));
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
int rowId = this.dgvProduct.Rows.Add(
|
||||
@@ -398,6 +400,8 @@ namespace TemuKJD.PDDForms.ProductForms
|
||||
if (!string.IsNullOrEmpty(activityPriceStr))
|
||||
{
|
||||
dgvProduct.Rows[rowId].Cells["colPrice"].Style.ForeColor = Color.DarkOrange;
|
||||
if (activityPriceStr.Contains("活动权益失效"))
|
||||
dgvProduct.Rows[rowId].Cells["colPrice"].Style.ForeColor = Color.Red;
|
||||
}
|
||||
}));
|
||||
}
|
||||
@@ -1088,5 +1092,17 @@ namespace TemuKJD.PDDForms.ProductForms
|
||||
txtShopGroupFilter.Text = "";
|
||||
txtShopNameFilter.Text = "";
|
||||
}
|
||||
|
||||
private void btnSelectNeedCutPrice_Click(object sender, EventArgs e)
|
||||
{
|
||||
foreach (DataGridViewRow r in dgvProduct.Rows)
|
||||
{
|
||||
if (r.Cells["colPrice"].Value.ParseToString().Contains("活动权益失效"))
|
||||
r.Cells["colCheck"].Value = true;
|
||||
else
|
||||
|
||||
r.Cells["colCheck"].Value = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user