shish 2 лет назад
Родитель
Сommit
812e6bbc91
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      ghs/src/views/order/add.vue

+ 1 - 1
ghs/src/views/order/add.vue

@@ -389,7 +389,7 @@ export default {
           let list = this.$util.copyObject(res.list)
           that.getItemList = list
         })
-        if(that.$util.isEmpty(that.getItemList)){
+        if(!that.$util.isEmpty(that.getItemList)){
           that.$refs.showItemRef.setCurrentRow(that.getItemList[0])
         }
       }