feat(mes): 同步 IQC 与到货通知单后端变更

1. IQC API sourceDocType 从 string 改 number,删除 sourceDocCode
2. IQC 表单删除 sourceDocCode 字段(formData + resetForm)
3. 到货通知单 API 删除 approveArrivalNotice 方法(后端已移除该端点)
pull/871/MERGE
YunaiV 2026-02-23 12:26:29 +08:00
parent e736f26166
commit 3b52a8a2ad
3 changed files with 1 additions and 8 deletions

View File

@ -7,8 +7,7 @@ export interface QcIqcVO {
name: string // 检验单名称
templateId: number // 检验模板 ID
sourceDocId: number // 来源单据 ID
sourceDocType: string // 来源单据类型
sourceDocCode: string // 来源单据编号
sourceDocType: number // 来源单据类型
sourceLineId: number // 来源单据行 ID
vendorId: number // 供应商 ID
vendorNickname: string // 供应商简称(关联查询)

View File

@ -49,11 +49,6 @@ export const WmArrivalNoticeApi = {
return await request.put({ url: '/mes/wm/arrival-notice/submit?id=' + id })
},
// 审批到货通知单
approveArrivalNotice: async (id: number) => {
return await request.put({ url: '/mes/wm/arrival-notice/approve?id=' + id })
},
// 导出到货通知单 Excel
exportArrivalNotice: async (params: any) => {
return await request.download({ url: '/mes/wm/arrival-notice/export-excel', params })

View File

@ -235,7 +235,6 @@ const formData = ref({
templateId: undefined,
sourceDocId: undefined,
sourceDocType: undefined,
sourceDocCode: undefined,
sourceLineId: undefined,
vendorId: undefined,
vendorBatch: undefined,