| | |
| | | public const string ModRightNameDelete = ModRightName + "_Delete"; |
| | | public const string ModRightNameMoney = ModRightName + "_Money"; |
| | | public const string ModRightNameQty = ModRightName + "_Qty"; |
| | | public const string ModRightNameCF = ModRightName + "_CF"; |
| | | DAL.ClsSc_ProcessExchangeBill oBill = new DAL.ClsSc_ProcessExchangeBill(); |
| | | public Sc_ProcessExchangeBill oFrm; |
| | | public string sDlgWhere = ""; //å¤çªä½éå
¥ |
| | |
| | | //è¿æ»¤æ¡ä»¶ |
| | | if (frmCondition.SqlStr.Trim().Length == 0) |
| | | { |
| | | sSql = "Select * from " + ViewName + " Where 1=1 " + sWhere + sDlgWhere + " order by åæ®å· desc,hsubid "; |
| | | sSql = "Select * from " + ViewName + " Where 1=1 " + sWhere + sDlgWhere + " and HPRDORGID=" + DBUtility.ClsPub.HOrgID + " order by åæ®å· desc,hsubid "; |
| | | } |
| | | else |
| | | { |
| | | sSql = frmCondition.SqlStr + sWhere + sDlgWhere + " order by åæ®å· desc,hsubid "; |
| | | sSql = frmCondition.SqlStr + sWhere + sDlgWhere + " and HPRDORGID=" + DBUtility.ClsPub.HOrgID + " order by åæ®å· desc,hsubid "; |
| | | } |
| | | |
| | | // |
| | |
| | | |
| | | private void cf_Click(object sender, EventArgs e) |
| | | { |
| | | //夿æé |
| | | if (!DBUtility.ClsPub.Security_Log(ModRightNameCF, 1, true, DBUtility.ClsPub.CurUserName)) |
| | | { |
| | | return; |
| | | } |
| | | |
| | | Int64 lngBillKey = 0; |
| | | if (grdMain.CurrentRow == null) |
| | | return; |