添加商品时,没有多规格,提示
This commit is contained in:
parent
68ba0e8ac9
commit
389ec632ee
@ -163,7 +163,7 @@
|
||||
</checkbox-group>
|
||||
</view>
|
||||
|
||||
<view class="popup_group_item" >
|
||||
<view class="popup_group_item">
|
||||
<view class="popup_group_item_label">是否包邮</view>
|
||||
<view class="popup_group_item_value">
|
||||
<view class="popup_group_item_message">
|
||||
@ -669,6 +669,7 @@
|
||||
// 选择规格弹窗
|
||||
selectSpecification() {
|
||||
attrList(this.merId, { page: 1, limit: 10000 }).then(res => {
|
||||
if (res.data.list.length < 1) return Toast('暂无规格可选');
|
||||
this.specificationClassification = res.data.list;
|
||||
this.classified['attr'] = this.specificationClassification;
|
||||
this.specificationClassification.forEach(item => {
|
||||
@ -801,7 +802,7 @@
|
||||
Toast('请选择送货方式');
|
||||
return;
|
||||
}
|
||||
if (this.setFormData.imageList.length < 2 ) {
|
||||
if (this.setFormData.imageList.length < 2) {
|
||||
Toast('请添加最少两张图片用于展示');
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user