|  |  |  | @ -110,7 +110,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  |                 :default-sort="defaultSort" | 
			
		
	
		
			
				
					|  |  |  |  |                 @sort-change="handleSortChange"> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="序号" type="index"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="送单号" prop="billNo" show-overflow-tooltip width="180"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="单据号" prop="billNo" show-overflow-tooltip width="180"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="单据类型" prop="billTypeName" width="150"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="往来单位" prop="fromName" width="220"> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-table-column> | 
			
		
	
	
		
			
				
					|  |  |  | @ -133,11 +133,11 @@ | 
			
		
	
		
			
				
					|  |  |  |  |         </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="采购仓库" prop="deptName" width="120"> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="所属部门" prop="deptName" width="120"> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="审核人" prop="reviewUserName" width="120"> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="所属仓库" prop="invName" width="120"> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="收货仓库" prop="invName" width="120"> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="审核人" prop="reviewUserName" width="120"> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="来源单号" prop="corpOrderId" show-overflow-tooltip width="180"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="来源" prop="fromType" width="120"> | 
			
		
	
	
		
			
				
					|  |  |  | @ -169,14 +169,14 @@ | 
			
		
	
		
			
				
					|  |  |  |  |             <!--            >报表打印--> | 
			
		
	
		
			
				
					|  |  |  |  |             <!--            </el-button--> | 
			
		
	
		
			
				
					|  |  |  |  |             <!--            >--> | 
			
		
	
		
			
				
					|  |  |  |  | <!--            暂时隐藏--> | 
			
		
	
		
			
				
					|  |  |  |  | <!--            <el-button--> | 
			
		
	
		
			
				
					|  |  |  |  | <!--              type="text"--> | 
			
		
	
		
			
				
					|  |  |  |  | <!--              size="small"--> | 
			
		
	
		
			
				
					|  |  |  |  | <!--              @click.native.stop="rollback(scope.row)"--> | 
			
		
	
		
			
				
					|  |  |  |  | <!--            >撤回--> | 
			
		
	
		
			
				
					|  |  |  |  | <!--            </el-button--> | 
			
		
	
		
			
				
					|  |  |  |  | <!--            >--> | 
			
		
	
		
			
				
					|  |  |  |  |             <!--            暂时隐藏--> | 
			
		
	
		
			
				
					|  |  |  |  |             <!--            <el-button--> | 
			
		
	
		
			
				
					|  |  |  |  |             <!--              type="text"--> | 
			
		
	
		
			
				
					|  |  |  |  |             <!--              size="small"--> | 
			
		
	
		
			
				
					|  |  |  |  |             <!--              @click.native.stop="rollback(scope.row)"--> | 
			
		
	
		
			
				
					|  |  |  |  |             <!--            >撤回--> | 
			
		
	
		
			
				
					|  |  |  |  |             <!--            </el-button--> | 
			
		
	
		
			
				
					|  |  |  |  |             <!--            >--> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <el-button | 
			
		
	
		
			
				
					|  |  |  |  |               type="text" | 
			
		
	
	
		
			
				
					|  |  |  | @ -465,7 +465,7 @@ import DialogcChangeNewOrder from "@/views/inout/DialogcChangeNewOrder"; | 
			
		
	
		
			
				
					|  |  |  |  | import ElImageViewer from "element-ui/packages/image/src/image-viewer"; | 
			
		
	
		
			
				
					|  |  |  |  | import DialogCheck from "@/views/inout/DialogCheck"; | 
			
		
	
		
			
				
					|  |  |  |  | import {getBizDetailList} from "@/api/inout/orderDetailBiz"; | 
			
		
	
		
			
				
					|  |  |  |  | import {previewImage,previewFile} from "@/api/purchase/supCompany"; | 
			
		
	
		
			
				
					|  |  |  |  | import {previewImage, previewFile} from "@/api/purchase/supCompany"; | 
			
		
	
		
			
				
					|  |  |  |  | import { | 
			
		
	
		
			
				
					|  |  |  |  |   inspectionStockQRCodeTextPDFFromTemplateStatementFile, | 
			
		
	
		
			
				
					|  |  |  |  |   stockQRCodeTextPDFFromTemplateStatementFile | 
			
		
	
	
		
			
				
					|  |  |  | @ -654,23 +654,23 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     showImgViewer(row) { | 
			
		
	
		
			
				
					|  |  |  |  |       if(row.filePath.substr(-1) == ','){ | 
			
		
	
		
			
				
					|  |  |  |  |         row.filePath=row.filePath.slice(0, row.filePath.length-1); | 
			
		
	
		
			
				
					|  |  |  |  |       if (row.filePath.substr(-1) == ',') { | 
			
		
	
		
			
				
					|  |  |  |  |         row.filePath = row.filePath.slice(0, row.filePath.length - 1); | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       this.certFileUrl = | 
			
		
	
		
			
				
					|  |  |  |  |         this.BASE_URL + | 
			
		
	
		
			
				
					|  |  |  |  |         "/udiwms/image/register/file/getImage?type=image2&name="+row.filePath; | 
			
		
	
		
			
				
					|  |  |  |  |         "/udiwms/image/register/file/getImage?type=image2&name=" + row.filePath; | 
			
		
	
		
			
				
					|  |  |  |  |       this.imgList = []; | 
			
		
	
		
			
				
					|  |  |  |  |       this.imgList.push(this.certFileUrl) | 
			
		
	
		
			
				
					|  |  |  |  |       let index = row.filePath.lastIndexOf('.'); | 
			
		
	
		
			
				
					|  |  |  |  |       if(index===-1){ | 
			
		
	
		
			
				
					|  |  |  |  |       if (index === -1) { | 
			
		
	
		
			
				
					|  |  |  |  |         this.$message.error("文件名异常!") | 
			
		
	
		
			
				
					|  |  |  |  |         return false | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       if(row.filePath.substr(index+1)==='pdf'){ | 
			
		
	
		
			
				
					|  |  |  |  |       if (row.filePath.substr(index + 1) === 'pdf') { | 
			
		
	
		
			
				
					|  |  |  |  |         let pdf = "application/pdf" | 
			
		
	
		
			
				
					|  |  |  |  |         let binaryData = []; | 
			
		
	
		
			
				
					|  |  |  |  |         previewFile(this.certFileUrl).then(res=>{ | 
			
		
	
		
			
				
					|  |  |  |  |         previewFile(this.certFileUrl).then(res => { | 
			
		
	
		
			
				
					|  |  |  |  |           binaryData.push(res); | 
			
		
	
		
			
				
					|  |  |  |  |           let URL = window.URL.createObjectURL(new Blob(binaryData, {type: pdf})); | 
			
		
	
		
			
				
					|  |  |  |  |           window.open(URL); | 
			
		
	
	
		
			
				
					|  |  |  | @ -696,23 +696,23 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     showImgViewerCold(row) { | 
			
		
	
		
			
				
					|  |  |  |  |       if(row.coldFilePath.substr(-1) == ','){ | 
			
		
	
		
			
				
					|  |  |  |  |         row.coldFilePath=row.coldFilePath.slice(0, row.coldFilePath.length-1); | 
			
		
	
		
			
				
					|  |  |  |  |       if (row.coldFilePath.substr(-1) == ',') { | 
			
		
	
		
			
				
					|  |  |  |  |         row.coldFilePath = row.coldFilePath.slice(0, row.coldFilePath.length - 1); | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       this.certFileUrl = | 
			
		
	
		
			
				
					|  |  |  |  |         this.BASE_URL + | 
			
		
	
		
			
				
					|  |  |  |  |         "/udiwms/image/register/file/getImage?type=image2&name="+row.coldFilePath; | 
			
		
	
		
			
				
					|  |  |  |  |         "/udiwms/image/register/file/getImage?type=image2&name=" + row.coldFilePath; | 
			
		
	
		
			
				
					|  |  |  |  |       this.imgList = []; | 
			
		
	
		
			
				
					|  |  |  |  |       this.imgList.push(this.certFileUrl) | 
			
		
	
		
			
				
					|  |  |  |  |       let index = row.coldFilePath.lastIndexOf('.'); | 
			
		
	
		
			
				
					|  |  |  |  |       if(index===-1){ | 
			
		
	
		
			
				
					|  |  |  |  |       if (index === -1) { | 
			
		
	
		
			
				
					|  |  |  |  |         this.$message.error("文件名异常!") | 
			
		
	
		
			
				
					|  |  |  |  |         return false | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       if(row.coldFilePath.substr(index+1)==='pdf'){ | 
			
		
	
		
			
				
					|  |  |  |  |       if (row.coldFilePath.substr(index + 1) === 'pdf') { | 
			
		
	
		
			
				
					|  |  |  |  |         let pdf = "application/pdf" | 
			
		
	
		
			
				
					|  |  |  |  |         let binaryData = []; | 
			
		
	
		
			
				
					|  |  |  |  |         previewFile(this.certFileUrl).then(res=>{ | 
			
		
	
		
			
				
					|  |  |  |  |         previewFile(this.certFileUrl).then(res => { | 
			
		
	
		
			
				
					|  |  |  |  |           binaryData.push(res); | 
			
		
	
		
			
				
					|  |  |  |  |           let URL = window.URL.createObjectURL(new Blob(binaryData, {type: pdf})); | 
			
		
	
		
			
				
					|  |  |  |  |           window.open(URL); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |