From 0415936596e62de73422259c0d3a919ee43ff0cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Fri, 1 Dec 2023 11:37:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E6=96=99=E7=94=B3=E8=AF=B7=20tablefor?= =?UTF-8?q?m=E6=95=B0=E6=8D=AE=E4=BF=9D=E6=8C=81=E4=B8=80=E8=87=B4?= =?UTF-8?q?=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wms/issueManage/issue/issueRequestMain/index.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/views/wms/issueManage/issue/issueRequestMain/index.vue b/src/views/wms/issueManage/issue/issueRequestMain/index.vue index 6d1cd909b..b4fae40b0 100644 --- a/src/views/wms/issueManage/issue/issueRequestMain/index.vue +++ b/src/views/wms/issueManage/issue/issueRequestMain/index.vue @@ -68,6 +68,7 @@ :apiPage="IssueRequestDetailApi.getIssueRequestDetailPage" :apiDelete="IssueRequestDetailApi.deleteIssueRequestDetail" @searchTableSuccessDetail="searchTableSuccessDetail" + :detailValidate="detailValidate" /> @@ -343,6 +344,13 @@ const submitForm = async (formType, data) => { } } +// 子表新增/编辑校验 +const detailValidate = async (data) => { + // let rs = false + // TODO: 单一新编/编辑,校验是否与其他子数据存在生产线工位有不同数据情况 + return true + } + /** 导入 */ const importFormRef = ref() const handleImport = () => {