2204A-Ui (修改1.0)
parent
bcb90a54ef
commit
2d10050baa
|
@ -36,9 +36,9 @@ export function addInfo(data) {
|
||||||
// 修改商品信息
|
// 修改商品信息
|
||||||
export function updateInfo(data) {
|
export function updateInfo(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/product/info/'+data.id,
|
url: '/product/info/'+data.projectAddModel.id,
|
||||||
method: 'put',
|
method: 'put',
|
||||||
data: data
|
data: data.projectAddModel
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -222,8 +222,11 @@
|
||||||
:props="{'value': 'id', 'label': 'name'}"
|
:props="{'value': 'id', 'label': 'name'}"
|
||||||
:options="categoryOptions"></el-cascader>
|
:options="categoryOptions"></el-cascader>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-empty v-show="categoryOptionValue.length === 0" description="请选择品类,在进行操作"></el-empty>
|
<el-empty v-show="categoryOptionValue.length === 0" description="请选择品类,在进行操作"></el-empty>
|
||||||
|
|
||||||
<el-tabs v-show="categoryOptionValue.length > 0" v-model="activeName" type="border-card">
|
<el-tabs v-show="categoryOptionValue.length > 0" v-model="activeName" type="border-card">
|
||||||
|
|
||||||
<el-tab-pane label="商品属性组" name="attributeGroup">
|
<el-tab-pane label="商品属性组" name="attributeGroup">
|
||||||
<el-row style="overflow-x: auto; height: 300px;">
|
<el-row style="overflow-x: auto; height: 300px;">
|
||||||
<el-col :span="6" v-for="templateAttributeGroup in categoryCommonElement.templateAttributeGroupList">
|
<el-col :span="6" v-for="templateAttributeGroup in categoryCommonElement.templateAttributeGroupList">
|
||||||
|
|
Loading…
Reference in New Issue