1
This commit is contained in:
parent
2246eca9ee
commit
9662e2951c
@ -112,7 +112,10 @@
|
|||||||
type="daterange"
|
type="daterange"
|
||||||
range-separator="至"
|
range-separator="至"
|
||||||
start-placeholder="开始日期"
|
start-placeholder="开始日期"
|
||||||
end-placeholder="结束日期">
|
end-placeholder="结束日期"
|
||||||
|
format="yyyy-MM-dd"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
>
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</div>
|
</div>
|
||||||
<el-button type="primary" icon="el-icon-search" @click="RecordList()" >搜索</el-button>
|
<el-button type="primary" icon="el-icon-search" @click="RecordList()" >搜索</el-button>
|
||||||
|
@ -8,18 +8,19 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="" prop="payChannel">
|
<el-form-item label="" prop="payChannel">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="queryParams.type"
|
v-model="queryParams.payChannel"
|
||||||
clearable
|
clearable
|
||||||
placeholder="请选择订单类型啊"
|
placeholder="请选择订单类型啊"
|
||||||
>
|
>
|
||||||
<el-option label="小程序" value="applet"/>
|
<el-option label="小程序" value="applet"/>
|
||||||
<el-option label="收银台" value="cashier"/>
|
<el-option label="收银台" value="cashier"/>
|
||||||
<el-option label="POS端" value="POS"/>
|
<el-option label="POS端" value="POS"/>
|
||||||
|
<el-option label="PC端" value="PC"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="" prop="payChannel">
|
<el-form-item label="" prop="payChannel">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="queryParams.payChannel"
|
v-model="queryParams.type"
|
||||||
clearable
|
clearable
|
||||||
placeholder="请选择订单分类"
|
placeholder="请选择订单分类"
|
||||||
>
|
>
|
||||||
@ -65,6 +66,8 @@
|
|||||||
<el-option label="已支付" value="paid"/>
|
<el-option label="已支付" value="paid"/>
|
||||||
<el-option label="未支付" value="unpaid"/>
|
<el-option label="未支付" value="unpaid"/>
|
||||||
<el-option label="已退款" value="refund"/>
|
<el-option label="已退款" value="refund"/>
|
||||||
|
<el-option label="支付失败" value="payFail"/>
|
||||||
|
<el-option label="退款中" value="refunding"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- <el-form-item label="" prop="payType">-->
|
<!-- <el-form-item label="" prop="payType">-->
|
||||||
@ -88,32 +91,38 @@
|
|||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="" prop="paymentChannel">
|
<el-form-item label="" prop="staffId">
|
||||||
<el-select v-model="queryParams.status" placeholder="请选择员工" clearable>
|
<el-select v-model="queryParams.staffId" placeholder="请选择员工" clearable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="dicts in this.staffList"
|
v-for="dicts in this.staffList"
|
||||||
:key="dicts.userId"
|
:key="dicts.id"
|
||||||
:label="dicts.realName"
|
:label="dicts.realName"
|
||||||
:value="dicts.userId"
|
:value="dicts.id"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="" prop="status">
|
<el-form-item label="" prop="userName">
|
||||||
<el-input v-model="queryParams.userId" placeholder="请输入付款用户"></el-input>
|
<el-input v-model="queryParams.userName" placeholder="请输入付款用户"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="">
|
<el-form-item label="">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="beginTime"
|
v-model="beginTime"
|
||||||
style="width: 140px"
|
style="width: 140px"
|
||||||
type="date"
|
type="date"
|
||||||
placeholder="交易开始日期">
|
placeholder="交易开始日期"
|
||||||
|
format="yyyy-MM-dd"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
>
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
至
|
至
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="endTime"
|
v-model="endTime"
|
||||||
style="width: 140px"
|
style="width: 140px"
|
||||||
type="date"
|
type="date"
|
||||||
placeholder="交易结束日期">
|
placeholder="交易结束日期"
|
||||||
|
format="yyyy-MM-dd"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
>
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item style="float: right; margin-right: 0px ">
|
<el-form-item style="float: right; margin-right: 0px ">
|
||||||
@ -355,6 +364,8 @@ export default {
|
|||||||
deptType: "3",
|
deptType: "3",
|
||||||
storeId: "",
|
storeId: "",
|
||||||
deptId: "",
|
deptId: "",
|
||||||
|
userName:"",
|
||||||
|
staffId:"",
|
||||||
},
|
},
|
||||||
orderStatistics: {
|
orderStatistics: {
|
||||||
CASH: "0",
|
CASH: "0",
|
||||||
@ -419,6 +430,7 @@ export default {
|
|||||||
|
|
||||||
// 获取数据列表
|
// 获取数据列表
|
||||||
async getList(val) {
|
async getList(val) {
|
||||||
|
console.log(111111)
|
||||||
let dateRange = []
|
let dateRange = []
|
||||||
if (this.beginTime && this.endTime) {
|
if (this.beginTime && this.endTime) {
|
||||||
dateRange.push(this.beginTime.toLocaleDateString())
|
dateRange.push(this.beginTime.toLocaleDateString())
|
||||||
|
@ -124,5 +124,8 @@ public class AllOrderInfo extends BaseEntity implements Serializable {
|
|||||||
private Long deptId;
|
private Long deptId;
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private List<Long> storeIds;
|
private List<Long> storeIds;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private String userName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -876,8 +876,8 @@
|
|||||||
<if test="obj.storeId != null and obj.storeId != ''">
|
<if test="obj.storeId != null and obj.storeId != ''">
|
||||||
and ai.store_id = #{obj.storeId}
|
and ai.store_id = #{obj.storeId}
|
||||||
</if>
|
</if>
|
||||||
<if test="obj.storeId != null and obj.storeId != ''">
|
<if test="obj.paymentChannel != null and obj.paymentChannel != ''">
|
||||||
and ai.store_id = #{obj.storeId}
|
and ai.payment_channel = #{obj.paymentChannel}
|
||||||
</if>
|
</if>
|
||||||
<if test="obj.orderNo != null and obj.orderNo != ''">
|
<if test="obj.orderNo != null and obj.orderNo != ''">
|
||||||
and ai.order_no like concat('%', #{obj.orderNo}, '%')
|
and ai.order_no like concat('%', #{obj.orderNo}, '%')
|
||||||
@ -891,6 +891,15 @@
|
|||||||
<if test="obj.payChannel != null and obj.payChannel != ''">
|
<if test="obj.payChannel != null and obj.payChannel != ''">
|
||||||
and ai.pay_channel = #{obj.payChannel}
|
and ai.pay_channel = #{obj.payChannel}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="obj.userName != null and obj.userName != ''">
|
||||||
|
and mu.name like concat('%', #{obj.userName}, '%')
|
||||||
|
</if>
|
||||||
|
<if test="obj.status != null and obj.status != ''">
|
||||||
|
and ai.status = #{obj.status}
|
||||||
|
</if>
|
||||||
|
<if test="obj.staffId != null and obj.staffId != ''">
|
||||||
|
and ai.create_by = #{obj.staffId}
|
||||||
|
</if>
|
||||||
ORDER BY ai.create_time DESC
|
ORDER BY ai.create_time DESC
|
||||||
</select>
|
</select>
|
||||||
<select id="orderStatistics" resultType="java.util.Map">
|
<select id="orderStatistics" resultType="java.util.Map">
|
||||||
|
Loading…
Reference in New Issue
Block a user