Browse Source

2025-09-22

报价优化
master
fengyuan_yang 4 months ago
parent
commit
2009dc9c85
  1. 10
      src/views/modules/quote/index.vue

10
src/views/modules/quote/index.vue

@ -515,8 +515,10 @@ export default {
if (data && data.code === 0){
this.dataList = data.rows
this.total = data.total
if (this.dataList[0] !== undefined){
if (this.dataList[0] !== undefined) {
this.handleSelect(this.dataList[0])
} else {
this.currentQuote = {}
}
// if (index !== undefined){
// this.handleSelect(this.dataList[index])
@ -531,13 +533,15 @@ export default {
})
this.isFilterSearch = false
},
handleSelect(row){
if (row){
this.currentQuote = {...row}
}else {
} else {
this.currentQuote = {}
}
},
handleSave(row){
this.$nextTick(()=>{
if (this.$refs.saveForm){
@ -560,6 +564,7 @@ export default {
}
this.saveVisible = true
},
handleSizeChange(size){
this.size = size
if ( this.isFilterSearch === false){
@ -568,6 +573,7 @@ export default {
this.searchByAnyField(this.filterSearchData)
}
},
handlePageChange(no) {
this.no = no
if ( this.isFilterSearch === false){

Loading…
Cancel
Save