fix:合同复制报错
This commit is contained in:
parent
5a537f4a1b
commit
fdee718201
@ -1879,7 +1879,7 @@ public class ClientUtils {
|
|||||||
*/
|
*/
|
||||||
public static void calculateSalesFCAStandardQingdaoUnitPrice(IDataModel model, int idx) {
|
public static void calculateSalesFCAStandardQingdaoUnitPrice(IDataModel model, int idx) {
|
||||||
// if (isFCAPriceItem(model, idx)) {
|
// if (isFCAPriceItem(model, idx)) {
|
||||||
if (idx == -1) {
|
if (idx != -1) {
|
||||||
BigDecimal standardprice = (BigDecimal) model.getValue("yem_standardprice", idx);//标配FOB(青岛)价
|
BigDecimal standardprice = (BigDecimal) model.getValue("yem_standardprice", idx);//标配FOB(青岛)价
|
||||||
BigDecimal exrate = (BigDecimal) model.getValue("yem_exrate");//汇率
|
BigDecimal exrate = (BigDecimal) model.getValue("yem_exrate");//汇率
|
||||||
BigDecimal calc = BigDecimalUtils.div(standardprice, exrate, 10);
|
BigDecimal calc = BigDecimalUtils.div(standardprice, exrate, 10);
|
||||||
|
Loading…
Reference in New Issue
Block a user