|
|
@@ -8,7 +8,7 @@
|
|
|
</tui-list-cell>
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
<view class="tui-title required">价格</view>
|
|
|
- <input v-model="form.price" placeholder-class="phcolor" class="tui-input" name="price" placeholder="请输入" maxlength="50" type="digit" />
|
|
|
+ <input v-model="form.price" @focus="form.price=''" placeholder-class="phcolor" class="tui-input" name="price" placeholder="请输入" maxlength="50" type="digit" />
|
|
|
</tui-list-cell>
|
|
|
<tui-list-cell class="line-cell category-wrap" :hover="false">
|
|
|
<view class="tui-title">分类</view>
|
|
|
@@ -96,8 +96,8 @@
|
|
|
</tui-list-cell>
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" v-if="form.flower == 1">
|
|
|
- <view class="tui-title">支数</view>
|
|
|
- <input v-model="form.flowerNum" placeholder-class="phcolor" class="tui-input" name="sold" placeholder="支数" maxlength="50" type="number" />
|
|
|
+ <view class="tui-title">主花支数</view>
|
|
|
+ <input v-model="form.flowerNum" @focus="form.flowerNum=''" placeholder-class="phcolor" class="tui-input" name="sold" placeholder="支数" maxlength="50" type="number" />
|
|
|
</tui-list-cell>
|
|
|
</view>
|
|
|
|
|
|
@@ -228,7 +228,6 @@ export default {
|
|
|
this.form.sold = res.data.sold
|
|
|
this.currentImgData = res.data.smallImgList
|
|
|
this.form.shopImg = res.data.shortImgList
|
|
|
-
|
|
|
getClass({flower:res.data.flower}).then(res => {
|
|
|
if(res.code && res.code == 1){
|
|
|
this.categoryData = res.data
|
|
|
@@ -297,11 +296,9 @@ export default {
|
|
|
},
|
|
|
stockSetChange(e){
|
|
|
this.form.stockSet = e.detail.value
|
|
|
- console.log(this.form.stockSet)
|
|
|
},
|
|
|
statusChange(e){
|
|
|
this.form.status = e.detail.value
|
|
|
- console.log(this.form.status)
|
|
|
}
|
|
|
}
|
|
|
};
|