订单管理更新
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
</view>
|
||||
|
||||
<view class="u-m-t-2 bg-fff u-col-center u-flex u-p-l-28 u-p-r-28 u-p-t-30 u-row-between">
|
||||
<view class="status-item " @click="changeStatusSel(index)" :class="{active:statusData.sel==index}"
|
||||
<view class="status-item " @click="changeStatusSel(item.value)" :class="{active:statusData.sel==item.value}"
|
||||
v-for="(item,index) in statusData.list" :key="index">
|
||||
{{item.label}}
|
||||
</view>
|
||||
@@ -138,6 +138,7 @@
|
||||
}
|
||||
|
||||
watch(() => timeData.sel, (newval) => {
|
||||
|
||||
const data = timeData.list[newval]
|
||||
if (newval != -1) {
|
||||
emits('update:time', [data.start, data.end])
|
||||
@@ -153,23 +154,27 @@
|
||||
value: ''
|
||||
},
|
||||
{
|
||||
label: '待完成',
|
||||
value: ''
|
||||
},
|
||||
{
|
||||
label: '待退款',
|
||||
value: ''
|
||||
},
|
||||
{
|
||||
label: '未支付',
|
||||
label: '待支付',
|
||||
value: 'unpaid'
|
||||
},
|
||||
// {
|
||||
// label: '待完成',
|
||||
// value: ''
|
||||
// },
|
||||
{
|
||||
label: '已完成',
|
||||
value: 'closed'
|
||||
},
|
||||
// {
|
||||
// label: '未支付',
|
||||
// value: 'unpaid'
|
||||
// },
|
||||
{
|
||||
label: '已退款',
|
||||
value: ''
|
||||
value: 'refund'
|
||||
}
|
||||
],
|
||||
sel: 0
|
||||
sel: ''
|
||||
})
|
||||
|
||||
function moreShowHide() {
|
||||
@@ -182,6 +187,7 @@
|
||||
|
||||
function changeStatusSel(i) {
|
||||
statusData.sel = i
|
||||
emits('update:status', i)
|
||||
}
|
||||
|
||||
function datePickerConfirm(e) {
|
||||
|
||||
Reference in New Issue
Block a user