@@ -489,6 +489,11 @@
printSeparately: false,
}
},
+ beforeDestroy() {
+ if (this.timer) { //如果定时器还在运行 或者直接关闭,不用判断
+ clearInterval(this.timer); //关闭
+ }
+ },
activated() {
// if (!this.$route.query.grossWeight) {
// this.$route.query.grossWeight = 0
@@ -236,6 +236,11 @@
success: 0
// this.cangid = this.$route.query.cangid
// this.warehouseName = this.$route.query.warehouseName
@@ -423,6 +423,11 @@
],
mounted() {
this.selectWarehouse()
this.showType = this.isShow