Commit 61047e6d by 朱继来

调整同步

parent e4b73aae
Showing with 1 additions and 2 deletions
......@@ -174,7 +174,6 @@ class OrderReturnModel extends Model
$operator_id = $request->user->userId;
if ($type == 2) {
$update['syn_sign'] = 1; // 标记wms同步
$event = '审核通过退货单';
} else {
$update['refuse_reason'] = $request->input('refuse_reason');
......@@ -211,7 +210,7 @@ class OrderReturnModel extends Model
$data['shipping_id'] = $request->input('shipping_id');
$data['shipping_sn'] = $request->input('shipping_sn');
$data['status'] = 7; // 待收货
$data['syn_sign'] = 2; // 标记同步到财务系统
$data['syn_sign'] = 1; // 标记wms同步
try {
DB::connection('order')->beginTransaction(); // 开启事务
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment