|
|
@@ -57,7 +57,7 @@
|
|
|
<view class="tui-title">特价</view>
|
|
|
<block v-if="Number(getMyShopInfo.pfShopId)==0">
|
|
|
<input v-model="form.skDiscountPrice" style="width:300upx;border:1upx solid #3385FF;color:#3385FF;text-align:center;height:50upx;" placeholder-class="phcolor"
|
|
|
- class="tui-input" name="skDiscountPrice" @focus="form.skDiscountPrice=''" placeholder="金额" type="digit" />
|
|
|
+ class="tui-input" name="skDiscountPrice" @focus="form.skDiscountPrice=''" placeholder="特价金额" type="digit" />
|
|
|
</block>
|
|
|
<block v-else>
|
|
|
<input v-model="form.hjDiscountPrice" style="width:130upx;border:1upx solid #CCCCCC;text-align:center;height:50upx;" placeholder-class="phcolor"
|
|
|
@@ -1104,11 +1104,20 @@ export default {
|
|
|
this.form.classId = ''
|
|
|
this.form.status = 1
|
|
|
this.form.id = 0
|
|
|
- this.form.price = ''
|
|
|
- this.form.skMore = 6
|
|
|
- this.form.addPrice = 3
|
|
|
- this.form.hjAddPrice = 3
|
|
|
+ if(Number(this.getMyShopInfo.pfShopId)>0){
|
|
|
+ this.form.skMore = 6
|
|
|
+ this.form.addPrice = 3
|
|
|
+ this.form.hjAddPrice = 3
|
|
|
+ this.form.price = ''
|
|
|
+ }else{
|
|
|
+ this.form.skMore = 0
|
|
|
+ this.form.addPrice = 0
|
|
|
+ this.form.hjAddPrice = 0
|
|
|
+ this.form.skPrice = ''
|
|
|
+ }
|
|
|
this.form.discountPrice = 0
|
|
|
+ this.form.hjDiscountPrice = 0
|
|
|
+ this.form.skDiscountPrice = 0
|
|
|
this.form.cost = 0
|
|
|
this.form.smallRatio = 1
|
|
|
this.form.frontHide = 0
|