王 垚
2021-11-01 d69f3b187fbf58480cfa1b7d93bb8fef0debb01d
WorkM/Á÷ת¿¨¹ÜÀí/Sc_ProcessExchangeBillList.cs
@@ -27,6 +27,7 @@
        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 = "";  //外窗体递入
@@ -53,11 +54,11 @@
            //过滤条件
            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 ";
            }
            //
@@ -866,6 +867,12 @@
        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;