|  | @@ -43,6 +43,10 @@ export default {
 | 
	
		
			
				|  |  |        type: String,
 | 
	
		
			
				|  |  |        default: ''
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    itemIds: {
 | 
	
		
			
				|  |  | +      type: String,
 | 
	
		
			
				|  |  | +      default: null
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    data() {
 | 
	
		
			
				|  |  |      return {
 | 
	
	
		
			
				|  | @@ -67,7 +71,7 @@ export default {
 | 
	
		
			
				|  |  |          height: 400,
 | 
	
		
			
				|  |  |          calcHeight: 30,
 | 
	
		
			
				|  |  |          tip: false,
 | 
	
		
			
				|  |  | -        searchShow: true,
 | 
	
		
			
				|  |  | +        searchShow: false,
 | 
	
		
			
				|  |  |          searchMenuSpan: 6,
 | 
	
		
			
				|  |  |          border: true,
 | 
	
		
			
				|  |  |          index: true,
 | 
	
	
		
			
				|  | @@ -469,6 +473,7 @@ export default {
 | 
	
		
			
				|  |  |          billId: this.id,
 | 
	
		
			
				|  |  |          reportCode: this.form.code,
 | 
	
		
			
				|  |  |          groupCode: this.form.groupCode,
 | 
	
		
			
				|  |  | +        itemIds:this.itemIds,
 | 
	
		
			
				|  |  |          type:this.businessValue
 | 
	
		
			
				|  |  |        })
 | 
	
		
			
				|  |  |        // 获取的数据赋值
 | 
	
	
		
			
				|  | @@ -512,10 +517,13 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      // 打印报表获取数据
 | 
	
		
			
				|  |  |      reportsGetReportDatafun(url, row) {
 | 
	
		
			
				|  |  | +      if(row.groupCode=='首款'&&this.itemIds==null) return    this.$message.error("请选择明细");
 | 
	
		
			
				|  |  | +      if(row.groupCode=='尾款'&&this.itemIds==null) return    this.$message.error("请选择明细");
 | 
	
		
			
				|  |  |        reportsGetReportData({
 | 
	
		
			
				|  |  |          billId: this.id,
 | 
	
		
			
				|  |  |          reportCode: row.classifyCode,
 | 
	
		
			
				|  |  |          groupCode: row.groupCode,
 | 
	
		
			
				|  |  | +        itemIds:this.itemIds,
 | 
	
		
			
				|  |  |          type:this.businessValue
 | 
	
		
			
				|  |  |        }).then(res => {
 | 
	
		
			
				|  |  |          this.handleReportPreview(url, res.data.data.data)
 |