Commit 68a0206f authored by Marcus's avatar Marcus

【备货添加新品】备货添加新品页,入仓影像需要设置为必填

https://zentao.test.jdshangmen.com/bug-view-5364.html
parent ee3e3291
......@@ -215,7 +215,7 @@
</el-card>
<el-card style="margin-top: 15px;">
<div slot="header" class="clearfix">
<span style="font-size: 18px">{{$t('入仓影像')}}</span>
<span style="font-size: 18px"><span style="color: red">*</span>{{$t('入仓影像')}}</span>
</div>
<div>
<image-and-video-upload :fileSize="50" :isShowTip="true" v-model="pictureUrls" ></image-and-video-upload>
......@@ -520,6 +520,13 @@ export default {
})
if (this.pictureUrls?.length === 0) {
return this.$notify({
title: '请上传入仓影像',
type: 'warning'
});
}
// 首次入仓、入仓补充
return finishPacked({
brand: this.form.brand,
......
......@@ -213,7 +213,7 @@
</el-card>
<el-card style="margin-top: 15px;">
<div slot="header" class="clearfix">
<span style="font-size: 18px">{{$t('入仓影像')}}</span>
<span style="font-size: 18px"><span style="color: red">*</span>{{$t('入仓影像')}}</span>
</div>
<div>
<image-and-video-upload :fileSize="50" :isShowTip="true" v-model="pictureUrls" ></image-and-video-upload>
......@@ -533,6 +533,13 @@ export default {
})
if (this.pictureUrls?.length === 0) {
return this.$notify({
title: '请上传入仓影像',
type: 'warning'
});
}
// 首次入仓、入仓补充
return finishPacked({
brand: this.form.brand,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment