|
|
@@ -22,7 +22,7 @@
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
<view class="tui-title">价格</view>
|
|
|
<input v-model="form.hjPrice" style="width:130upx;border:1upx solid #CCCCCC;text-align:center;height:50upx;" placeholder-class="phcolor"
|
|
|
- class="tui-input" name="hjPrice" @focus="form.hjPrice=''" placeholder="会员价" type="digit" />
|
|
|
+ class="tui-input" name="hjPrice" @focus="form.hjPrice=''" placeholder="大客价" type="digit" />
|
|
|
<input v-model="form.price" style="width:130upx;border:1upx solid #3385FF;text-align:center;height:50upx;color:#3385FF;margin-left:30upx;" placeholder-class="phcolor"
|
|
|
class="tui-input" name="price" @focus="form.price=''" placeholder="批发价" type="digit" @input="priceLinkage()" />
|
|
|
<input v-model="form.skPrice" style="width:130upx;border:1upx solid #CCCCCC;text-align:center;height:50upx;margin-left:30upx;" placeholder-class="phcolor"
|
|
|
@@ -135,18 +135,18 @@
|
|
|
<view class="module-com input-line-wrap">
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
- <view class="tui-title">会员价比成本贵</view>
|
|
|
- <input v-model="form.hjAddPrice" placeholder-class="phcolor" class="tui-input" name="hjAddPrice" @focus="form.hjAddPrice=''" placeholder="请填写" maxlength="50" type="digit" />
|
|
|
+ <view class="tui-title">大客价加价</view>
|
|
|
+ <input v-model="form.hjAddPrice" placeholder-class="phcolor" class="tui-input" name="hjAddPrice" @focus="form.hjAddPrice=''" placeholder="在成本价基础上多卖的金额" maxlength="50" type="digit" />
|
|
|
</tui-list-cell>
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
- <view class="tui-title">批发价比成本贵</view>
|
|
|
- <input v-model="form.addPrice" placeholder-class="phcolor" class="tui-input" name="addPrice" @focus="form.addPrice=''" placeholder="请填写" maxlength="50" type="digit" />
|
|
|
+ <view class="tui-title">批发价加价</view>
|
|
|
+ <input v-model="form.addPrice" placeholder-class="phcolor" class="tui-input" name="addPrice" @focus="form.addPrice=''" placeholder="在成本价基础上多卖的金额" maxlength="50" type="digit" />
|
|
|
</tui-list-cell>
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
- <view class="tui-title">零售价比成本贵</view>
|
|
|
- <input v-model="form.skMore" placeholder-class="phcolor" class="tui-input" name="skMore" @focus="form.skMore=''" placeholder="请填写" type="digit" />
|
|
|
+ <view class="tui-title">零售价加价</view>
|
|
|
+ <input v-model="form.skMore" placeholder-class="phcolor" class="tui-input" name="skMore" @focus="form.skMore=''" placeholder="在成本价基础上多卖的金额" type="digit" />
|
|
|
</tui-list-cell>
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
@@ -492,7 +492,7 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
if(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(this.form.hjPrice) == false){
|
|
|
- uni.showToast({title:"请填写会员价",icon:"none"})
|
|
|
+ uni.showToast({title:"请填写大客价",icon:"none"})
|
|
|
return;
|
|
|
}
|
|
|
if(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(this.form.skPrice) == false){
|
|
|
@@ -500,15 +500,15 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
if(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(this.form.addPrice) == false){
|
|
|
- uni.showToast({title:"请填写批发价比成本贵多少",icon:"none"})
|
|
|
+ uni.showToast({title:"请填写批发价加价",icon:"none"})
|
|
|
return;
|
|
|
}
|
|
|
if(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(this.form.skMore) == false){
|
|
|
- uni.showToast({title:"请填写零售价比成本贵多少",icon:"none"})
|
|
|
+ uni.showToast({title:"请填写零售价加价",icon:"none"})
|
|
|
return;
|
|
|
}
|
|
|
if(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(this.form.hjAddPrice) == false){
|
|
|
- uni.showToast({title:"请填写会员价比成本贵多少",icon:"none"})
|
|
|
+ uni.showToast({title:"请填写大客价加价",icon:"none"})
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
@@ -578,17 +578,17 @@ export default {
|
|
|
{
|
|
|
name: "hjPrice",
|
|
|
rule: ["required"],
|
|
|
- msg: ["请填写会员价"]
|
|
|
+ msg: ["请填写大客价"]
|
|
|
},
|
|
|
{
|
|
|
name: "addPrice",
|
|
|
rule: ["required"],
|
|
|
- msg: ["请填写批发价比成本贵多少"]
|
|
|
+ msg: ["请填写批发价加价"]
|
|
|
},
|
|
|
{
|
|
|
name: "hjAddPrice",
|
|
|
rule: ["required"],
|
|
|
- msg: ["请填写会员价比成本贵多少"]
|
|
|
+ msg: ["请填写大客价加价"]
|
|
|
},
|
|
|
{
|
|
|
name: "discountPrice",
|
|
|
@@ -603,7 +603,7 @@ export default {
|
|
|
{
|
|
|
name: "skMore",
|
|
|
rule: ["required"],
|
|
|
- msg: ["请填写零售价比成本贵多少"]
|
|
|
+ msg: ["请填写零售价加价"]
|
|
|
},
|
|
|
{
|
|
|
name: "weight",
|