|
|
|
@ -216,13 +216,15 @@ namespace DSWeb.Areas.CommMng.Models
|
|
|
|
|
|
|
|
|
|
public Bill_Head BillHead { get; set; }
|
|
|
|
|
|
|
|
|
|
public opseae_md head { get; set; }
|
|
|
|
|
public op_seae_md head { get; set; }
|
|
|
|
|
public List<op_ctn_md> ctnList { get; set; }
|
|
|
|
|
|
|
|
|
|
public Int32 CtnNum { get; set; }
|
|
|
|
|
|
|
|
|
|
public List<ch_fee_md> NewFeeList { get; set; }
|
|
|
|
|
|
|
|
|
|
private List<code_fee_md> codefeelist { get; set; }
|
|
|
|
|
|
|
|
|
|
private void addfee(ch_fee_md fee) {
|
|
|
|
|
if (NewFeeList == null) NewFeeList = new List<ch_fee_md>();
|
|
|
|
|
fee.CUSTOMERTYPE = "订舱代理";
|
|
|
|
@ -325,6 +327,8 @@ namespace DSWeb.Areas.CommMng.Models
|
|
|
|
|
|
|
|
|
|
CanMake = new DBResult();
|
|
|
|
|
|
|
|
|
|
codefeelist = cdc.code_fee.Where(x => 1 == 1).ToList();
|
|
|
|
|
|
|
|
|
|
var opseaeList = cdc.OP_SEAE.Where(x => x.MBLNO == BillHead.bill_no).ToList();
|
|
|
|
|
|
|
|
|
|
if (opseaeList == null || opseaeList.Count == 0) {
|
|
|
|
@ -649,7 +653,7 @@ namespace DSWeb.Areas.CommMng.Models
|
|
|
|
|
|
|
|
|
|
码头操作费List.First(x => x.UNIT == ctn.CTNALL && x.UNITPRICE == price).REMARK += ";"+ ctn.CNTRNO;
|
|
|
|
|
|
|
|
|
|
码头操作费List.First(x => x.UNIT == ctn.CTNALL && x.UNITPRICE == price).setTax();
|
|
|
|
|
码头操作费List.First(x => x.UNIT == ctn.CTNALL && x.UNITPRICE == price).setTax(codefeelist);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
@ -790,7 +794,7 @@ namespace DSWeb.Areas.CommMng.Models
|
|
|
|
|
|
|
|
|
|
海运费List.First(x => x.UNIT == ctn.CTNALL && x.UNITPRICE == newfee.UNITPRICE).REMARK += ";" + ctn.CNTRNO;
|
|
|
|
|
|
|
|
|
|
海运费List.First(x => x.UNIT == ctn.CTNALL && x.UNITPRICE == newfee.UNITPRICE).setTax();
|
|
|
|
|
海运费List.First(x => x.UNIT == ctn.CTNALL && x.UNITPRICE == newfee.UNITPRICE).setTax(codefeelist);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
@ -932,7 +936,7 @@ namespace DSWeb.Areas.CommMng.Models
|
|
|
|
|
码头操作费List.First(x => x.UNIT == ctn.CTNALL && x.UNITPRICE == price && x.FEENAME == FEENAME).AMOUNT += amount;
|
|
|
|
|
|
|
|
|
|
码头操作费List.First(x => x.UNIT == ctn.CTNALL && x.UNITPRICE == price && x.FEENAME == FEENAME).REMARK += ";" + ctn.CNTRNO;
|
|
|
|
|
码头操作费List.First(x => x.UNIT == ctn.CTNALL && x.UNITPRICE == price && x.FEENAME == FEENAME).setTax();
|
|
|
|
|
码头操作费List.First(x => x.UNIT == ctn.CTNALL && x.UNITPRICE == price && x.FEENAME == FEENAME).setTax(codefeelist);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|