|  | @@ -143,16 +143,21 @@
 | 
	
		
			
				|  |  |                  </el-row>
 | 
	
		
			
				|  |  |              </span>
 | 
	
		
			
				|  |  |              <span slot="footer" class="dialog-footer">
 | 
	
		
			
				|  |  | -                <el-button type="warning" @click="outExport">导出</el-button>
 | 
	
		
			
				|  |  | +<!--                <el-button type="warning" @click="outExport">导出</el-button>-->
 | 
	
		
			
				|  |  | +                <el-button type="warning" @click="openReport">导出</el-button>
 | 
	
		
			
				|  |  |                  <el-button @click="dialogVisible = false; params = {}">取 消</el-button>
 | 
	
		
			
				|  |  |                  <el-button type="primary" :disabled="goodsListSave.length === 0" @click="confirmImport">导 入</el-button>
 | 
	
		
			
				|  |  |              </span>
 | 
	
		
			
				|  |  |          </el-dialog>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +      <report-dialog :switchDialog="switchDialog" :reportId="params.pid" reportName="出口贸易-采购"
 | 
	
		
			
				|  |  | +                     @onClose="onClose()"></report-dialog>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <script>
 | 
	
		
			
				|  |  |  import option from "./config/mainList.json";
 | 
	
		
			
				|  |  | +import reportDialog from "@/components/report-dialog/main";
 | 
	
		
			
				|  |  |  import {
 | 
	
		
			
				|  |  |      getList,
 | 
	
		
			
				|  |  |      remove,
 | 
	
	
		
			
				|  | @@ -172,6 +177,7 @@ export default {
 | 
	
		
			
				|  |  |      name: "customerInformation",
 | 
	
		
			
				|  |  |      data() {
 | 
	
		
			
				|  |  |          return {
 | 
	
		
			
				|  |  | +          switchDialog: false,
 | 
	
		
			
				|  |  |              search: {
 | 
	
		
			
				|  |  |                  // businesDate: defaultDate()
 | 
	
		
			
				|  |  |                  // businesDate: ''
 | 
	
	
		
			
				|  | @@ -410,7 +416,7 @@ export default {
 | 
	
		
			
				|  |  |              selectionList: []
 | 
	
		
			
				|  |  |          };
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    components: { detailPage },
 | 
	
		
			
				|  |  | +    components: { detailPage, reportDialog },
 | 
	
		
			
				|  |  |      async created() {
 | 
	
		
			
				|  |  |          this.option = await this.getColumnData(this.getColumnName(2), option);
 | 
	
		
			
				|  |  |          this.dialogOption = await this.getColumnData(this.getColumnName(2.1), this.dialogOptionList);
 | 
	
	
		
			
				|  | @@ -618,6 +624,12 @@ export default {
 | 
	
		
			
				|  |  |                  this.$refs[ref].$refs.dialogColumn.columnBox = false;
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  | +        openReport() {
 | 
	
		
			
				|  |  | +          this.switchDialog = !this.switchDialog;
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +        onClose(val) {
 | 
	
		
			
				|  |  | +          this.switchDialog = val;
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  |          confirmImport() {
 | 
	
		
			
				|  |  |              let ids = this.goodsListSave.map(item => {
 | 
	
		
			
				|  |  |                  return item.id
 | 
	
	
		
			
				|  | @@ -744,6 +756,7 @@ export default {
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          handleCurrentChange(val) {
 | 
	
		
			
				|  |  | +          console.log(val)
 | 
	
		
			
				|  |  |              // this.currentRow = val;
 | 
	
		
			
				|  |  |              this.params.pid = val.id
 | 
	
		
			
				|  |  |              this.dialogPage.currentPage = 1;
 |