yaozc
2023-02-01 2df1bb92048fb46cc0c0bb5bf6cd0fc7a19389b7
v-permission 在 el-table-column 中无效
1 files modified
4 ■■■■■ changed files
eladmin-web-master/src/views/project/project/index.vue 4 ●●●●● patch | view | raw | blame | history
eladmin-web-master/src/views/project/project/index.vue
@@ -200,13 +200,13 @@
          </template>
        </el-table-column>
        <el-table-column :show-overflow-tooltip="true" prop="requirement" label="需求说明" width="140" />
        <el-table-column v-permission="permission.master" :show-overflow-tooltip="true" prop="contractPrice" label="合同总金额" width="100">
        <el-table-column v-if="checkPer([permission.master])" :show-overflow-tooltip="true" prop="contractPrice" label="合同总金额" width="100">
          <template slot-scope="scope">
            {{ scope.row.contractPrice != null && scope.row.contractPrice != '' ? crud.toMoney(scope.row.contractPrice) : '' }}
          </template>
        </el-table-column>
        <el-table-column :show-overflow-tooltip="true" prop="totalTaskTime" label="任务总工时" width="100" />
        <el-table-column v-permission="permission.master" label="报价">
        <el-table-column v-if="checkPer([permission.master])" label="报价">
          <el-table-column :show-overflow-tooltip="true" prop="quotationPrice" label="单金" width="100">
            <template slot-scope="scope">
              {{ crud.toMoney(scope.row.quotationPrice) }}