|
@@ -156,6 +156,7 @@ export default {
|
|
|
backStockQty: item.qty
|
|
|
})
|
|
|
})
|
|
|
+ console.log(obj)
|
|
|
_this.submitCheck(obj)
|
|
|
}
|
|
|
})
|
|
@@ -185,10 +186,6 @@ export default {
|
|
|
this.spinning = false
|
|
|
})
|
|
|
},
|
|
|
- // 重置列表
|
|
|
- resetForm () {
|
|
|
- this.$refs.table.refresh(true)
|
|
|
- },
|
|
|
// 获取单据详细
|
|
|
getOrderDetail () {
|
|
|
salesReturnDetail({ sn: this.orderSn }).then(res => {
|
|
@@ -220,6 +217,8 @@ export default {
|
|
|
})
|
|
|
this.orderSn = this.$route.params.sn
|
|
|
this.buyerSn = this.$route.params.buyerSn
|
|
|
+ this.rowSelectionInfo = null
|
|
|
+ this.$refs.table.clearTable()
|
|
|
this.getOrderDetail()
|
|
|
},
|
|
|
setTableH () {
|
|
@@ -233,11 +232,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
activated () {
|
|
|
- // 如果是新页签打开或者进入新的子页(例:存在列表第2条数据编辑页页签时再打开第4条数据的编辑页),则重置当前页面
|
|
|
- if (this.$store.state.app.isNewTab || !this.$store.state.app.isNewSubTab) {
|
|
|
- this.$refs.table.refresh(true)
|
|
|
- this.pageInit()
|
|
|
- }
|
|
|
+ this.$refs.table.refresh(true)
|
|
|
+ this.pageInit()
|
|
|
},
|
|
|
beforeRouteEnter (to, from, next) {
|
|
|
next(vm => {})
|