|
|
|
@ -163,6 +163,7 @@
|
|
|
|
|
<!-- >报表打印-->
|
|
|
|
|
<!-- </el-button-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- 暂时隐藏-->
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
@ -399,7 +400,8 @@
|
|
|
|
|
|
|
|
|
|
<el-image-viewer v-if="imgViewerVisible" style="z-index:9999" :on-close="closeImgViewer" :url-list="imgList"/>
|
|
|
|
|
|
|
|
|
|
<el-image-viewer v-if="imgViewerVisibleCold" style="z-index:9999" :on-close="closeImgViewerCold" :url-list="imgListCold"/>
|
|
|
|
|
<el-image-viewer v-if="imgViewerVisibleCold" style="z-index:9999" :on-close="closeImgViewerCold"
|
|
|
|
|
:url-list="imgListCold"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog
|
|
|
|
@ -418,7 +420,6 @@
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog
|
|
|
|
|
title="根据当前单据生成新单据"
|
|
|
|
|
:visible.sync="stockChangeVisible"
|
|
|
|
@ -465,8 +466,6 @@ import {
|
|
|
|
|
} from "@/api/itextpdf/itextpdf";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const formJson = {
|
|
|
|
|
site_id: "",
|
|
|
|
|
site_name: "",
|
|
|
|
@ -658,7 +657,9 @@ export default {
|
|
|
|
|
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); // 禁止页面滑动
|
|
|
|
|
},
|
|
|
|
@ -675,7 +676,9 @@ export default {
|
|
|
|
|
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); // 禁止页面滑动
|
|
|
|
|
},
|
|
|
|
@ -683,14 +686,18 @@ export default {
|
|
|
|
|
|
|
|
|
|
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() {
|
|
|
|
|
this.imgViewerVisibleCold = false;
|
|
|
|
|
const m = (e) => { e.preventDefault() };
|
|
|
|
|
const m = (e) => {
|
|
|
|
|
e.preventDefault()
|
|
|
|
|
};
|
|
|
|
|
document.body.style.overflow = 'auto';
|
|
|
|
|
document.removeEventListener("touchmove", m, true);
|
|
|
|
|
},
|
|
|
|
|