fix:合同复制报错

This commit is contained in:
zzs 2024-10-14 22:18:09 +08:00
parent 5a537f4a1b
commit fdee718201

View File

@ -1879,7 +1879,7 @@ public class ClientUtils {
*/
public static void calculateSalesFCAStandardQingdaoUnitPrice(IDataModel model, int idx) {
// if (isFCAPriceItem(model, idx)) {
if (idx == -1) {
if (idx != -1) {
BigDecimal standardprice = (BigDecimal) model.getValue("yem_standardprice", idx);//标配FOB青岛
BigDecimal exrate = (BigDecimal) model.getValue("yem_exrate");//汇率
BigDecimal calc = BigDecimalUtils.div(standardprice, exrate, 10);