商品优化功能,筛选功能优化
This commit is contained in:
1 parent
aeb30c1171
commit
c70fa07d7d
15 files changed
+1600
-68
No files matched your search
@@ -397,6 +397,7 @@ namespace _29WxOrderWpf.Ctrls.OrderCtrls
|
||||
// 拍单前查询账户余额
|
||||
if (!isAbnormalOrder)
|
||||
{
|
||||
// 强制使用软件而非erp拍单
|
||||
if (GlobalConfig.BuyConfig.IsUseAppBalance)
|
||||
{
|
||||
if (BaseClass.Balance < 10)
|
||||
@@ -1564,6 +1565,25 @@ namespace _29WxOrderWpf.Ctrls.OrderCtrls
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
private void btnOptimizeProduct_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (this.DataContext is oms_wei_order_item_info orderItem)
|
||||
{
|
||||
WXOrderListOptimizeForm form = new WXOrderListOptimizeForm(orderItem.Shop);
|
||||
form.lblOrderId.Text = orderItem.order_id;
|
||||
form.lblSpuId.Text = orderItem.product_id;
|
||||
form.lblSkuId.Text = orderItem.sku_id; // skuId
|
||||
form.txtGoodsName.Text = orderItem.title; // 商品名称
|
||||
form.txtSkuName.Text = orderItem.sku_attr_str; // sku规格名称
|
||||
form.txtOrderPrice.Text = "" + (orderItem.real_price.ParseToInt() / 100m / orderItem.sku_cnt); // 订单价格
|
||||
//form.txtCurrentPrice.Text = row.Cells["colCurrentPrice"].Value.ParseToString(); // 当前商品价格
|
||||
//form.txtCurrentStock.Text = row.Cells["colCurrentStock"].Value.ParseToString(); // 当前库存;
|
||||
form.numAddPrice.Value = 0;
|
||||
form.ShowDialog();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user