|
@@ -112,6 +112,8 @@ public class M30PfxxPlugin extends AbstractSOPfxxPlugin {
|
|
|
bodyvo.setNtaxprice(nqtorigtaxprice);//主本币含税单价
|
|
|
bodyvo.setNpiece(nqtorigprice);//主本币无税单价
|
|
|
bodyvo.setNtaxnetprice(nqtorigtaxprice);//主本币含税净价
|
|
|
+ bodyvo.setNorigtaxnetprice(nqtorigtaxprice);//主含税净价
|
|
|
+ bodyvo.setNorignetprice(nqtorigprice);//主无税净价
|
|
|
bodyvo.setNnetprice(nqtorigprice);//主本币无税净价
|
|
|
bodyvo.setNmny(norigmny);//本币无税金额
|
|
|
bodyvo.setNtaxmny(norigtaxmny);//本币价税合计
|
|
@@ -128,36 +130,24 @@ public class M30PfxxPlugin extends AbstractSOPfxxPlugin {
|
|
|
UFDouble foreignAmount= currRateUtil.getAmountByOpp(corigcurrencyid,
|
|
|
ccurrencyid, norigprice, foreignrate, headvo.getDbilldate());
|
|
|
bodyvo.setNtaxprice(foreignAmount);//主本币含税单价
|
|
|
-
|
|
|
UFDouble ngprice=currRateUtil.getAmountByOpp(corigcurrencyid,
|
|
|
ccurrencyid, bodyvo.getNorigprice()/*主原币无税单价*/, foreignrate, headvo.getDbilldate());
|
|
|
-
|
|
|
bodyvo.setNprice(ngprice); // 主本币无税单价
|
|
|
-
|
|
|
bodyvo.setNqtprice(ngprice); //报价本币无税单价
|
|
|
-
|
|
|
bodyvo.setNqttaxprice(foreignAmount);//报价本币含税单价
|
|
|
-
|
|
|
-
|
|
|
UFDouble nmny=currRateUtil.getAmountByOpp(corigcurrencyid,
|
|
|
ccurrencyid, bodyvo.getNorigmny()/*原币无税金额*/, foreignrate, headvo.getDbilldate());
|
|
|
-
|
|
|
bodyvo.setNmny(nmny);//本币无税金额
|
|
|
-
|
|
|
UFDouble ntaxmny=currRateUtil.getAmountByOpp(corigcurrencyid,
|
|
|
ccurrencyid, bodyvo.getNorigtaxmny()/*原币价税合计*/, foreignrate, headvo.getDbilldate());
|
|
|
-
|
|
|
bodyvo.setNtaxmny(ntaxmny);//ntaxmny 本币价税合计
|
|
|
-
|
|
|
bodyvo.setNcaltaxmny(nmny);//计税金额
|
|
|
bodyvo.setNqtnetprice(ngprice);//本币无税净价
|
|
|
bodyvo.setNnetprice(ngprice);//主本币无税净价
|
|
|
-
|
|
|
+ bodyvo.setNorignetprice(ngprice);//主无税净价
|
|
|
bodyvo.setNqttaxnetprice(foreignAmount);//本币含税净价
|
|
|
bodyvo.setNtaxnetprice(foreignAmount);//主本币含税净价
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ bodyvo.setNorigtaxnetprice(foreignAmount);//主含税净价
|
|
|
bodyvo.setNtax(ntaxmny.sub(nmny));//税额=价税合计-无税金额
|
|
|
}
|
|
|
|