pages/QC/LLJ/Add.vue
@@ -158,7 +158,8 @@ }, tableData: [], remarksPopup: false, current:true current:true, type:"" } }, onLoad(options) { @@ -170,6 +171,7 @@ this.formData.releaseNo = params["releaseNo"]; this.formData.lotNo = params["lotNo"]; this.msgId = params["msgId"]; this.type = params["type"]; if(params["current"]==='A') { @@ -285,9 +287,19 @@ }) // 如果有页面跳转,需要用定时器延迟 setTimeout(() => { if(this.type==="A"){ uni.navigateTo({ url: 'ScanCode' }); }else{ uni.navigateTo({ url: 'List' }); } // uni.navigateTo({ // url: 'List' // }); }, 2000); // 保持与 duration 相同的时长 } else {