|
|
|
@ -13,9 +13,9 @@
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in invList"
|
|
|
|
|
:key="item.code"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
:label="item.name"
|
|
|
|
|
:value="item.code">
|
|
|
|
|
<span style="float: left">{{ item.label }}</span>
|
|
|
|
|
<span style="float: left">{{ item.name }}</span>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -64,14 +64,14 @@
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
|
|
|
|
|
<!-- <el-col :span="8">-->
|
|
|
|
|
<!-- <el-form-item class="query-form-item" label="出入库类型:">-->
|
|
|
|
|
<!-- <el-select v-model="filterQuery.mainAction" placeholder="请选择出入库类型" style="width: 90%" @change="changeActionType">-->
|
|
|
|
|
<!-- <el-option label="入库" value="WareHouseIn"></el-option>-->
|
|
|
|
|
<!-- <el-option label="出库" value="WareHouseOut"></el-option>-->
|
|
|
|
|
<!-- </el-select>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item class="query-form-item" label="出入库类型:">
|
|
|
|
|
<el-select v-model="filterQuery.mainAction" placeholder="请选择出入库类型" style="width: 90%" @change="changeActionType">
|
|
|
|
|
<el-option label="入库" value="WareHouseIn"></el-option>
|
|
|
|
|
<el-option label="出库" value="WareHouseOut"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item class="query-form-item" label="单据类型:" label-width="100px" >
|
|
|
|
@ -124,17 +124,17 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col span="6">
|
|
|
|
|
<el-form-item label="往来单位类型:">
|
|
|
|
|
<el-select v-model="filterQuery.corpType" style="width: 90%" placeholder="请选择往来单位类型">
|
|
|
|
|
<el-option label="全部" value=""></el-option>
|
|
|
|
|
<el-option label="客户" value="1"></el-option>
|
|
|
|
|
<el-option label="供应商" value="2"></el-option>
|
|
|
|
|
<el-option label="内部科室" value="3"></el-option>
|
|
|
|
|
<el-option label="特殊往来" value="4"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<!-- <el-col span="6">-->
|
|
|
|
|
<!-- <el-form-item label="往来单位类型:">-->
|
|
|
|
|
<!-- <el-select v-model="filterQuery.corpType" style="width: 90%" placeholder="请选择往来单位类型">-->
|
|
|
|
|
<!-- <el-option label="全部" value=""></el-option>-->
|
|
|
|
|
<!-- <el-option label="客户" value="1"></el-option>-->
|
|
|
|
|
<!-- <el-option label="供应商" value="2"></el-option>-->
|
|
|
|
|
<!-- <el-option label="内部科室" value="3"></el-option>-->
|
|
|
|
|
<!-- <el-option label="特殊往来" value="4"></el-option>-->
|
|
|
|
|
<!-- </el-select>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="6">
|
|
|
|
@ -228,6 +228,7 @@ import {
|
|
|
|
|
import {getDeptListByUser} from "@/api/auth/authDept";
|
|
|
|
|
import {filterSubAllOptimize} from "@/api/system/invSubWarehouse";
|
|
|
|
|
import {getOrderDetailBusOptimize} from "@/api/basic/busType";
|
|
|
|
|
import { getInvWarehouseList } from '@/api/system/invSubWarehouse'
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "supInoutSearchOrderProductOut",
|
|
|
|
@ -329,8 +330,17 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
// getInvList() {
|
|
|
|
|
// filterSubAllOptimize({lyInvType:true})
|
|
|
|
|
// .then((response) => {
|
|
|
|
|
// this.invList = response.data || [];
|
|
|
|
|
// })
|
|
|
|
|
// .catch(() => {
|
|
|
|
|
// });
|
|
|
|
|
// },
|
|
|
|
|
getInvList() {
|
|
|
|
|
filterSubAllOptimize({lyInvType:true})
|
|
|
|
|
let params = {userId:this.$store.getters.adminId}
|
|
|
|
|
getInvWarehouseList(params)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.invList = response.data || [];
|
|
|
|
|
})
|
|
|
|
@ -690,7 +700,7 @@ export default {
|
|
|
|
|
this.actionType = 'norDetail';
|
|
|
|
|
this.getList();
|
|
|
|
|
this.getInvList();
|
|
|
|
|
this.getInvListAllFlagInv();
|
|
|
|
|
// this.getInvListAllFlagInv();
|
|
|
|
|
this.getBusTypeByInv();
|
|
|
|
|
}
|
|
|
|
|
,
|
|
|
|
|