|  |  |  | 
|---|
|  |  |  | #region 工艺路线分页列表 | 
|---|
|  |  |  | [Route("Gy_RoutingBill/page")] | 
|---|
|  |  |  | [HttpGet] | 
|---|
|  |  |  | public json Gy_RoutingBillPage(string sWhere, string user, int page, int size) | 
|---|
|  |  |  | public object Gy_RoutingBillPage(string sWhere, string user, int page, int size) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | DataSet ds; | 
|---|
|  |  |  | json res = new json(); | 
|---|
|  |  |  | 
|---|
|  |  |  | res.count = CountConstant.FAIL; | 
|---|
|  |  |  | res.Message = "Exception!" + e.ToString(); | 
|---|
|  |  |  | res.data = null; | 
|---|
|  |  |  | return objJsonResult; | 
|---|
|  |  |  | return res; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | #endregion | 
|---|
|  |  |  | 
|---|
|  |  |  | if (oSystemParameter.ShowBill(ref Ret)) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | //判断客户为龙山汽配 | 
|---|
|  |  |  | if (oSystemParameter.omodel.WMS_CampanyName == "龙山汽配") | 
|---|
|  |  |  | if (oSystemParameter.omodel.WMS_CampanyName == "龙山汽配" || oSystemParameter.omodel.WMS_CampanyName == "添康科技") | 
|---|
|  |  |  | { | 
|---|
|  |  |  | //判断是否有查询工价权限 | 
|---|
|  |  |  | if (!DBUtility.ClsPub.Security_Log("Gy_RoutingBill_CheckProcPrice", 1, false, UserName)) | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //审核工艺路线 | 
|---|
|  |  |  | oCN.RunProc(" Update Gy_RoutingBillMain set HChecker='" + user + "',HCheckDate=getdate(),HBillStatus=2 Where HInterID=" + HInterID.ToString()); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ////刷新默认工艺路线 | 
|---|
|  |  |  | //oCN.RunProc("exec h_p_Gy_RoutingBillCheck " + HInterID); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //获取系统参数 | 
|---|
|  |  |  | string Ret = ""; | 
|---|
|  |  |  | if (oSystemParameter.ShowBill(ref Ret)) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | //判断客户 | 
|---|
|  |  |  | if (oSystemParameter.omodel.WMS_CampanyName == "添康科技") //系统参数 | 
|---|
|  |  |  | { | 
|---|
|  |  |  | //刷新默认工艺路线 | 
|---|
|  |  |  | oCN.RunProc("exec h_p_Gy_RoutingBillCheck " + HInterID + ",'" + user + "'"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ////审核单据 | 
|---|
|  |  |  | //if (!BillOld.CheckBill(Int64.Parse(HInterID), ref ClsPub.sExeReturnInfo)) | 
|---|