diff --git a/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue b/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue index f48888dec..de28da6ca 100644 --- a/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue +++ b/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue @@ -112,7 +112,10 @@ type="daterange" range-separator="至" start-placeholder="开始日期" - end-placeholder="结束日期"> + end-placeholder="结束日期" + format="yyyy-MM-dd" + value-format="yyyy-MM-dd" + > 搜索 diff --git a/fuintAdmin/src/views/financialStatement/reconciliation/tab/trading.vue b/fuintAdmin/src/views/financialStatement/reconciliation/tab/trading.vue index 811a8c338..eac034f4f 100644 --- a/fuintAdmin/src/views/financialStatement/reconciliation/tab/trading.vue +++ b/fuintAdmin/src/views/financialStatement/reconciliation/tab/trading.vue @@ -8,18 +8,19 @@ + @@ -65,6 +66,8 @@ + + @@ -88,32 +91,38 @@ /> - - + + - - + + + placeholder="交易开始日期" + format="yyyy-MM-dd" + value-format="yyyy-MM-dd" + > + placeholder="交易结束日期" + format="yyyy-MM-dd" + value-format="yyyy-MM-dd" + > @@ -355,6 +364,8 @@ export default { deptType: "3", storeId: "", deptId: "", + userName:"", + staffId:"", }, orderStatistics: { CASH: "0", @@ -419,6 +430,7 @@ export default { // 获取数据列表 async getList(val) { + console.log(111111) let dateRange = [] if (this.beginTime && this.endTime) { dateRange.push(this.beginTime.toLocaleDateString()) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/entity/AllOrderInfo.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/entity/AllOrderInfo.java index a75077ae3..5bbe681a1 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/entity/AllOrderInfo.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/entity/AllOrderInfo.java @@ -124,5 +124,8 @@ public class AllOrderInfo extends BaseEntity implements Serializable { private Long deptId; @TableField(exist = false) private List storeIds; + + @TableField(exist = false) + private String userName; } diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/AllOrderInfoMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/AllOrderInfoMapper.xml index 37d6227db..1df95d489 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/AllOrderInfoMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/AllOrderInfoMapper.xml @@ -876,8 +876,8 @@ and ai.store_id = #{obj.storeId} - - and ai.store_id = #{obj.storeId} + + and ai.payment_channel = #{obj.paymentChannel} and ai.order_no like concat('%', #{obj.orderNo}, '%') @@ -891,6 +891,15 @@ and ai.pay_channel = #{obj.payChannel} + + and mu.name like concat('%', #{obj.userName}, '%') + + + and ai.status = #{obj.status} + + + and ai.create_by = #{obj.staffId} + ORDER BY ai.create_time DESC