|
@@ -47,7 +47,7 @@
|
|
|
</tui-list-cell>
|
|
</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>
|
|
|
<input v-model="form.addPrice" placeholder-class="phcolor" class="tui-input" name="addPrice" @focus="form.addPrice=''" placeholder="请填写" maxlength="50" type="digit" />
|
|
<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>
|
|
|
|
|
|
|
@@ -383,7 +383,7 @@ export default {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
if(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(this.form.addPrice) == false){
|
|
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;
|
|
return;
|
|
|
}
|
|
}
|
|
|
if(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(this.form.skMore) == false){
|
|
if(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(this.form.skMore) == false){
|
|
@@ -457,7 +457,7 @@ export default {
|
|
|
{
|
|
{
|
|
|
name: "addPrice",
|
|
name: "addPrice",
|
|
|
rule: ["required"],
|
|
rule: ["required"],
|
|
|
- msg: ["请填写普店比进价贵多少"]
|
|
|
|
|
|
|
+ msg: ["请填写普店比成本贵多少"]
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: "discountPrice",
|
|
name: "discountPrice",
|