소스 검색

服务总费用计算

whitefang 1 년 전
부모
커밋
b1497adf81
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/api/logic/ServiceOrderLogic.php

+ 1 - 1
app/api/logic/ServiceOrderLogic.php

@@ -407,7 +407,7 @@ class ServiceOrderLogic extends BaseLogic
     {
     {
         try {
         try {
             $order_info =  \app\common\model\recharge\RechargeOrder::with(['service_work'=>function ($query) {
             $order_info =  \app\common\model\recharge\RechargeOrder::with(['service_work'=>function ($query) {
-                $query->visible(['spare_total','service_work_spare_id']);
+                $query->visible(['service_fee,spare_total','service_work_spare_id']);
             }])
             }])
                 ->visible(['id','sn','work_id'])
                 ->visible(['id','sn','work_id'])
                 ->where([
                 ->where([