|
|
@@ -74,17 +74,13 @@
|
|
|
<input v-model="form.skAddPrice" placeholder-class="phcolor" class="tui-input" name="skAddPrice" @focus="form.skAddPrice=''" placeholder="请填写" maxlength="50" type="digit" />
|
|
|
</tui-list-cell>
|
|
|
<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" />
|
|
|
</tui-list-cell>
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
- <view class="tui-title">银店加价</view>
|
|
|
+ <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.zsAddPrice" placeholder-class="phcolor" class="tui-input" name="zsAddPrice" @focus="form.zsAddPrice=''" placeholder="请填写" maxlength="50" type="digit" />
|
|
|
- </tui-list-cell>
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
<view class="tui-title">单位比</view>
|
|
|
@@ -177,7 +173,6 @@ export default {
|
|
|
skAddPrice:'',
|
|
|
addPrice:'',
|
|
|
hjAddPrice:'',
|
|
|
- zsAddPrice:'',
|
|
|
discountPrice:'',
|
|
|
weight:'',
|
|
|
cover:[],
|
|
|
@@ -289,7 +284,6 @@ export default {
|
|
|
this.form.skAddPrice =''
|
|
|
this.form.addPrice =''
|
|
|
this.form.hjAddPrice =''
|
|
|
- this.form.zsAddPrice =''
|
|
|
this.form.discountPrice = ''
|
|
|
})
|
|
|
},
|
|
|
@@ -406,10 +400,6 @@ export default {
|
|
|
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.zsAddPrice) == false){
|
|
|
- uni.showToast({title:"请填写金店加价",icon:"none"})
|
|
|
- return;
|
|
|
- }
|
|
|
}
|
|
|
let form = JSON.parse(JSON.stringify(this.form))
|
|
|
uni.showLoading({mask:true})
|
|
|
@@ -489,11 +479,6 @@ export default {
|
|
|
rule: ["required"],
|
|
|
msg: ["请填写银店加价"]
|
|
|
},
|
|
|
- {
|
|
|
- name: "zsAddPrice",
|
|
|
- rule: ["required"],
|
|
|
- msg: ["请填写金店加价"]
|
|
|
- },
|
|
|
{
|
|
|
name: "discountPrice",
|
|
|
rule: ["required"],
|