|
|
@@ -19,11 +19,11 @@
|
|
|
</view>
|
|
|
</u-form-item>
|
|
|
|
|
|
- <u-form-item label="商品原价">
|
|
|
+ <u-form-item label="商品原价(选填)">
|
|
|
<u-input v-model="shop.originalMoney" @input="ZheKouInput" placeholder="请填写" />
|
|
|
</u-form-item>
|
|
|
|
|
|
- <u-form-item label="打包费">
|
|
|
+ <u-form-item label="打包费(选填)">
|
|
|
<u-input v-model="shop.packMoney" placeholder="请填写" />
|
|
|
</u-form-item>
|
|
|
|
|
|
@@ -32,7 +32,7 @@
|
|
|
</u-form-item>
|
|
|
<view class="padding bg radius margin-tb" style="padding: 10px 0;">
|
|
|
<view>
|
|
|
- <view class="text-lg" style="color: #333;">商品描述</view>
|
|
|
+ <view class="text-lg" style="color: #333;">商品描述(选填)</view>
|
|
|
<view class="margin-tb-sm">
|
|
|
<u-input v-model="shop.goodsDescribe" type="textarea" height="200" placeholde="请描述一下您的特长"
|
|
|
maxlengt="200" :clearable="false" style="background:#F5F5F5;" />
|
|
|
@@ -101,7 +101,7 @@
|
|
|
</view>
|
|
|
|
|
|
<view>
|
|
|
- <view class="text-lg margin-top-sm text-black">商品详情图(可多张)</view>
|
|
|
+ <view class="text-lg margin-top-sm text-black">商品详情图(可多张)(选填)</view>
|
|
|
<view class="flex" style="overflow: hidden;flex-wrap: wrap;">
|
|
|
<view v-if="goodsParticularsPicture.length">
|
|
|
<view class="margin-top flex margin-right-sm flex-wrap">
|
|
|
@@ -711,12 +711,13 @@
|
|
|
return
|
|
|
}
|
|
|
if (!this.shop.originalMoney) {
|
|
|
- uni.showToast({
|
|
|
- title: '请填写商品原价',
|
|
|
- icon: 'none',
|
|
|
- duration: 1000
|
|
|
- })
|
|
|
- return
|
|
|
+ this.shop.originalMoney=this.shop.goodsMoney
|
|
|
+ // uni.showToast({
|
|
|
+ // title: '请填写商品原价',
|
|
|
+ // icon: 'none',
|
|
|
+ // duration: 1000
|
|
|
+ // })
|
|
|
+ // return
|
|
|
}
|
|
|
// console.log(this.shop.packMoney,'------------')
|
|
|
// if (this.shop.packMoney*1 != '') {
|
|
|
@@ -736,12 +737,13 @@
|
|
|
return
|
|
|
}
|
|
|
if (!this.shop.goodsDescribe) {
|
|
|
- uni.showToast({
|
|
|
- title: '请填写商品描述',
|
|
|
- icon: 'none',
|
|
|
- duration: 1000
|
|
|
- })
|
|
|
- return
|
|
|
+ this.shop.goodsDescribe='无'
|
|
|
+ // uni.showToast({
|
|
|
+ // title: '请填写商品描述',
|
|
|
+ // icon: 'none',
|
|
|
+ // duration: 1000
|
|
|
+ // })
|
|
|
+ // return
|
|
|
}
|
|
|
if (!this.shop.goodsCover) {
|
|
|
uni.showToast({
|
|
|
@@ -761,12 +763,13 @@
|
|
|
return
|
|
|
}
|
|
|
if (!this.shop.goodsParticularsPicture) {
|
|
|
- uni.showToast({
|
|
|
- title: '请上传商品详情图',
|
|
|
- icon: 'none',
|
|
|
- duration: 1000
|
|
|
- })
|
|
|
- return
|
|
|
+ this.goodsParticularsPicture=['https://moxuanyunshang.oss-cn-beijing.aliyuncs.com/xiangqing/12ecc56005731327e02f42f0d851848.png']
|
|
|
+ // uni.showToast({
|
|
|
+ // title: '请上传商品详情图',
|
|
|
+ // icon: 'none',
|
|
|
+ // duration: 1000
|
|
|
+ // })
|
|
|
+ // return
|
|
|
}
|
|
|
if (this.attrsid == 2) {
|
|
|
if (this.shop.attr.length == 0) {
|