增加购买10集价格

This commit is contained in:
2024-12-24 14:45:25 +08:00
parent e0b70d8f65
commit 0ffc27f750

View File

@@ -348,8 +348,19 @@
<el-table-column
prop="price"
label="购买剧价格"
width="60"
></el-table-column>
>
<template slot-scope="scope">
{{scope.row.price?scope.row.price:''}}
</template>
</el-table-column>
<el-table-column
prop="wholesalePrice"
label="购买10集价格"
>
<template slot-scope="scope">
{{scope.row.wholesalePrice?scope.row.wholesalePrice:''}}
</template>
</el-table-column>
<el-table-column
prop="payNum"
label="购买次数"
@@ -595,6 +606,17 @@
placeholder="请输入购买剧价格"
></el-input>
</div>
<div style="margin-bottom: 10px">
<span style="width: 200px; display: inline-block; text-align: right"
>购买10集价格</span
>
<el-input
v-model="wholesalePrice"
type="number"
style="width: 50%"
placeholder="请输入购买10集价格"
></el-input>
</div>
<div style="margin-bottom: 10px">
<span style="width: 200px; display: inline-block; text-align: right"
>购买次数</span
@@ -1762,6 +1784,7 @@ export default {
privilege: [], //标签集合
bq: "", //标签
price: "", //价格
wholesalePrice: "", //10集价格
payNum: "", //购买次数
viewCounts: 0, //播放量
details: "", //短剧介绍
@@ -2345,7 +2368,7 @@ export default {
this.statusType = row.status;
this.details = row.details;
this.viewCounts = row.viewCounts;
this.wholesalePrice = row.wholesalePrice?row.wholesalePrice:'';
this.payNum = row.payNum;
if (row.isPrice) {
this.isPrice = row.isPrice;
@@ -2538,7 +2561,7 @@ export default {
payNum: this.payNum,
price: this.price,
viewCounts: this.viewCounts,
wholesalePrice:this.wholesalePrice,
title: this.title,
titleImg: this.titleImg,
msgUrl: "",
@@ -2574,6 +2597,7 @@ export default {
that.title = "";
that.remark = "";
that.titleImg = "";
this.wholesalePrice=""
that.dataSelect();
},
});