|
@@ -154,6 +154,7 @@ export default {
|
|
|
backStockQty: item.qty
|
|
|
})
|
|
|
})
|
|
|
+ console.log(obj)
|
|
|
_this.submitCheck(obj)
|
|
|
}
|
|
|
})
|
|
@@ -183,10 +184,6 @@ export default {
|
|
|
this.spinning = false
|
|
|
})
|
|
|
},
|
|
|
- // 重置列表
|
|
|
- resetForm () {
|
|
|
- this.$refs.table.refresh(true)
|
|
|
- },
|
|
|
// 获取单据详细
|
|
|
getOrderDetail () {
|
|
|
this.rowSelectionInfo = null
|
|
@@ -219,6 +216,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 () {
|
|
@@ -232,11 +231,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 => {})
|