liu
4 天以前 0af5e35af8338cc8a2e38c19ab79efbb9eff0b2c
src/views/wls/stocktaking/task/data.ts
@@ -29,13 +29,11 @@
} from '#/views/wls/warehouse/components';
/** 表单类型 */
export type FormType = 'create' | 'detail' | 'execute' | 'submit' | 'update';
export type FormType = 'create' | 'detail' | 'submit' | 'update';
/** 表单头部是否只读(提交、执行盘点、详情态) */
/** 表单头部是否只读(提交、详情态) */
function isHeaderReadonly(formType: FormType): boolean {
  return (
    formType === 'detail' || formType === 'execute' || formType === 'submit'
  );
  return formType === 'detail' || formType === 'submit';
}
/** 新增/修改的表单 */