mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-20 09:55:53 +08:00
修改bug,更改字体图标
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
<div style="margin-left: 13px;">
|
||||
<div class="div-zoom" >
|
||||
<a>{{scope.row.goodsName}}</a>
|
||||
<a @click="linkTo(scope.row.id,scope.row.skuId)">{{scope.row.goodsName}}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1839,18 +1839,19 @@ export default {
|
||||
this.$Message.error("请上传商品图片");
|
||||
return;
|
||||
}
|
||||
if (
|
||||
!this.baseInfoForm.storeCategoryPath ||
|
||||
!this.baseInfoForm.storeCategoryPath.length
|
||||
) {
|
||||
this.submitLoading = false;
|
||||
this.$Message.error("请选择店内分类");
|
||||
return;
|
||||
}
|
||||
// if (
|
||||
// !this.baseInfoForm.storeCategoryPath ||
|
||||
// !this.baseInfoForm.storeCategoryPath.length
|
||||
// ) {
|
||||
// this.submitLoading = false;
|
||||
// this.$Message.error("请选择店内分类");
|
||||
// return;
|
||||
// }
|
||||
//如果选择的是买家承担运费 则运费模板重置为0
|
||||
if (this.baseInfoForm.freightPayer == "BUYER") {
|
||||
this.baseInfoForm.templateId = 0;
|
||||
}
|
||||
|
||||
this.baseInfoForm.skuList = this.skuTableData.map((sku) => {
|
||||
delete sku._index;
|
||||
delete sku._rowKey;
|
||||
|
||||
@@ -51,8 +51,8 @@
|
||||
</Form>
|
||||
</Row>
|
||||
<Row class="operator padding-row">
|
||||
<Button @click="add" type="primary">添加</Button>
|
||||
<Button @click="delAll">批量下架</Button>
|
||||
<Button @click="add" type="primary">添加</Button>
|
||||
<Button @click="delAll" class="ml_10">批量下架</Button>
|
||||
<!-- <Button @click="upAll">批量上架</Button> -->
|
||||
</Row>
|
||||
<Row class="padding-row">
|
||||
@@ -106,7 +106,6 @@
|
||||
<script>
|
||||
import {
|
||||
getShopCouponList,
|
||||
deleteShopCoupon,
|
||||
updateCouponStatus,
|
||||
} from "@/api/promotion";
|
||||
|
||||
|
||||
@@ -545,11 +545,12 @@ export default {
|
||||
this.form.promotionGoodsList.splice(index, 1);
|
||||
},
|
||||
selectedGoodsData(item) {
|
||||
console.log(item);
|
||||
// 回显已选商品
|
||||
let ids = [];
|
||||
let list = [];
|
||||
this.form.promotionGoodsList.forEach((e) => {
|
||||
ids.push(e.id);
|
||||
ids.push(e.skuId);
|
||||
});
|
||||
item.forEach((e) => {
|
||||
if (!ids.includes(e.id)) {
|
||||
|
||||
@@ -501,7 +501,7 @@ export default {
|
||||
let ids = [];
|
||||
let list = [];
|
||||
this.form.promotionGoodsList.forEach((e) => {
|
||||
ids.push(e.id);
|
||||
ids.push(e.skuId);
|
||||
});
|
||||
item.forEach((e) => {
|
||||
if (!ids.includes(e.id)) {
|
||||
|
||||
@@ -276,7 +276,7 @@ export default {
|
||||
let ids = [];
|
||||
let list = [];
|
||||
this.goodsData.forEach((e) => {
|
||||
ids.push(e.id);
|
||||
ids.push(e.skuId);
|
||||
});
|
||||
item.forEach((e) => {
|
||||
if (!ids.includes(e.id)) {
|
||||
|
||||
@@ -364,7 +364,7 @@ export default {
|
||||
let list = [];
|
||||
|
||||
this.goodsList[this.tabIndex].list.forEach((e) => {
|
||||
ids.push(e.id);
|
||||
ids.push(e.skuId);
|
||||
});
|
||||
item.forEach((e) => {
|
||||
if (!ids.includes(e.id)) {
|
||||
|
||||
Reference in New Issue
Block a user