| | |
| | | using System.Data.SqlClient; |
| | | using System.Web.Http; |
| | | using WebAPI.Models; |
| | | using WebAPI.Utility; |
| | | |
| | | namespace WebAPI.Controllers |
| | | { |
| | | [Permission(HModName = "Xs_SellOutChangeBill")] |
| | | //销售调价单Controller |
| | | public class Xs_SellOutChangeBillController : ApiController |
| | | { |
| | |
| | | /// </summary> |
| | | [Route("Xs_SellOutChangeBill/list")] |
| | | [HttpGet] |
| | | [Permission(HModName = "Xs_SellOutChangeBill_Query")] |
| | | public object getXs_SellOutChangeBill(string sWhere, string user) |
| | | { |
| | | try |
| | |
| | | #region 销售调价单保存 新增/编辑 |
| | | [Route("Xs_SellOutChangeBill/SaveXs_SellOutChangeBill")] |
| | | [HttpPost] |
| | | [Permission(HModName = "Xs_SellOutChangeBill_Edit")] |
| | | public object SaveXs_SellOutChangeBill([FromBody] JObject msg) |
| | | { |
| | | var _value = msg["msg"].ToString(); |
| | |
| | | /// </summary> |
| | | [Route("Xs_SellOutChangeBill/delete")] |
| | | [HttpGet] |
| | | [Permission(HModName = "Xs_SellOutChangeBill_Drop")] |
| | | public object deleteXs_SellOutChangeBill(string HInterID, string user) |
| | | { |
| | | try |
| | |
| | | /// <returns></returns> |
| | | [Route("Xs_SellOutChangeBill/AuditXs_SellOutChangeBill")] |
| | | [HttpGet] |
| | | [Permission(HModName = "Xs_SellOutChangeBill_Check")] |
| | | public object AuditXs_SellOutChangeBill(int HInterID, int IsAudit, string CurUserName) |
| | | { |
| | | string ModRightNameCheck = "Xs_SellOutChangeBill_Check"; |
| | |
| | | /// <returns></returns> |
| | | [Route("Xs_SellOutChangeBill/CloseXs_SellOutChangeBill")] |
| | | [HttpGet] |
| | | [Permission(HModName = "Xs_SellOutChangeBill_Close")] |
| | | public object CloseSc_ICMOChangeBill(int HInterID, int IsAudit, string CurUserName) |
| | | { |
| | | string ModRightNameCheck = "Xs_SellOutChangeBill_Close"; |
| | |
| | | /// <returns></returns> |
| | | [Route("Xs_SellOutChangeBill/DeleteXs_SellOutChangeBill")] |
| | | [HttpGet] |
| | | [Permission(HModName = "Xs_SellOutChangeBill_Delete")] |
| | | public object DeleteSc_ICMOChangeBill(int HInterID, int IsAudit, string CurUserName) |
| | | { |
| | | string ModRightNameCheck = "Xs_SellOutChangeBill_Delete"; |