Lijy 8 месяцев назад
Родитель
Сommit
bfbcb83e8d

+ 4 - 2
fhKeeper/formulahousekeeper/timesheet/src/views/workReport/newWeeklyCustomization.vue

@@ -17,10 +17,12 @@
                     <el-table-column :label="$t('other.project')" width="220">
                         <template slot-scope="scope">
                             <el-select v-model="scope.row.projectId" size="small" :placeholder="$t('defaultText.pleaseSelectSnItem')" clearable
-                                @change="changeProject(scope.row.projectId, scope.$index)"
+                                @change="changeProject(scope.row.projectId, scope.$index)" filterable
                                 :disabled="scope.row.state == 1 || scope.row.state == 0 || !scope.row.canFill">
-                                <el-option v-for="item in projectList" :key="item.id" :label="item.projectName"
+                                <el-option v-for="item in projectList" :key="item.id" :label="item.projectName + '\u3000' + item.projectCode"
                                     :value="item.id">
+                                    <span style="float: left; color: #8492a6; font-size: 13px;">{{ item.projectCode }}</span>
+                                    <span style="float: right;padding-left: 10px">{{ item.projectName }}</span>
                                 </el-option>
                             </el-select>
                         </template>