diff --git a/src/api/mes/qc/ipqc/index.ts b/src/api/mes/qc/ipqc/index.ts index a2be7b93f..3d6d4075d 100644 --- a/src/api/mes/qc/ipqc/index.ts +++ b/src/api/mes/qc/ipqc/index.ts @@ -24,10 +24,10 @@ export interface QcIpqcVO { itemName: string // 产品物料名称(关联查询) itemSpecification: string // 规格型号(关联查询) unitName: string // 单位名称(关联查询) - checkQuantity: number // 检测数量 - qualifiedQuantity: number // 合格品数量 - unqualifiedQuantity: number // 不合格品数量 - laborScrapQuantity: number // 工废数量 + checkQuantity?: number // 检测数量 + qualifiedQuantity?: number // 合格品数量 + unqualifiedQuantity?: number // 不合格品数量 + laborScrapQuantity?: number // 工废数量 materialScrapQuantity: number // 料废数量 otherScrapQuantity: number // 其他废品数量 criticalRate: number // 致命缺陷率(%) @@ -40,7 +40,7 @@ export interface QcIpqcVO { inspectDate: Date // 检测日期 inspectorUserId: number // 检测人员用户 ID inspectorNickname: string // 检测人员昵称(关联查询) - status: number // 状态 + status?: number // 状态 remark: string // 备注 } diff --git a/src/views/mes/qc/ipqc/IpqcForm.vue b/src/views/mes/qc/ipqc/IpqcForm.vue index 1c26f8e6a..ac83f796d 100644 --- a/src/views/mes/qc/ipqc/IpqcForm.vue +++ b/src/views/mes/qc/ipqc/IpqcForm.vue @@ -8,6 +8,7 @@ :rules="formRules" label-width="120px" v-loading="formLoading" + :disabled="isDetail" > @@ -64,76 +65,86 @@ 检测情况 - + - + - + - - + + + - + - + + + + + + - - - - - - -