yangle
2022-11-30 aea7384c05c804ebe3778c8a7215b79eba2c954e
WebAPI/Controllers/CGGL/Cg_POOrderBillController.cs
@@ -57,7 +57,7 @@
                bool isCgjl = Security_Log("Cg_POOrderBill_PurchasManager", 1, true, user);
                if (!isCgjl)
                {
                    sWhere += $" and HEmpID in (select HEmpID from Gy_Czygl where Czymc='{user}' )";
                    sWhere += $" and HEmpID in (select HEmpID from Gy_Czygl where Czymc='{user}' and HEmpID >0  )";
                }
                string sql = "select * from h_v_IF_POOrderBillList where 1 = 1 " + sWhere;
                ds = oCN.RunProcReturn(sql, "h_v_IF_POOrderBillList");
@@ -91,9 +91,9 @@
                {
                    foreach (DataColumn item in ds.Tables[0].Columns)
                    {
                        optionList.Add(@"{ field: 'hmainid', title: '"+ item.ToString() + "', sort: true, hide: false }");
                        optionList.Add(@"{ field: 'hmainid', title: '" + item.ToString() + "', sort: true, hide: false }");
                    }
                    string option = string.Join(",",optionList);
                    string option = string.Join(",", optionList);
                    objJsonResult.code = "1";
                    objJsonResult.count = 1;
                    objJsonResult.Message = "Sucess!";
@@ -144,7 +144,7 @@
                            title = item.ToString(),
                            sort = true,
                            hide = false,
                        });
                        });
                    }
                    string option = string.Join(",", optionList);
                    objJsonResult.code = "1";
@@ -661,5 +661,5 @@
        //
    }
}