From 910e720583156f3451da42af4cd385670ef78c4a Mon Sep 17 00:00:00 2001 From: xman <1946321327@qq.com> Date: Sat, 19 Apr 2025 21:20:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/lang/zh-cn/orders/configorder.php | 1 + .../admin/view/aftersales/aftersale/add.html | 17 +--- .../admin/view/aftersales/aftersale/edit.html | 26 ++++--- .../admin/view/orders/configorder/edit.html | 78 ++++++++++++++++--- public/assets/js/backend/orders/auditorder.js | 3 +- .../assets/js/backend/orders/configorder.js | 2 +- public/assets/js/backend/orders/dispatch2.js | 11 ++- 7 files changed, 99 insertions(+), 39 deletions(-) diff --git a/application/admin/lang/zh-cn/orders/configorder.php b/application/admin/lang/zh-cn/orders/configorder.php index 2dea856..5f9e733 100644 --- a/application/admin/lang/zh-cn/orders/configorder.php +++ b/application/admin/lang/zh-cn/orders/configorder.php @@ -15,6 +15,7 @@ return [ 'Status 30' => '进行中', 'Set status to 30' => '设为进行中', 'Status 40' => '待配置', + 'Status 41' => '审核驳回', 'Set status to 40' => '设为待配置', 'Status 50' => '待结算', 'Set status to 50' => '设为待结算', diff --git a/application/admin/view/aftersales/aftersale/add.html b/application/admin/view/aftersales/aftersale/add.html index 19ed1e6..13e67f5 100644 --- a/application/admin/view/aftersales/aftersale/add.html +++ b/application/admin/view/aftersales/aftersale/add.html @@ -13,18 +13,7 @@ -
- -
- - -
-
@@ -100,7 +89,7 @@
-
+ +
-
- -
- - -
-
@@ -155,6 +144,21 @@
+
+ +
+ + + +
+
+ + + {if condition='$row.status eq 1'}
+ + {if condition='$row.status eq 40'} + +
+ +
+ +
+
+ + +
+ +
+ {:build_select('row[offline_amount_type]',$offlineTotalTypeList,$row['dispatch']['offline_total_type'],['class'=>'form-control','data-rule'=>'required'])} +
+
+ +
+ +
+ +
+
+ + +
+ +
+
+ +
+ + +
+ +
+ +
+
+ +
+ +
+ +
+
+ + + {/if} + + {if condition='$row.status eq 41'} +
- +
@@ -60,14 +113,14 @@
- {:build_select('row[offline_amount_type]',$offlineTotalTypeList,$row['dispatch']['offline_total_type'],['class'=>'form-control','data-rule'=>'required'])} + {:build_select('row[offline_amount_type]',$offlineTotalTypeList,$row['offline_amount_type'],['class'=>'form-control','data-rule'=>'required'])}
- +
@@ -76,7 +129,7 @@
- +
@@ -88,6 +141,17 @@
+ +
+ +
+ +
+
+ + {/if} + +
@@ -96,12 +160,6 @@
-
- -
- -
-