Przeglądaj źródła

优化入库单bug

wufeng 2 lat temu
rodzic
commit
d76b564a46
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/admin/controller/Purchin.php

+ 1 - 1
app/admin/controller/Purchin.php

@@ -391,7 +391,7 @@ class Purchin extends Base
                                                 "action_type" => "status"//新建create,编辑edit,更改状态status
                                             ], "CKD", 1, $this->post);
 
-                                            if ($is_stock[$v_outCode['orderCode']] == 1) {
+                                            if ($is_stock == 1) {
                                                 //库存品,推给库管和库管-张凯旋
                                                 $roleid = config('app.wsm_cgder_role');
                                                 $uids = Db::name('user_role')