浏览代码

优化入库单bug

wufeng 2 年之前
父节点
当前提交
d76b564a46
共有 1 个文件被更改,包括 1 次插入1 次删除
  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')