|
@@ -53,20 +53,6 @@
|
|
|
</radio-group>
|
|
</radio-group>
|
|
|
</tui-list-cell>
|
|
</tui-list-cell>
|
|
|
|
|
|
|
|
- <tui-list-cell class="line-cell" :hover="false">
|
|
|
|
|
- <view class="tui-title">库存不足</view>
|
|
|
|
|
- <radio-group class="tui-input" @change="stockSetChange">
|
|
|
|
|
- <label class="list" for="stockCouldOrder">
|
|
|
|
|
- <radio id="stockCouldOrder" value="1" :checked="form.stockSet == 1" style="transform: scale(0.8,0.8);" />
|
|
|
|
|
- <span class="checkbox-text">允许下单</span>
|
|
|
|
|
- </label>
|
|
|
|
|
- <label class="list" for="stockNotOrder">
|
|
|
|
|
- <radio id="stockNotOrder" value="0" :checked="form.stockSet == 0" style="transform: scale(0.8,0.8);" />
|
|
|
|
|
- <span class="checkbox-text">不能下单</span>
|
|
|
|
|
- </label>
|
|
|
|
|
- </radio-group>
|
|
|
|
|
- </tui-list-cell>
|
|
|
|
|
-
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
<view class="tui-title">状态</view>
|
|
<view class="tui-title">状态</view>
|
|
|
<radio-group class="tui-input" @change="statusChange">
|
|
<radio-group class="tui-input" @change="statusChange">
|
|
@@ -188,8 +174,7 @@ export default {
|
|
|
briefContent: "",
|
|
briefContent: "",
|
|
|
status:1,
|
|
status:1,
|
|
|
flower:1,
|
|
flower:1,
|
|
|
- flowerNum:0,
|
|
|
|
|
- stockSet:1
|
|
|
|
|
|
|
+ flowerNum:0
|
|
|
},
|
|
},
|
|
|
categoryData:[]
|
|
categoryData:[]
|
|
|
};
|
|
};
|
|
@@ -292,9 +277,6 @@ export default {
|
|
|
return false
|
|
return false
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- stockSetChange(e){
|
|
|
|
|
- this.form.stockSet = e.detail.value
|
|
|
|
|
- },
|
|
|
|
|
statusChange(e){
|
|
statusChange(e){
|
|
|
this.form.status = e.detail.value
|
|
this.form.status = e.detail.value
|
|
|
}
|
|
}
|