|
|
@ -167,7 +167,8 @@
|
|
|
|
style="text-align:right" @click="showImgViewer">
|
|
|
|
style="text-align:right" @click="showImgViewer">
|
|
|
|
检验报告预览
|
|
|
|
检验报告预览
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
<el-image-viewer v-if="imgViewerVisible" style="z-index:9999" :on-close="closeImgViewer" :url-list="imgList"/>
|
|
|
|
<el-image-viewer v-if="imgViewerVisible" style="z-index:9999" :on-close="closeImgViewer"
|
|
|
|
|
|
|
|
:url-list="imgList"/>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -181,13 +182,12 @@
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import draggable from "vuedraggable";
|
|
|
|
import draggable from "vuedraggable";
|
|
|
|
import store from "@/store";
|
|
|
|
import store from "@/store";
|
|
|
|
import {updateById} from '@/api/inout/orderDetailBiz'
|
|
|
|
import {updateBizById, updateById} from '@/api/inout/orderDetailBiz'
|
|
|
|
import {updateOrderDetailBiz} from '@/api/inout/order'
|
|
|
|
import {updateOrderDetailBiz} from '@/api/inout/order'
|
|
|
|
import {previewImage} from '@/api/purchase/supCompany'
|
|
|
|
import {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";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "DialogCheck",
|
|
|
|
name: "DialogCheck",
|
|
|
|
props: {
|
|
|
|
props: {
|
|
|
@ -243,7 +243,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
submitUpload() {
|
|
|
|
submitUpload() {
|
|
|
|
updateById(this.inputQuery).then((res) =>{
|
|
|
|
updateBizById(this.inputQuery).then((res) => {
|
|
|
|
if (res.code == 20000) {
|
|
|
|
if (res.code == 20000) {
|
|
|
|
this.$message({
|
|
|
|
this.$message({
|
|
|
|
type: "success",
|
|
|
|
type: "success",
|
|
|
@ -367,14 +367,18 @@ export default {
|
|
|
|
console.log(this.imgList)
|
|
|
|
console.log(this.imgList)
|
|
|
|
this.imgViewerVisible = true;
|
|
|
|
this.imgViewerVisible = true;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
const m = (e) => { e.preventDefault() };
|
|
|
|
const m = (e) => {
|
|
|
|
|
|
|
|
e.preventDefault()
|
|
|
|
|
|
|
|
};
|
|
|
|
document.body.style.overflow = 'hidden';
|
|
|
|
document.body.style.overflow = 'hidden';
|
|
|
|
document.addEventListener("touchmove", m, false); // 禁止页面滑动
|
|
|
|
document.addEventListener("touchmove", m, false); // 禁止页面滑动
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
closeImgViewer() {
|
|
|
|
closeImgViewer() {
|
|
|
|
this.imgViewerVisible = false;
|
|
|
|
this.imgViewerVisible = false;
|
|
|
|
const m = (e) => { e.preventDefault() };
|
|
|
|
const m = (e) => {
|
|
|
|
|
|
|
|
e.preventDefault()
|
|
|
|
|
|
|
|
};
|
|
|
|
document.body.style.overflow = 'auto';
|
|
|
|
document.body.style.overflow = 'auto';
|
|
|
|
document.removeEventListener("touchmove", m, true);
|
|
|
|
document.removeEventListener("touchmove", m, true);
|
|
|
|
},
|
|
|
|
},
|
|
|
|