@@ -386,7 +386,7 @@
@@ -437,15 +437,18 @@
-
+
-
+ 关闭
+
+
+
@@ -460,6 +463,7 @@ import {queryCustomerList} from "@/api/customer/customer";
import {verifyData} from "@/api/part/partInformation";
import {EventBus} from "../../../main";
import {partInformationSearch} from "../../../api/part/partInformation";
+import quotationUpload from "../quote/quotation_upload.vue";
export default {
computed: {
@@ -477,6 +481,7 @@ export default {
// },
},
components: {
+ quotationUpload,
DictDataSelect,
Chooselist
},
@@ -1525,7 +1530,13 @@ export default {
remark: row.remark,
updateBy: this.$store.state.user.name
}
- this.modalDisableFlag = true
+ if(this.modalData.buNo === null || this.modalData.buNo === ''){
+ this.modalData.buDesc = ''
+ this.modalData.bu = ''
+ this.modalDisableFlag = false
+ }else {
+ this.modalDisableFlag = true
+ }
this.modalFlag = true
},
@@ -1973,11 +1984,8 @@ export default {
searchInquiryDetailInfo(tempData).then(({data}) => {
if (data.code === 0) {
this.inquiryPartDataList = data.page.list
- this.pageIndex = data.page.currPage
- this.pageSize = data.page.pageSize
- this.totalPage = data.page.totalCount
//判断是否全部存在数据
- if (this.totalPage > 0) {
+ if (this.inquiryPartDataList != null && this.inquiryPartDataList.length > 0) {
//设置选中行
this.$refs.secondaryTable.setCurrentRow(this.inquiryPartDataList[0])
}
@@ -2300,12 +2308,24 @@ export default {
async createExportData() {
this.searchData.limit = -1
this.searchData.page = 1
- await quotationInformationSearch(this.searchData).then(({data}) => {
+ await searchInquiryApplicationInfo(this.searchData).then(({data}) => {
this.resultList = data.page.list
// 遍历dataList 取-后的值
this.resultList.forEach((item) => {
- item.projectManagerName = item.projectManager.split('-')[1]
- item.projectOwnerName = item.projectOwner.split('-')[1]
+ if (item.status === 'A') {
+ item.status = '已报价'
+ } else if (item.status === 'B') {
+ item.status = '已下达'
+ } else if (item.status === 'C') {
+ item.status = '草稿'
+ }
+ if (item.priorityLevel === 'A') {
+ item.priorityLevel = '普通'
+ } else if (item.priorityLevel === ' B') {
+ item.priorityLevel = '重要'
+ } else if (item.priorityLevel === ' C') {
+ item.priorityLevel = '紧急'
+ }
})
})
return this.resultList
diff --git a/src/views/modules/inquiry/inquiryDetail.vue b/src/views/modules/inquiry/inquiryDetail.vue
index bcffaf4..38401a2 100644
--- a/src/views/modules/inquiry/inquiryDetail.vue
+++ b/src/views/modules/inquiry/inquiryDetail.vue
@@ -96,20 +96,20 @@
查询
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ {{ "导出" }}
+
@@ -282,9 +282,49 @@