zoukankan      html  css  js  c++  java
  • eas之设置单元格可编辑

    for(int i=0;i<kdtEntrys.getRowCount();i++){
        kdtEntrys.getRow(i).getCell("orgUnit").getStyleAttributes().setLocked(false);
        kdtEntrys.getRow(i).getCell("bizMan).getStyleAttribute().setLocked(false);
    }
    //如果折扣金额为null则初始化为0
    if(kdtEntrys.getRow(i).getCell("discountAmount").getValue()==null){
        kdtEntrys.getRow(0).getCell("discountAmount").setValue(new BigDecimal("0.0"));
    }
    //汇总分录行金额
    BigDecimal amount=new BigDecimal("0");
    for(int i=0,n=kdtEntrys.getRowCount();i<n;i++){
        amount=amount.add(......)
    }

  • 相关阅读:
    20210304
    20210303
    20210302
    20210210
    20210209
    20210208
    20210207
    例4-6
    例4-5
    例4-4
  • 原文地址:https://www.cnblogs.com/luojiabao/p/10977240.html
Copyright © 2011-2022 走看看