20240827 舱单直发费用,结算对象默认“青岛大简云”

使用枚举类型81003当中,enumvalueid=‘结算对象’ 的 EnumValueName
JinHanShengHang
dengyu 3 months ago
parent 1719e7fddc
commit 1c5043aa60

@ -4257,7 +4257,7 @@ addBillfn: function () {
sql = " (" + feeBSNOSql + ")";
sql = sql + getAndConSql(sql, this.FeeSqlStr, this.FeeSqlStr);
}
if (taxrate!='')
if (taxrate!='' && taxrate!="0")
sql = sql + " and f.ACCTAXRATE=" + taxrate;
_this = this;

@ -1561,7 +1561,7 @@ namespace DSWeb.MvcShipping.Controllers
= list.Count();
}
MsChFeeDAL.MakeNewFee(USERID, item.BSNO, "青岛大简云", "其它", 2, "舱单费", amount * , "单票", );
MsChFeeDAL.MakeNewFee(USERID, item.BSNO, pricehelper.CUSTOMERNAME, "其它", 2, "舱单费", amount * , "单票", );
}
@ -1578,6 +1578,8 @@ namespace DSWeb.MvcShipping.Controllers
private string filetype { get; set; }
private bool isfen { get; set; } = false;
public string CUSTOMERNAME { get; set; } = "青岛大简云";
public helper()
{
var cdc = new CommonDataContext();
@ -1621,6 +1623,12 @@ namespace DSWeb.MvcShipping.Controllers
priceList = _d.EnumValueName_2.Split(',').ToList();
}
var = DetailList.FirstOrDefault(x => x.EnumValueID == "结算对象");
if ( != null && string.IsNullOrWhiteSpace(.EnumValueID))
{
CUSTOMERNAME= .EnumValueName;
}
var amount = "0";
if (filetype == "B")
{

Loading…
Cancel
Save