Commit 792f5596 by zhangxw

UI走查修改

1 parent 751fba1e
......@@ -169,6 +169,7 @@ page {
height: 72rpx;
line-height: 72rpx;
width: 100%;
font-weight: 700;
}
}
}
......
......@@ -109,7 +109,7 @@
<view>手动维护最终绩效金额</view>
<image src="{{IMG_URL}}caption-icon.png" class="help-icon" bindtap="handleHelpPopup" mode=""/>
<view class="input-box flex">
<input class='input' placeholder="请输入" value="{{item.manualFinalPerformanceAmount}}" data-index="{{index}}" placeholder-style="color: #999EA8;" bindinput="priceInput" type="digit"/>
<input class='input' placeholder="请输入" value="{{item.manualFinalPerformanceAmount}}" data-index="{{index}}" placeholder-style="color: #999EA8;font-weight: 400;" bindinput="priceInput" type="digit"/>
<view>元</view>
</view>
</view>
......
......@@ -12,6 +12,7 @@
margin-right: 24rpx;
color: #222222;
font-weight: 500;
font-size: 28rpx;
}
.coeff {
margin-left: 12rpx;
......
......@@ -199,7 +199,7 @@ Page({
levelList,
isT1DateRange
} = this.data
if (isT1DateRange || info.submitCount >= 2) return
if (isT1DateRange || info.submitCount >= 2 || !((info.totalGrossSalary ?? '') === '')) return
this.setData({
showSelectPopup: true,
selectOptions: levelList,
......@@ -284,7 +284,7 @@ Page({
changeRadio(e) {
let { value } = e.currentTarget.dataset
let { isT1DateRange, info } = this.data
if (isT1DateRange || info.submitCount >= 2) return
if (isT1DateRange || info.submitCount >= 2 || !((info.totalGrossSalary ?? '') === '')) return
this.setData({
'info.adoptType': value
})
......
......@@ -190,6 +190,7 @@ page {
height: 72rpx;
line-height: 72rpx;
width: 100%;
font-weight: 700;
}
}
}
......
......@@ -45,14 +45,14 @@
<view class="radio-box" style="padding-bottom: {{info.adoptType == 2 ? '16rpx' : ''}}">
<view class="radio-item flex" bindtap="changeRadio" data-value="1" wx:if="{{info.isAutoPerformance == 1}}">
<image wx:if="{{info.adoptType == 1}}" src="{{IMG_URL}}{{isT1DateRange || info.submitCount >= 2 ? 'radio-disabled' : 'radio-checked'}}.png" mode=""/>
<view wx:else class="radio {{isT1DateRange || info.submitCount >= 2 ? 'disabled' : ''}}"></view>
<view wx:else class="radio {{isT1DateRange || info.submitCount >= 2 || info.totalGrossSalary != null ? 'disabled' : ''}}"></view>
<view class="label">系统自动设置</view>
<view style="margin-left: 8rpx;" wx:if="{{info.adoptType == 1 && info.autoGradeCode == 'D'}}"><level-rate info="{{autoInfo}}" hideStar="{{true}}" /></view>
</view>
<view wx:if="{{info.adoptType == 1 && info.autoGradeCode != 'D'}}"><level-rate info="{{autoInfo}}" /></view>
<view class="radio-item flex" bindtap="changeRadio" data-value="2">
<image wx:if="{{info.adoptType == 2}}" src="{{IMG_URL}}{{isT1DateRange || info.submitCount >= 2 ? 'radio-disabled' : 'radio-checked'}}.png" mode=""/>
<view wx:else class="radio {{isT1DateRange || info.submitCount >= 2 ? 'disabled' : ''}}"></view>
<view wx:else class="radio {{isT1DateRange || info.submitCount >= 2 || info.totalGrossSalary != null ? 'disabled' : ''}}"></view>
<view class="label">手动自动设置</view>
</view>
<block wx:if="{{info.adoptType == 2}}">
......@@ -61,7 +61,7 @@
<view class="dot"></view>
<view>手动评分</view>
</view>
<view class="select flex just-space {{info.manualGradeCode ? '' : 'gary'}} {{isT1DateRange || info.submitCount >= 2 ? 'disabled' : ''}}" bindtap="selectLevelCode">
<view class="select flex just-space {{info.manualGradeCode ? '' : 'gary'}} {{isT1DateRange || info.submitCount >= 2 || info.totalGrossSalary != null ? 'disabled' : ''}}" bindtap="selectLevelCode">
{{info.manualGradeCode || '请选择等级'}}
<image src="{{IMG_URL}}expand_icon.png" mode=""/>
</view>
......@@ -79,7 +79,7 @@
<view>手动维护最终绩效金额</view>
<image src="{{IMG_URL}}caption-icon.png" class="help-icon" bindtap="handleHelpPopup" mode=""/>
<view class="input-box flex {{isT1DateRange || info.submitCount >= 2 ? 'disabled' : ''}}">
<input class="input" disabled="{{isT1DateRange || info.submitCount >= 2}}" placeholder="请输入" value="{{info.manualFinalPerformanceAmount}}" placeholder-style="color: #999EA8;" bindinput="priceInput" type="digit"/>
<input class="input" disabled="{{isT1DateRange || info.submitCount >= 2 || info.totalGrossSalary != null}}" placeholder="请输入" value="{{info.manualFinalPerformanceAmount}}" placeholder-style="color: #999EA8;font-weight: 400;" bindinput="priceInput" type="digit"/>
<view>元</view>
</view>
</view>
......@@ -122,7 +122,7 @@
</block>
</view>
<view class="btn-box">
<view class="btn confirm {{isT1DateRange || info.submitCount >= 2 ? 'btn-disabled' : ''}}" bindtap="handleConfirm">提交</view>
<view class="btn confirm {{isT1DateRange || info.submitCount >= 2 || info.totalGrossSalary != null ? 'btn-disabled' : ''}}" bindtap="handleConfirm">提交</view>
<view class="btn" bindtap="handleLast" wx:if="{{showLastBtn}}">上一位</view>
<view class="btn" bindtap="handleNext" wx:if="{{showNextBtn}}">下一位</view>
</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!