Browse Source

优化入库单bug

wufeng 2 years ago
parent
commit
d76b564a46
1 changed files with 1 additions and 1 deletions
  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')