Browse Source

后台订单

lizhen_gitee 1 year ago
parent
commit
0edd120dc5
2 changed files with 7 additions and 0 deletions
  1. 1 0
      application/common/service/UserService.php
  2. 6 0
      public/assets/js/backend/order.js

+ 1 - 0
application/common/service/UserService.php

@@ -256,6 +256,7 @@ class UserService
             'msg' => '操作成功',
             'data' => [],
         ];
+        return $result;
         try {
             $client = new Client();
             $tk = getAccessToken();

+ 6 - 0
public/assets/js/backend/order.js

@@ -77,6 +77,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                                     url:'orderappen/index/order_id/{ids}?dialog=1',
                                     target:'_self',
                                     extend: 'data-area=["90%","90%"]',
+                                    hidden:function($row){
+                                        if($row['status'] == 1){
+                                            return true;
+                                        }
+                                        return false;
+                                    }
                                 },
                                 {
                                     name:'cancel',