mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-12 14:00:12 +08:00
查询开票页面新增运营商查询条件
This commit is contained in:
@@ -1,6 +1,18 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
|
||||||
|
|
||||||
|
<el-form-item label="所属运营商" prop="merchantId" label-width="120">
|
||||||
|
<el-select v-model="queryParams.merchantId" filterable clearable placeholder="请选择运营商">
|
||||||
|
<el-option
|
||||||
|
v-for="item in merchantList"
|
||||||
|
:key="item.merchantName"
|
||||||
|
:label="item.merchantName"
|
||||||
|
:value="item.id"
|
||||||
|
/>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="会员id" prop="memberId">
|
<el-form-item label="会员id" prop="memberId">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="queryParams.memberId"
|
v-model="queryParams.memberId"
|
||||||
@@ -144,6 +156,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { listInvoice, getInvoice, delInvoice, addInvoice, updateInvoice } from "@/api/order/invoice";
|
import { listInvoice, getInvoice, delInvoice, addInvoice, updateInvoice } from "@/api/order/invoice";
|
||||||
|
import {getMerchantList} from "@/api/pile/merchant";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Invoice",
|
name: "Invoice",
|
||||||
@@ -166,6 +179,8 @@ export default {
|
|||||||
total: 0,
|
total: 0,
|
||||||
// 申请开票表格数据
|
// 申请开票表格数据
|
||||||
invoiceList: [],
|
invoiceList: [],
|
||||||
|
// 运营商列表
|
||||||
|
merchantList: [],
|
||||||
// 弹出层标题
|
// 弹出层标题
|
||||||
title: "",
|
title: "",
|
||||||
// 是否显示弹出层
|
// 是否显示弹出层
|
||||||
@@ -175,6 +190,7 @@ export default {
|
|||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
memberId: null,
|
memberId: null,
|
||||||
|
merchantId: null,
|
||||||
orderCodes: null,
|
orderCodes: null,
|
||||||
status: null,
|
status: null,
|
||||||
totalAmount: null,
|
totalAmount: null,
|
||||||
@@ -191,6 +207,7 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getList();
|
this.getList();
|
||||||
|
this.getMerchantList();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
/** 查询申请开票列表 */
|
/** 查询申请开票列表 */
|
||||||
@@ -203,6 +220,12 @@ export default {
|
|||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
getMerchantList() {
|
||||||
|
getMerchantList().then((response) => {
|
||||||
|
this.merchantList = response.rows;
|
||||||
|
console.log("merchantList", this.merchantList)
|
||||||
|
});
|
||||||
|
},
|
||||||
// 取消按钮
|
// 取消按钮
|
||||||
cancel() {
|
cancel() {
|
||||||
this.open = false;
|
this.open = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user