diff --git a/src/views/inout/IoDeliverySearchOrder.vue b/src/views/inout/IoDeliverySearchOrder.vue index dc5c636..6bf4447 100644 --- a/src/views/inout/IoDeliverySearchOrder.vue +++ b/src/views/inout/IoDeliverySearchOrder.vue @@ -228,8 +228,6 @@ >撤回 - - 审核/验收 - @@ -377,7 +374,6 @@ type="text" size="small" @click.native.stop="upload(scope.row)" - v-if="scope.row.checkFileName != null" >编辑 diff --git a/src/views/inout/IoSupSearchOrder.vue b/src/views/inout/IoSupSearchOrder.vue index 021e6e4..9ac8369 100644 --- a/src/views/inout/IoSupSearchOrder.vue +++ b/src/views/inout/IoSupSearchOrder.vue @@ -175,13 +175,13 @@ >打印 - - - - - - - + + + + + + + 编辑 @@ -436,8 +435,8 @@ - - + { + console.log(this.certFileUrl + "========"); + this.imgList = []; + previewImage({imageUrl: row.filePath, certFileUrl: this.certFileUrl}).then(response => { if (response.code === 20000) { - this.imgList=response.data; + this.imgList = response.data; } console.log(this.imgList) this.imgViewerVisible = true; }); - const m = (e) => { e.preventDefault() }; + const m = (e) => { + e.preventDefault() + }; document.body.style.overflow = 'hidden'; document.addEventListener("touchmove", m, false); // 禁止页面滑动 }, - showImgViewerCold(row){ + showImgViewerCold(row) { this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name="; - console.log(this.certFileUrl+"========"); - this.imgListCold=[]; - previewImage({imageUrl:row.coldFilePath,certFileUrl:this.certFileUrl}).then(response => { + console.log(this.certFileUrl + "========"); + this.imgListCold = []; + previewImage({imageUrl: row.coldFilePath, certFileUrl: this.certFileUrl}).then(response => { if (response.code === 20000) { - this.imgListCold=response.data; + this.imgListCold = response.data; } console.log(this.imgListCold) this.imgViewerVisibleCold = true; }); - const m = (e) => { e.preventDefault() }; + const m = (e) => { + e.preventDefault() + }; document.body.style.overflow = 'hidden'; document.addEventListener("touchmove", m, false); // 禁止页面滑动 }, - closeImgViewer(){ + closeImgViewer() { this.imgViewerVisible = false; - const m = (e) => { e.preventDefault() }; + const m = (e) => { + e.preventDefault() + }; document.body.style.overflow = 'auto'; document.removeEventListener("touchmove", m, true); }, - closeImgViewerCold(){ + closeImgViewerCold() { this.imgViewerVisibleCold = false; - const m = (e) => { e.preventDefault() }; + const m = (e) => { + e.preventDefault() + }; document.body.style.overflow = 'auto'; document.removeEventListener("touchmove", m, true); }, - upload(row){ + upload(row) { this.currentManufacturer = row; this.Upinvoice = true; }, - closeCheckDialog(){ + closeCheckDialog() { this.Upinvoice = false; this.getOrderDetails(); }, - freshen(){ + freshen() { this.Upinvoice = false; this.getOrderDetails(); },