WorkM/Á÷ת¿¨¹ÜÀí/Sc_ProcessExchangeBillQuery.cs
@@ -56,11 +56,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 ";
            }
            //
            DSet = SubCn.RunProcReturn(sSql, ViewName, ref DBUtility.ClsPub.sExeReturnInfo);
@@ -1168,6 +1168,10 @@
        private void cf_Click(object sender, EventArgs e)
        {
            //智见特别控制
            MessageBox.Show("单据拆分功能已控制,请与管理员联系", "提示");
            return;
            //
            Int64 lngBillKey = 0;
            if (grdMain.CurrentRow == null)
                return;