Browse Source

Merge branch 'wugg-dev' of wugg/phpstock into version1.5

wugg 2 years ago
parent
commit
70d245ac71
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/admin/controller/Orderback.php

+ 3 - 0
app/admin/controller/Orderback.php

@@ -888,6 +888,7 @@ class Orderback extends Base
                     'creater' => $good['creater'],
                     'field_change' => '',
                     'is_del' => 0,
+                    'is_support_stock' => 0,
                     'addtime' => date('Y-m-d H:i:s'),
                     'updatetime' => date('Y-m-d H:i:s'),
                     'is_diff' => $good['is_diff'],
@@ -900,6 +901,8 @@ class Orderback extends Base
 			$good['id']=null;
 			$good['spuCode']=$spuCode;
 			$good['is_stock']=1;
+			$good['is_support_stock']=0;
+			$good['status']=0;
 			$good['addtime']=date("Y-m-d H:i:s");
 			$good['updatetime']=date("Y-m-d H:i:s");
   	    }