|
@@ -334,6 +334,9 @@ export default {
|
|
|
this.queryParam.warehouseSn = undefined
|
|
|
this.queryParam.bizUserSn = undefined
|
|
|
this.$refs.table.refresh(true)
|
|
|
+ if (!flag) {
|
|
|
+ this.$route.query.billNo = ''
|
|
|
+ }
|
|
|
},
|
|
|
pageInit () {
|
|
|
const _this = this
|
|
@@ -368,8 +371,8 @@ export default {
|
|
|
if (this.$store.state.app.isNewTab) {
|
|
|
this.resetSearchForm(!!this.$route.query.billNo)
|
|
|
this.pageInit()
|
|
|
- } else {
|
|
|
- this.setTableH()
|
|
|
+ }
|
|
|
+ if (this.$route.query.billNo) {
|
|
|
this.resetSearchForm(!!this.$route.query.billNo)
|
|
|
}
|
|
|
// 仅刷新列表,不重置页面
|