master
parent
155ff1793a
commit
3e2561eefb
@ -0,0 +1,46 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<el-dialog title="请选择日期导出" :visible.sync="searchDialog" :modal-append-to-body="false" append-to-body :close-on-click-modal="false">
|
||||||
|
<el-form :model="searchForm">
|
||||||
|
<el-form-item label="请选择日期:" label-width="120px">
|
||||||
|
<div class="block">
|
||||||
|
<el-date-picker @change='changeDate' size="large" v-model="date" type="month" align="center" unlink-panels range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" >
|
||||||
|
</el-date-picker>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<span slot="footer" class="dialog-footer">
|
||||||
|
<el-button size="mini" type="primary" plain @click="searchDialog = false">取 消</el-button>
|
||||||
|
<el-button type="primary" size="mini" @click="search(searchDialog = false) ">确 定</el-button>
|
||||||
|
</span>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
searchDialog:false,
|
||||||
|
searchForm:{},
|
||||||
|
date:new Date()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
show(){
|
||||||
|
this.searchDialog = true
|
||||||
|
},
|
||||||
|
search(){
|
||||||
|
this.$emit('confirmExport',this.date)
|
||||||
|
},
|
||||||
|
changeDate(date){
|
||||||
|
if(!date){
|
||||||
|
this.date = ''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@ -0,0 +1,46 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<el-dialog title="请选择日期导出" :visible.sync="searchDialog" :modal-append-to-body="false" append-to-body :close-on-click-modal="false">
|
||||||
|
<el-form :model="searchForm">
|
||||||
|
<el-form-item label="请选择日期:" label-width="120px">
|
||||||
|
<div class="block">
|
||||||
|
<el-date-picker @change='changeDate' size="large" v-model="date" type="month" align="center" unlink-panels range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" >
|
||||||
|
</el-date-picker>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<span slot="footer" class="dialog-footer">
|
||||||
|
<el-button size="mini" type="primary" plain @click="searchDialog = false">取 消</el-button>
|
||||||
|
<el-button type="primary" size="mini" @click="search(searchDialog = false) ">确 定</el-button>
|
||||||
|
</span>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
searchDialog:false,
|
||||||
|
searchForm:{},
|
||||||
|
date:new Date()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
show(){
|
||||||
|
this.searchDialog = true
|
||||||
|
},
|
||||||
|
search(){
|
||||||
|
this.$emit('confirmExport',this.date)
|
||||||
|
},
|
||||||
|
changeDate(date){
|
||||||
|
if(!date){
|
||||||
|
this.date = ''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@ -0,0 +1,46 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<el-dialog title="请选择日期导出" :visible.sync="searchDialog" :modal-append-to-body="false" append-to-body :close-on-click-modal="false">
|
||||||
|
<el-form :model="searchForm">
|
||||||
|
<el-form-item label="请选择日期:" label-width="120px">
|
||||||
|
<div class="block">
|
||||||
|
<el-date-picker @change='changeDate' size="large" v-model="date" type="month" align="center" unlink-panels range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" >
|
||||||
|
</el-date-picker>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<span slot="footer" class="dialog-footer">
|
||||||
|
<el-button size="mini" type="primary" plain @click="searchDialog = false">取 消</el-button>
|
||||||
|
<el-button type="primary" size="mini" @click="search(searchDialog = false) ">确 定</el-button>
|
||||||
|
</span>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
searchDialog:false,
|
||||||
|
searchForm:{},
|
||||||
|
date:new Date()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
show(){
|
||||||
|
this.searchDialog = true
|
||||||
|
},
|
||||||
|
search(){
|
||||||
|
this.$emit('confirmExport',this.date)
|
||||||
|
},
|
||||||
|
changeDate(date){
|
||||||
|
if(!date){
|
||||||
|
this.date = ''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@ -0,0 +1,46 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<el-dialog title="请选择日期导出" :visible.sync="searchDialog" :modal-append-to-body="false" append-to-body :close-on-click-modal="false">
|
||||||
|
<el-form :model="searchForm">
|
||||||
|
<el-form-item label="请选择日期:" label-width="120px">
|
||||||
|
<div class="block">
|
||||||
|
<el-date-picker @change='changeDate' size="large" v-model="date" type="month" align="center" unlink-panels range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" >
|
||||||
|
</el-date-picker>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<span slot="footer" class="dialog-footer">
|
||||||
|
<el-button size="mini" type="primary" plain @click="searchDialog = false">取 消</el-button>
|
||||||
|
<el-button type="primary" size="mini" @click="search(searchDialog = false) ">确 定</el-button>
|
||||||
|
</span>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
searchDialog:false,
|
||||||
|
searchForm:{},
|
||||||
|
date:new Date()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
show(){
|
||||||
|
this.searchDialog = true
|
||||||
|
},
|
||||||
|
search(){
|
||||||
|
this.$emit('confirmExport',this.date)
|
||||||
|
},
|
||||||
|
changeDate(date){
|
||||||
|
if(!date){
|
||||||
|
this.date = ''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@ -0,0 +1,46 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<el-dialog title="请选择日期导出" :visible.sync="searchDialog" :modal-append-to-body="false" append-to-body :close-on-click-modal="false">
|
||||||
|
<el-form :model="searchForm">
|
||||||
|
<el-form-item label="请选择日期:" label-width="120px">
|
||||||
|
<div class="block">
|
||||||
|
<el-date-picker @change='changeDate' size="large" v-model="date" type="month" align="center" unlink-panels range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" >
|
||||||
|
</el-date-picker>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<span slot="footer" class="dialog-footer">
|
||||||
|
<el-button size="mini" type="primary" plain @click="searchDialog = false">取 消</el-button>
|
||||||
|
<el-button type="primary" size="mini" @click="search(searchDialog = false) ">确 定</el-button>
|
||||||
|
</span>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
searchDialog:false,
|
||||||
|
searchForm:{},
|
||||||
|
date:new Date()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
show(){
|
||||||
|
this.searchDialog = true
|
||||||
|
},
|
||||||
|
search(){
|
||||||
|
this.$emit('confirmExport',this.date)
|
||||||
|
},
|
||||||
|
changeDate(date){
|
||||||
|
if(!date){
|
||||||
|
this.date = ''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@ -0,0 +1,46 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<el-dialog title="请选择日期导出" :visible.sync="searchDialog" :modal-append-to-body="false" append-to-body :close-on-click-modal="false">
|
||||||
|
<el-form :model="searchForm">
|
||||||
|
<el-form-item label="请选择日期:" label-width="120px">
|
||||||
|
<div class="block">
|
||||||
|
<el-date-picker @change='changeDate' size="large" v-model="date" type="month" align="center" unlink-panels range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" >
|
||||||
|
</el-date-picker>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<span slot="footer" class="dialog-footer">
|
||||||
|
<el-button size="mini" type="primary" plain @click="searchDialog = false">取 消</el-button>
|
||||||
|
<el-button type="primary" size="mini" @click="search(searchDialog = false) ">确 定</el-button>
|
||||||
|
</span>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
searchDialog:false,
|
||||||
|
searchForm:{},
|
||||||
|
date:new Date()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
show(){
|
||||||
|
this.searchDialog = true
|
||||||
|
},
|
||||||
|
search(){
|
||||||
|
this.$emit('confirmExport',this.date)
|
||||||
|
},
|
||||||
|
changeDate(date){
|
||||||
|
if(!date){
|
||||||
|
this.date = ''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@ -0,0 +1,58 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<el-dialog title="搜索" :visible.sync="searchDialog">
|
||||||
|
<el-form :model="searchForm">
|
||||||
|
<el-form-item label="单据号搜索:" label-width="120px">
|
||||||
|
<div class="searchDiv">
|
||||||
|
<el-input size="medium" v-model="searchForm.refundNum" placeholder="输入要查询的单据号" clearable></el-input>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="跟单人员:" label-width="120px">
|
||||||
|
<div class="searchDiv">
|
||||||
|
<el-input size="medium" v-model="searchForm.memberName" placeholder="输入跟单人员" clearable></el-input>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="次数金额:" label-width="120px">
|
||||||
|
<div class="searchDiv">
|
||||||
|
<el-input size="medium" v-model="searchForm.mobilePhone" placeholder="输入次数金额" oninput="this.value=this.value.replace(/\D/g,'')" maxlength="11" pattern="[0-9]*" clearable></el-input>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="单据日期搜索:" label-width="120px">
|
||||||
|
<div class="block">
|
||||||
|
<el-date-picker style="width:1.25rem" @change='changeDate' size="large" v-model="searchForm.date" type="daterange" :default-time="['00:00:01', '23:59:59']" value-format="yyyy-MM-dd HH:mm:ss" align="center" unlink-panels range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" >
|
||||||
|
</el-date-picker>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<span slot="footer" class="dialog-footer">
|
||||||
|
<el-button size="mini" type="primary" plain @click="searchDialog = false">取 消</el-button>
|
||||||
|
<el-button type="primary" size="mini" @click="search(searchDialog = false) ">确 定</el-button>
|
||||||
|
</span>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
searchDialog:false,
|
||||||
|
searchForm:{}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
show(){
|
||||||
|
this.searchDialog = true
|
||||||
|
},
|
||||||
|
search(){},
|
||||||
|
changeDate(date){
|
||||||
|
if(!date){
|
||||||
|
this.searchForm.date = ''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
Loading…
Reference in New Issue