mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-20 09:55:53 +08:00
修改后台小程序直播查看问题,新增只有自营店可以赠送积分
This commit is contained in:
@@ -113,9 +113,11 @@
|
||||
>
|
||||
<Checkbox
|
||||
:disabled="form.promotionStatus != 'NEW'"
|
||||
v-if="JSON.parse(getStore('userInfo')).selfOperated"
|
||||
v-model="form.isPoint"
|
||||
>送积分</Checkbox
|
||||
>
|
||||
|
||||
</FormItem>
|
||||
<FormItem v-if="form.isCoupon" label="赠送优惠券" prop="couponId">
|
||||
<Select
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
</FormItem>
|
||||
|
||||
<FormItem>
|
||||
<Button type="primary" @click="createLives()">保存</Button>
|
||||
<Button type="primary" v-if="liveStatus=='NEW'" @click="createLives()">保存</Button>
|
||||
|
||||
</FormItem>
|
||||
</Form>
|
||||
@@ -342,8 +342,7 @@ export default {
|
||||
* dialog点击确定时判断
|
||||
*/
|
||||
addGoods() {
|
||||
console.log(this.commodityList);
|
||||
this.liveData.forEach((item, index) => {
|
||||
this.liveData.forEach((item) => {
|
||||
if (this.commodityList.length == 1 && this.liveData.length == 1) {
|
||||
addLiveGoods({
|
||||
roomId: this.$route.query.roomId,
|
||||
|
||||
Reference in New Issue
Block a user