jinghz
2023-12-01 da347f2bb4b85c91c726a27f558e35f21206197f
回车下拉框 取促销价
1个文件已修改
9 ■■■■ 已修改文件
WarM/仓库管理/Kf_SellOutBill.cs 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WarM/²Ö¿â¹ÜÀí/Kf_SellOutBill.cs
@@ -3173,7 +3173,14 @@
                            }
                            grdMain.Rows[grdMain.CurrentRow.Index].Cells[HQtyCol].Value = 1;
                            grdMain.Rows[grdMain.CurrentRow.Index].Cells[HPriceCol].Value = oMatePriceCus.GetMatePriceByCus(oMater.omodel.HItemID, DBUtility.ClsPub.isLong(this.txtHSupID.Tag));
                            grdMain.Rows[grdMain.CurrentRow.Index].Cells[HSalePriceCol].Value = oMater.omodel.HSalePrice.ToString();
                            if (this.ModCaption == "销售出库单_零售1" && oMater.omodel.HRatePrice > 0)
                            {
                                grdMain.Rows[grdMain.CurrentRow.Index].Cells[HSalePriceCol].Value = oMater.omodel.HRatePrice.ToString();//获取促销价
                            }
                            else
                            {
                                grdMain.Rows[grdMain.CurrentRow.Index].Cells[HSalePriceCol].Value = oMater.omodel.HSalePrice.ToString();
                            }
                            if (DBUtility.ClsPub.isDoule(grdMain.Rows[grdMain.CurrentRow.Index].Cells[HPriceCol].Value) == 0)
                            {
                                grdMain.Rows[grdMain.CurrentRow.Index].Cells[HPriceCol].Value = grdMain.Rows[grdMain.CurrentRow.Index].Cells[HSalePriceCol].Value;