|
@@ -418,12 +418,13 @@
|
|
|
},
|
|
|
}
|
|
|
},
|
|
|
- mounted() {
|
|
|
- this.userJurisdiction = getHp('acquisitionManagement.acquisitionPay.print')
|
|
|
+ // mounted() {
|
|
|
+ // // this.getList()
|
|
|
+ // },
|
|
|
+ activated(){
|
|
|
+ this.userJurisdiction = getHp('acquisitionManagement.acquisitionPay.print')
|
|
|
this.getPassYearFormatDate()
|
|
|
this.getWarehouse()
|
|
|
-
|
|
|
- this.getList()
|
|
|
},
|
|
|
updated() {
|
|
|
this.$nextTick(() => {
|
|
@@ -902,13 +903,13 @@
|
|
|
//判断是否在任务页面进来
|
|
|
this.warehouseName = this.$route.query.warehouseName
|
|
|
this.warehouseNameKey = this.$route.query.warehouseName
|
|
|
+ this.getList()
|
|
|
} else {
|
|
|
for (let index = 0; index < this.warehouseList.length; index++) {
|
|
|
if (_wareHouse && _wareHouse.value == this.warehouseList[index].warehouseName) {
|
|
|
this.warehouseName = this.warehouseList[index].warehouseName
|
|
|
this.warehouseNameKey = this.warehouseList[index].warehouseName
|
|
|
- this.getList()
|
|
|
- return
|
|
|
+ break
|
|
|
} else {
|
|
|
this.warehouseNameKey = this.warehouseList[0].id
|
|
|
if (this.warehouseName) {
|