修改添加商品问题
This commit is contained in:
@@ -87,11 +87,11 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table> -->
|
</el-table> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="head-container">
|
<!-- <div class="head-container">
|
||||||
<el-pagination :total="tableData.total" :current-page="tableData.page + 1" :page-size="tableData.size"
|
<el-pagination :total="tableData.total" :current-page="tableData.page + 1" :page-size="tableData.size"
|
||||||
@current-change="paginationChange" @size-change="sizeChange"
|
@current-change="paginationChange" @size-change="sizeChange"
|
||||||
layout="total, sizes, prev, pager, next, jumper"></el-pagination>
|
layout="total, sizes, prev, pager, next, jumper"></el-pagination>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -701,7 +701,7 @@ export default {
|
|||||||
if (faild) {
|
if (faild) {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
this.form.images = arr
|
this.form.images = arr
|
||||||
this.form.lowPrice = this.form.skuList[0].salePrice;
|
this.form.lowPrice = this.form.skuList.length && this.form.skuList[0].salePrice;
|
||||||
this.form.coverImg = this.form.images[0];
|
this.form.coverImg = this.form.images[0];
|
||||||
this.form.selectSpec = JSON.stringify(this.selectSpec);
|
this.form.selectSpec = JSON.stringify(this.selectSpec);
|
||||||
this.form.specTableHeaders = JSON.stringify(this.specTableHeaders);
|
this.form.specTableHeaders = JSON.stringify(this.specTableHeaders);
|
||||||
@@ -755,8 +755,8 @@ export default {
|
|||||||
this.shopTypesActive = index;
|
this.shopTypesActive = index;
|
||||||
const typeEnum = this.shopTypes[index].typeEnum;
|
const typeEnum = this.shopTypes[index].typeEnum;
|
||||||
this.form.typeEnum = typeEnum;
|
this.form.typeEnum = typeEnum;
|
||||||
|
|
||||||
if (typeEnum == "sku") {
|
if (typeEnum == "sku") {
|
||||||
|
this.form.skuList = [];
|
||||||
this.tbProductSpecGet();
|
this.tbProductSpecGet();
|
||||||
} else {
|
} else {
|
||||||
this.specId = "";
|
this.specId = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user