|
|
|
@ -452,11 +452,10 @@ import AcceptOrder from "@/views/inout/DialogReviewOrder";
|
|
|
|
|
import {getDeptListByUser} from "@/api/auth/authDept";
|
|
|
|
|
import DialogCheck from "@/views/inout/DialogCheck";
|
|
|
|
|
import {getBizDetailList} from "@/api/inout/orderDetailBiz";
|
|
|
|
|
import { previewImage } from '@/api/purchase/supCompany'
|
|
|
|
|
import {previewImage} from '@/api/purchase/supCompany'
|
|
|
|
|
import ElImageViewer from "element-ui/packages/image/src/image-viewer";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const formJson = {
|
|
|
|
|
site_id: "",
|
|
|
|
|
site_name: "",
|
|
|
|
@ -469,8 +468,8 @@ export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
BASE_URL: process.env.VUE_APP_BASE_API,
|
|
|
|
|
imgList:[],
|
|
|
|
|
imgViewerVisible:false,
|
|
|
|
|
imgList: [],
|
|
|
|
|
imgViewerVisible: false,
|
|
|
|
|
showSearch: true,
|
|
|
|
|
Upinvoice: false,
|
|
|
|
|
currentManufacturer: {},
|
|
|
|
@ -518,7 +517,7 @@ export default {
|
|
|
|
|
"4": "pda未校验",
|
|
|
|
|
"5": "pc端扫码精灵",
|
|
|
|
|
"6": "流转自动补单",
|
|
|
|
|
"7": "UDI供应商平台",
|
|
|
|
|
"7": "UDI管理系统",
|
|
|
|
|
"8": "平衡补录单据",
|
|
|
|
|
"10": "手动补单",
|
|
|
|
|
"11": "仓库盘点",
|
|
|
|
@ -600,7 +599,7 @@ export default {
|
|
|
|
|
acceptOrderVisible: false,
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
components: {AcceptOrder, DialogCheck,ElImageViewer},
|
|
|
|
|
components: {AcceptOrder, DialogCheck, ElImageViewer},
|
|
|
|
|
methods: {
|
|
|
|
|
onReset() {
|
|
|
|
|
this.$router.push({
|
|
|
|
@ -644,25 +643,29 @@ export default {
|
|
|
|
|
hideSearch() {
|
|
|
|
|
this.showSearch = !this.showSearch;
|
|
|
|
|
},
|
|
|
|
|
showImgViewer(row){
|
|
|
|
|
showImgViewer(row) {
|
|
|
|
|
this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name=";
|
|
|
|
|
console.log(this.certFileUrl+"========");
|
|
|
|
|
this.imgList=[];
|
|
|
|
|
previewImage({imageUrl:row.filePath,certFileUrl:this.certFileUrl}).then(response => {
|
|
|
|
|
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); // 禁止页面滑动
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
},
|
|
|
|
@ -944,7 +947,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
//单据撤回
|
|
|
|
|
rollback(row) {
|
|
|
|
|
this.$confirm('此操作将撤回单据至已校验未审核状态, 是否继续?', '提示', {
|
|
|
|
|
this.$confirm('此操作将撤回单据至待核对, 是否继续?', '提示', {
|
|
|
|
|
confirmButtonText: '确定',
|
|
|
|
|
cancelButtonText: '取消',
|
|
|
|
|
type: 'warning'
|
|
|
|
@ -968,7 +971,7 @@ export default {
|
|
|
|
|
this.acceptQuery = row;
|
|
|
|
|
this.acceptOrderVisible = true;
|
|
|
|
|
},
|
|
|
|
|
freshen(){
|
|
|
|
|
freshen() {
|
|
|
|
|
this.Upinvoice = false;
|
|
|
|
|
this.getOrderDetails();
|
|
|
|
|
},
|
|
|
|
|