Browse Source

1. 优化

MONSTER-ygh 1 year ago
parent
commit
e5786b7aa5

+ 2 - 2
src/views/distribution/detailMr/index.vue

@@ -157,8 +157,8 @@ export default {
         5: '支付宝',
       },
       incomeExpensesList: [
-        {id: 1, name: '收入', value: '收入'},
-        {id: 2, name: '支出', value: '支出'},
+        {id: 1, name: '收入', value: 1},
+        {id: 2, name: '支出', value: 2},
       ],
       businessTypeList: [
         {id: 1, name: '佣金收益', value: '佣金收益'},

+ 3 - 3
src/views/distribution/ticketMr/index.vue

@@ -37,17 +37,17 @@
       <el-table-column label="座位类型" align="center" prop="seatTypeName" />
       <el-table-column label="销售价" align="center" prop="brokerageTotal">
         <template slot-scope="scope">
-          <span v-if="scope.row.originalSalePrice">¥{{ scope.row.originalSalePrice }}</span>
+          <span v-if="scope.row.originalSalePrice || scope.row.originalSalePrice==0">¥{{ scope.row.originalSalePrice }}</span>
         </template>
       </el-table-column>
       <el-table-column label="分销价" align="center" prop="withdrawTotal">
         <template slot-scope="scope">
-          <span v-if="scope.row.salePrice">¥{{ scope.row.salePrice }}</span>
+          <span v-if="scope.row.salePrice || scope.row.salePrice==0">¥{{ scope.row.salePrice }}</span>
         </template>
       </el-table-column>
       <el-table-column label="佣金" align="center" prop="withdrawTotal">
         <template slot-scope="scope">
-          <span v-if="scope.row.brokeragePrice">¥{{ scope.row.brokeragePrice }}</span>
+          <span v-if="scope.row.brokeragePrice || scope.row.brokeragePrice==0">¥{{ scope.row.brokeragePrice }}</span>
         </template>
       </el-table-column>
       <el-table-column label="状态" align="center">

+ 4 - 6
src/views/system/selfServeAdvertis/index.vue

@@ -30,13 +30,13 @@
           <span>{{ scope.row.type == 1 ? '图文' : scope.row.type == 2 ? '视频' : '链接' }}</span>
         </template>
       </el-table-column>
-      <el-table-column label="状态" align="center">
+      <!-- <el-table-column label="状态" align="center">
         <template slot-scope="scope">
           <el-tag type="success" v-if="scope.row.onlineStatus == '1'">己上线</el-tag>
           <el-tag type="danger" v-else-if="scope.row.onlineStatus == '0'">未上线</el-tag>
           <el-tag type="info" v-else>未发布</el-tag>
         </template>
-      </el-table-column>
+      </el-table-column> -->
       <el-table-column label="创建时间" align="center" prop="createTime" width="160">
         <template slot-scope="scope">
           <span>{{ parseTime(scope.row.createTime) }}</span>
@@ -44,12 +44,12 @@
       </el-table-column>
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
         <template slot-scope="scope">
-          <el-button
+          <!-- <el-button
             size="mini"
             type="text"
             @click="ionlineApi(scope.row)"
             v-hasPermi="['system:selfServeAdvertis:release']"
-          >{{scope.row.onlineStatus == '1' ? '取消发布' : '发布'}}</el-button>
+          >{{scope.row.onlineStatus == '1' ? '取消发布' : '发布'}}</el-button> -->
           <el-button
             size="mini"
             type="text"
@@ -59,14 +59,12 @@
           <el-button
             size="mini"
             type="text"
-            v-if="scope.row.onlineStatus != '1'"
             @click="handleUpdate(scope.row)"
             v-hasPermi="['system:selfServeAdvertis:edit']"
           >编辑</el-button>
           <el-button
             size="mini"
             type="text"
-            v-if="scope.row.onlineStatus != '1'"
             @click="handleDelete(scope.row,scope.index)"
             v-hasPermi="['system:selfServeAdvertis:delete']"
           >删除</el-button>