|
@@ -204,7 +204,8 @@
|
|
|
collectNo: '',
|
|
|
collectDates: []
|
|
|
},
|
|
|
- activeNameTop: 'wareHouse'
|
|
|
+ activeNameTop: 'wareHouse',
|
|
|
+ detailId: ''
|
|
|
}
|
|
|
},
|
|
|
// projectRecordsService: null,
|
|
@@ -228,11 +229,16 @@
|
|
|
view2 (id) {
|
|
|
this.$refs.updateCollectInfoForm.init('view', id)
|
|
|
},
|
|
|
- init (tradeName) {
|
|
|
+ init (tradeName, detailId) {
|
|
|
this.activeNameTop = 'wareHouse'
|
|
|
this.visible = true
|
|
|
this.searchForm.tradeName = tradeName
|
|
|
this.searchForm2.tradeName = tradeName
|
|
|
+ if (this.commonJS.isNotEmpty(detailId)) {
|
|
|
+ this.detailId = detailId
|
|
|
+ } else {
|
|
|
+ this.detailId = ''
|
|
|
+ }
|
|
|
this.list()
|
|
|
this.list2()
|
|
|
},
|
|
@@ -240,6 +246,7 @@
|
|
|
this.loading = true
|
|
|
// this.searchForm.createId = this.$store.state.user.id
|
|
|
this.wareHouseService.wareHouseHistoryList({
|
|
|
+ 'detailId': this.detailId,
|
|
|
...this.searchForm
|
|
|
}).then(({data}) => {
|
|
|
this.dataList = data.records
|