lyhzzz 2 年之前
父节点
当前提交
89d021abf2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/fdkankan/sale/service/impl/RepairSupplyService.java

+ 1 - 1
src/main/java/com/fdkankan/sale/service/impl/RepairSupplyService.java

@@ -77,7 +77,7 @@ public class RepairSupplyService {
             List<PriceList> priceListList = priceListService.getByRepairId(repairId);
             for (PriceList priceList : priceListList) {
                 if(priceList.getStatus() == 1){
-                    if(priceList.getPartId() == null){
+                    if(priceList.getPartId() == null || priceList.getType() == 1){
                         RepairRegisterPartVo vo = new RepairRegisterPartVo();
                         vo.setPartName(priceList.getName());
                         vo.setPartCount(priceList.getCount());