xgb 1 неделя назад
Родитель
Сommit
3f6367a6da
1 измененных файлов с 12 добавлено и 0 удалено
  1. 12 0
      src/views/hisStore/storePayment/index.vue

+ 12 - 0
src/views/hisStore/storePayment/index.vue

@@ -134,6 +134,11 @@
                   <el-tag prop="status" v-for="(item, index) in statusOptions"    v-if="scope.row.status==item.dictValue">{{item.dictLabel}}</el-tag>
               </template>
           </el-table-column>
+          <el-table-column label="是否分账" align="center" prop="isPayDiv" >
+            <template slot-scope="scope">
+              <el-tag prop="status" v-for="(item, index) in isPayDivOptions"    v-if="scope.row.isPayDiv==item.dictValue">{{item.dictLabel}}</el-tag>
+            </template>
+          </el-table-column>
           <el-table-column label="提交时间" align="center" prop="createTime" width="180">
           </el-table-column>
           <el-table-column label="支付时间" align="center" prop="payTime" width="180">
@@ -210,6 +215,7 @@ export default {
       },
 
       statusOptions:[],
+      isPayDivOptions:[],
       // 遮罩层
       loading: true,
       // 选中数组
@@ -263,6 +269,12 @@ export default {
     this.getDicts("store_payment_status").then((response) => {
       this.statusOptions = response.data;
     });
+
+    this.getDicts("is_pay_div").then((response) => {
+      this.isPayDivOptions = response.data;
+    });
+
+
     this.getList();
   },
   methods: {