|
|
|
@ -63,8 +63,7 @@
|
|
|
|
|
<!-- </el-select>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<el-form-item class="query-form-item">
|
|
|
|
|
<el-select v-model="filterQuery.invWarehouseCode" placeholder="请选择当前仓库" clearable="true"
|
|
|
|
|
:disabled="invWarehouseDisabled"
|
|
|
|
|
<el-select v-model="filterQuery.invWarehouseCode" @change="invWarehouseChange" placeholder="请选择当前仓库" clearable="true"
|
|
|
|
|
size="mini">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in subInvList"
|
|
|
|
@ -238,7 +237,6 @@ export default {
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 20,
|
|
|
|
|
};
|
|
|
|
|
this.invChange();
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
onSubmit() {
|
|
|
|
@ -365,7 +363,6 @@ export default {
|
|
|
|
|
this.filterQuery.invWarehouseCode = "";
|
|
|
|
|
this.subInvList = [];
|
|
|
|
|
if (this.filterQuery.invStorageCode != null && this.filterQuery.invStorageCode != "") {
|
|
|
|
|
this.invWarehouseDisabled = false;
|
|
|
|
|
let query = {
|
|
|
|
|
filter: 3,
|
|
|
|
|
};
|
|
|
|
@ -375,8 +372,6 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
this.invWarehouseDisabled = true;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
intentDetail(row) {
|
|
|
|
@ -389,7 +384,14 @@ export default {
|
|
|
|
|
if (isBlank(value)) {
|
|
|
|
|
this.findMethod();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
invWarehouseChange(invWarehouseCode) {
|
|
|
|
|
this.subInvList.forEach(item => {
|
|
|
|
|
if (item.code === invWarehouseCode) {
|
|
|
|
|
this.filterQuery.invStorageCode = item.parentId;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
filters: {
|
|
|
|
|
statusFilterType(status) {
|
|
|
|
|