|
|
|
@ -2319,6 +2319,22 @@ namespace DSWeb.MvcShipping.Controllers
|
|
|
|
|
return new ContentResult() { Content = JsonConvert.Serialize(jsonRespose) };
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ContentResult UnKD(string USERID, string data, string type) //扣单 取消扣单
|
|
|
|
|
{
|
|
|
|
|
var cdc = new CommonDataContext();
|
|
|
|
|
var user = cdc.VW_user.Where(x => x.USERID == USERID).ToList();
|
|
|
|
|
var username = "";
|
|
|
|
|
if (user != null && user.Count > 0) {
|
|
|
|
|
username = user[0].SHOWNAME;
|
|
|
|
|
}
|
|
|
|
|
var dataList = JsonConvert.Deserialize<List<MsOp_BLISSUEmb>>(data);
|
|
|
|
|
var bsnoList=new List<string>();
|
|
|
|
|
bsnoList = dataList.Select(s => s.BSNO).ToList();
|
|
|
|
|
var _r = MsOp_BLISSUEDAL.UnKD(bsnoList, USERID, username);
|
|
|
|
|
|
|
|
|
|
return BasicDataRefDAL.GetContentResult(_r);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ContentResult KD_NoCancel(string USERID, string data, string type) //扣单 不取消扣单
|
|
|
|
|
{
|
|
|
|
|
var _r1 = SaveList_P(data);
|
|
|
|
|