合并ma分支解决冲突

This commit is contained in:
lemon橪
2021-06-03 11:51:39 +08:00
142 changed files with 6024 additions and 6336 deletions

View File

@@ -148,11 +148,11 @@ export default {
}
});
},
addPeriod() {
addPeriod() { // 添加时间段显示input
this.addPeriodTime();
this.showAddPeriod = true;
},
addPeriodTime() {
addPeriodTime() { // 添加秒杀时间段
this.showAddPeriod = false;
if (
this.periodTime !== null &&
@@ -161,20 +161,10 @@ export default {
this.form.seckillPeriod.push(this.periodTime);
}
},
removePeriodTime(event, name) {
removePeriodTime(event, name) { // 移除秒杀时间段
this.form.seckillPeriod = this.form.seckillPeriod.filter((i) => i !== name);
},
handleSelectLink(item, index) {
// 调起选择链接弹窗
if (item) this.selectedNav = item;
this.$refs.liliDialog.open('link')
},
changeScope(val) {
if (val === "PORTION_GOODS") {
this.handleSelectLink();
}
},
/** 保存平台优惠券 */
/** 添加秒杀活动 */
handleSubmit() {
this.$refs.form.validate((valid) => {
if (valid) {

View File

@@ -53,7 +53,7 @@
<Row class="operation padding-row">
<Button type="primary" @click="add">添加活动</Button>
</Row>
<Row>
<Table
:loading="loading"
border
@@ -112,7 +112,7 @@
>
</template>
</Table>
</Row>
<Row type="flex" justify="end" class="page">
<Page
:current="searchForm.pageNumber + 1"

View File

@@ -29,10 +29,10 @@
<a class="select-clear" @click="clearSelectAll">清空</a>
</Alert>
</Row>
<Row class="operation">
<Table
:loading="loading"
border
class="operation"
:columns="goodsColumns"
:data="goodsList"
ref="table"
@@ -106,7 +106,6 @@
>
</template>
</Table>
</Row>
<Row type="flex" justify="end" class="page">
<Page
:current="searchForm.pageNumber + 1"