修复批量导入功能BUG

dev
曾超新 5 years ago
parent a08c0ff170
commit ed3b6d16ba
  1. 2
      frontend/controllers/FinanceController.php
  2. 2
      frontend/views/finance/car-update-frame.php

@ -6356,7 +6356,7 @@ class FinanceController extends \frontend\controllers\UserBaseController
$result['msg'] = '操作失败';
$web_path = Yii::$app->getBasePath() . '/../frontend/web';
$filename = $web_path . $request->post('urlfile');
$filename = $web_path . $request->post('file');
$base_filename=$request->post('file');
//读取Excel 2007

@ -70,7 +70,7 @@ use \common\libs\MyLib;
}, function(){
var params = $("#theFrm").serialize();
$.post('/finance/car-update-frame-info',params,function(obj){
parent.layer.msg(data.msg);
parent.layer.msg(obj.msg);
if(obj.success) {
window.location.reload();
}

Loading…
Cancel
Save