|
@@ -6,6 +6,7 @@ use app\admin\model\GoodLog;
|
|
|
use app\admin\model\ProcessOrder;
|
|
|
use Exception;
|
|
|
use think\App;
|
|
|
+use think\facade\Cache;
|
|
|
use think\facade\Db;
|
|
|
use app\admin\model\ActionLog;
|
|
|
use think\facade\Validate;
|
|
@@ -3621,6 +3622,7 @@ class Sale extends Base
|
|
|
}
|
|
|
$good_data[] = ['good_log_code' =>$outCode, "stock_id" =>$stokc['id'], "type" => 2,'stock'=>$outinfo['send_num'],"stock_name" => "wait_out_stock"];
|
|
|
GoodLog::LogAdd($this->post['token'],$good_data,"CKD");
|
|
|
+ Cache::push("outCode",$outCode);
|
|
|
Db::commit();
|
|
|
return app_show(0,"发货成功");
|
|
|
}else{
|