|
@@ -28,7 +28,7 @@
|
|
|
<view class="hd-price-area">
|
|
<view class="hd-price-area">
|
|
|
<input class="change-input" @click.stop @blur="saveStock" placeholder-style="color:#CCCCCC" v-model="modifyStock" type="number" placeholder="填写数量" @focus="clear()" />
|
|
<input class="change-input" @click.stop @blur="saveStock" placeholder-style="color:#CCCCCC" v-model="modifyStock" type="number" placeholder="填写数量" @focus="clear()" />
|
|
|
</view>
|
|
</view>
|
|
|
- <text v-if="frontHide == 1" class="front-hide-color">隐</text>
|
|
|
|
|
|
|
+ <text v-if="info.frontHide == 1" class="front-hide-color">隐</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -60,15 +60,9 @@ export default {
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
- modifyStock:'',
|
|
|
|
|
- frontHide:0,
|
|
|
|
|
|
|
+ modifyStock:''
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
- mounted(){
|
|
|
|
|
- if(this.info){
|
|
|
|
|
- this.frontHide = this.info.frontHide
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
methods: {
|
|
methods: {
|
|
|
clear(){
|
|
clear(){
|
|
|
this.modifyStock = ''
|
|
this.modifyStock = ''
|