From ba95747823d4f6517ee5f1d4005f555a6ca84b5e Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 10 Sep 2020 10:30:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E6=B7=BB=E5=8A=A0=E5=BC=80?= =?UTF-8?q?=E5=8F=91=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/data/controller/ShopOrderSend.php | 1 + app/data/controller/ShopOrderService.php | 1 + app/data/view/shop_order/index.html | 12 +++++------- app/data/view/shop_order_send/index.html | 10 ++++------ app/data/view/shop_order_service/index.html | 10 ++++------ 5 files changed, 15 insertions(+), 19 deletions(-) diff --git a/app/data/controller/ShopOrderSend.php b/app/data/controller/ShopOrderSend.php index fd8d6745a..62fc77ab5 100644 --- a/app/data/controller/ShopOrderSend.php +++ b/app/data/controller/ShopOrderSend.php @@ -27,6 +27,7 @@ class ShopOrderSend extends Controller */ public function index() { + $this->title = '订单发货管理'; $query = $this->_query($this->table); $query->page(); } diff --git a/app/data/controller/ShopOrderService.php b/app/data/controller/ShopOrderService.php index 0c60c3bef..b4f626807 100644 --- a/app/data/controller/ShopOrderService.php +++ b/app/data/controller/ShopOrderService.php @@ -27,6 +27,7 @@ class ShopOrderService extends Controller */ public function index() { + $this->title = '售后申请管理'; $query = $this->_query($this->table); $query->page(); } diff --git a/app/data/view/shop_order/index.html b/app/data/view/shop_order/index.html index 85eddb949..5b25f522e 100644 --- a/app/data/view/shop_order/index.html +++ b/app/data/view/shop_order/index.html @@ -1,16 +1,14 @@ {extend name="../../admin/view/main"} {block name="content"} -
+
    {foreach ['all'=>'全部订单','2'=>'待支付的订单','3'=>'待发货的订单','4'=>'待收货的订单','5'=>'已完成的订单','0'=>'已取消的订单'] as $k=>$v} - {php}$total=isset($totals[$k])?$totals[$k]:0;{/php} - {if isset($type) and $type eq $k.''} -
  • {$v} {$total}
  • + {if isset($type) and $type eq $k} +
  • {$v} {$total[$k]??0}
  • {else} -
  • {$v} {$total}
  • - {/if} - {/foreach} +
  • {$v} {$total[$k]??0}
  • + {/if}{/foreach}
{include file='shop_order/index_search'} diff --git a/app/data/view/shop_order_send/index.html b/app/data/view/shop_order_send/index.html index 381257804..399e9e2ca 100644 --- a/app/data/view/shop_order_send/index.html +++ b/app/data/view/shop_order_send/index.html @@ -4,13 +4,11 @@
    {foreach ['all'=>'全部订单','2'=>'待支付的订单','3'=>'待发货的订单','4'=>'待收货的订单','5'=>'已完成的订单','0'=>'已取消的订单'] as $k=>$v} - {php}$total=isset($totals[$k])?$totals[$k]:0;{/php} - {if isset($type) and $type eq $k.''} -
  • {$v} {$total}
  • + {if isset($type) and $type eq $k} +
  • {$v} {$total[$k]??0}
  • {else} -
  • {$v} {$total}
  • - {/if} - {/foreach} +
  • {$v} {$total[$k]??0}
  • + {/if}{/foreach}
{include file='shop_order_send/index_search'} diff --git a/app/data/view/shop_order_service/index.html b/app/data/view/shop_order_service/index.html index 86e02973d..6412ca940 100644 --- a/app/data/view/shop_order_service/index.html +++ b/app/data/view/shop_order_service/index.html @@ -4,13 +4,11 @@
    {foreach ['all'=>'全部订单','2'=>'待支付的订单','3'=>'待发货的订单','4'=>'待收货的订单','5'=>'已完成的订单','0'=>'已取消的订单'] as $k=>$v} - {php}$total=isset($totals[$k])?$totals[$k]:0;{/php} - {if isset($type) and $type eq $k.''} -
  • {$v} {$total}
  • + {if isset($type) and $type eq $k} +
  • {$v} {$total[$k]??0}
  • {else} -
  • {$v} {$total}
  • - {/if} - {/foreach} +
  • {$v} {$total[$k]??0}
  • + {/if}{/foreach}
{include file='shop_order_service/index_search'}