修改退款审核、订单详情等页面显示
This commit is contained in:
@@ -26,6 +26,11 @@
|
||||
<!-- <a-radio-button value="offSale">已下架</a-radio-button>-->
|
||||
<!-- <a-radio-button value="soldOut">已售罄</a-radio-button>-->
|
||||
<!-- </a-radio-group>-->
|
||||
<a-select v-model:value="isBind" style="width: 120px; margin: 0px 2px 0px 2px;" defaultValue="-1">
|
||||
<a-select-option value="-1">全部</a-select-option>
|
||||
<a-select-option value="0">未绑定</a-select-option>
|
||||
<a-select-option value="1">已绑定</a-select-option>
|
||||
</a-select>
|
||||
<a-input-search
|
||||
allow-clear
|
||||
v-model:value="searchText"
|
||||
@@ -77,11 +82,13 @@
|
||||
equipmentId: undefined,
|
||||
equipmentName: '',
|
||||
equipmentCode: '',
|
||||
merchantCode: ''
|
||||
merchantCode: '',
|
||||
isBind: undefined
|
||||
});
|
||||
|
||||
// 下来选项
|
||||
const type = ref('equipmentCode');
|
||||
const isBind = ref();
|
||||
// tabType
|
||||
// const listType = ref('all');
|
||||
// 搜索内容
|
||||
@@ -92,15 +99,19 @@
|
||||
where.equipmentName = undefined;
|
||||
where.equipmentCode = undefined;
|
||||
where.merchantCode = undefined;
|
||||
where.isBind = undefined;
|
||||
if (type.value == 'equipmentName') {
|
||||
where.equipmentName = searchText.value;
|
||||
}
|
||||
if (type.value == 'equipmentCode') {
|
||||
} else if (type.value == 'equipmentCode') {
|
||||
where.equipmentCode = searchText.value;
|
||||
}
|
||||
if (type.value == 'merchantCode') {
|
||||
} else if (type.value == 'merchantCode') {
|
||||
where.merchantCode = searchText.value;
|
||||
}
|
||||
if (isBind.value && isBind.value != '-1') {
|
||||
where.isBind = parseInt(isBind.value);
|
||||
} else {
|
||||
where.isBind = undefined;
|
||||
}
|
||||
emit('search', where);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user