Lijy преди 4 месеца
родител
ревизия
ac585c7f76
променени са 1 файла, в които са добавени 3 реда и са изтрити 5 реда
  1. 3 5
      fhKeeper/formulahousekeeper/timesheet/src/views/expense/expense.vue

+ 3 - 5
fhKeeper/formulahousekeeper/timesheet/src/views/expense/expense.vue

@@ -439,12 +439,10 @@
               v-if="this.user.timeType.easyExpense == 0 && user.companyId != 4811"></el-table-column>
             <el-table-column prop="type" :label="$t('ppertype')" v-if="this.user.timeType.easyExpense == 0">
               <template slot-scope="scope">
-                <template slot-scope="scope">
-                  <template v-if="user.companyId == 4811 && scope.row.status == 4">
-                    <span style="color: red">{{ scope.row.expenseMainTypeName }}</span>
-                  </template>
-                  <template v-else>{{ scope.row.expenseMainTypeName }}</template>
+                <template v-if="user.companyId == 4811 && scope.row.status == 4">
+                  <span style="color: red">{{ scope.row.expenseMainTypeName }}</span>
                 </template>
+                <template v-else>{{ scope.row.expenseMainTypeName }}</template>
               </template>
             </el-table-column>
             <el-table-column prop="equipmentOwnerName" label="设备归属人" v-if="user.companyId == 4811" width="150">