智慧农业后台管理
src/main/java/org/springblade/modules/stockrecord/controller/StockrecordController.java
@@ -105,8 +105,13 @@
         String s = specs + dic1 + "/" + dic2;
         //出库
         if (pages.getRecords().get(i).getStockType1() == 0) {
            if (pages.getRecords().get(i).getType1().equals("4")){
               String count = "+" + pages.getRecords().get(i).getAmount1() + dic2;
               pages.getRecords().get(i).setCount(count);
            }else {
            String count = "-" + pages.getRecords().get(i).getAmount1() + dic2;
            pages.getRecords().get(i).setCount(count);
            }
         } else {
            String count = "+" + pages.getRecords().get(i).getAmount1() + dic2;
            pages.getRecords().get(i).setCount(count);