|
|
@ -75,6 +75,7 @@ import {formatDate} from "@/utils/date";
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
|
|
|
|
BASE_URL: process.env.VUE_APP_BASE_API,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterQuery: {
|
|
|
|
filterQuery: {
|
|
|
|
type: 1,
|
|
|
|
type: 1,
|
|
|
@ -158,8 +159,7 @@ export default {
|
|
|
|
this.thrOrderSelectVisible = true;
|
|
|
|
this.thrOrderSelectVisible = true;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
downloadExcel(row) {
|
|
|
|
downloadExcel(row) {
|
|
|
|
axios.get("./config.json").then(res => {
|
|
|
|
let baseUrl = this.BASE_URL
|
|
|
|
let baseUrl = res.data.BASE_URL;
|
|
|
|
|
|
|
|
let href = baseUrl + "/udiwms/thrOrder/exportLog/download" + "?genKey=" + row.genKey;
|
|
|
|
let href = baseUrl + "/udiwms/thrOrder/exportLog/download" + "?genKey=" + row.genKey;
|
|
|
|
let a = document.createElement("a");
|
|
|
|
let a = document.createElement("a");
|
|
|
|
var timestamp = formatDate(new Date(), "yyyyMMddhhmmss")
|
|
|
|
var timestamp = formatDate(new Date(), "yyyyMMddhhmmss")
|
|
|
@ -173,7 +173,6 @@ export default {
|
|
|
|
a.click();
|
|
|
|
a.click();
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
cancelDialog(val) {
|
|
|
|
cancelDialog(val) {
|
|
|
|