I want to prove the theorem. Let $A$ be a ring and $X = \operatorname{Spec} A$. Furthermore, let $M$ be an $A$-module and $F$ an $O_X$-module that is associated to $M$. Then, for any affine open subscheme $U \simeq \operatorname{Spec} B$ of $X$ for some ring $B$, the canonical map $M \otimes_A B \to F(U)$ is bijective and $F|_U$ is associated to $M \otimes_A B$ as $B$-module.
Proof. I know that $F(U)$ is $O_X(U)$-module, and so I can think $F(U)$ is $A$ module (which is from $F$ is a sheaf send $U$ to $A$-module) and $B$ (by $O_X(U) \simeq B$) module as well.
I know that the restriction morphism $F(X)\to F(U)$ will factor through a canonical morphism of B-modules $\sigma: M \otimes_A B \to F(U)$.
I know that this a morphism will induce a morphism of $O_U$ -modules $\widetilde \sigma: \widetilde {M \otimes _A B} \to F|_U$. Also, for any $f\in A$ such that $D(f)\subset U$, the canonical map $g: A \to B$ (which is induced from the bijection of $Hom((U,O_X|_U),(X,O_X))$ and $Hom(A,B)$).
Claim: this map $g:A\to B$ induces a isomorphism $A_f\to B_f$ via localization
Finally, I have commutative diagram: $$\begin{array} MM\otimes_A B & {\longrightarrow} & F(U) \\ \downarrow & & \downarrow \\ M\otimes_A B\otimes_B B_f \simeq M\otimes_A B_f &\stackrel{σ_f} {\longrightarrow} & M\otimes_A A_f \end{array} $$ where by above isomorphism of $A_f\to B_f$, we have $σ_f$ is isomorphism, thus we get $\widetilde \sigma$ is an isomorphism locally on $U$, then we get it is an isomorphism on $U$ as well, and thus we prove the theorem. As for claim,I think it is isomorphism, since $O_X(D(f))=A_f$,and $O_X$ restrict to $U$ and consider $D(f)$,it is equal to $B_f$,so we get it is isomorphism.
Does this seem fine?