|
@@ -2,7 +2,7 @@
|
|
<a-card :bordered="false">
|
|
<a-card :bordered="false">
|
|
<v-select v-show="false" ref="orderFlag" code="PAY_STATUS" placeholder="请选择订单状态" allowClear></v-select>
|
|
<v-select v-show="false" ref="orderFlag" code="PAY_STATUS" placeholder="请选择订单状态" allowClear></v-select>
|
|
<div class="table-page-search-wrapper">
|
|
<div class="table-page-search-wrapper">
|
|
- <a-form layout="inline" :form="form" @keyup.enter.native="$refs.table.refresh(true)">
|
|
|
|
|
|
+ <a-form layout="inline" :form="form" @keyup.enter.native="refresh">
|
|
<a-row :gutter="48">
|
|
<a-row :gutter="48">
|
|
<a-col :lg="6" :sm="12">
|
|
<a-col :lg="6" :sm="12">
|
|
<a-form-item label="订单编号:" :label-col="{ span:7 }" :wrapper-col="{ span:17}">
|
|
<a-form-item label="订单编号:" :label-col="{ span:7 }" :wrapper-col="{ span:17}">
|
|
@@ -42,7 +42,7 @@
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :lg="6" :sm="12">
|
|
<a-col :lg="6" :sm="12">
|
|
- <a-button type="primary" @click="$refs.table.refresh(true)" id="PurchasedServiceList-search">查询</a-button>
|
|
|
|
|
|
+ <a-button type="primary" @click="refresh" id="PurchasedServiceList-search">查询</a-button>
|
|
<a-button style="margin-left: 8px" @click="resetSearchForm" id="PurchasedServiceList-resetSearchForm">重置</a-button>
|
|
<a-button style="margin-left: 8px" @click="resetSearchForm" id="PurchasedServiceList-resetSearchForm">重置</a-button>
|
|
<a-button style="margin-left: 8px" class="export-btn" @click="handleExport" id="PurchasedServiceList-handleExport">导出</a-button>
|
|
<a-button style="margin-left: 8px" class="export-btn" @click="handleExport" id="PurchasedServiceList-handleExport">导出</a-button>
|
|
</a-col>
|
|
</a-col>
|
|
@@ -229,9 +229,6 @@
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- mounted() {
|
|
|
|
- this.getSalesChannel()
|
|
|
|
- },
|
|
|
|
methods: {
|
|
methods: {
|
|
// 禁止不可选日期
|
|
// 禁止不可选日期
|
|
disabledDate(current) {
|
|
disabledDate(current) {
|
|
@@ -307,6 +304,11 @@
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ // 查询
|
|
|
|
+ refresh(){
|
|
|
|
+ this.$refs.table.refresh(true)
|
|
|
|
+ this.getTotal()
|
|
|
|
+ },
|
|
// 重置
|
|
// 重置
|
|
resetSearchForm() {
|
|
resetSearchForm() {
|
|
this.queryParam.beginDate = getDate.getRecentday().starttime
|
|
this.queryParam.beginDate = getDate.getRecentday().starttime
|
|
@@ -323,7 +325,7 @@
|
|
salesChannelSettleStatus: '',
|
|
salesChannelSettleStatus: '',
|
|
freeChoiceFlag: 1
|
|
freeChoiceFlag: 1
|
|
}
|
|
}
|
|
- this.$refs.table.refresh(true)
|
|
|
|
|
|
+ this.refresh()
|
|
},
|
|
},
|
|
// 导出
|
|
// 导出
|
|
handleExport() {
|
|
handleExport() {
|
|
@@ -372,7 +374,6 @@
|
|
next(vm => {
|
|
next(vm => {
|
|
vm.resetSearchForm()
|
|
vm.resetSearchForm()
|
|
vm.getSalesChannel()
|
|
vm.getSalesChannel()
|
|
- vm.getTotal()
|
|
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|