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 = () => {