|
@@ -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-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-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>
|
|
<el-select @change="handleSelectChange" style="margin-right: 20px; width: 220px" v-model="paymentType" placeholder="支付渠道" clearable>
|
|
<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>
|
|
<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: 0 },
|
|
{ lable: "待支付", key: 1 },
|
|
{ lable: "待支付", key: 1 },
|
|
{ lable: "已支付", key: 2 },
|
|
{ lable: "已支付", key: 2 },
|
|
- { lable: "已退款", key: 3 },
|
|
|
|
|
|
+ { lable: "转入退款", key: 3 },
|
|
],
|
|
],
|
|
paymentType: "",
|
|
paymentType: "",
|
|
paymentTypeList: [
|
|
paymentTypeList: [
|
|
@@ -141,6 +144,12 @@ export default {
|
|
dialogVisible: false, // 退款的弹框
|
|
dialogVisible: false, // 退款的弹框
|
|
refundTextarea: "", // 退款原因
|
|
refundTextarea: "", // 退款原因
|
|
orderRefundCode: "",
|
|
orderRefundCode: "",
|
|
|
|
+ vipType:'',
|
|
|
|
+ vipTypeList:[
|
|
|
|
+ { lable: "小程序", key: 1 },
|
|
|
|
+ { lable: "PC", key: 2 },
|
|
|
|
+ { lable: "H5", key: 3 },
|
|
|
|
+ ],
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {},
|
|
computed: {},
|
|
@@ -246,7 +255,7 @@ export default {
|
|
// 文本是否需要处理
|
|
// 文本是否需要处理
|
|
handleRowContent(row, key) {
|
|
handleRowContent(row, key) {
|
|
if (key == "StartDate") return `${row["StartDate"]} ~ ${row["EndDate"]}`;
|
|
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];
|
|
return row[key];
|
|
},
|
|
},
|
|
// 点击了退款按钮
|
|
// 点击了退款按钮
|