bding 5 hónapja
szülő
commit
b4e3a25e88

+ 5 - 1
src/views/contract_manage/components/tableColums.js

@@ -90,7 +90,11 @@ export const tableColums = (type) => {
           key: "SellerName",
           widthsty: 100,
         },
-        
+        {
+          label: "推荐人",
+          key: "InviteName",
+          widthsty: 100,
+        },
         {
           label: "金额",
           key: "OrderMoney",

+ 11 - 2
src/views/contract_manage/paymentRecords.vue

@@ -32,6 +32,9 @@
 
         <el-select v-if="tabs_index != 1" @change="handleSelectChange" style="margin-right: 20px; width: 220px" v-model="payInfo" placeholder="付款项目" clearable>
           <el-option v-for="item in paymentProjectList" :key="item" :label="item" :value="item"> </el-option>
+        </el-select>
+         <el-select v-if="tabs_index == 1" @change="handleSelectChange" style="margin-right: 20px; width: 220px" v-model="vipType" placeholder="会员类型" clearable>
+          <el-option v-for="item in vipTypeList" :key="item.key" :label="item.lable" :value="item.key"> </el-option>
         </el-select>
         <el-select @change="handleSelectChange" style="margin-right: 20px; width: 220px" v-model="paymentType" placeholder="支付渠道" clearable>
           <el-option v-for="item in paymentTypeList" :key="item.key" :label="item.lable" :value="item.key"> </el-option>
@@ -108,7 +111,7 @@ export default {
         { lable: "已取消", key: 0 },
         { lable: "待支付", key: 1 },
         { lable: "已支付", key: 2 },
-        { lable: "退款", key: 3 },
+        { lable: "转入退款", key: 3 },
       ],
       paymentType: "",
       paymentTypeList: [
@@ -141,6 +144,12 @@ export default {
       dialogVisible: false, // 退款的弹框
       refundTextarea: "", // 退款原因
       orderRefundCode: "",
+      vipType:'',
+      vipTypeList:[
+        { lable: "小程序", key: 1 },
+        { lable: "PC", key: 2 },
+        { lable: "H5", key: 3 },
+      ],
     };
   },
   computed: {},
@@ -246,7 +255,7 @@ export default {
     // 文本是否需要处理
     handleRowContent(row, key) {
       if (key == "StartDate") return `${row["StartDate"]} ~ ${row["EndDate"]}`;
-      if (key == "OrderStatus") return row[key] == 0 ? "已取消" : row[key] == 1 ? "待支付" : row[key] == 2 ? "已支付" : row[key] == 3 ? "退款" : "";
+      if (key == "OrderStatus") return row[key] == 0 ? "已取消" : row[key] == 1 ? "待支付" : row[key] == 2 ? "已支付" : row[key] == 3 ? "转入退款" : "";
       return row[key];
     },
     // 点击了退款按钮

+ 1 - 1
src/views/contract_manage/refundRecord.vue

@@ -75,7 +75,7 @@
       <m-page :page_no="page_no" :pageSize="page_size" :total="total" style="margin: 20px 0" @handleCurrentChange="pageChange" />
     </el-card>
 
-    <el-dialog center v-dialogDrag title="退款" :visible.sync="dialogVisible" append-to-body width="30%" :before-close="handleClose">
+    <el-dialog center v-dialogDrag title="退款原因" :visible.sync="dialogVisible" append-to-body width="30%" :before-close="handleClose">
       <div style="margin-bottom: 30px">
         {{ refundTextarea }}
       </div>