From 1f029b22ae7c836967dc86cdb7ed26fccae32d61 Mon Sep 17 00:00:00 2001
From: qiezi <15576055375@163.com>
Date: Wed, 6 Nov 2024 13:08:33 +0800
Subject: [PATCH] 2024-11-01
---
.../modules/quotation/sellForQuotation.vue | 19 +++++++
.../modules/test/testSoBom/testTable.vue | 51 +++----------------
2 files changed, 27 insertions(+), 43 deletions(-)
diff --git a/src/views/modules/quotation/sellForQuotation.vue b/src/views/modules/quotation/sellForQuotation.vue
index d065346..116f1a5 100644
--- a/src/views/modules/quotation/sellForQuotation.vue
+++ b/src/views/modules/quotation/sellForQuotation.vue
@@ -1440,6 +1440,25 @@ export default {
}).catch((error)=>{
this.$message.error(error)
})
+ }else if (this.$route.params && this.$route.params.ids && this.$route.params.ids.length > 0){
+ let params = {
+ site : this.$store.state.user.site,
+ }
+ getQuotationHeaderByPagePost(params,this.$route.params.ids,this.no,this.size).then(({data})=>{
+ if (data && data.code === 0){
+ this.tableData = data.rows;
+ this.total = data.total;
+ if (this.tableData.length > 0) {
+ this.quotationHeader = this.tableData[0];
+ } else {
+ this.quotationHeader = null;
+ }
+ }else {
+ this.$message.warning(data.msg)
+ }
+ }).catch((error)=>{
+ this.$message.error(error)
+ })
}else if (this.initPage === false){
this.initData();//初始化数据
}
diff --git a/src/views/modules/test/testSoBom/testTable.vue b/src/views/modules/test/testSoBom/testTable.vue
index febab63..ae80fc1 100644
--- a/src/views/modules/test/testSoBom/testTable.vue
+++ b/src/views/modules/test/testSoBom/testTable.vue
@@ -645,13 +645,13 @@ export default {
-
- 物料编码
+
+ 产品编码
-
+
@@ -664,41 +664,6 @@ export default {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 是否主物料
-
-
@@ -732,19 +697,19 @@ export default {
-
-
+
-
+
@@ -759,8 +724,8 @@ export default {
-
-
+
+