|
|
@@ -13,10 +13,7 @@ import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.data.domain.Page;
|
|
|
import org.springframework.ui.ModelMap;
|
|
|
-import org.springframework.web.bind.annotation.PathVariable;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
@@ -66,7 +63,9 @@ public class PurcInquiryController {
|
|
|
/**
|
|
|
* 保存(或修改)
|
|
|
*
|
|
|
- * @param formStore
|
|
|
+ * @param inquiry
|
|
|
+ * @param contacts
|
|
|
+ * @param uploadItem
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "/save/withVendor", method = RequestMethod.POST)
|
|
|
@@ -91,7 +90,9 @@ public class PurcInquiryController {
|
|
|
/**
|
|
|
* 保存并提交
|
|
|
*
|
|
|
- * @param formStore
|
|
|
+ * @param inquiry
|
|
|
+ * @param contacts
|
|
|
+ * @param uploadItem
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "/submit/withVendor", method = RequestMethod.POST)
|
|
|
@@ -104,7 +105,8 @@ public class PurcInquiryController {
|
|
|
/**
|
|
|
* 保存并提交(公共)
|
|
|
*
|
|
|
- * @param formStore
|
|
|
+ * @param inquiry
|
|
|
+ * @param uploadItem
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "/submit/withoutVendor", method = RequestMethod.POST)
|
|
|
@@ -384,7 +386,7 @@ public class PurcInquiryController {
|
|
|
* 查询公共询价单
|
|
|
*
|
|
|
* @param params
|
|
|
- * @param keyword
|
|
|
+ * @param searchFilter
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "/publicInquiryItem", method = RequestMethod.GET)
|
|
|
@@ -480,6 +482,17 @@ public class PurcInquiryController {
|
|
|
return map;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 导出权限判断
|
|
|
+ *
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/xls/permission", method = RequestMethod.GET)
|
|
|
+ @ResponseBody
|
|
|
+ public ModelMap exportPermission() {
|
|
|
+ return new ModelMap("success", true);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 导出采购询价单列表(全部)
|
|
|
*
|