|
@@ -55,7 +55,7 @@
|
|
|
<el-option
|
|
|
v-for="item in dictStroe.allUsers"
|
|
|
:key="item.id"
|
|
|
- :label="item.userName"
|
|
|
+ :label="item.nickName"
|
|
|
:value="item.userName"
|
|
|
/>
|
|
|
</el-select>
|
|
@@ -105,7 +105,7 @@
|
|
|
style="display: flex; margin-bottom: 10px"
|
|
|
v-if="processStore.scanInfo.outTime == true"
|
|
|
>
|
|
|
- <div style="margin-top:3px;font-size:18px;">超期原因: </div>
|
|
|
+ <div style="margin-top: 3px; font-size: 18px">超期原因: </div>
|
|
|
|
|
|
<el-select
|
|
|
v-model="outTimeReason"
|
|
@@ -196,8 +196,8 @@ const confirmClick = () => {
|
|
|
persons.value.forEach((item) => {
|
|
|
total += item.workingHoursRate ?? 0;
|
|
|
});
|
|
|
- if (total > 100) {
|
|
|
- ElMessage.error("总占比不能超过100%");
|
|
|
+ if (total != 100) {
|
|
|
+ ElMessage.error("报工总和必须是100%");
|
|
|
return;
|
|
|
}
|
|
|
|