Commit b49a4f63 authored by youjie's avatar youjie

no message

parent f3ba1863
...@@ -278,7 +278,8 @@ ...@@ -278,7 +278,8 @@
</el-popover> </el-popover>
</li> </li>
<li> <li>
<input type="button" class="normalBtn" :value="$t('pub.searchBtn')" @click.stop="msg.OrderId=0,msg.pageIndex=1,currentPage=1,msg2.pageIndex=1,currentPage2=1,GetList()" /> <input type="button" class="normalBtn" :value="$t('pub.searchBtn')"
@click.stop="search" />
<input v-if="pagesTitle=='销售'||pagesTitle=='OP'" type="button" class="hollowFixedBtn" value="导出" @click="exportExcel"> <input v-if="pagesTitle=='销售'||pagesTitle=='OP'" type="button" class="hollowFixedBtn" value="导出" @click="exportExcel">
</li> </li>
</ul> </ul>
...@@ -489,6 +490,16 @@ ...@@ -489,6 +490,16 @@
} }
}, },
methods: { methods: {
search(){
if(this.dataObj&&this.dataObj.OrderId){
this.msg.OrderId=0
}
this.msg.pageIndex=1,
this.currentPage=1,
this.msg2.pageIndex=1,
this.currentPage2=1,
this.GetList()
},
exportExcel() { //导出 exportExcel() { //导出
if (!this.msg.StartTime || !this.msg.EndTime) { if (!this.msg.StartTime || !this.msg.EndTime) {
this.$message.info('请选择开始时间、结束时间!') this.$message.info('请选择开始时间、结束时间!')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment