|
@@ -387,7 +387,9 @@ export default {
|
|
|
this.isSeek = true;
|
|
this.isSeek = true;
|
|
|
await this.$service.item.getItemList({search:this.seekVal,requestType:'kd',pageSize:6}).then(res=>{
|
|
await this.$service.item.getItemList({search:this.seekVal,requestType:'kd',pageSize:6}).then(res=>{
|
|
|
let list = this.$util.copyObject(res.list)
|
|
let list = this.$util.copyObject(res.list)
|
|
|
- that.getItemList = list
|
|
|
|
|
|
|
+ if(!that.$util.isEmpty(list)){
|
|
|
|
|
+ that.getItemList = list
|
|
|
|
|
+ }
|
|
|
})
|
|
})
|
|
|
if(!that.$util.isEmpty(that.getItemList)){
|
|
if(!that.$util.isEmpty(that.getItemList)){
|
|
|
that.$refs.showItemRef.setCurrentRow(that.getItemList[0])
|
|
that.$refs.showItemRef.setCurrentRow(that.getItemList[0])
|