Browse Source

售后页面,显示用户申请的退款

lizhen_gitee 3 tháng trước cách đây
mục cha
commit
546bc91ac1

+ 4 - 0
application/admin/view/shopro/order/aftersale/detail.html

@@ -333,6 +333,10 @@
                                 <div class="left">建议退款:</div>
                                 <div class="right">¥{{ state.data.suggest_refund_fee }}</div>
                             </div>
+                            <div class="item">
+                                <div class="left">用户申请退款:</div>
+                                <div class="right">¥{{ state.data.apply_refund_price }}</div>
+                            </div>
                         </el-col>
                         <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
                             <div class="subtitle">售后信息</div>

+ 3 - 0
application/admin/view/shopro/order/aftersale/refund.html

@@ -18,6 +18,9 @@
                             :placeholder="`建议退款金额${state.suggest_refund_fee}元`" />
                         <div class="tip"> 退款时请与买家协商好,退款之后不可撤回 </div>
                     </el-form-item>
+                    <div>
+                        用户申请的退款金额:¥{{state.apply_refund_price}}
+                    </div>
                 </el-form>
             </el-scrollbar>
         </el-main>

+ 3 - 1
application/extra/site.php

@@ -12,7 +12,7 @@ return array (
     'backend' => 'zh-cn',
     'frontend' => 'zh-cn',
   ),
-  'fixedpage' => 'dashboard',
+  'fixedpage' => 'shopro/dashboard',
   'categorytype' => 
   array (
     'default' => '默认',
@@ -32,6 +32,7 @@ return array (
     'userios' => '用户端苹果版本',
     'explain' => '说明配置',
     'keyword' => '关键词',
+    'live' => '直播配置',
   ),
   'mail_type' => '1',
   'mail_smtp_host' => 'smtp.qq.com',
@@ -68,4 +69,5 @@ return array (
   'business_license' => '/uploads/20241210/bdafdca4bd272fafc8072cb43be5f782.png',
   'examine_bg_image' => '/uploads/20241211/811f53e60d4eb8f976373b6f4e22d107.png',
   'keyword_filter' => '毛泽东|邓小平|江泽民|胡锦涛|共产党|习大大|大法|微信',
+  'live_notice' => '欢迎来到直播间直播间内严禁出现违法违规、低俗色情、吸烟酗酒、人身伤害等内容。请大家注意财产安全,理性消费,谨防网络诈骗。',
 );

+ 2 - 1
public/assets/js/backend/shopro/order/aftersale.js

@@ -257,7 +257,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                     }
 
                     function onRefund() {
-                        Fast.api.open(`shopro/order/aftersale/refund/id/${state.id}?id=${state.id}&suggest_refund_fee=${state.data.suggest_refund_fee}`, "售后退款", {
+                        Fast.api.open(`shopro/order/aftersale/refund/id/${state.id}?id=${state.id}&suggest_refund_fee=${state.data.suggest_refund_fee}&apply_refund_price=${state.data.apply_refund_price}`, "售后退款", {
                             callback() {
                                 getDetail()
                             }
@@ -321,6 +321,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                     const state = reactive({
                         id: new URLSearchParams(location.search).get('id'),
                         suggest_refund_fee: new URLSearchParams(location.search).get('suggest_refund_fee'),
+                        apply_refund_price: new URLSearchParams(location.search).get('apply_refund_price'),
                     })
 
                     const form = reactive({