Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
regional-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8084b019
authored
Feb 04, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
65e1251b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
7 deletions
packageWorkspace/pages/orderApprovalManage/components/approvalPopup/approvalPopup.wxml
packageWorkspace/pages/performanceRating/rateEdit/rateEdit.js
packageWorkspace/pages/performanceRating/rateEdit/rateEdit.wxml
packageWorkspace/pages/orderApprovalManage/components/approvalPopup/approvalPopup.wxml
View file @
8084b01
<!--packageWorkspace/pages/orderApprovalManage/components/approvalPopup/approvalPopup.wxml-->
<!--packageWorkspace/pages/orderApprovalManage/components/approvalPopup/approvalPopup.wxml-->
<popup show="{{show}}" title="{{infoData.title}}" height="6
5
%" bind:confirm="onConfirm" bind:cancel="onCancel" customPopupSlotStyle="overflow:auto;">
<popup show="{{show}}" title="{{infoData.title}}" height="6
8
%" bind:confirm="onConfirm" bind:cancel="onCancel" customPopupSlotStyle="overflow:auto;">
<view class="container">
<
scroll-
view class="container">
<view class="label">{{infoData.label}}<text class="requiredLabel" wx:if="{{infoData.type == 2}}">*</text></view>
<view class="label">{{infoData.label}}<text class="requiredLabel" wx:if="{{infoData.type == 2}}">*</text></view>
<view class="textarea-wrap">
<view class="textarea-wrap">
<textarea class="textarea-input" placeholder-style="color:#BEC1C7" placeholder="请输入" maxlength="200" value="{{remark}}" bindinput="textAreaInput" />
<textarea class="textarea-input" placeholder-style="color:#BEC1C7" placeholder="请输入" maxlength="200" value="{{remark}}" bindinput="textAreaInput" />
<view class="counter">{{contentLength}}/200</view>
<view class="counter">{{contentLength}}/200</view>
</view>
</view>
<view wx:if="{{infoData.type == 1}}" class="tips">审核通过后将自动流转至线上运营审核</view>
<view wx:if="{{infoData.type == 1}}" class="tips">审核通过后将自动流转至线上运营审核</view>
</view>
</
scroll-
view>
</popup>
</popup>
\ No newline at end of file
\ No newline at end of file
packageWorkspace/pages/performanceRating/rateEdit/rateEdit.js
View file @
8084b01
...
@@ -219,7 +219,7 @@ Page({
...
@@ -219,7 +219,7 @@ Page({
['info.manualRewardCoefficient']: obj.rewardCoefficient
['info.manualRewardCoefficient']: obj.rewardCoefficient
})
})
// 未输入手动维护绩效金额 根据评分等级系数计算绩效工资
// 未输入手动维护绩效金额 根据评分等级系数计算绩效工资
if (
!info.manualFinalPerformanceAmount
) {
if (
((info.manualFinalPerformanceAmount ?? '') === '')
) {
const performanceSalary = NP.round(NP.times(NP.times(info.afterAttendanceTotalBasicSalary, 0.3), obj.rewardCoefficient), 2)
const performanceSalary = NP.round(NP.times(NP.times(info.afterAttendanceTotalBasicSalary, 0.3), obj.rewardCoefficient), 2)
this.setData({
this.setData({
'info.performanceSalary': performanceSalary,
'info.performanceSalary': performanceSalary,
...
@@ -286,7 +286,8 @@ Page({
...
@@ -286,7 +286,8 @@ Page({
let { isT1DateRange, info } = this.data
let { isT1DateRange, info } = this.data
if (isT1DateRange || info.submitCount >= 2 || !((info.totalGrossSalary ?? '') === '')) return
if (isT1DateRange || info.submitCount >= 2 || !((info.totalGrossSalary ?? '') === '')) return
this.setData({
this.setData({
'info.adoptType': value
'info.adoptType': value,
'info.manualFinalPerformanceAmount': ''
})
})
if (value == 1) {
if (value == 1) {
const computedValue = NP.round(NP.times(NP.times(info.afterAttendanceTotalBasicSalary, 0.3), info.autoRewardCoefficient), 2)
const computedValue = NP.round(NP.times(NP.times(info.afterAttendanceTotalBasicSalary, 0.3), info.autoRewardCoefficient), 2)
...
@@ -294,7 +295,15 @@ Page({
...
@@ -294,7 +295,15 @@ Page({
'info.performanceSalary': computedValue,
'info.performanceSalary': computedValue,
'info.basicSalary': NP.plus(computedValue, info.baseSalary)
'info.basicSalary': NP.plus(computedValue, info.baseSalary)
})
})
}
} else {
if (info.manualGradeCode) {
const performanceSalary = NP.round(NP.times(NP.times(info.afterAttendanceTotalBasicSalary, 0.3), info.manualRewardCoefficient), 2)
this.setData({
'info.performanceSalary': performanceSalary,
'info.basicSalary': NP.plus(performanceSalary, info.baseSalary)
})
}
}
},
},
// 提交
// 提交
...
...
packageWorkspace/pages/performanceRating/rateEdit/rateEdit.wxml
View file @
8084b01
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
<view class="input-content flex">
<view class="input-content flex">
<view>手动维护最终绩效金额</view>
<view>手动维护最终绩效金额</view>
<image src="{{IMG_URL}}caption-icon.png" class="help-icon" bindtap="handleHelpPopup" mode=""/>
<image src="{{IMG_URL}}caption-icon.png" class="help-icon" bindtap="handleHelpPopup" mode=""/>
<view class="input-box flex {{isT1DateRange || info.submitCount >= 2 ? 'disabled' : ''}}">
<view class="input-box flex {{isT1DateRange || info.submitCount >= 2
|| info.totalGrossSalary != null
? 'disabled' : ''}}">
<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"/>
<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>
</view>
</view>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment