shish %!s(int64=2) %!d(string=hai) anos
pai
achega
812e6bbc91
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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])
         }
       }