diff --git a/ABAP_AS_WITH_POOL.jcoDestination b/ABAP_AS_WITH_POOL.jcoDestination index 3de8c5c..dd2d83b 100644 --- a/ABAP_AS_WITH_POOL.jcoDestination +++ b/ABAP_AS_WITH_POOL.jcoDestination @@ -1,13 +1,5 @@ #for tests only ! -<<<<<<< HEAD -#Wed Jun 19 10:12:57 CST 2024 -======= -<<<<<<< HEAD -#Wed Jun 19 09:11:03 CST 2024 -======= -#Mon Jun 17 15:48:27 CST 2024 ->>>>>>> 1efe171bc013909adaa8e3300a0b9ce6c2e24d85 ->>>>>>> d63db1c95090eda2578290808925b20b3608a764 +#Wed Jun 19 20:15:41 CST 2024 jco.destination.pool_capacity=10 jco.client.lang=ZH jco.client.ashost=172.19.0.125 @@ -15,13 +7,5 @@ jco.client.saprouter= jco.client.user=RFC jco.client.sysnr=00 jco.destination.peak_limit=10 -<<<<<<< HEAD -jco.client.passwd=dbTq!8PGYoMxt}M?DFv(:oQQUwH:qM9KKr$k^CHW9U;kE9uK -======= -<<<<<<< HEAD -jco.client.passwd=g}=[!8cY+]^Y:h6_:E9``X=J#eA[=IM/|(0EB`M)]I1i?/qD -======= -jco.client.passwd=654321 ->>>>>>> 1efe171bc013909adaa8e3300a0b9ce6c2e24d85 ->>>>>>> d63db1c95090eda2578290808925b20b3608a764 +jco.client.passwd=fO[y6l4?vRT=RiyZx5)29/4S?-@n6ptS-pq0DsUMXTA4CDTk jco.client.client=800 diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/quot/QuotController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/quot/QuotController.java index 74b8de6..faf2eac 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/quot/QuotController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/quot/QuotController.java @@ -399,12 +399,12 @@ public class QuotController extends BaseController // 提交报价时间限制 String commitQuotTime = configService.selectConfigByKey("quot.allow.commitQuotTime"); if(commitQuotTime.indexOf("-")<0){ - return error("提交报价时间限制系统参数错误,格式不规范"); + return error("提交报价时间限制系统参数错误-格式不规范,请联系管理员"); } String startTime = commitQuotTime.split("-")[0]; String endTime = commitQuotTime.split("-")[1]; if(!DateUtils.isMatch(startTime) || !DateUtils.isMatch(endTime)){ - return error("提交报价时间限制系统参数错误,格式不规范"); + return error("提交报价时间限制系统参数错误-格式不规范,请联系管理员"); } //当前时间 diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/redBook/RedBookController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/redBook/RedBookController.java index e94836d..f130ed0 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/redBook/RedBookController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/redBook/RedBookController.java @@ -283,6 +283,11 @@ public class RedBookController extends BaseController List list = quot.getSelectedResultData(); + File directory = new File("xjQuotFile/"); + // 如果文件夹不存在,则创建文件夹 + if (!directory.exists()) { + directory.mkdir(); + } excelFile = new File("xjQuotFile/"+xjquot.getQuotCode()+".xls"); File file = excelUtil.exportXjQuotExcel(response,excelFile,xjquot,list); MultipartFile multipartFile = convert(file); diff --git a/ruoyi-ui/src/views/redBook/productSelect.vue b/ruoyi-ui/src/views/redBook/productSelect.vue index 52f16b6..6bc2aa8 100644 --- a/ruoyi-ui/src/views/redBook/productSelect.vue +++ b/ruoyi-ui/src/views/redBook/productSelect.vue @@ -782,9 +782,11 @@ // 生成询价单 handleMadeXjQuotClick() { + this.madeQuotDis = true; this.form.selectedResultData = this.selectedResultData; madeXjQuot(this.form).then(response => { this.$modal.msgSuccess("生成询价单成功,单号:"+response.data.quotCode); + this.madeQuotDis = false; }); },