|
@@ -51,8 +51,8 @@
|
|
|
<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>
|
|
|
<view class="btn-group">
|
|
<view class="btn-group">
|
|
|
- <button class="admin-button-com middle" :class="[form.priceType === '0' ? '' : 'default']" @click="setPriceType('0')">无价</button>
|
|
|
|
|
- <button class="admin-button-com middle" :class="[form.priceType === '1' ? '' : 'default']" @click="setPriceType('1')">有价</button>
|
|
|
|
|
|
|
+ <button class="admin-button-com middle" :class="[form.priceType === '1' ? '' : 'default']" @click="setPriceType('1')">有价格</button>
|
|
|
|
|
+ <button class="admin-button-com middle" :class="[form.priceType === '0' ? '' : 'default']" @click="setPriceType('0')">无价格</button>
|
|
|
<text v-if="sn && Number(sn)>0" style="margin-left:10upx;font-size:50upx;color:#CCCCCC;font-weight: normal;">#{{ sn }}</text>
|
|
<text v-if="sn && Number(sn)>0" style="margin-left:10upx;font-size:50upx;color:#CCCCCC;font-weight: normal;">#{{ sn }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
</tui-list-cell>
|
|
</tui-list-cell>
|
|
@@ -166,7 +166,7 @@ export default {
|
|
|
name: "",
|
|
name: "",
|
|
|
price: "",
|
|
price: "",
|
|
|
sold: "",
|
|
sold: "",
|
|
|
- priceType: "1", // 默认有价格
|
|
|
|
|
|
|
+ priceType: "1",
|
|
|
stockSet: "0", // 默认库存充足
|
|
stockSet: "0", // 默认库存充足
|
|
|
categoryIdList: [],
|
|
categoryIdList: [],
|
|
|
autoRise: "1",
|
|
autoRise: "1",
|