-
+
+
+
+
+
+
搜索
重置
@@ -163,15 +173,16 @@
-
+
+
-
+
@@ -389,6 +400,13 @@
+
+
+
+
+
+
+
@@ -1180,8 +1198,15 @@ export default {
},
created() {
const roles = this.$store.state.user.roles;
- if(roles && roles.indexOf('QUOT') !== -1 ){//报价组默认查看待审核 单据
- this.queryParams.quotApprovalStatus = '1';
+ if(roles && (roles.indexOf('QUOT') !== -1 || roles.indexOf('PRICE_VERIFICATION') !== -1)){//报价组默认查看待审核且按询价时间排序 单据
+ this.queryParams.orderByColumn = "a.quot_inquiry_date";//查询字段是表格中字段名字
+ this.queryParams.isAsc = "desc";//动态取值排序顺序
+ this.queryParams.quotApprovalStatus = '1';
+ }
+ if(roles && roles.indexOf('SALES_MAN') !== -1 ){//营销经理默认查看待提交且按创建时间排序 单据
+ this.queryParams.orderByColumn = "a.create_time";//查询字段是表格中字段名字
+ this.queryParams.isAsc = "desc";//动态取值排序顺序
+ this.queryParams.quotApprovalStatus = '0';
}
this.getList();
},
@@ -1237,6 +1262,7 @@ export default {
quotTongPrice: null,
quotLvPrice: null,
quotMatpriceDiff: null,
+ quotMatpriceDiff2: null,
quotJsxzApprovalStatus: null,
quotJsxzChapter: null,
diff --git a/ruoyi-ui/src/views/redBook/productSelect.vue b/ruoyi-ui/src/views/redBook/productSelect.vue
index 6bc2aa8..a33d033 100644
--- a/ruoyi-ui/src/views/redBook/productSelect.vue
+++ b/ruoyi-ui/src/views/redBook/productSelect.vue
@@ -8,11 +8,11 @@
搜索
- 生成询价单
生成报价单
保存
清空信息
导入
+ 生成询价单
From e4cb8bad7c55f817ead3e419a33f96f5d3492ee4 Mon Sep 17 00:00:00 2001
From: xd <844539747@qq.com>
Date: Thu, 20 Jun 2024 13:52:29 +0800
Subject: [PATCH 5/5] '123'
---
.../web/controller/quot/QuotController.java | 1 +
.../ruoyi/quot/domain/jsw/QuotJswInfo.java | 19 ++++++++++++-------
ruoyi-ui/src/views/quot/quot/index.vue | 15 ++++++++++++---
3 files changed, 25 insertions(+), 10 deletions(-)
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 f78c391..d233a95 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
@@ -637,6 +637,7 @@ public class QuotController extends BaseController
quotJswInfo.setKh(quot.getQuotCustomerName());
quotJswInfo.setKhid(quot.getQuotCustomerBm());
quotJswInfo.setBz(quot.getQuotQuotationRequire());
+ quotJswInfo.setQuotUserId(getUsername());
List quotJswMaterials = new ArrayList<>();
QuotJswMaterial quotJswMaterial = null;
diff --git a/ruoyi-system/src/main/java/com/ruoyi/quot/domain/jsw/QuotJswInfo.java b/ruoyi-system/src/main/java/com/ruoyi/quot/domain/jsw/QuotJswInfo.java
index a87c5f8..e0e7043 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/quot/domain/jsw/QuotJswInfo.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/quot/domain/jsw/QuotJswInfo.java
@@ -6,13 +6,14 @@ import java.util.List;
* 金思维 上传报价单主体信息
*/
public class QuotJswInfo {
- private String quotCode;
- private String xsy;
- private String xsyid;
- private String kh;
- private String khid;
- private String xm;
- private String bz;
+ private String quotCode;//客户报价单号
+ private String xsy;//业务员名称
+ private String xsyid;//业务员编码
+ private String kh;//客户名称
+ private String khid;//客户编码
+ private String xm;//项目名称
+ private String bz;//报价要求
+ private String quotUserId;//报价员账户
private List quotMaterial;
@@ -72,6 +73,10 @@ public class QuotJswInfo {
this.bz = bz;
}
+ public String getQuotUserId() { return quotUserId; }
+
+ public void setQuotUserId(String quotUserId) { this.quotUserId = quotUserId; }
+
public List getQuotMaterial() {
return quotMaterial;
}
diff --git a/ruoyi-ui/src/views/quot/quot/index.vue b/ruoyi-ui/src/views/quot/quot/index.vue
index e8b1e1a..fbad762 100644
--- a/ruoyi-ui/src/views/quot/quot/index.vue
+++ b/ruoyi-ui/src/views/quot/quot/index.vue
@@ -53,7 +53,7 @@
/>
-
+
{
this.quotFkFileList = response.rows;