Accurately quantifying the contribution of irrigation to the yields of major upland grain crops at the regional scale and identifying its spatiotemporal heterogeneity and major influencing factors are essential for scientifically evaluating the production effects of irrigation and implementing differentiated water management. This study focused on wheat and maize in the Dujiangyan Irrigation District from 2022 to 2024. Crop distribution, soil, meteorological, topographic, Sentinel-2 NDVI time series, and observed yield data were integrated to construct homogeneous simulation units (HSUs) based on root-zone available water capacity (AWC), hydrothermal background, and phenological timing. Key WOFOST parameters were screened through sensitivity analysis and locally calibrated against observed yield data using a differential evolution algorithm. Sentinel-2 NDVI was further used to evaluate the consistency between simulated phenological timing and remote-sensing observations. Based on the locally calibrated WOFOST model, full-irrigation and rainfed scenarios were established to calculate the irrigation contribution rate (ICR), and an area-weighted multifactor general linear model was used to quantify the main effects of root-zone AWC, hydrothermal background, phenological timing, and year on ICR variation. The locally calibrated WOFOST model showed good performance in yield simulation, with R2 values of 0.84–0.93 and NRMSE values of 6.67–9.22% for independent validation, while the simulated phenological timing was generally consistent with remote-sensing observations. From 2022 to 2024, the ICRs for wheat were 24.57%, 31.94%, and 22.50%, respectively, whereas those for maize were 6.07%, 17.01%, and 12.45%, with wheat showing consistently higher ICR values than maize. Interannual variations in ICR generally corresponded to the degree of water stress under rainfed conditions and the recovery of transpiration under full irrigation, indicating that the yield benefits of irrigation were mainly governed by the actual degree of water limitation and the extent to which irrigation alleviated this limitation. ICR varied markedly among HSUs, and root-zone AWC, hydrothermal background, and phenological timing all showed significant main effects, with root-zone AWC exhibiting the strongest statistical effect. Comparison of full-irrigation and rainfed scenarios based on HSUs and the locally calibrated WOFOST model effectively characterized regional irrigation-induced yield gains and their spatial heterogeneity, providing a methodological basis for evaluating irrigation effects on major upland grain crops and supporting zoned water management in irrigation districts.