优化楼层装修样式问题,以及退单金额显示,删除砍价批量删除商品功能
parent
4da164dcba
commit
4f2f6e8d20
|
@ -81,14 +81,17 @@
|
||||||
<first-page-advert :data="element" class="mb_20 width_1200_auto"></first-page-advert>
|
<first-page-advert :data="element" class="mb_20 width_1200_auto"></first-page-advert>
|
||||||
</template>
|
</template>
|
||||||
<!-- 横幅广告 -->
|
<!-- 横幅广告 -->
|
||||||
<template v-if="element.type == 'bannerAdvert'">
|
<template v-if="element.type == 'bannerAdvert'">
|
||||||
|
<div style="width:100%; text-align: center;">
|
||||||
<img
|
<img
|
||||||
width="1200"
|
width="1200"
|
||||||
class="hover-pointer mb_20"
|
class="hover-pointer mb_20"
|
||||||
|
|
||||||
@click="linkTo(element.options.url)"
|
@click="linkTo(element.options.url)"
|
||||||
:src="element.options.img"
|
:src="element.options.img"
|
||||||
alt=""
|
alt=""
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="element.type == 'notEnough'">
|
<template v-if="element.type == 'notEnough'">
|
||||||
<not-enough :data="element" class="mb_20 width_1200_auto"></not-enough>
|
<not-enough :data="element" class="mb_20 width_1200_auto"></not-enough>
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
|
|
||||||
<FormItem label="选择商品" prop="scopeType">
|
<FormItem label="选择商品" prop="scopeType">
|
||||||
<Button type="primary" @click="openSkuList">选择商品</Button>
|
<Button type="primary" @click="openSkuList">选择商品</Button>
|
||||||
<Button type="error" ghost style="margin-left: 10px" @click="delSelectGoods">批量删除
|
<!-- <Button type="error" ghost style="margin-left: 10px" @click="delSelectGoods">批量删除
|
||||||
</Button>
|
</Button> -->
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
||||||
<FormItem astyle="width: 100%">
|
<FormItem astyle="width: 100%">
|
||||||
|
@ -292,28 +292,28 @@ export default {
|
||||||
// 已选商品批量选择
|
// 已选商品批量选择
|
||||||
this.selectedGoods = e;
|
this.selectedGoods = e;
|
||||||
},
|
},
|
||||||
delSelectGoods() {
|
// delSelectGoods() {
|
||||||
// 多选删除商品
|
// // 多选删除商品
|
||||||
if (this.selectedGoods.length <= 0) {
|
// if (this.selectedGoods.length <= 0) {
|
||||||
this.$Message.warning("您还未选择要删除的数据");
|
// this.$Message.warning("您还未选择要删除的数据");
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
this.$Modal.confirm({
|
// this.$Modal.confirm({
|
||||||
title: "确认删除",
|
// title: "确认删除",
|
||||||
content: "您确认要删除所选商品吗?",
|
// content: "您确认要删除所选商品吗?",
|
||||||
onOk: () => {
|
// onOk: () => {
|
||||||
let ids = [];
|
// let ids = [];
|
||||||
this.selectedGoods.forEach(function (e) {
|
// this.selectedGoods.forEach(function (e) {
|
||||||
ids.push(e.id);
|
// ids.push(e.id);
|
||||||
});
|
// });
|
||||||
this.form.promotionGoodsList = this.form.promotionGoodsList.filter(
|
// this.form.promotionGoodsList = this.form.promotionGoodsList.filter(
|
||||||
(item) => {
|
// (item) => {
|
||||||
return !ids.includes(item.id);
|
// return !ids.includes(item.id);
|
||||||
}
|
// }
|
||||||
);
|
// );
|
||||||
},
|
// },
|
||||||
});
|
// });
|
||||||
},
|
// },
|
||||||
delGoods(index) {
|
delGoods(index) {
|
||||||
// 删除商品
|
// 删除商品
|
||||||
this.form.promotionGoodsList.splice(index, 1);
|
this.form.promotionGoodsList.splice(index, 1);
|
||||||
|
|
|
@ -91,7 +91,7 @@
|
||||||
<dt>申请退款金额</dt>
|
<dt>申请退款金额</dt>
|
||||||
<dd>{{ afterSaleInfo.applyRefundPrice | unitPrice('¥') }}</dd>
|
<dd>{{ afterSaleInfo.applyRefundPrice | unitPrice('¥') }}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl v-if="params.serviceStatus == 'PASS'">
|
||||||
<dt>实际退款金额</dt>
|
<dt>实际退款金额</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<Input v-model="params.actualRefundPrice" style="width:260px" />
|
<Input v-model="params.actualRefundPrice" style="width:260px" />
|
||||||
|
|
Loading…
Reference in New Issue