默认分库问题修改

fengcang
anthonyywj2 3 years ago
parent 363bd6ac43
commit 439e419fa8

@ -1190,7 +1190,7 @@ export default {
.then((response) => {
this.subInvList = response.data || [];
if (this.subInvList != null && this.subInvList.length == 1) {
this.formData.invWarehouseCode = this.subInvList[0];
this.formData.invWarehouseCode = this.subInvList[0].code;
}
})
.catch(() => {

@ -428,7 +428,7 @@ export default {
.then((response) => {
this.subInvList = response.data || [];
if (this.subInvList != null && this.subInvList.length == 1) {
this.userInfo.locSubInvCode = this.subInvList[0];
this.userInfo.locSubInvCode = this.subInvList[0].code;
}
})

@ -967,7 +967,7 @@ export default {
.then((response) => {
this.subInvList = response.data || [];
if (this.subInvList != null && this.subInvList.length == 1) {
this.formData.invWarehouseCode = this.subInvList[0];
this.formData.invWarehouseCode = this.subInvList[0].code;
}
})
.catch(() => {

@ -63,7 +63,6 @@
</el-form-item>
<el-form-item class="query-form-item">
<el-select v-model="filterQuery.invWarehouseCode" placeholder="请选择当前分库" clearable="true"
:disabled="invWarehouseDisabled"
size="mini">
<el-option
v-for="item in subInvList"

Loading…
Cancel
Save