diff --git a/Application/Payment/Controller/ExcelPaymentController.class.php b/Application/Payment/Controller/ExcelPaymentController.class.php index dab61f71e..e108b633f 100644 --- a/Application/Payment/Controller/ExcelPaymentController.class.php +++ b/Application/Payment/Controller/ExcelPaymentController.class.php @@ -117,6 +117,8 @@ class ExcelPaymentController extends BaseController } public function add() { + $batch = date('Ymd').date('His').sp_random_num(3); + $this->assign("batch",$batch); $this->display(); } // diff --git a/Application/Payment/View/ExcelPayment/add.html b/Application/Payment/View/ExcelPayment/add.html index 01c8056ff..725f16190 100644 --- a/Application/Payment/View/ExcelPayment/add.html +++ b/Application/Payment/View/ExcelPayment/add.html @@ -211,7 +211,7 @@ var isfile = false; var rABS = false; //是否将文件读取为二进制字符串 var check_size = 10;//每次验证的数量 - var batch = getNowDate(); + var batch = '{$batch}'; var sendDefaultData = { "filedata_count": 0, "check_page":0, @@ -261,7 +261,9 @@ sendDefaultData.end_time = end; COMPARE.loopCheck(1,function(){ - + setTimeout(function(){ + window.location.href="{:U('lists',['row'=>100,'page'=>1,'batch_num'=>$batch])}"; + },1500); }) }) diff --git a/Application/Payment/View/ExcelPayment/lists.html b/Application/Payment/View/ExcelPayment/lists.html index 3ccf47756..d1a4e3f32 100644 --- a/Application/Payment/View/ExcelPayment/lists.html +++ b/Application/Payment/View/ExcelPayment/lists.html @@ -132,7 +132,7 @@
- +