bug修改

ywj_dev
wangwei 2 years ago
parent 6eeab33065
commit 262c1c5cc4

@ -10,12 +10,13 @@
</el-col>
<el-col :span="8">
<el-form-item label="采购部门">
<el-select v-model="filterQuery.invCode" style="width: 90%" placeholder="请选择采购部门">
<el-select v-model="filterQuery.deptCode" placeholder="请选择采购部门" @change="change" style="width: 90%">
<el-option
v-for="item in invList"
:key="item.name"
v-for="item in deptList"
:key="item.code"
:label="item.name"
:value="item.code">
:value="item.code"
>
<span style="float: left">{{ item.name }}</span>
</el-option>
</el-select>
@ -23,16 +24,16 @@
</el-col>
<el-col :span="8">
<el-form-item label="收货仓库">
<el-select v-model="filterQuery.deptCode" placeholder="请选择收货仓库" style="width: 90%">
<el-select v-model="filterQuery.invCode" style="width: 90%" placeholder="请选择收货仓库">
<el-option
v-for="item in deptList"
:key="item.code"
v-for="item in invList"
:key="item.name"
:label="item.name"
:value="item.code"
>
:value="item.code">
<span style="float: left">{{ item.name }}</span>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
@ -337,7 +338,16 @@ export default {
this.pickerUpOptions = [];
this.getList();
},
change(val){
let param={
pcode:val
}
getInvListByUser(param).then((res) => {
this.invList = res.data || [];
this.getBusType();
})
},
onSubmitFind() {
this.filterQuery.page = 1;
this.getList();

Loading…
Cancel
Save