在线寄件尝试 订单过滤功能 订单采购路径功能

This commit is contained in:
wule committed 2026-05-21 22:13:47 +08:00
1 parent ef35522b6a
commit e5910fc100
25 files changed
+5233 -316

No files matched your search

@@ -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<DataGridViewRow>().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() + " 天";
}
}
}