spu 页面编辑
This commit is contained in:
parent
d104f1c572
commit
8aab073c13
|
@ -89,7 +89,7 @@
|
||||||
@pagination="getList"/>
|
@pagination="getList"/>
|
||||||
|
|
||||||
<!-- 对话框(添加 / 修改) -->
|
<!-- 对话框(添加 / 修改) -->
|
||||||
<el-dialog :title="title" :visible.sync="open" width="1500px" append-to-body>
|
<el-dialog :title="title" :visible.sync="open" width="900px" append-to-body>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||||
<el-form-item label="商品名称" prop="name">
|
<el-form-item label="商品名称" prop="name">
|
||||||
<el-input v-model="form.name" placeholder="请输入商品名称"/>
|
<el-input v-model="form.name" placeholder="请输入商品名称"/>
|
||||||
|
@ -641,20 +641,22 @@
|
||||||
sellPoint: dataSpu.sellPoint,
|
sellPoint: dataSpu.sellPoint,
|
||||||
description: dataSpu.sellPoint,
|
description: dataSpu.sellPoint,
|
||||||
categoryId: dataSpu.sellPoint,
|
categoryId: dataSpu.sellPoint,
|
||||||
categoryIds: [],
|
categoryIds: dataSpu.categoryIds,
|
||||||
picUrls: dataSpu.picUrls,
|
picUrls: dataSpu.picUrls,
|
||||||
sort: dataSpu.sort,
|
sort: dataSpu.sort,
|
||||||
likeCount: dataSpu.likeCount,
|
likeCount: dataSpu.likeCount,
|
||||||
price: dataSpu.price,
|
price: dataSpu.price,
|
||||||
quantity: dataSpu.quantity,
|
quantity: dataSpu.quantity,
|
||||||
// status: dataSpu.status,
|
status: dataSpu.status,
|
||||||
isShowTagInput:undefined,
|
isShowTagInput:undefined,
|
||||||
|
skus:dataSpu.skus
|
||||||
// skus:dataSpu.productSkuRespVOS,
|
// skus:dataSpu.productSkuRespVOS,
|
||||||
};
|
};
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "修改商品spu";
|
this.title = "修改商品spu";
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
/** 提交按钮 */
|
/** 提交按钮 */
|
||||||
submitForm() {
|
submitForm() {
|
||||||
console.log(this.form.picUrls.split(','));
|
console.log(this.form.picUrls.split(','));
|
||||||
|
|
Loading…
Reference in New Issue