|
|
@@ -142,6 +142,10 @@ public class StoreOrderScrmController extends AppBaseController {
|
|
|
private ConfigUtil configUtil;
|
|
|
@Autowired
|
|
|
private IFsStoreOrderScrmCommentService orderScrmCommentService;
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private IFsStoreScrmService storeScrmService;
|
|
|
+
|
|
|
//TODO 应该没用到
|
|
|
private IErpOrderService getErpService(){
|
|
|
//判断是否开启erp
|
|
|
@@ -245,7 +249,15 @@ public class StoreOrderScrmController extends AppBaseController {
|
|
|
prescriptionAuditStatus = entity.getAuditStatus();
|
|
|
}
|
|
|
}
|
|
|
- return R.ok().put("isAfterSales",isAfterSales).put("order",order).put("items",list).put("payLimitTime",payLimitTime).put("prescribe",prescribe).put("prescriptionAuditStatus",prescriptionAuditStatus);
|
|
|
+ String storeName = "无";
|
|
|
+ if(order.getStoreId() != null){
|
|
|
+ FsStoreScrm storeScrm = storeScrmService.selectFsStoreByStoreId(order.getStoreId());
|
|
|
+ if(storeScrm != null){
|
|
|
+ storeName=storeScrm.getStoreName();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return R.ok().put("isAfterSales",isAfterSales).put("order",order).put("items",list).put("payLimitTime",payLimitTime).put("prescribe",prescribe).put("prescriptionAuditStatus",prescriptionAuditStatus)
|
|
|
+ .put("storeName",storeName);
|
|
|
}
|
|
|
|
|
|
@Login
|