Quellcode durchsuchen

修复了成果详情弹窗渲染时议价方式为定价转让价格不显示的bug

yee vor 7 Jahren
Ursprung
Commit
24dd50ab5a

+ 1 - 1
js/component/account/achievement/techAchievementDesc.jsx

@@ -651,7 +651,7 @@ const AchievementDetailForm = Form.create()(React.createClass({
                 this.setState({
                     data: thisData,
                     orgDisplay: thisData.ownerType,
-                    transferPriceDis: thisData.transferMode == 1 ? true : false,
+                    transferPriceDis: thisData.bargainingMode == 1 ? true : false,
                     tags: thisData.keyword ? thisData.keyword.split(",") : [],
                     technicalPictureUrl: thisData.technicalPictureUrl ? splitUrl(thisData.technicalPictureUrl, ',', globalConfig.avatarHost + '/upload') : [],
                     maturityPictureUrl: thisData.maturityPictureUrl ? splitUrl(thisData.maturityPictureUrl, ',', globalConfig.avatarHost + '/upload') : []

+ 1 - 1
js/component/manageCenter/achievement/techAchievementDesc.jsx

@@ -834,7 +834,7 @@ const AchievementDetailForm = Form.create()(React.createClass({
                     orgDisplay: thisData.ownerType,
                     switchValue: Boolean(!thisData.ownerId),
                     radios: thisData.hot == '1' ? true : false,
-                    transferPriceDis: thisData.transferMode == 1 ? true : false,
+                    transferPriceDis: thisData.bargainingMode == 1 ? true : false,
                     tags: thisData.keyword ? (thisData.keyword.replace(/(,|、)/g, ",")).split(',') : [],
                     technicalPictureUrl: thisData.technicalPictureUrl ? splitUrl(thisData.technicalPictureUrl, ',', globalConfig.avatarHost + '/upload') : [],
                     coverImg: thisData.coverImg ? splitUrl(thisData.coverImg, ',', globalConfig.avatarHost + '/upload') : [],