From 6e670a95d253ffef6d8baf66adb7bc08e6ea14e3 Mon Sep 17 00:00:00 2001 From: 935090232@qq.com <ak473600000> Date: Thu, 29 Jul 2021 20:39:07 +0800 Subject: [PATCH] bug修复 --- zq-erp/src/main/resources/templates/views/admin/hive-erp/statistics/statistics-projuse-item.html | 29 +++++++++++++---------------- 1 files changed, 13 insertions(+), 16 deletions(-) diff --git a/zq-erp/src/main/resources/templates/views/admin/hive-erp/statistics/statistics-projuse-item.html b/zq-erp/src/main/resources/templates/views/admin/hive-erp/statistics/statistics-projuse-item.html index e54f7ea..02bf9f9 100644 --- a/zq-erp/src/main/resources/templates/views/admin/hive-erp/statistics/statistics-projuse-item.html +++ b/zq-erp/src/main/resources/templates/views/admin/hive-erp/statistics/statistics-projuse-item.html @@ -27,14 +27,14 @@ </div> <div class="form-group mr-20"> - <label >产品名称</label> + <label>服务名称</label> <input autocomplete="off" name="projName" type="text" class="form-control" > </div> <div class="form-group mr-20"> - <label for="projTypeId">项目分类</label> + <label for="projTypeId">商品分类</label> <select class="form-control select2" size="1" name ="cateId" id="projTypeId"> - <option value=''>--选择项目分类--</option> + <option value=''>--选择分类--</option> </select> </div> @@ -104,25 +104,22 @@ url:basePath+"/admin/projUseStatistics/showList" }); }); - + function exportExcel(){ - var select_begin = $("#select_begin").val(); - var select_end = $("#select_end").val(); - var select_id = $("#select_id").val(); - var goodsName = $("#goodsName").val(); - var guwen = $("#goodsName").val(); - window.location.href=basePath+"/form/furnsale/exportFurn?startTime="+select_begin+"&endTime="+select_end+"&goodsName="+goodsName+"&shopId="+select_id+"&guwen="+guwen; + var param=MForm.toUrlParam("#serchform"); + window.location.href=basePath+"/admin/projUseStatistics/exportShowList?"+param; } - function initFunctionList() { + function initFunctionList() { $.AjaxProxy({ - a : false, - c : false - }).invoke(basePath+"/admin/projtype/all", function(loj) { + a: false, + c: false, + p: {salePlatform: '线下'} + }).invoke(basePath + "/admin/shoppinggoodscategory/all", function (loj) { $("#projTypeId").createSelectTree(loj.attr("result").rows, { - append : true, - value:"typeName" + append: true, + value: "name", }); }); } -- Gitblit v1.9.1