|
@@ -249,27 +249,6 @@ export default {
|
|
|
console.log('---', this.$refs.orderDetailDrawer.record)
|
|
|
console.log('打开订单详情')
|
|
|
this.$refs.orderDetailDrawer.orderDetail = record
|
|
|
- // 子表信息获取
|
|
|
- // orderByNum({ orderNumber: record.orderNumber }).then(res => {
|
|
|
- // if (res.success) {
|
|
|
- // // 子表信息赋值
|
|
|
- // this.$refs.orderDetailDrawer.childData = res.result.records
|
|
|
- // this.$refs.orderDetailDrawer.pagination = {
|
|
|
- // total: res.result.total,
|
|
|
- // current: res.result.current,
|
|
|
- // pageSize: res.result.size
|
|
|
- // }
|
|
|
- // console.log('childData', this.$refs.orderDetailDrawer.childData)
|
|
|
- // console.log(
|
|
|
- // '分页信息:',
|
|
|
- // this.$refs.orderDetailDrawer.pagination.total,
|
|
|
- // this.$refs.orderDetailDrawer.pagination.current,
|
|
|
- // this.$refs.orderDetailDrawer.pagination.pageSize
|
|
|
- // )
|
|
|
- // // console.log('主表信息', record)
|
|
|
- // this.$refs.orderDetailDrawer.orderDetail = record
|
|
|
- // }
|
|
|
- // })
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -285,7 +264,6 @@ export default {
|
|
|
console.log('订单数据--同步')
|
|
|
},
|
|
|
|
|
|
- // 分页变化时触发
|
|
|
handleTableChange(pagination, filters, sorter) {
|
|
|
console.log('分页器信息', pagination)
|
|
|
if (Object.keys(sorter).length > 0) {
|
|
@@ -293,9 +271,7 @@ export default {
|
|
|
this.isorter.order = sorter.order == 'ascend' ? 'asc' : 'desc'
|
|
|
}
|
|
|
this.queryParam.pageNo = pagination.current
|
|
|
- // console.log('00');
|
|
|
this.getOrderList() //重新渲染
|
|
|
- // console.log('\\\\');
|
|
|
}
|
|
|
},
|
|
|
computed: {},
|