|
|
@@ -234,16 +234,19 @@ export default {
|
|
|
lossList: [],
|
|
|
searchForm: {
|
|
|
tradeName: '',
|
|
|
+ wareHouseType: '',
|
|
|
wareHouseNumber: '',
|
|
|
wareHouseDates: []
|
|
|
},
|
|
|
searchForm2: {
|
|
|
tradeName: '',
|
|
|
+ wareHouseType: '',
|
|
|
collectNo: '',
|
|
|
collectDates: []
|
|
|
},
|
|
|
searchForm3: {
|
|
|
goodsName: '',
|
|
|
+ collectType: '',
|
|
|
lossNo: '',
|
|
|
lossDates: []
|
|
|
},
|
|
|
@@ -279,9 +282,8 @@ export default {
|
|
|
this.wareHouseType = wareHouseType
|
|
|
this.tradeName = tradeName
|
|
|
this.searchForm.wareHouseType = wareHouseType
|
|
|
- this.searchForm.tradeName = tradeName
|
|
|
- this.searchForm2.tradeName = tradeName
|
|
|
- this.searchForm3.goodsName = tradeName
|
|
|
+ this.searchForm2.wareHouseType = wareHouseType
|
|
|
+ this.searchForm3.collectType = wareHouseType
|
|
|
if (this.commonJS.isNotEmpty(detailId)) {
|
|
|
this.detailId = detailId
|
|
|
} else {
|
|
|
@@ -352,19 +354,19 @@ export default {
|
|
|
resetSearch() {
|
|
|
this.$refs.searchForm.resetFields()
|
|
|
this.tablePage.currentPage = 1
|
|
|
- this.searchForm.tradeName = this.tradeName
|
|
|
+ this.searchForm.wareHouseType = this.wareHouseType
|
|
|
this.list()
|
|
|
},
|
|
|
resetSearch2() {
|
|
|
this.$refs.searchForm2.resetFields()
|
|
|
this.tablePage2.currentPage = 1
|
|
|
- this.searchForm2.tradeName = this.tradeName
|
|
|
+ this.searchForm2.wareHouseType = this.wareHouseType
|
|
|
this.list2()
|
|
|
},
|
|
|
resetSearch3() {
|
|
|
this.$refs.searchForm3.resetFields()
|
|
|
this.tablePage3.currentPage = 1
|
|
|
- this.searchForm3.goodsName = this.tradeName
|
|
|
+ this.searchForm3.collectType = this.wareHouseType
|
|
|
this.list3()
|
|
|
},
|
|
|
close() {
|