|
@@ -295,11 +295,33 @@
|
|
|
}
|
|
|
|
|
|
}
|
|
|
- // if(e=='全部仓库'){
|
|
|
- // this.warehouseName=''
|
|
|
- // }else{
|
|
|
- // this.warehouseName=e
|
|
|
- // }
|
|
|
+ getboodinfo({
|
|
|
+ compId: localStorage.getItem('ws-pf_compId'),
|
|
|
+ searchKeyWord:'',
|
|
|
+ currentPage: 1,
|
|
|
+ contractNo:this.contractNo,
|
|
|
+ pageSize:10000 ,
|
|
|
+ contractType:'',
|
|
|
+ searchType:''
|
|
|
+ })
|
|
|
+ .toPromise()
|
|
|
+ .then(response => {
|
|
|
+ if(response.records.length>0){
|
|
|
+ var shouru=0
|
|
|
+ var zhichu=0
|
|
|
+ for (let i = 0; i < response.records.length; i++) {
|
|
|
+ if(response.records[i].expensesType==1){
|
|
|
+ shouru+=response.records[i].amountMoney
|
|
|
+ }
|
|
|
+ if(response.records[i].expensesType==2){
|
|
|
+ zhichu+=response.records[i].amountMoney
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ this.money=(shouru-zhichu).toFixed(3)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ this.currentPage = 1
|
|
|
this.getList()
|
|
|
},
|
|
|
getList() {
|