src/pages/cooperativeOffice/collaborativeApproval/contactSelect.vue
@@ -146,14 +146,20 @@ uni.$emit("selectContact", { stepIndex: stepIndex.value, contact: selectedContact.value, source: selectSource.value, }); uni.navigateBack(); }; const approveType = ref(null); /** 调用方标识,避免与其它页面的 selectContact 监听串单(如扫码发货) */ const selectSource = ref(null); onLoad(options => { if (options.approveType) { approveType.value = options.approveType; } if (options.source) { selectSource.value = options.source; } }); </script>