DS7_JinGang
ddlucky 2 years ago
parent ac844ae117
commit c071170cb2

@ -260,7 +260,7 @@ namespace DSWeb.MvcShipping.Controllers
//则将原数据的费用信息 覆盖到即将保存的headdata中 //则将原数据的费用信息 覆盖到即将保存的headdata中
//即:如果有应收应付费用 则不允许修改主单或分单中的费用相关字段 //即:如果有应收应付费用 则不允许修改主单或分单中的费用相关字段
var feecount = BasicDataRefDAL.GetExist("ch_fee_advance_payment_detail", " BSNO='" + headData.BSNO + "' "); var feecount = BasicDataRefDAL.GetExist("ch_fee", " BSNO='" + headData.BSNO + "' ");
if (feecount > 0) { if (feecount > 0) {
var oldheadData = MsOpAirnDAL.GetData(" BSNO='" + headData.BSNO + "' "); var oldheadData = MsOpAirnDAL.GetData(" BSNO='" + headData.BSNO + "' ");
@ -377,7 +377,7 @@ namespace DSWeb.MvcShipping.Controllers
//如果有 就不进行更改 //如果有 就不进行更改
var = MsOpAirnDAL.GetData(" BLTYPE='国内主单' and HBLNO='" + headData.HBLNO + "' "); var = MsOpAirnDAL.GetData(" BLTYPE='国内主单' and HBLNO='" + headData.HBLNO + "' ");
var feecount = BasicDataRefDAL.GetExist("ch_fee_advance_payment_detail", " BSNO='" + .BSNO + "' "); var feecount = BasicDataRefDAL.GetExist("ch_fee", " BSNO='" + .BSNO + "' ");
if (feecount > 0) if (feecount > 0)
{ {

Loading…
Cancel
Save