订单列表:添加配送方式筛选

(cherry picked from commit 688dad319e)
This commit is contained in:
puhui999 2023-08-31 16:26:24 +08:00 committed by shizhong
parent ca94a1f274
commit e777f77ba9

View File

@ -64,10 +64,17 @@
/>
</el-select>
</el-form-item>
<!-- TODO @puhui999要不加个 deliveryType 筛选配送方式然后如果选了快递就有快递公司筛选如果选了自提就有自提门店然后把他们这 3 坐在一个 el-form-item
目的是有的时候会筛选门店然后做核销这个时候就需要筛选自提门店
-->
<el-form-item label="快递公司" prop="type">
<el-form-item label="配送方式" prop="deliveryType">
<el-select v-model="queryParams.deliveryType" class="!w-280px" clearable placeholder="全部">
<el-option
v-for="dict in getIntDictOptions(DICT_TYPE.TRADE_DELIVERY_TYPE)"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
</el-form-item>
<el-form-item v-if="queryParams.deliveryType === 1" label="快递公司">
<el-select v-model="queryParams.logisticsId" class="!w-280px" clearable placeholder="全部">
<el-option
v-for="item in deliveryExpressList"
@ -77,7 +84,7 @@
/>
</el-select>
</el-form-item>
<el-form-item label="自提门店" prop="type">
<el-form-item v-if="queryParams.deliveryType === 2" label="自提门店">
<el-select
v-model="queryParams.pickUpStoreId"
class="!w-280px"
@ -337,11 +344,13 @@ const queryParams = reactive({
userMobile: '',
receiverName: '',
receiverMobile: '',
terminal: '',
type: null,
status: null,
payChannelCode: '',
createTime: [],
deliveryType: null,
spuName: '',
itemCount: '',
pickUpStoreId: [],