|
@@ -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());
|