Ver código fonte

政策详情增加返利钱包

howie 3 anos atrás
pai
commit
08ce37a2aa
1 arquivos alterados com 20 adições e 6 exclusões
  1. 20 6
      src/views/sales_policy/components/Examine.vue

+ 20 - 6
src/views/sales_policy/components/Examine.vue

@@ -211,12 +211,26 @@
             <el-table-column prop="price" label="单价" align="center" />
             <el-table-column label="支付钱包" align="center">
               <template slot-scope="scope">
-                <el-tag
-                  v-for="item in scope.row.walletRelaList"
-                  style="margin: 5px"
-                  type="success"
-                  size="small"
-                >{{ item.walletName }}</el-tag>
+                <template  v-for="item in scope.row.walletRelaList">
+                  <el-tag
+                    v-if="item.type==='REBATE'"
+                    style="margin: 5px"
+                    type="success"
+                    size="small"
+                  >{{ item.walletName }}</el-tag>
+                </template>
+              </template>
+            </el-table-column>
+            <el-table-column label="支付钱包" align="center">
+              <template slot-scope="scope">
+                <template  v-for="item in scope.row.walletRelaList">
+                  <el-tag
+                   v-if="item.type==='COMMONLY'"
+                    style="margin: 5px"
+                    type="success"
+                    size="small"
+                  >{{ item.walletName }}</el-tag>
+                </template>
               </template>
             </el-table-column>
             <!-- <el-table-column