From 2b7a7bbdeb3e89d441e9658f2122c899c31a4e36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Sat, 5 Jan 2019 21:33:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=95=86=E5=93=81=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp_web/js/pages/manage/supplier.js | 7 +- erp_web/pages/materials/material.html | 13 +- .../erp/controller/DepotItemController.java | 9 +- .../erp/controller/MaterialController.java | 133 +++++++++++++++++- .../erp/controller/SupplierController.java | 68 +++++++++ .../datasource/mappers/MaterialMapper.java | 6 + .../datasource/mappers/SupplierMapper.java | 7 + .../erp/service/material/MaterialService.java | 32 +++++ .../erp/service/supplier/SupplierService.java | 4 + .../resources/mapper_xml/MaterialMapperEx.xml | 18 +++ .../resources/mapper_xml/SupplierMapperEx.xml | 21 +++ 11 files changed, 311 insertions(+), 7 deletions(-) diff --git a/erp_web/js/pages/manage/supplier.js b/erp_web/js/pages/manage/supplier.js index 08deeb26..31983a1c 100644 --- a/erp_web/js/pages/manage/supplier.js +++ b/erp_web/js/pages/manage/supplier.js @@ -343,7 +343,12 @@ //导出数据 function setOutputFun(){ - window.location.href = "/supplier/exportExcel.action?browserType=" + getOs() + "&type=" + listTypeEn; + var supplier = $.trim($("#searchSupplier").val()); + var phonenum = $.trim($("#searchPhonenum").val()); + var telephone = $.trim($("#searchTelephone").val()); + var description = $.trim($("#searchDesc").val()); + window.location.href = "/supplier/exportExcel?browserType=" + getOs() + + "&supplier=" + supplier + "&type=" + listType + "&phonenum=" + phonenum + "&telephone=" + telephone + "&description=" + description; } //增加单位 diff --git a/erp_web/pages/materials/material.html b/erp_web/pages/materials/material.html index 9f78ccfb..59e0098d 100644 --- a/erp_web/pages/materials/material.html +++ b/erp_web/pages/materials/material.html @@ -244,7 +244,7 @@