|
|
|
@ -165,10 +165,10 @@
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
<el-button type="primary" icon="search" @click="getSuperSeaech" size="mini"
|
|
|
|
|
>国家同步库查询
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button type="primary" icon="search" @click="getSuperSeaech" size="mini"
|
|
|
|
|
>国家同步库查询
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
</el-button-group>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-row>
|
|
|
|
@ -256,6 +256,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";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "closeDialog",
|
|
|
|
|
props: {
|
|
|
|
@ -291,6 +292,10 @@ export default {
|
|
|
|
|
thirdId: "",
|
|
|
|
|
keys: [],
|
|
|
|
|
thirdSys: null,
|
|
|
|
|
manufactory: null,
|
|
|
|
|
price: null,
|
|
|
|
|
erpName: null,
|
|
|
|
|
measname: null,
|
|
|
|
|
},
|
|
|
|
|
fromOptions: [],
|
|
|
|
|
checked: true,
|
|
|
|
@ -341,29 +346,29 @@ export default {
|
|
|
|
|
this.total = 0;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.udidlList = [];
|
|
|
|
|
this.total = 0;
|
|
|
|
|
});
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.udidlList = [];
|
|
|
|
|
this.total = 0;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
checkSelectable(row) {
|
|
|
|
|
return !row.check;
|
|
|
|
|
},
|
|
|
|
@ -436,6 +441,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
this.combineQuery.manufactory = this.currentRow.manufactory;
|
|
|
|
|
this.combineQuery.price = this.currentRow.price;
|
|
|
|
|
this.combineQuery.measname = this.currentRow.measname;
|
|
|
|
|
combineUdi(this.combineQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
if (response.code == 20000) {
|
|
|
|
|