|
@@ -51,7 +51,7 @@
|
|
|
</BaseHeaderLayout>
|
|
|
<el-table
|
|
|
class="wenzi"
|
|
|
- :data="warehouseList.records"
|
|
|
+ :data="warehouseList"
|
|
|
style="width: 100%; margin-top: 20px"
|
|
|
height="780"
|
|
|
>
|
|
@@ -164,7 +164,13 @@ export default {
|
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
deptCircularPage: {},
|
|
|
warehouseList: [],
|
|
|
- warehouseList1: [],
|
|
|
+ warehouseList1: [{
|
|
|
+ value: '全部仓库',
|
|
|
+ id: '',
|
|
|
+ count: '',
|
|
|
+ purchasePriceList: [],
|
|
|
+ No:''
|
|
|
+ }],
|
|
|
deptBudgetList: {},
|
|
|
historyList: [],
|
|
|
deptBudgetTotal: 0,
|
|
@@ -246,7 +252,13 @@ export default {
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
- this.warehouseList1 = []
|
|
|
+ this.warehouseList1 = [{
|
|
|
+ value: '全部仓库',
|
|
|
+ id: '',
|
|
|
+ count: '',
|
|
|
+ purchasePriceList: [],
|
|
|
+ No:''
|
|
|
+ }]
|
|
|
for (let i = 0; i < response.length; i++) {
|
|
|
this.warehouseList1.push({
|
|
|
value: response[i].warehouseName,
|
|
@@ -283,7 +295,14 @@ export default {
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
- this.warehouseList = response
|
|
|
+ var arr=[]
|
|
|
+ for (let i = 0; i < response.records.length; i++) {
|
|
|
+ if(response.records[i].storage!=0){
|
|
|
+ arr.push(response.records[i])
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ this.warehouseList = arr
|
|
|
this.deptBudgetTotal=response.total
|
|
|
})
|
|
|
},
|