diff --git a/src/views/ManufacturingCenter/PartAssignment/index.vue b/src/views/ManufacturingCenter/PartAssignment/index.vue index e878789e..d8febfd7 100644 --- a/src/views/ManufacturingCenter/PartAssignment/index.vue +++ b/src/views/ManufacturingCenter/PartAssignment/index.vue @@ -124,9 +124,9 @@ {{ scope.row.总数量 }} - + diff --git a/src/views/MarketingCenter/ComprehensiveInquiryMS/index.vue b/src/views/MarketingCenter/ComprehensiveInquiryMS/index.vue index e6802ffe..1ad48f54 100644 --- a/src/views/MarketingCenter/ComprehensiveInquiryMS/index.vue +++ b/src/views/MarketingCenter/ComprehensiveInquiryMS/index.vue @@ -23,6 +23,9 @@ start-placeholder="开始日期" end-placeholder="结束日期"/> 查询 + + 导出 + @@ -777,6 +780,32 @@ export default { this.getSelect(initProject, ['项目名称', '项目流水号'], 'entryName') this.getSelect(selectProvince, ['省份', '省份流水号'], 'Province') }, + exportExcel() { + if (this.customerName1 === '' || this.customerName1 === null) { this.customerName1_check = 0 } else { this.customerName1_check = 1 } + if (this.entryNameValue === '' || this.entryNameValue === null) { this.entryNameValue_check = 0 } else { this.entryNameValue_check = 1 } + if (this.MarketingManagerValue === '' || this.MarketingManagerValue === null) { this.peopleid_check = 0 } else { this.peopleid_check = 1 } + this.dateRange ? this.check1 = 1 : (this.check1 = 0, this.dateRange = '') + if (this.startTime === '' || this.startTime === null) { this.startTime_check = 0 } else { this.startTime_check = 1 } + if (this.endTime === '' || this.endTime === null) { this.endTime_check = 0 } else { this.endTime_check = 1 } + if (this.machine === '' || this.machine === null) { this.machine_check = 0 } else { this.machine_check = 1 } + this.ExecutionProgressShow = false + this.uploader = false + this.ExecutionProgress = null + // this.listLoading = true + var param = [] + param[0] = ['项目流水号_check', this.entryNameValue_check] + param[1] = ['合同ID', this.entryNameValue] + param[2] = ['客户名称_check', this.customerName1_check] + param[3] = ['客户名称', this.customerName1] + param[4] = ['开始日期_check', this.check1] + param[5] = ['开始日期', this.dateRange[0]] + param[6] = ['结束日期_check', this.check1] + param[7] = ['结束日期', this.dateRange[1]] + param[8] = ['营销经理流水号_check', 0] + param[9] = ['机床型号_check', 0] + var Data = this.CreateData('2001', '报表_合同执行查询', param) + this.exportExcel_NPOI(Data) + }, openName() { this.dialogFormVisiblePeople = true this.ProvinceValue = '' diff --git a/src/views/PurchasingCenter/CreateInquirySheet/index.vue b/src/views/PurchasingCenter/CreateInquirySheet/index.vue index 26227c73..10f762a5 100644 --- a/src/views/PurchasingCenter/CreateInquirySheet/index.vue +++ b/src/views/PurchasingCenter/CreateInquirySheet/index.vue @@ -184,12 +184,12 @@