From 63ab9cf739fecdfdcb98aa10a20f9fc6521908de Mon Sep 17 00:00:00 2001 From: xd <844539747@qq.com> Date: Fri, 5 Jul 2024 09:55:56 +0800 Subject: [PATCH] '123' --- ABAP_AS_WITH_POOL.jcoDestination | 4 ++-- ruoyi-ui/src/views/quot/quot/index.vue | 22 +++++++++++++------- ruoyi-ui/src/views/redBook/productSelect.vue | 8 +++++++ ruoyi-ui/src/views/redBook/quots.vue | 2 +- 4 files changed, 26 insertions(+), 10 deletions(-) diff --git a/ABAP_AS_WITH_POOL.jcoDestination b/ABAP_AS_WITH_POOL.jcoDestination index 0e7b9ed..949fcfe 100644 --- a/ABAP_AS_WITH_POOL.jcoDestination +++ b/ABAP_AS_WITH_POOL.jcoDestination @@ -1,5 +1,5 @@ #for tests only ! -#Thu Jul 04 15:05:23 CST 2024 +#Fri Jul 05 09:06:58 CST 2024 jco.destination.pool_capacity=10 jco.client.lang=ZH jco.client.ashost=172.19.0.125 @@ -7,5 +7,5 @@ jco.client.saprouter= jco.client.user=RFC jco.client.sysnr=00 jco.destination.peak_limit=10 -jco.client.passwd=654321 +jco.client.passwd=w*-uy]U3Wh]qqBBh_@He72CAdEX)_WU]ErNsU17||5aw7eD7 jco.client.client=800 diff --git a/ruoyi-ui/src/views/quot/quot/index.vue b/ruoyi-ui/src/views/quot/quot/index.vue index d29d110..88c43bc 100644 --- a/ruoyi-ui/src/views/quot/quot/index.vue +++ b/ruoyi-ui/src/views/quot/quot/index.vue @@ -519,8 +519,9 @@ 产品信息
+ 新增 删除 - 导入 + 导入 @@ -1232,6 +1233,13 @@ export default { //this.queryParams.quotApprovalStatus = '0'; } this.getList(); + + // 红本报价生成询价单自动打开详情页 + const param = this.$route.query; + if (param.quotId !== undefined && param.quotId !== null) { + const row = {'quotId':param.quotId}; + this.handleUpdate(row); + } }, methods: { /** 打印状态修改 */ diff --git a/ruoyi-ui/src/views/redBook/productSelect.vue b/ruoyi-ui/src/views/redBook/productSelect.vue index 238477f..3677024 100644 --- a/ruoyi-ui/src/views/redBook/productSelect.vue +++ b/ruoyi-ui/src/views/redBook/productSelect.vue @@ -818,6 +818,14 @@ madeXjQuot(this.form).then(response => { this.$modal.msgSuccess("生成询价单成功,单号:"+response.data.quotCode); this.madeQuotDis = false; + + // 跳转至询价单列表页面并打开详情页 + const info = {quotId : response.data.quotId}; + this.$router.push({ + path:'/quot/quot/index', + name: 'Quot', + query: info + }) }); } }, diff --git a/ruoyi-ui/src/views/redBook/quots.vue b/ruoyi-ui/src/views/redBook/quots.vue index dce6a77..e4ef3e2 100644 --- a/ruoyi-ui/src/views/redBook/quots.vue +++ b/ruoyi-ui/src/views/redBook/quots.vue @@ -43,7 +43,7 @@ - +