diff --git a/src/views/system/goods/add/components/goodsinfomation.vue b/src/views/system/goods/add/components/goodsinfomation.vue
index 86d8e44b6f8ea7da3aea5996c44a7d92bbd60628..237aedfe4a1a35ba9d4739154df552fe9d2545cb 100644
--- a/src/views/system/goods/add/components/goodsinfomation.vue
+++ b/src/views/system/goods/add/components/goodsinfomation.vue
@@ -215,16 +215,25 @@
 
     },
     mounted() {
+      //debugger
       //深拷贝一份最开始的数据,为初始化准备
       //this.goodsInfoDataClone = this.deepClone(this.goodsinfodata);
-      this.goodsInfoForm = this.goodsinfodata;
-      if( this.goodsInfoForm.imgs.length > 0 ) {
-        this.goodsInfoForm.imgs.forEach( (item )=> {
-          let objImg = { 'url': '' }
-          objImg.url = item;
-          this.goodsImgFileList.push(objImg);
-        })
+      if(this.goodsinfodata.goods_id) {
+        this.goodsInfoForm = this.goodsinfodata;
+        if( this.goodsInfoForm.imgs.length > 0 ) {
+          this.goodsInfoForm.imgs.forEach( (item )=> {
+            let objImg = { 'url': '' }
+            objImg.url = item;
+            this.goodsImgFileList.push(objImg);
+          })
+        }
+      }else {
+        this.goodsInfoForm.categoryStr = this.goodsinfodata.categoryStr;
+        this.goodsInfoForm.categoryList = this.goodsinfodata.categoryList;
       }
+
+
+
       //console.log("tup",this.goodsImgFileList)
       // 获取 省
       this.getArea();
diff --git a/src/views/system/goods/add/index.vue b/src/views/system/goods/add/index.vue
index b086a562ff3e7626c509ea1535fa9b6ad07b20ce..0d941ab4aaf3c6f87db4f29ef0486ba1392a13e9 100644
--- a/src/views/system/goods/add/index.vue
+++ b/src/views/system/goods/add/index.vue
@@ -86,6 +86,12 @@
 
   export default {
     name: 'Index',
+    props: {
+      option: {
+        type: Number,
+        required: true
+      }
+    },
     components: {
       Goodsinfomation,
       GoodsSpecifications,
@@ -93,12 +99,6 @@
       Goodsimg,
       Goodsaftersale,
     },
-    props: {
-      option: {
-        type: Number,
-        required: true
-      }
-    },
     data() {
       return {
         loading: false,
@@ -155,6 +155,7 @@
 
     created() {
 // option 商品的id
+      //debugger
       if( this.option && this.option !== 0 ) {
         let data = { goodsId: this.option};
         getGoodsNew(data).then(res => {
@@ -690,6 +691,9 @@
   .blue-block-goods-title {
     margin: 0 20px 0 0;
   }
+  .good-details-body {
+    height: 100%;
+  }
   /deep/.good-details-body .el-card__body  {
     height: 100%;
     padding: 15px 20px 0px 20px;