mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-07-12 10:31:07 +08:00
Compare commits
2 Commits
48d31261ba
...
48f1c79c80
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48f1c79c80 | ||
|
|
9b6bdb61bb |
@ -133,10 +133,10 @@ class Send extends Controller
|
|||||||
$vo['status'] = 2;
|
$vo['status'] = 2;
|
||||||
$vo['company_name'] = $company['name'];
|
$vo['company_name'] = $company['name'];
|
||||||
$vo['send_datetime'] = $vo['send_datetime'] ?? date('Y-m-d H:i:s');
|
$vo['send_datetime'] = $vo['send_datetime'] ?? date('Y-m-d H:i:s');
|
||||||
if ($order['status'] === 3) {
|
if ($order['status'] === 4) {
|
||||||
$map = ['order_no' => $vo['order_no']];
|
|
||||||
// 更新订单发货状态
|
// 更新订单发货状态
|
||||||
ShopOrder::mk()->where($map)->update(['status' => 4]);
|
$map = ['order_no' => $vo['order_no']];
|
||||||
|
ShopOrder::mk()->where($map)->update(['status' => 5]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
{block name="content"}
|
|
||||||
<div class="iframe-pagination notfooter">
|
<div class="iframe-pagination notfooter">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>条件搜索</legend>
|
<legend>条件搜索</legend>
|
||||||
@ -41,9 +40,7 @@
|
|||||||
</fieldset>
|
</fieldset>
|
||||||
<table id="NewsTable" data-url="{:sysuri()}" data-target-search="#NewsTableSearch"></table>
|
<table id="NewsTable" data-url="{:sysuri()}" data-target-search="#NewsTableSearch"></table>
|
||||||
</div>
|
</div>
|
||||||
{/block}
|
|
||||||
|
|
||||||
{block name='script'}
|
|
||||||
<script>
|
<script>
|
||||||
$(function () {
|
$(function () {
|
||||||
// 初始化表格组件
|
// 初始化表格组件
|
||||||
@ -82,6 +79,4 @@
|
|||||||
<!-- 数据状态切换模板 -->
|
<!-- 数据状态切换模板 -->
|
||||||
<script type="text/html" id="StatusSwitchTpl">
|
<script type="text/html" id="StatusSwitchTpl">
|
||||||
{{-d.status ? '<b class="color-green">已激活</b>' : '<b class="color-red">已禁用</b>'}}
|
{{-d.status ? '<b class="color-green">已激活</b>' : '<b class="color-red">已禁用</b>'}}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{/block}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user