Commit 61047e6d by 朱继来

调整同步

parent e4b73aae
Showing with 1 additions and 2 deletions
...@@ -174,7 +174,6 @@ class OrderReturnModel extends Model ...@@ -174,7 +174,6 @@ class OrderReturnModel extends Model
$operator_id = $request->user->userId; $operator_id = $request->user->userId;
if ($type == 2) { if ($type == 2) {
$update['syn_sign'] = 1; // 标记wms同步
$event = '审核通过退货单'; $event = '审核通过退货单';
} else { } else {
$update['refuse_reason'] = $request->input('refuse_reason'); $update['refuse_reason'] = $request->input('refuse_reason');
...@@ -211,7 +210,7 @@ class OrderReturnModel extends Model ...@@ -211,7 +210,7 @@ class OrderReturnModel extends Model
$data['shipping_id'] = $request->input('shipping_id'); $data['shipping_id'] = $request->input('shipping_id');
$data['shipping_sn'] = $request->input('shipping_sn'); $data['shipping_sn'] = $request->input('shipping_sn');
$data['status'] = 7; // 待收货 $data['status'] = 7; // 待收货
$data['syn_sign'] = 2; // 标记同步到财务系统 $data['syn_sign'] = 1; // 标记wms同步
try { try {
DB::connection('order')->beginTransaction(); // 开启事务 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