|
@@ -23,6 +23,10 @@
|
|
|
<el-col :span="18">
|
|
|
<div class="datascreen">
|
|
|
<!-- <el-input placeholder="可按费用名称、流向、经办人查找" class="input_css" v-model="searchKeyWord" clearable></el-input> -->
|
|
|
+ <el-select v-model="warehouseName" filterable placeholder="按仓库筛选" clearable @change="getList" class="options_css">
|
|
|
+ <el-option label="全部仓库" value=""></el-option>
|
|
|
+ <el-option v-for="item in warehousNameList" :key="item.id" :label="item.warehouseName" :value="item.warehouseName"></el-option>
|
|
|
+ </el-select>
|
|
|
<el-select v-model="costNo" multiple filterable allow-create default-first-option placeholder="按编号筛选" clearable @change="getList" class="options_css">
|
|
|
<el-option v-for="item in choiceObj" :key="item.id" :label="item.costNo" :value="item.costNo">
|
|
|
</el-option>
|
|
@@ -245,7 +249,7 @@
|
|
|
<div style="padding: 20px" v-for="(item, index) in recordList" :style="{
|
|
|
'border-bottom':
|
|
|
index != recordList.length - 1 ? '1px solid #ccc' : 'none',
|
|
|
- }">
|
|
|
+ }" :key="index">
|
|
|
<div style="width: 100%; justify-content: space-between" class="flex">
|
|
|
<div style="width: 33.333%; text-align: left">
|
|
|
{{ item.operateUser }}
|
|
@@ -307,6 +311,7 @@ import {
|
|
|
sponsorWithdraw,
|
|
|
exportFile,
|
|
|
} from '@/model/profitable/index'
|
|
|
+import { getwarehousName} from '@/model/warehouse/index'
|
|
|
import {
|
|
|
downloadFile
|
|
|
} from '@/utils/batchDown'
|
|
@@ -375,7 +380,9 @@ export default {
|
|
|
flowToList:[],
|
|
|
costNameList:[],
|
|
|
moneyList:[],
|
|
|
- personList:[]
|
|
|
+ personList:[],
|
|
|
+ warehousNameList:[],
|
|
|
+ warehouseName:""
|
|
|
}
|
|
|
},
|
|
|
activated() {
|
|
@@ -419,7 +426,14 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
xiala(){
|
|
|
-
|
|
|
+ //仓库筛选
|
|
|
+ getwarehousName({
|
|
|
+ compId: localStorage.getItem('ws-pf_compId'),
|
|
|
+ })
|
|
|
+ .toPromise()
|
|
|
+ .then((response) => {
|
|
|
+ this.warehousNameList = response
|
|
|
+ })
|
|
|
//搜索框下拉数据
|
|
|
getexenseinfo({
|
|
|
compId: localStorage.getItem('ws-pf_compId'),
|
|
@@ -816,6 +830,7 @@ export default {
|
|
|
unallocatedNumber:this.unallocatedAmount.length>0?this.unallocatedAmount.toString():'',
|
|
|
agent:this.agent.length>0?this.agent.toString():'',
|
|
|
flowTo:this.flowTo.length>0?this.flowTo.toString():'',
|
|
|
+ warehouseName:this.warehouseName
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|