| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -478,7 +478,7 @@ import AcceptOrder from "@/views/inout/DialogReviewOrder";
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import {getDeptListByUser} from "@/api/auth/authDept";
 | 
					 | 
					 | 
					 | 
					import {getDeptListByUser} from "@/api/auth/authDept";
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import DialogCheck from "@/views/inout/DialogCheck";
 | 
					 | 
					 | 
					 | 
					import DialogCheck from "@/views/inout/DialogCheck";
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import {getBizDetailList} from "@/api/inout/orderDetailBiz";
 | 
					 | 
					 | 
					 | 
					import {getBizDetailList} from "@/api/inout/orderDetailBiz";
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import {previewImage} from '@/api/purchase/supCompany'
 | 
					 | 
					 | 
					 | 
					import { previewFile, previewImage } from '@/api/purchase/supCompany'
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import ElImageViewer from "element-ui/packages/image/src/image-viewer";
 | 
					 | 
					 | 
					 | 
					import ElImageViewer from "element-ui/packages/image/src/image-viewer";
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -673,36 +673,84 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      this.showSearch = !this.showSearch;
 | 
					 | 
					 | 
					 | 
					      this.showSearch = !this.showSearch;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    },
 | 
					 | 
					 | 
					 | 
					    },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    showImgViewer(row) {
 | 
					 | 
					 | 
					 | 
					    showImgViewer(row) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name=";
 | 
					 | 
					 | 
					 | 
					      if(row.filePath.substr(-1) == ','){
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      console.log(this.certFileUrl + "========");
 | 
					 | 
					 | 
					 | 
					        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;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      this.imgList = [];
 | 
					 | 
					 | 
					 | 
					      this.imgList = [];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      previewImage({imageUrl: row.filePath, certFileUrl: this.certFileUrl}).then(response => {
 | 
					 | 
					 | 
					 | 
					      this.imgList.push(this.certFileUrl)
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (response.code === 20000) {
 | 
					 | 
					 | 
					 | 
					      let index = row.filePath.lastIndexOf('.');
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          this.imgList = response.data;
 | 
					 | 
					 | 
					 | 
					      if(index===-1){
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        }
 | 
					 | 
					 | 
					 | 
					        this.$message.error("文件名异常!")
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        console.log(this.imgList)
 | 
					 | 
					 | 
					 | 
					        return false
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.imgViewerVisible = true;
 | 
					 | 
					 | 
					 | 
					      }
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      });
 | 
					 | 
					 | 
					 | 
					      if(row.filePath.substr(index+1)==='pdf'){
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        let pdf = "application/pdf"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        let binaryData = [];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        previewFile(this.certFileUrl).then(res=>{
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          binaryData.push(res);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          let URL = window.URL.createObjectURL(new Blob(binaryData, {type: pdf}));
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          window.open(URL);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        })
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        // window.open(this.imgList[0])
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        return false
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      this.imgViewerVisible = true;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      // previewImage({
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      //   imageUrl: this.inputQuery.licenseUrl,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      //   certFileUrl: this.certFileUrl,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      // }).then((response) => {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      //   if (response.code === 20000) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      //   }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      //   console.log(this.imgList);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      // });
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      const m = (e) => {
 | 
					 | 
					 | 
					 | 
					      const m = (e) => {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        e.preventDefault()
 | 
					 | 
					 | 
					 | 
					        e.preventDefault();
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      };
 | 
					 | 
					 | 
					 | 
					      };
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      document.body.style.overflow = 'hidden';
 | 
					 | 
					 | 
					 | 
					      document.body.style.overflow = "hidden";
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      document.addEventListener("touchmove", m, false); // 禁止页面滑动
 | 
					 | 
					 | 
					 | 
					      document.addEventListener("touchmove", m, false); // 禁止页面滑动
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    },
 | 
					 | 
					 | 
					 | 
					    },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    showImgViewerCold(row){
 | 
					 | 
					 | 
					 | 
					    showImgViewerCold(row) {
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name=";
 | 
					 | 
					 | 
					 | 
					      if(row.coldFilePath.substr(-1) == ','){
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      console.log(this.certFileUrl+"========");
 | 
					 | 
					 | 
					 | 
					        row.coldFilePath=row.coldFilePath.slice(0, row.coldFilePath.length-1);
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      this.imgListCold=[];
 | 
					 | 
					 | 
					 | 
					      }
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      previewImage({imageUrl:row.coldFilePath,certFileUrl:this.certFileUrl}).then(response => {
 | 
					 | 
					 | 
					 | 
					      this.certFileUrl =
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (response.code === 20000) {
 | 
					 | 
					 | 
					 | 
					        this.BASE_URL +
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          this.imgListCold=response.data;
 | 
					 | 
					 | 
					 | 
					        "/udiwms/image/register/file/getImage?type=image2&name="+row.coldFilePath;
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        }
 | 
					 | 
					 | 
					 | 
					      this.imgList = [];
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        console.log(this.imgListCold)
 | 
					 | 
					 | 
					 | 
					      this.imgList.push(this.certFileUrl)
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.imgViewerVisibleCold = true;
 | 
					 | 
					 | 
					 | 
					      let index = row.coldFilePath.lastIndexOf('.');
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      });
 | 
					 | 
					 | 
					 | 
					      if(index===-1){
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      const m = (e) => { e.preventDefault() };
 | 
					 | 
					 | 
					 | 
					        this.$message.error("文件名异常!")
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      document.body.style.overflow = 'hidden';
 | 
					 | 
					 | 
					 | 
					        return false
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      if(row.coldFilePath.substr(index+1)==='pdf'){
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        let pdf = "application/pdf"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        let binaryData = [];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        previewFile(this.certFileUrl).then(res=>{
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          binaryData.push(res);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          let URL = window.URL.createObjectURL(new Blob(binaryData, {type: pdf}));
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          window.open(URL);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        })
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        // window.open(this.imgList[0])
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        return false
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      this.imgViewerVisible = true;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      // previewImage({
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      //   imageUrl: this.inputQuery.licenseUrl,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      //   certFileUrl: this.certFileUrl,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      // }).then((response) => {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      //   if (response.code === 20000) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      //   }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      //   console.log(this.imgList);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      // });
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      const m = (e) => {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        e.preventDefault();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      };
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      document.body.style.overflow = "hidden";
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      document.addEventListener("touchmove", m, false); // 禁止页面滑动
 | 
					 | 
					 | 
					 | 
					      document.addEventListener("touchmove", m, false); // 禁止页面滑动
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    },
 | 
					 | 
					 | 
					 | 
					    },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |