main
dengyu 2 months ago
parent ab1b9d9e77
commit 36111f28cd

@ -2702,6 +2702,16 @@ namespace DSWeb.Common.DB
public bool? BSSTATUS { get; set; }
public bool? FEESTATUS { get; set; }
public long? DJYID { get; set; }
public DateTime? BSDATE { get; set; }
public string FORWARDER { get; set; }
public string LANE { get; set; }
public string PORTDISCHARGE { get; set; }
public string OP { get; set; }
public string VESSEL { get; set; }
public string VOYNO { get; set; }
}
///// <summary>

@ -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
{

Loading…
Cancel
Save