1.修复库存查询供应商名称候选数据查不到的问题

ywj_dev
x_z 2 years ago
parent 85abafc129
commit 3a5ab5a4b9

@ -333,15 +333,17 @@ export default {
key: key, key: key,
corpType: 2, corpType: 2,
page: 1, page: 1,
limit: 20, limit: 20
name:this.$store.getters.companyName
}; };
if (this.$store.getters.customerId !== 110) {
params.name = this.$store.getters.companyName;
}
getBasicUnitMaintains(params).then((res) => { getBasicUnitMaintains(params).then((res) => {
this.corpLoading = false; this.corpLoading = false;
this.fromOptions = res.data.list || []; this.fromOptions = res.data.list || [];
}).catch(() => { }).catch(() => {
this.corpLoading = false; this.corpLoading = false;
}) });
}, },
corpChange(value) { corpChange(value) {
if (!isBlank(value)) { if (!isBlank(value)) {

Loading…
Cancel
Save