Преглед на файлове

提工时成功统计bug

Lijy преди 7 месеца
родител
ревизия
1663b587bb
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 5 1
      fhKeeper/formulahousekeeper/timesheet/src/components/selectPersonnel.vue

+ 5 - 1
fhKeeper/formulahousekeeper/timesheet/src/components/selectPersonnel.vue

@@ -1,7 +1,7 @@
 <template>
   <el-select v-model="selectPersonnelValue" filterable @visible-change="toggleSelectPrefix" remote
     :remote-method="userListRemotemethod" :multiple="multiple" @focus="userFocus" :size="size" collapse-tags
-    @change="updateValue" clearable :ref="`select${timeRef}`" :style="`width: ${width}`" class="custom-select">
+    @change="updateValue" clearable :ref="`select${timeRef}`" :style="`width: ${width}`" :class="`custom-select ${user.userNameNeedTranslate == 1 && selectPrefixFlg ? 'setUpInput' : ''}`">
     <template #prefix>
       <div style="height: 100%;display: flex;align-items: center;">
         <!-- 单选 -->
@@ -78,6 +78,7 @@ export default {
   },
   data() {
     return {
+      user: JSON.parse(sessionStorage.getItem("user")),
       options: [],
       selectPersonnelValue: this.value,
       selectPrefixFlg: true,
@@ -317,6 +318,9 @@ export default {
 .custom-select input::placeholder {
   color: transparent !important;
 }
+.setUpInput input {
+    color: #fff !important;
+}
 </style>
 
 <style scoped lang="scss">