From 39a6aac5de24233661946dbaf90df1d5d30638cd Mon Sep 17 00:00:00 2001
From: zelian_wu <15576055375@163.com>
Date: Wed, 20 Dec 2023 10:20:05 +0800
Subject: [PATCH 1/2] =?UTF-8?q?2023-12-20=20plm=E6=8A=A5=E4=BB=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/quotation/quotationHeader.js | 1 +
.../com_project_info_quotation.vue | 266 ++++++++++++++++++
.../project/projectInfo/projectInfo.vue | 18 ++
.../modules/quotation/sellForQuotation.vue | 3 +
4 files changed, 288 insertions(+)
create mode 100644 src/views/modules/project/projectInfo/com_project_info_quotation.vue
diff --git a/src/api/quotation/quotationHeader.js b/src/api/quotation/quotationHeader.js
index c89e1a8..5ec3ddf 100644
--- a/src/api/quotation/quotationHeader.js
+++ b/src/api/quotation/quotationHeader.js
@@ -6,6 +6,7 @@ import { createAPI } from "@/utils/httpRequest.js";
* @returns {*}
*/
export const getQuotationHeaderByPage = (data,ids) => createAPI(`/plm/quotationHeader/getQuotationHeaderByPage`+ids,'get',data);
+export const getQuotationHeader = (data) => createAPI(`/plm/quotationHeader/getQuotationHeaderByPage`,'get',data);
/**
* 新增报价信息 QuotationHeader
diff --git a/src/views/modules/project/projectInfo/com_project_info_quotation.vue b/src/views/modules/project/projectInfo/com_project_info_quotation.vue
new file mode 100644
index 0000000..a60e6d0
--- /dev/null
+++ b/src/views/modules/project/projectInfo/com_project_info_quotation.vue
@@ -0,0 +1,266 @@
+
+
+
+
+
+
+ {{ '导出' }}
+
+
+
+
+
+ {{ scope.row[item.columnProp] }}
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/project/projectInfo/projectInfo.vue b/src/views/modules/project/projectInfo/projectInfo.vue
index 90b33e8..a0ba80c 100644
--- a/src/views/modules/project/projectInfo/projectInfo.vue
+++ b/src/views/modules/project/projectInfo/projectInfo.vue
@@ -303,6 +303,9 @@
+
+
+
@@ -366,6 +369,7 @@
import test from "./com_project_test";/*組件*/
import purchase from "./com_project_info_purchase_request";/*組件*/
import technicalSpecification from "./com_project_technicalSpecification";
+ import quotationHeader from "./com_project_info_quotation.vue";
/*組件*/
export default {
components: {
@@ -378,6 +382,7 @@
test,
purchase,
technicalSpecification,
+ quotationHeader,
},
name: "null",
data() {
@@ -1198,6 +1203,9 @@
if (this.activeName == 'quotation') {
this.refreshQuotationTable();
}
+ if (this.activeName == 'quotationHeader') {
+ this.refreshQuotationHeaderTable();
+ }
if (this.activeName == 'sample') {
this.refreshSampleTable();
}
@@ -1228,6 +1236,16 @@
}
this.$refs.technicalSpecification.init(inData)
},
+ refreshQuotationHeaderTable(){
+ let inData={
+ site: this.currentRow.site,
+ projectId: this.currentRow.projectId,
+ username:this.$store.state.user.name,
+ no: 1,
+ size: 1000
+ }
+ this.$refs.quotationHeader.init(inData)
+ },
refreshQuotationTable(){
let inData={
site: this.currentRow.site,
diff --git a/src/views/modules/quotation/sellForQuotation.vue b/src/views/modules/quotation/sellForQuotation.vue
index 9763988..aff0a67 100644
--- a/src/views/modules/quotation/sellForQuotation.vue
+++ b/src/views/modules/quotation/sellForQuotation.vue
@@ -559,6 +559,9 @@ export default {
startDate:this.searchData.startDate,
endDate: this.searchData.endDate,
}
+ this.init(params,ids)
+ },
+ init(params,ids){
this.initQuotationHeaderLoading = true;
getQuotationHeaderByPage(params,ids).then(({data})=>{
this.tableData = data.data.records;
From f2ba0e9c142ccf7bbe574e2e25339342060cc765 Mon Sep 17 00:00:00 2001
From: zelian_wu <15576055375@163.com>
Date: Wed, 20 Dec 2023 10:33:56 +0800
Subject: [PATCH 2/2] =?UTF-8?q?2023-12-20=20plm=E6=8A=A5=E4=BB=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/quotation/sellForQuotation.vue | 2 +-
.../quotation/sellForQuotation/quotationDetail.vue | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/views/modules/quotation/sellForQuotation.vue b/src/views/modules/quotation/sellForQuotation.vue
index aff0a67..dffbebd 100644
--- a/src/views/modules/quotation/sellForQuotation.vue
+++ b/src/views/modules/quotation/sellForQuotation.vue
@@ -311,7 +311,7 @@
-
+
diff --git a/src/views/modules/quotation/sellForQuotation/quotationDetail.vue b/src/views/modules/quotation/sellForQuotation/quotationDetail.vue
index 9a3821f..69d8256 100644
--- a/src/views/modules/quotation/sellForQuotation/quotationDetail.vue
+++ b/src/views/modules/quotation/sellForQuotation/quotationDetail.vue
@@ -201,7 +201,7 @@
-
@@ -241,7 +241,7 @@
-
@@ -640,7 +640,7 @@
-
+