|
|
|
@ -258,6 +258,7 @@ import {combineUdi} from "../../api/basic/udiRelevance";
|
|
|
|
|
import {getBasicThirdSys} from "../../api/basic/basicThirdSys";
|
|
|
|
|
import {getInvbasdoc} from "../../api/basic/getErps";
|
|
|
|
|
import selectDiDetail from "@/views/basic/SelectDIDetailDialog";
|
|
|
|
|
import {deleteLog} from "@/api/basic/corpExport";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "closeDialog",
|
|
|
|
@ -349,27 +350,38 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getSuperSeaech() {
|
|
|
|
|
if (this.unionQuery.nameCode == "") {
|
|
|
|
|
this.$message.warning("请输入查询条件");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
this.loading = true;
|
|
|
|
|
superSearch(this.unionQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
if (response.code == 20000) {
|
|
|
|
|
this.udidlList = response.data.list || [];
|
|
|
|
|
this.total = response.data.total || 0;
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
|
|
|
|
|
this.$confirm("此操作将访问国家库查询DI数据, 是否继续?", "提示", {
|
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
|
cancelButtonText: "取消",
|
|
|
|
|
type: "warning",
|
|
|
|
|
})
|
|
|
|
|
.then(() => {
|
|
|
|
|
if (this.unionQuery.nameCode == "") {
|
|
|
|
|
this.$message.warning("请输入完成DI信息进行查询!");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
this.loading = true;
|
|
|
|
|
superSearch(this.unionQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
if (response.code == 20000) {
|
|
|
|
|
this.udidlList = response.data.list || [];
|
|
|
|
|
this.total = response.data.total || 0;
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.udidlList = [];
|
|
|
|
|
this.total = 0;
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.udidlList = [];
|
|
|
|
|
this.total = 0;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
checkSelectable(row) {
|
|
|
|
|
return !row.check;
|
|
|
|
|