diff --git a/application/admin/form/Admin.php b/application/admin/form/Admin.php index a798d63827acc069d22d29083cec6341dee909bf..4184da6012c1c8a6ceaee2b68f3d963bbd234fe3 100644 --- a/application/admin/form/Admin.php +++ b/application/admin/form/Admin.php @@ -54,8 +54,8 @@ class Admin 'checked_text' => '反选', 'not_checked_text' => '全选', 'align' => 'center', - 'not_show_data' => [1], 'not_show_key' => 'id', + 'not_show_data' => [1], 'width' => 80, ], [ diff --git a/application/admin/form/Order.php b/application/admin/form/Order.php index ca8f089cf1aa0dea425c2ac95ef76a0531413379..2dbfab722a9248b74f9b8be56616b5cec32a707f 100644 --- a/application/admin/form/Order.php +++ b/application/admin/form/Order.php @@ -47,6 +47,7 @@ class Order 'is_search' => 1, 'search_url' => MyUrl('admin/order/index'), 'detail_title' => '基础信息', + 'is_middle' => 0, ], // 表单配置 'form' => [ diff --git a/application/admin/form/Orderaftersale.php b/application/admin/form/Orderaftersale.php index 0b3a25b540bc2bdd80751105c7f34788092d8a5a..027177c1a623888b992a3e88627d4062a7985907 100644 --- a/application/admin/form/Orderaftersale.php +++ b/application/admin/form/Orderaftersale.php @@ -42,6 +42,7 @@ class Orderaftersale 'key_field' => 'id', 'is_search' => 1, 'search_url' => MyUrl('admin/orderaftersale/index'), + 'is_middle' => 0, ], // 表单配置 'form' => [ diff --git a/application/admin/view/default/order/module/goods.html b/application/admin/view/default/order/module/goods.html index 56fd4e88d0ce6367ee20c986de29cd1161dd112a..1b437dbce7413569f782b12f89996d768013b8dc 100644 --- a/application/admin/view/default/order/module/goods.html +++ b/application/admin/view/default/order/module/goods.html @@ -19,11 +19,13 @@ {{$item.spec_text}} {{/if}} -
- {{if $item['returned_quantity'] gt 0 or $item['refund_price'] gt 0}} - 已退 {{$item.returned_quantity}} / {{$price_symbol}}{{$item.refund_price}} - {{/if}} +
{{$price_symbol}}{{$item.price}}x{{$item.buy_number}} +
+ {{if $item['returned_quantity'] gt 0 or $item['refund_price'] gt 0}} + 已退 {{$item.returned_quantity}} / {{$price_symbol}}{{$item.refund_price}} + {{/if}} +
diff --git a/application/admin/view/default/public/module/form_table.html b/application/admin/view/default/public/module/form_table.html index 6fb4afcd333be6fc60da13101ad707ed1b31b21d..e862d7b8873613ed93fa491fd06c3b9e2ecff961 100644 --- a/application/admin/view/default/public/module/form_table.html +++ b/application/admin/view/default/public/module/form_table.html @@ -9,7 +9,7 @@ - - + + {{if empty($t['not_show_data']) or empty($t['not_show_key']) or !isset($data_list[$i][$t['not_show_key']]) or !in_array($data_list[$i][$t['not_show_key']], $t['not_show_data'])}} +
+ +
+ {{/if}} {{/if}} {{/case}} {{case checkbox}} {{if isset($data_list[$i][$form_table['base']['key_field']])}} - {{if empty($t['not_show_data']) or empty($t['not_show_key']) or !in_array($data_list[$i][$form_table['base']['key_field']], $t['not_show_data'])}} + {{if empty($t['not_show_data']) or empty($t['not_show_key']) or !isset($data_list[$i][$t['not_show_key']]) or !in_array($data_list[$i][$t['not_show_key']], $t['not_show_data'])}}
@@ -216,7 +216,7 @@ 您可以 {{/if}} {{if in_array($data['status'], [0,1])}} - + {{/if}} {{if in_array($data['status'], [1])}} diff --git a/application/index/view/default/order/index.html b/application/index/view/default/order/index.html index 72b90466a6be5c9c89ff1ebea9941f67da713d6e..9624be5f7ebe7e02ea798372041ec33d5f34c55f 100755 --- a/application/index/view/default/order/index.html +++ b/application/index/view/default/order/index.html @@ -1,2 +1,9 @@ -{{extend name="public/module/user_form" /}} \ No newline at end of file +{{extend name="public/module/user_form" /}} + + +{{block name="form_operate_top"}} + + + {__block__} +{{/block}} \ No newline at end of file diff --git a/application/index/view/default/order/module/goods.html b/application/index/view/default/order/module/goods.html index 9398f899b856bccc6f1c6ba046e2a211d6e6ad8d..6143f185cd4cc2808af699746ae75844ea112061 100644 --- a/application/index/view/default/order/module/goods.html +++ b/application/index/view/default/order/module/goods.html @@ -20,14 +20,26 @@ {{/if}} -
- {{if $item['returned_quantity'] gt 0 or $item['refund_price'] gt 0}} - 已退 {{$item.returned_quantity}} / {{$price_symbol}}{{$item.refund_price}} - {{/if}} +
{{if $item.original_price gt 0}} {{$price_symbol}}{{$item.original_price}} {{/if}} - {{$price_symbol}}{{$item.price}}x{{$item.buy_number}} + {{$price_symbol}}{{$item.price}}x{{$item.buy_number}} + {{if $item['returned_quantity'] gt 0 or $item['refund_price'] gt 0}} + 已退 {{$item.returned_quantity}} / {{$price_symbol}}{{$item.refund_price}} + {{/if}} + +
+ {{if ($module_data['is_can_launch_aftersale'] eq 1 or !empty($item['orderaftersale'])) and !empty($item['orderaftersale_btn_text'])}} + + {{if empty($item['orderaftersale'])}} + {{$item.orderaftersale_btn_text}} + {{else /}} + {{$item.orderaftersale_btn_text}} + {{/if}} + + {{/if}} +

{{/foreach}} diff --git a/application/index/view/default/order/module/status.html b/application/index/view/default/order/module/status.html deleted file mode 100644 index 3f7b07dced487c99d828db79f66aa7b7837ee2f3..0000000000000000000000000000000000000000 --- a/application/index/view/default/order/module/status.html +++ /dev/null @@ -1,7 +0,0 @@ - -{{if !empty($module_data)}} -

{{$module_data.status_name}}

- {{if $module_data['user_is_delete_time'] neq 0}} -

用户已删除

- {{/if}} -{{/if}} \ No newline at end of file diff --git a/application/index/view/default/orderaftersale/module/info.html b/application/index/view/default/orderaftersale/module/goods.html similarity index 76% rename from application/index/view/default/orderaftersale/module/info.html rename to application/index/view/default/orderaftersale/module/goods.html index 5c0a6ca4629574a77e066486929e3644a9893e1c..ffe769fb13150b10231006223fb58d12cbfb9076 100644 --- a/application/index/view/default/orderaftersale/module/info.html +++ b/application/index/view/default/orderaftersale/module/goods.html @@ -1,5 +1,9 @@ {{if !empty($module_data) and !empty($module_data['order_data'])}} +

+ {{$module_data.order_no}} +

+
@@ -19,6 +23,6 @@ {{if $module_data.order_data.items.original_price gt 0}} {{$price_symbol}}{{$module_data.order_data.items.original_price}} {{/if}} - {{$price_symbol}}{{$module_data.order_data.items.price}} x {{$module_data.order_data.items.buy_number}} + {{$price_symbol}}{{$module_data.order_data.items.price}} x {{$module_data.order_data.items.buy_number}}
{{/if}} \ No newline at end of file diff --git a/application/index/view/default/public/module/form_table.html b/application/index/view/default/public/module/form_table.html index 6fb4afcd333be6fc60da13101ad707ed1b31b21d..e862d7b8873613ed93fa491fd06c3b9e2ecff961 100644 --- a/application/index/view/default/public/module/form_table.html +++ b/application/index/view/default/public/module/form_table.html @@ -9,7 +9,7 @@ - -
+ + {{if empty($t['not_show_data']) or empty($t['not_show_key']) or !isset($data_list[$i][$t['not_show_key']]) or !in_array($data_list[$i][$t['not_show_key']], $t['not_show_data'])}} +
+ +
+ {{/if}} {{/if}} {{/case}} {{case checkbox}} {{if isset($data_list[$i][$form_table['base']['key_field']])}} - {{if empty($t['not_show_data']) or empty($t['not_show_key']) or !in_array($data_list[$i][$form_table['base']['key_field']], $t['not_show_data'])}} + {{if empty($t['not_show_data']) or empty($t['not_show_key']) or !isset($data_list[$i][$t['not_show_key']]) or !in_array($data_list[$i][$t['not_show_key']], $t['not_show_data'])}}