退款单 :订单状态

This commit is contained in:
faiz 2024-08-13 18:27:03 +08:00
parent bb6ecec794
commit 30c2081810
1 changed files with 29 additions and 1 deletions

View File

@ -48,6 +48,23 @@
<el-option label="非自营" value="0" /> <el-option label="非自营" value="0" />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="订单状态:" prop="order_status">
<el-select
v-model="tableFrom.order_status"
placeholder="请选择订单状态"
class="selWidth"
@change="getList(1), getCardList()"
>
<el-option
v-for="(value, key) in orderStatusOptions"
:key="key"
:label="key"
:value="value"
>
<!-- <span>{{ key }} ({{ value ? value : 0 }})</span> -->
</el-option>
</el-select>
</el-form-item>
<el-form-item label="退款单号:" prop="refund_order_sn"> <el-form-item label="退款单号:" prop="refund_order_sn">
<el-input <el-input
v-model="tableFrom.refund_order_sn" v-model="tableFrom.refund_order_sn"
@ -259,6 +276,16 @@ export default {
total: 0, total: 0,
}, },
listLoading: true, listLoading: true,
orderStatusOptions: {
'全部': '0',
'待付款': '1',
'待发货': '2',
'待收货': '3',
'待评价': '4',
'交易完成': '5',
'已退款': '6',
'已删除': '7'
},
tableFrom: { tableFrom: {
refund_order_sn: this.$route.query.refund_order_sn ? this.$route.query.refund_order_sn : "", refund_order_sn: this.$route.query.refund_order_sn ? this.$route.query.refund_order_sn : "",
order_sn: "", order_sn: "",
@ -268,7 +295,8 @@ export default {
limit: 20, limit: 20,
is_trader: '', is_trader: '',
refund_type:'', refund_type:'',
user_type:'' user_type:'',
order_status:''
}, },
refundUserList: [ refundUserList: [
{ value: 1, label: '用户' }, { value: 1, label: '用户' },