增加商铺续费最低抽佣金额。
特殊账号允许编辑10元价格
This commit is contained in:
1 parent
da51369859
commit
09769d8d48
5 files changed
+373
-309
No files matched your search
@@ -127,7 +127,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
user.shop_points_per_month = BaseRegex.GetIntJson(ref oStr, "shop_points_per_month");
|
||||
user.postage_per_order = BaseRegex.GetDecimalJson(ref oStr, "postage_per_order");
|
||||
user.refund_postage_per_order = BaseRegex.GetDecimalJson(ref oStr, "refund_postage_per_order");
|
||||
user.gift_oem_amount_per_order = BaseRegex.GetDecimalJson(ref oStr, "gift_oem_amount_per_order");
|
||||
user.gift_oem_amount_per_order = BaseRegex.GetDecimalJson(ref oStr, "gift_oem_amount_per_order");
|
||||
user.sync_logistics_per_order = BaseRegex.GetDecimalJson(ref oStr, "sync_logistics_per_order");
|
||||
user.oem_id = BaseRegex.GetStringJson(ref oStr, "oem_id");
|
||||
user.oem_name = BaseRegex.GetStringJson(ref oStr, "oem_name");
|
||||
@@ -208,7 +208,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
int shopPointsPerMonth = dgvUser.Rows[e.RowIndex].Cells["colShopPointsPerMonth"].Value.ParseToInt();
|
||||
decimal postagePerOrder = dgvUser.Rows[e.RowIndex].Cells["colPostagePerOrder"].Value.ParseToDecimal();
|
||||
decimal refundPostagePerOrder = dgvUser.Rows[e.RowIndex].Cells["colRefundPostagePerOrder"].Value.ParseToDecimal();
|
||||
decimal giftOemAmountPerOrder = dgvUser.Rows[e.RowIndex].Cells["colGiftOemAmountPerOrder"].Value.ParseToDecimal();
|
||||
decimal giftOemAmountPerOrder = dgvUser.Rows[e.RowIndex].Cells["colGiftOemAmountPerOrder"].Value.ParseToDecimal();
|
||||
decimal syncLogisticsPerOrder = dgvUser.Rows[e.RowIndex].Cells["colSyncLogisticsPerOrder"].Value.ParseToDecimal();
|
||||
var row = dgvUser.Rows[e.RowIndex];
|
||||
if (columText == "编辑")
|
||||
@@ -252,12 +252,25 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
{
|
||||
if (columName == "colChangePointsPerMonth")
|
||||
{
|
||||
/*
|
||||
注意注意注意特殊账号 只允许这些账号店铺月续费最少10元,其他默认30
|
||||
*/
|
||||
List<string> userNames = ["18058809384", "18990991234"];
|
||||
if (userNames.Contains(mobile))
|
||||
{
|
||||
numShopPointsPerMonth.Minimum = 10;
|
||||
}
|
||||
|
||||
|
||||
this.lblShopPointsPerMonthUserInfo.Text = mobile + " - " + nickName;
|
||||
this.numShopPointsPerMonth.Value = shopPointsPerMonth;
|
||||
this.pnlShopPointsPerMonth.Tag = row;
|
||||
this.pnlShopPointsPerMonth.Visible = true;
|
||||
this.pnlShopPointsPerMonth.BringToFront();
|
||||
this.lblShopPointsPerMonthUserId.Text = uid;
|
||||
|
||||
|
||||
|
||||
}
|
||||
if (columName == "colChangePostagePerOrder")
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user