This commit is contained in:
齐天大圣 2024-10-31 10:28:37 +08:00
parent 2c68d58198
commit 2246eca9ee
2 changed files with 13 additions and 12 deletions

View File

@ -88,15 +88,14 @@
/>
</el-select>
</el-form-item>
<el-form-item label="" style="margin-right: 0px" prop="status">
<el-select
v-model="queryParams.status"
clearable
placeholder="请选择员工"
>
<el-option label="已支付" value="paid"/>
<el-option label="未支付" value="unpaid"/>
<el-option label="已退款" value="refund"/>
<el-form-item label="" prop="paymentChannel">
<el-select v-model="queryParams.status" placeholder="请选择员工" clearable>
<el-option
v-for="dicts in this.staffList"
:key="dicts.userId"
:label="dicts.realName"
:value="dicts.userId"
/>
</el-select>
</el-form-item>
<el-form-item label="" prop="status">

View File

@ -865,14 +865,16 @@
SELECT
ai.*,
mu.NAME AS userName,
mc.merchant_name as merchantName
mc.merchant_name as merchantName,
mt.real_name as createBy
FROM
all_order_info ai
LEFT JOIN mt_user mu ON ai.user_id = mu.id
LEFT JOIN merchant_config mc on mc.id = ai.m_id
where
left join mt_staff mt on ai.create_by=mt.id
where 1=1
<if test="obj.storeId != null and obj.storeId != ''">
ai.store_id = #{obj.storeId}
and ai.store_id = #{obj.storeId}
</if>
<if test="obj.storeId != null and obj.storeId != ''">
and ai.store_id = #{obj.storeId}