|  | @@ -108,6 +108,7 @@
 | 
											
												
													
														|  |  				console.log('item', item);
 |  |  				console.log('item', item);
 | 
											
												
													
														|  |  				if(this.serialType == item.key) return
 |  |  				if(this.serialType == item.key) return
 | 
											
												
													
														|  |  				this.serialType = item.key
 |  |  				this.serialType = item.key
 | 
											
												
													
														|  | 
 |  | +				this.marketPersonsSerialList = []
 | 
											
												
													
														|  |  				this.$refs.customScrollList.refresh()
 |  |  				this.$refs.customScrollList.refresh()
 | 
											
												
													
														|  |  			},
 |  |  			},
 | 
											
												
													
														|  |  			/**
 |  |  			/**
 | 
											
										
											
												
													
														|  | @@ -115,24 +116,32 @@
 | 
											
												
													
														|  |  			 */
 |  |  			 */
 | 
											
												
													
														|  |  			async load(paging) {
 |  |  			async load(paging) {
 | 
											
												
													
														|  |  				try{
 |  |  				try{
 | 
											
												
													
														|  | 
 |  | +					if(paging.page == 1) {
 | 
											
												
													
														|  | 
 |  | +						this.marketPersonsSerialList = []
 | 
											
												
													
														|  | 
 |  | +					}
 | 
											
												
													
														|  |  					this.$refs.customScrollList.showPullUp = true
 |  |  					this.$refs.customScrollList.showPullUp = true
 | 
											
												
													
														|  |  					let res = await this.$u.api.marketPersonsSerial({
 |  |  					let res = await this.$u.api.marketPersonsSerial({
 | 
											
												
													
														|  |  						noSign: 1,
 |  |  						noSign: 1,
 | 
											
												
													
														|  |  						userid: this.distribution_user_info.userId,
 |  |  						userid: this.distribution_user_info.userId,
 | 
											
												
													
														|  | -						pageNum: 1,
 |  | 
 | 
											
												
													
														|  | -						pageSize: 10,
 |  | 
 | 
											
												
													
														|  | 
 |  | +						pageNum: paging.page,
 | 
											
												
													
														|  | 
 |  | +						pageSize: paging.size,
 | 
											
												
													
														|  |  						serialType: this.serialType
 |  |  						serialType: this.serialType
 | 
											
												
													
														|  |  					})
 |  |  					})
 | 
											
												
													
														|  | -					
 |  | 
 | 
											
												
													
														|  |  					if(res && res.code ===200) {
 |  |  					if(res && res.code ===200) {
 | 
											
												
													
														|  |  						if(res.data.rows){
 |  |  						if(res.data.rows){
 | 
											
												
													
														|  | -							this.marketPersonsSerialList = this.marketPersonsSerialList.concat(res.data.rows)
 |  | 
 | 
											
												
													
														|  | 
 |  | +							let list = JSON.parse(JSON.stringify(this.marketPersonsSerialList))
 | 
											
												
													
														|  | 
 |  | +							res.data.rows.forEach(item=>{
 | 
											
												
													
														|  | 
 |  | +								list.push({
 | 
											
												
													
														|  | 
 |  | +									...item
 | 
											
												
													
														|  | 
 |  | +								})
 | 
											
												
													
														|  | 
 |  | +							})
 | 
											
												
													
														|  | 
 |  | +							this.marketPersonsSerialList = list
 | 
											
												
													
														|  |  						}else {
 |  |  						}else {
 | 
											
												
													
														|  | -							this.marketPersonsSerialList = []
 |  | 
 | 
											
												
													
														|  | 
 |  | +							
 | 
											
												
													
														|  |  						}
 |  |  						}
 | 
											
												
													
														|  |  						this.$refs.customScrollList.loadSuccess({
 |  |  						this.$refs.customScrollList.loadSuccess({
 | 
											
												
													
														|  |  							list: this.marketPersonsSerialList,
 |  |  							list: this.marketPersonsSerialList,
 | 
											
												
													
														|  | -							total: this.marketPersonsSerialList.length
 |  | 
 | 
											
												
													
														|  | 
 |  | +							total: res.data.total
 | 
											
												
													
														|  |  						})
 |  |  						})
 | 
											
												
													
														|  |  					} else {
 |  |  					} else {
 | 
											
												
													
														|  |  						this.$refs.customScrollList.loadSuccess({
 |  |  						this.$refs.customScrollList.loadSuccess({
 | 
											
										
											
												
													
														|  | @@ -169,14 +178,20 @@
 | 
											
												
													
														|  |  					})
 |  |  					})
 | 
											
												
													
														|  |  					if(res && res.code ===200) {
 |  |  					if(res && res.code ===200) {
 | 
											
												
													
														|  |  						if(res.data.rows){
 |  |  						if(res.data.rows){
 | 
											
												
													
														|  | -							this.marketPersonsSerialList = [].concat(res.data.rows)
 |  | 
 | 
											
												
													
														|  | 
 |  | +							let list = []
 | 
											
												
													
														|  | 
 |  | +							res.data.rows.forEach(item=>{
 | 
											
												
													
														|  | 
 |  | +								list.push({
 | 
											
												
													
														|  | 
 |  | +									...item
 | 
											
												
													
														|  | 
 |  | +								})
 | 
											
												
													
														|  | 
 |  | +							})
 | 
											
												
													
														|  | 
 |  | +							this.marketPersonsSerialList = list
 | 
											
												
													
														|  |  						}else {
 |  |  						}else {
 | 
											
												
													
														|  |  							this.marketPersonsSerialList = []
 |  |  							this.marketPersonsSerialList = []
 | 
											
												
													
														|  |  						}
 |  |  						}
 | 
											
												
													
														|  |  						// this.marketPersonsSerialList = null
 |  |  						// this.marketPersonsSerialList = null
 | 
											
												
													
														|  |  						this.$refs.customScrollList.refreshSuccess({
 |  |  						this.$refs.customScrollList.refreshSuccess({
 | 
											
												
													
														|  |  							list: this.marketPersonsSerialList,
 |  |  							list: this.marketPersonsSerialList,
 | 
											
												
													
														|  | -							total: this.marketPersonsSerialList.length
 |  | 
 | 
											
												
													
														|  | 
 |  | +							total: res.data.total
 | 
											
												
													
														|  |  						})
 |  |  						})
 | 
											
												
													
														|  |  					} else {
 |  |  					} else {
 | 
											
												
													
														|  |  						this.$refs.customScrollList.refreshSuccess({
 |  |  						this.$refs.customScrollList.refreshSuccess({
 |