| src/pages/cooperativeOffice/customerManage/detail.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/pages/qualityManagement/finalInspection/add.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/pages/qualityManagement/finalInspection/detail.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/pages/qualityManagement/materialInspection/add.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/pages/qualityManagement/materialInspection/detail.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/pages/qualityManagement/processInspection/add.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/pages/qualityManagement/processInspection/detail.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/pages/cooperativeOffice/customerManage/detail.vue
@@ -170,14 +170,6 @@ import { onLoad, onShow } from "@dcloudio/uni-app"; import dayjs from "dayjs"; // 获取页面参数 const getPageId = () => { const pages = getCurrentPages(); const currentPage = pages[pages.length - 1]; const options = currentPage.options || {}; return options.id || ""; }; // 详情数据 const detailData = ref({}); src/pages/qualityManagement/finalInspection/add.vue
@@ -464,13 +464,6 @@ return !!(v.productMainId != null || v.purchaseLedgerId != null); }); // 获取页面ID const getPageId = () => { const pages = getCurrentPages(); const currentPage = pages[pages.length - 1]; return currentPage.options.id; }; // 返回上一页 const goBack = () => { uni.navigateBack(); src/pages/qualityManagement/finalInspection/detail.vue
@@ -131,7 +131,7 @@ <script setup> import { ref, onMounted } from "vue"; import { onShow } from "@dcloudio/uni-app"; import { onShow, onLoad } from "@dcloudio/uni-app"; import PageHeader from "@/components/PageHeader.vue"; import dayjs from "dayjs"; import { qualityInspectParamInfo } from "@/api/qualityManagement/materialInspection.js"; @@ -204,16 +204,9 @@ }, 1500); }; // 获取页面ID const getPageId = () => { const pages = getCurrentPages(); const currentPage = pages[pages.length - 1]; return currentPage.options.id; }; // 获取详情数据 const getDetail = () => { const id = getPageId(); const id = optionsId.value; if (!id) { showToast("参数错误"); return; @@ -262,6 +255,14 @@ onMounted(() => { getDetail(); }); onShow(() => { getDetail(); }); const optionsId = ref(""); onLoad(options => { optionsId.value = options.id || ""; getDetail(); }); </script> <style scoped lang="scss"> src/pages/qualityManagement/materialInspection/add.vue
@@ -470,13 +470,6 @@ return !!(v.productMainId != null || v.purchaseLedgerId != null); }); // 获取页面ID const getPageId = () => { const pages = getCurrentPages(); const currentPage = pages[pages.length - 1]; // return currentPage.options.id; }; // 返回上一页 const goBack = () => { uni.navigateBack(); src/pages/qualityManagement/materialInspection/detail.vue
@@ -131,7 +131,7 @@ <script setup> import { ref, onMounted } from "vue"; import { onShow } from "@dcloudio/uni-app"; import { onShow, onLoad } from "@dcloudio/uni-app"; import PageHeader from "@/components/PageHeader.vue"; import dayjs from "dayjs"; import { qualityInspectParamInfo } from "@/api/qualityManagement/materialInspection.js"; @@ -204,16 +204,9 @@ }, 1500); }; // 获取页面ID const getPageId = () => { const pages = getCurrentPages(); const currentPage = pages[pages.length - 1]; return currentPage.options.id; }; // 获取详情数据 const getDetail = () => { const id = getPageId(); const id = optionsId.value; if (!id) { showToast("参数错误"); return; @@ -261,6 +254,11 @@ onMounted(() => { getDetail(); }); const optionsId = ref(""); onLoad(options => { optionsId.value = options.id || ""; getDetail(); }); </script> <style scoped lang="scss"> src/pages/qualityManagement/processInspection/add.vue
@@ -464,13 +464,6 @@ return !!(v.productMainId != null || v.purchaseLedgerId != null); }); // 获取页面ID const getPageId = () => { const pages = getCurrentPages(); const currentPage = pages[pages.length - 1]; return currentPage.options.id; }; // 返回上一页 const goBack = () => { uni.navigateBack(); src/pages/qualityManagement/processInspection/detail.vue
@@ -131,7 +131,7 @@ <script setup> import { ref, onMounted } from "vue"; import { onShow } from "@dcloudio/uni-app"; import { onShow, onLoad } from "@dcloudio/uni-app"; import PageHeader from "@/components/PageHeader.vue"; import dayjs from "dayjs"; import { qualityInspectParamInfo } from "@/api/qualityManagement/materialInspection.js"; @@ -204,16 +204,9 @@ }, 1500); }; // 获取页面ID const getPageId = () => { const pages = getCurrentPages(); const currentPage = pages[pages.length - 1]; return currentPage.options.id; }; // 获取详情数据 const getDetail = () => { const id = getPageId(); const id = optionsId.value; if (!id) { showToast("参数错误"); return; @@ -263,6 +256,12 @@ onMounted(() => { getDetail(); }); const optionsId = ref(""); onLoad(options => { optionsId.value = options.id || ""; getDetail(); }); </script> <style scoped lang="scss">