|
@@ -101,22 +101,6 @@ export default {
|
|
|
cancel (e) {
|
|
|
this.$emit('close')
|
|
|
}
|
|
|
- // 获取列表数据
|
|
|
- // getListData (itemId) {
|
|
|
- // SettlementRecordsDetailsList({
|
|
|
- // settleNo: this.itemId,
|
|
|
- // pageNo: 1,
|
|
|
- // pageSize: 10
|
|
|
- // }).then(res => {
|
|
|
- // if (res.status == 200) {
|
|
|
- // res.data.list.map((item, index) => {
|
|
|
- // item.no = index + 1
|
|
|
- // })
|
|
|
- // this.loadData = res.data.list
|
|
|
- // console.log(this.loadData, '----列表')
|
|
|
- // }
|
|
|
- // })
|
|
|
- // }
|
|
|
},
|
|
|
watch: {
|
|
|
openModalDetails (newValue, oldValue) {
|
|
@@ -127,13 +111,13 @@ export default {
|
|
|
if (!val) {
|
|
|
this.$emit('close')
|
|
|
}
|
|
|
+ },
|
|
|
+ itemId (newValue, oldValue) {
|
|
|
+ console.log(newValue)
|
|
|
+ if (newValue && this.isshow) {
|
|
|
+ this.$refs.table.refresh(newValue)
|
|
|
+ }
|
|
|
}
|
|
|
- // itemId (newValue, oldValue) {
|
|
|
- // console.log(newValue)
|
|
|
- // if (newValue && this.isshow) {
|
|
|
- // this.getListData(newValue)
|
|
|
- // }
|
|
|
- // }
|
|
|
}
|
|
|
}
|
|
|
</script>
|