shish 2 سال پیش
والد
کامیت
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)
           let list = this.$util.copyObject(res.list)
           that.getItemList = 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])
         }
         }
       }
       }