|
|
@@ -45,14 +45,14 @@
|
|
|
</tui-list-cell>
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
- <div class="tui-title">优惠价</div>
|
|
|
+ <div class="tui-title">今日特价</div>
|
|
|
<input
|
|
|
v-model="form.discountPrice"
|
|
|
placeholder-class="phcolor"
|
|
|
class="tui-input"
|
|
|
name="discountPrice"
|
|
|
@focus="form.discountPrice=''"
|
|
|
- placeholder="没有优惠请填0"
|
|
|
+ placeholder="没有做特价活动请填0"
|
|
|
maxlength="50"
|
|
|
type="digit"
|
|
|
/>
|
|
|
@@ -418,7 +418,7 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
if(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(this.form.discountPrice) == false){
|
|
|
- uni.showToast({title:"请填写优惠价,没有优惠价请填0",icon:"none"})
|
|
|
+ uni.showToast({title:"请填写特价,没有特价请填0",icon:"none"})
|
|
|
return;
|
|
|
}
|
|
|
if(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(this.form.price) == false){
|
|
|
@@ -494,7 +494,7 @@ export default {
|
|
|
{
|
|
|
name: "discountPrice",
|
|
|
rule: ["required"],
|
|
|
- msg: ["没有优惠价请填0"]
|
|
|
+ msg: ["不做特价请填0"]
|
|
|
},
|
|
|
{
|
|
|
name: "weight",
|