|
@@ -228,14 +228,15 @@
|
|
|
outProductId: this.outProductId
|
|
|
}).then(res => {
|
|
|
this.form.title = res.data.title
|
|
|
- this.form.third_cat_audit = res.data.third_cat_audit
|
|
|
+ this.form.third_cat_audit = res.data.third_cat_audit==0?-1:1
|
|
|
this.form.out_product_id = res.data.out_product_id
|
|
|
- this.form.has_brand = res.data.has_brand
|
|
|
+ this.form.has_brand = res.data.has_brand==0?-1:1
|
|
|
this.form.stock_num = res.data.stock_num
|
|
|
this.form.sale_price = res.data.sale_price
|
|
|
this.form.market_price = res.data.market_price
|
|
|
this.form.path = res.data.path
|
|
|
- this.form.third_cat_id = res.data.third_cat_id
|
|
|
+ this.form.third=res.data.third_cat_audit==0?res.data.third_cat_id:''
|
|
|
+ this.form.third_cat_id =res.data.third_cat_id
|
|
|
this.commodity_id = res.data.commodity_id
|
|
|
this.goodsList = [{
|
|
|
url: res.data.thumb_img
|