|
@@ -44,7 +44,8 @@
|
|
|
</u-form-item> -->
|
|
</u-form-item> -->
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
<view class="label">
|
|
<view class="label">
|
|
|
- 商品分组<span v-if="tabIndex == '0'">*</span>
|
|
|
|
|
|
|
+ 商品分组
|
|
|
|
|
+ <!-- <span v-if="tabIndex == '0'">*</span> -->
|
|
|
</view>
|
|
</view>
|
|
|
<view class="picker" @click="selectGrouping">
|
|
<view class="picker" @click="selectGrouping">
|
|
|
<span v-if="form.groupingName == ''">请选择</span>
|
|
<span v-if="form.groupingName == ''">请选择</span>
|
|
@@ -760,13 +761,13 @@ export default {
|
|
|
});
|
|
});
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
- if (this.tabIndex == '0' && !this.form.groupingId) {
|
|
|
|
|
- uni.showToast({
|
|
|
|
|
- title: '请选择商品分组',
|
|
|
|
|
- icon: 'none'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // if (this.tabIndex == '0' && !this.form.groupingId) {
|
|
|
|
|
+ // uni.showToast({
|
|
|
|
|
+ // title: '请选择商品分组',
|
|
|
|
|
+ // icon: 'none'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
if (!this.form.productImage) {
|
|
if (!this.form.productImage) {
|
|
|
uni.showToast({
|
|
uni.showToast({
|
|
|
title: '请上传商品封面图',
|
|
title: '请上传商品封面图',
|
|
@@ -1164,7 +1165,7 @@ export default {
|
|
|
// });
|
|
// });
|
|
|
// return
|
|
// return
|
|
|
// }
|
|
// }
|
|
|
- if (!this.form.price) {
|
|
|
|
|
|
|
+ if (!this.form.soldPrice) {
|
|
|
uni.showToast({
|
|
uni.showToast({
|
|
|
title: '请输入商品售价',
|
|
title: '请输入商品售价',
|
|
|
icon: 'none'
|
|
icon: 'none'
|