|
@@ -352,6 +352,31 @@
|
|
this.updatePic = true
|
|
this.updatePic = true
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+ if(this.$route.params.isCopy){ //复制商品
|
|
|
|
+ this.isdisable = false
|
|
|
|
+ this.outProductId=0
|
|
|
|
+ store.commit('SET_ISDISABLE',false)
|
|
|
|
+ store.commit('SET_GOODS_ID',0)
|
|
|
|
+ this.outproductidDisable=false
|
|
|
|
+ this.title='新的审核内容'
|
|
|
|
+ let data=JSON.parse(this.$route.params.data)
|
|
|
|
+ this.form.title=data.title
|
|
|
|
+ this.form.out_product_id=data.out_product_id
|
|
|
|
+ this.form.stock_num=data.stock_num
|
|
|
|
+ this.form.sale_price=data.sale_price
|
|
|
|
+ this.form.market_price=data.market_price
|
|
|
|
+ this.form.path=data.path
|
|
|
|
+ this.form.third_cat_id=data.third_cat_id
|
|
|
|
+ this.form.third=data.third
|
|
|
|
+ this.form.brand_id=data.brand_id
|
|
|
|
+ this.goodsList=data.goodsList
|
|
|
|
+ this.goodszizhiList=data.goodszizhiList
|
|
|
|
+ //刷新子组件
|
|
|
|
+ this.updatePic = false
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
+ this.updatePic = true
|
|
|
|
+ })
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {},
|
|
created() {},
|