diff --git a/src/api/quote/quoteDetail.js b/src/api/quote/quoteDetail.js
new file mode 100644
index 0000000..230176c
--- /dev/null
+++ b/src/api/quote/quoteDetail.js
@@ -0,0 +1,13 @@
+import {createAPI} from "../../utils/httpRequest";
+
+export const queryQuoteDetail = (data) => createAPI(`/quote/detail`,'post',data)
+
+export const queryQuoteDetailByPage = (data) => createAPI(`/quote/detail/${data.no}/${data.size}`,'post',data)
+
+export const saveQuoteDetail = (data) => createAPI(`/quote/detail/save`,'post',data)
+
+export const updateQuoteDetail = (data) => createAPI(`/quote/detail/update`,'post',data)
+
+export const deleteQuoteDetail = (data) => createAPI(`/quote/detail/remove/${data.id}`,'post',data)
+
+export const queryQuoteDetailAllCost = (data) => createAPI(`/quote/detail/cost`,'post',data)
diff --git a/src/api/quote/quoteDetailTool.js b/src/api/quote/quoteDetailTool.js
new file mode 100644
index 0000000..5c6eba4
--- /dev/null
+++ b/src/api/quote/quoteDetailTool.js
@@ -0,0 +1,7 @@
+import {createAPI} from "../../utils/httpRequest";
+
+export const queryToolList = (data) => createAPI('/quote/detail/tool/list', 'post', data)
+export const queryQuoteDetailTool = (data) =>createAPI(`/quote/detail/tool`,'post',data)
+export const removeQuoteDetailTool = (data) => createAPI(`quote/detail/tool/remove/${data.id}`,'post',data)
+export const saveQuoteDetailTool = (data) => createAPI(`quote/detail/tool/save`,'post',data)
+export const updateQuoteDetailTool = (data) => createAPI(`quote/detail/tool/update`,'post',data)
diff --git a/src/views/modules/quote/detail/primary/quoteDetailBom.vue b/src/views/modules/quote/detail/primary/quoteDetailBom.vue
new file mode 100644
index 0000000..df91ad3
--- /dev/null
+++ b/src/views/modules/quote/detail/primary/quoteDetailBom.vue
@@ -0,0 +1,56 @@
+
+
+
+
+
+ 切换版本
+ 全级BOM结构
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/quote/detail/primary/quoteDetailCost.vue b/src/views/modules/quote/detail/primary/quoteDetailCost.vue
new file mode 100644
index 0000000..dab3e3e
--- /dev/null
+++ b/src/views/modules/quote/detail/primary/quoteDetailCost.vue
@@ -0,0 +1,323 @@
+
+
+
+
+ 计 算
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/quote/detail/primary/quoteDetailTool.vue b/src/views/modules/quote/detail/primary/quoteDetailTool.vue
new file mode 100644
index 0000000..ee66751
--- /dev/null
+++ b/src/views/modules/quote/detail/primary/quoteDetailTool.vue
@@ -0,0 +1,363 @@
+
+
+
+
+
新增
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+ 工具编码
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/quote/detail/quoteDetail.vue b/src/views/modules/quote/detail/quoteDetail.vue
index 42c6dcc..d9e8dea 100644
--- a/src/views/modules/quote/detail/quoteDetail.vue
+++ b/src/views/modules/quote/detail/quoteDetail.vue
@@ -1,10 +1,19 @@
@@ -97,18 +776,40 @@ export default {
新增
-
-
+
+
+
+
+ {{ scope.row[item.columnProp] }}
+
+
+
+
+
+ 编辑
+ 删除
+
+
-
+
物料名称
-
+
@@ -131,13 +832,53 @@ export default {
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/quote/index.vue b/src/views/modules/quote/index.vue
index f61f03e..63be9d4 100644
--- a/src/views/modules/quote/index.vue
+++ b/src/views/modules/quote/index.vue
@@ -392,9 +392,19 @@ export default {
},
customerVisible:false,
projectVisible:false,
+ quoterVisible:false,
+ purchaseVisible:false,
currentQuote:{
- }
+ },
+ userVisible:false,
+ userTitle:'人员信息',
+ user:{
+ username:'',
+ userDisplay:'',
+ active:'',
+ },
+ userDataList:[],
}
},
methods:{
@@ -411,6 +421,8 @@ export default {
this.total = data.total
if (this.total > 0){
this.currentQuote = {...this.dataList[0]}
+ }else {
+ this.currentQuote = {}
}
}else {
this.$message.error(data.message)
@@ -607,6 +619,29 @@ export default {
},
handleRowClick(row){
this.currentQuote = {...row}
+ },
+ userDblClick(row){
+ if (this.quoterVisible){
+ this.saveQuote.quoter = row.username
+ this.quoterVisible = false
+ }else if (this.purchaseVisible){
+ this.saveQuote.purchase = row.username
+ this.purchaseVisible = false
+ }
+ },
+ handleQuoterClick(){
+ this.userTitle = '报价专员'
+ this.user.username = this.saveQuote.quoter
+ this.user.userDisplay = ''
+ this.user.active = ''
+ this.userVisible = true
+ },
+ handlePurchaseClick(){
+ this.userTitle = '采购专员'
+ this.user.username = this.saveQuote.purchase
+ this.user.userDisplay = ''
+ this.user.active = ''
+ this.userVisible = true
}
},
created() {
@@ -721,11 +756,17 @@ export default {
+
+ 报价专员
+
+
+ 采购专员
+
@@ -742,6 +783,63 @@ export default {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+
+
+
+
+