|
@@ -112,6 +112,7 @@
|
|
procurementType: '',
|
|
procurementType: '',
|
|
createBy: ''
|
|
createBy: ''
|
|
},
|
|
},
|
|
|
|
+ basicId: '',
|
|
dataList: [],
|
|
dataList: [],
|
|
tablePage: {
|
|
tablePage: {
|
|
total: 0,
|
|
total: 0,
|
|
@@ -140,12 +141,15 @@
|
|
InputNumber
|
|
InputNumber
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- init () {
|
|
|
|
|
|
+ init (basicId) {
|
|
|
|
+ console.log('basicId', basicId)
|
|
this.visible = true
|
|
this.visible = true
|
|
|
|
+ this.basicId = basicId
|
|
this.refreshList()
|
|
this.refreshList()
|
|
},
|
|
},
|
|
// 获取数据列表
|
|
// 获取数据列表
|
|
refreshList () {
|
|
refreshList () {
|
|
|
|
+ this.searchForm.basicId = this.basicId
|
|
this.loading = true
|
|
this.loading = true
|
|
this.wareHouseService.wareHouseSummaryList2({
|
|
this.wareHouseService.wareHouseSummaryList2({
|
|
'current': this.tablePage.currentPage,
|
|
'current': this.tablePage.currentPage,
|
|
@@ -163,11 +167,11 @@
|
|
currentChangeHandle ({currentPage, pageSize}) {
|
|
currentChangeHandle ({currentPage, pageSize}) {
|
|
this.tablePage.currentPage = currentPage
|
|
this.tablePage.currentPage = currentPage
|
|
this.tablePage.pageSize = pageSize
|
|
this.tablePage.pageSize = pageSize
|
|
- this.list()
|
|
|
|
|
|
+ this.refreshList()
|
|
},
|
|
},
|
|
resetSearch () {
|
|
resetSearch () {
|
|
this.$refs.searchForm.resetFields()
|
|
this.$refs.searchForm.resetFields()
|
|
- this.list()
|
|
|
|
|
|
+ this.refreshList()
|
|
},
|
|
},
|
|
close () {
|
|
close () {
|
|
this.$refs.searchForm.resetFields()
|
|
this.$refs.searchForm.resetFields()
|