| | |
| | | } |
| | | 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; |