优化修改批量导入功能

dev
曾超新 5 years ago
parent c3f83abc57
commit 7e19e00fff
  1. 2
      frontend/controllers/FinanceController.php
  2. 4
      frontend/views/finance/car-update-frame.php

@ -6317,6 +6317,8 @@ class FinanceController extends \frontend\controllers\UserBaseController
public function actionCarUpdateFrameInfo()
{
set_time_limit(0);
ini_set('memory_limit', '3072M');
Yii::$app->response->format = Response::FORMAT_JSON;
$request = Yii::$app->request;
$result = array();

@ -68,8 +68,12 @@ use \common\libs\MyLib;
btn: ['确认','取消'], //按钮
shade: false //不显示遮罩
}, function(){
var index = parent.layer.load(1, {
shade: [0.1,'#fff'] //0.1透明度的白色背景
});
var params = $("#theFrm").serialize();
$.post('/finance/car-update-frame-info',params,function(obj){
parent.layer.close(index);
parent.layer.msg(obj.msg);
if(obj.success) {
window.location.reload();

Loading…
Cancel
Save