From 9edc77beadbfcb235006fdb15d2c6063e404a7be Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Wed, 19 Feb 2020 16:28:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=88=90=E4=B8=8B=E6=B8=B8=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E7=BB=93=E7=AE=97=E5=8D=95bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/StatementMangementController.class.php | 7 +++++-- .../Admin/View/StatementMangement/PersonOrderEdit.html | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Application/Admin/Controller/StatementMangementController.class.php b/Application/Admin/Controller/StatementMangementController.class.php index b26cf9d3d..40b6eaedb 100644 --- a/Application/Admin/Controller/StatementMangementController.class.php +++ b/Application/Admin/Controller/StatementMangementController.class.php @@ -609,7 +609,7 @@ class StatementMangementController extends ThinkController $statement = M('statement','tab_') ->field('ext_field') - ->where(['ext_field'=>['like','%,%']]) + ->where(['statement_type'=>2]) ->select(); $withdrawData = []; @@ -624,7 +624,10 @@ class StatementMangementController extends ThinkController } - $thisWithdraw = explode(',',$_REQUEST['withdraw']); +// $thisWithdraw = explode(',',$_REQUEST['withdraw']); + $thisWithdraw = explode(',',M('statement','tab_')->where(['id'=>$_REQUEST['id']])->find()['ext_field']); +// dump($thisWithdraw);die(); + foreach ($data as $key => $value) { // $data[$key]['settlement_begin_time'] = date("Y-m-d H:i:s", $data[$key]['settlement_begin_time']); diff --git a/Application/Admin/View/StatementMangement/PersonOrderEdit.html b/Application/Admin/View/StatementMangement/PersonOrderEdit.html index 6f6dde828..1d2643564 100644 --- a/Application/Admin/View/StatementMangement/PersonOrderEdit.html +++ b/Application/Admin/View/StatementMangement/PersonOrderEdit.html @@ -80,7 +80,7 @@
- +  - 
@@ -278,6 +278,7 @@ return $(elem).val(); }).get().join(","); var id =$("#withdraw_id").val(); + var withdraw =$("#withdraw").val(); var url = "/admin.php?s=/statementMangement/PersonOrderEdit/withdraw/" + text + "/time_start/" + $("#time_start").val() + "/time_end/" + $("#time_end").val() + "/id/" + id; console.log(url)