Commit b6d8336a by 朱继来

调整返回信息

parent d2159f22
......@@ -385,7 +385,7 @@ class ApiController extends Controller
$res = curlApi($url);
$this->Export(0, '成功');
$this->Export(0, '成功', $res);
}
}
......@@ -389,10 +389,8 @@
<a class="btn btn-default download-contract" data-id="{{$v['order_id']}}" href="javascript:;">下载合同</a>
@endif
@if ($v['status'] >= 4 && $v['status'] <= 7)
@if (in_array($v['status'], [4, 7]))
<a class="btn btn-warning push-wms" data-sn="{{$v['order_sn']}}" href="javascript:;">推送WMS</a>
<!-- <a class="btn btn-warning" href="{{ Config('website.pur_url') }}/server/wms2?order_sn={{$v['order_sn']}}" target="_blank">推送WMS</a> -->
@endif
@if ($v['status'] == -1 && !$v['cancel_reason'])
......
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