ccjgmwz hace 3 años
padre
commit
4eb22bb884

+ 1 - 1
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/controller/PaymentManagementController.java

@@ -184,13 +184,13 @@ public class PaymentManagementController {
                     tmp.setAmountIngPayable(payable/2);
                     tmp.setRemarkss("车号:" + tmp.getCarNo() + "毛:" + tmp.getGrossWeight() + " 皮:" + tmp.getTare() + " 净:" + tmp.getNetWeight() + " 纯:" + weight + " 应付:" + payable + " 单号:" + m.replaceAll("").trim() + " ,★☆性质:贸易粮 形态:玉米堆(1)"
                     );
+                    list1.add(tmp);
                     //第二张发票
                     PaymentManagement tmp1 = tmp;
                     tmp1.setPureWeight(weight - tmp.getPureWeight());
                     tmp1.setAmountIngPayable(payable - tmp.getAmountIngPayable());
                     tmp1.setRemarkss("车号:" + tmp1.getCarNo() + "毛:" + tmp1.getGrossWeight() + " 皮:" + tmp1.getTare() + " 净:" + tmp1.getNetWeight() + " 纯:" + weight + " 应付:" + payable + " 单号:" + m.replaceAll("").trim() + " ,★☆性质:贸易粮 形态:玉米堆(2)"
                     );
-                    list1.add(tmp);
                     list1.add(tmp1);
                 }
             }