1.查看物流信息

2.直播图片选择器修改
3.管理端隐藏会员详情
This commit is contained in:
chc
2024-12-25 10:35:40 +08:00
parent c5aaa2f3e2
commit 9c402a3878
4 changed files with 19 additions and 178 deletions

View File

@@ -571,8 +571,9 @@
</div>
</template>
<template slot="numSlot" slot-scope="{ row, index }">
<InputNumber :min="0" :max="row.___num - row.deliverNumber" v-model="data[index].canNum">
</InputNumber>
<InputNumber v-model="row.canNum" :disabled="!selectGroupShipGoods.find(item=>item.id === row.id)"
:max="row.___num - row.deliverNumber - row.returnNum" :min="0"
@on-change="changeNum($event,index)"></InputNumber>
</template>
</Table>
<div slot="footer">
@@ -872,6 +873,16 @@ export default {
}
});
},
changeNum(number, index) {
const current = this.data[index]
if (this.selectGroupShipGoods.length) {
this.selectGroupShipGoods.forEach(item => {
if (item.skuId === current.skuId) {
item.canNum = number
}
})
}
},
// 分包裹发货
confirmShipGroupGoods () {
this.$refs.groupOrderDeliveryForm.validate(async (valid) => {
@@ -1145,7 +1156,7 @@ export default {
})
},
toPrints () {
if (this.form.logisticsId != null && this.form.logisticsId != '') {
if (this.faceSheetForm.logisticsId != null && this.faceSheetForm.logisticsId != '') {
this.orderDeliverModal = false;
}
},

View File

@@ -64,115 +64,19 @@
<!-- 分享卡片 -->
<FormItem label="分享卡片封面" prop="feedsImg">
<div class="upload-list" v-if="liveForm.feedsImg">
<template>
<img :src="liveForm.feedsImg" />
<div class="upload-list-cover">
<Icon
type="ios-eye-outline"
@click.native="handleView(liveForm.feedsImg)"
></Icon>
<Icon
type="ios-trash-outline"
@click.native="handleRemove('feedsImg')"
></Icon>
</div>
</template>
</div>
<Upload
v-if="liveForm.feedsImg.length == 0"
ref="upload"
:show-upload-list="false"
:on-success="handleFeedsImgSuccess"
:format="['jpg', 'jpeg', 'png']"
:on-format-error="handleFormatError"
:max-size="1024"
:on-exceeded-size="handleMaxSize"
type="drag"
:action="action"
:headers="accessToken"
style="display: inline-block; width: 58px"
>
<div style="width: 58px; height: 58px; line-height: 58px">
<Icon type="ios-camera" size="20"></Icon>
</div>
</Upload>
<upload-pic-thumb v-model="liveForm.feedsImg" :multiple="false"></upload-pic-thumb>
<div class="tips">直播间分享图图片规则建议像素800*640大小不超过1M</div>
</FormItem>
<!-- 直播间背景墙 -->
<FormItem label="直播间背景墙" prop="coverImg">
<div class="upload-list" v-if="liveForm.coverImg">
<template>
<img :src="liveForm.coverImg" />
<div class="upload-list-cover">
<Icon
type="ios-eye-outline"
@click.native="handleView(liveForm.coverImg)"
></Icon>
<Icon
type="ios-trash-outline"
@click.native="handleRemove('coverImg')"
></Icon>
</div>
</template>
</div>
<Upload
v-if="liveForm.coverImg.length == 0"
ref="upload"
:show-upload-list="false"
:on-success="handleCoverImgSuccess"
:format="['jpg', 'jpeg', 'png']"
:on-format-error="handleFormatError"
:max-size="1024"
:on-exceeded-size="handleMaxSize"
type="drag"
:action="action"
:headers="accessToken"
style="display: inline-block; width: 58px"
>
<div style="width: 58px; height: 58px; line-height: 58px">
<Icon type="ios-camera" size="20"></Icon>
</div>
</Upload>
<upload-pic-thumb v-model="liveForm.coverImg" :multiple="false"></upload-pic-thumb>
<div class="tips">直播间背景图图片规则建议像素1080*1920大小不超过1M</div>
</FormItem>
<!-- 直播间背景墙 -->
<FormItem label="直播间分享图" prop="shareImg">
<div class="upload-list" v-if="liveForm.shareImg">
<template>
<img :src="liveForm.shareImg" />
<div class="upload-list-cover">
<Icon
type="ios-eye-outline"
@click.native="handleView(liveForm.shareImg)"
></Icon>
<Icon
type="ios-trash-outline"
@click.native="handleRemove('shareImg')"
></Icon>
</div>
</template>
</div>
<Upload
v-if="liveForm.shareImg.length == 0"
ref="upload"
:show-upload-list="false"
:on-success="handleShareImgSuccess"
:format="['jpg', 'jpeg', 'png']"
:on-format-error="handleFormatError"
:max-size="1024"
:on-exceeded-size="handleMaxSize"
type="drag"
:action="action"
:headers="accessToken"
style="display: inline-block; width: 58px"
>
<div style="width: 58px; height: 58px; line-height: 58px">
<Icon type="ios-camera" size="20"></Icon>
</div>
</Upload>
<upload-pic-thumb v-model="liveForm.shareImg" :multiple="false"></upload-pic-thumb>
<div class="tips">直播间分享图图片规则建议像素800*640大小不超过1M</div>
</FormItem>
@@ -261,6 +165,7 @@
<script>
import { uploadFile } from "@/libs/axios";
import uploadPicThumb from "@/views/my-components/lili/upload-pic-thumb";
import {
addLive,
addLiveGoods,
@@ -272,6 +177,7 @@ import liveGoods from "./liveGoods";
export default {
components: {
liveGoods,
uploadPicThumb,
},
data() {
return {