|
|
@@ -208,7 +208,7 @@
|
|
|
<div class="flex">
|
|
|
<el-input v-model="xdForm.phone" type="number" :disabled="loading || auto_order" v-if="xgaddress"></el-input>
|
|
|
<el-input v-model="showAddress" type="text" :disabled="loading || auto_order" v-else disabled></el-input>
|
|
|
- <el-button style="margin-left: 10px;" @click="xgaddress = true">随机</el-button>
|
|
|
+ <el-button style="margin-left: 10px;" @click="xgaddress = true">修改</el-button>
|
|
|
<el-button style="margin-left: 10px;" @click="sjPhone">随机</el-button>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
@@ -360,15 +360,15 @@
|
|
|
area: '',
|
|
|
zip: '000000',
|
|
|
// 虚假数据
|
|
|
- lls: '5',
|
|
|
- lle: '10',
|
|
|
- lds: '5',
|
|
|
- lde: '10',
|
|
|
+ lls: 3,
|
|
|
+ lle: 10,
|
|
|
+ lds: 3,
|
|
|
+ lde: 10,
|
|
|
hbmin: 3,
|
|
|
hbmax: 5,
|
|
|
- hbs: '5',
|
|
|
- hbe: '10',
|
|
|
- xl: '300',
|
|
|
+ hbs: 3,
|
|
|
+ hbe: 10,
|
|
|
+ xl: 300,
|
|
|
xtype: '拼团',
|
|
|
scxz: '店铺',
|
|
|
// 无效数据
|
|
|
@@ -864,8 +864,8 @@
|
|
|
if (that.xdForm.lls == '') {
|
|
|
return that.$msg.error('请输入浏览最小时间')
|
|
|
}
|
|
|
- if (that.xdForm.lls < 5) {
|
|
|
- return that.$msg.error('浏览最小时间需大于5秒')
|
|
|
+ if (that.xdForm.lls < 3) {
|
|
|
+ return that.$msg.error('浏览最小时间需大于3秒')
|
|
|
}
|
|
|
if (that.xdForm.lle == '') {
|
|
|
return that.$msg.error('请输入浏览最大时间')
|
|
|
@@ -877,8 +877,8 @@
|
|
|
if (that.xdForm.lds == '') {
|
|
|
return that.$msg.error('请输入浏览店铺最小时间')
|
|
|
}
|
|
|
- if (that.xdForm.lds < 5) {
|
|
|
- return that.$msg.error('浏览店铺最小时间需大于5秒')
|
|
|
+ if (that.xdForm.lds < 3) {
|
|
|
+ return that.$msg.error('浏览店铺最小时间需大于3秒')
|
|
|
}
|
|
|
if (that.xdForm.lde == '') {
|
|
|
return that.$msg.error('请输入浏览店铺最大时间')
|
|
|
@@ -902,8 +902,8 @@
|
|
|
if (that.xdForm.hbs == '') {
|
|
|
return that.$msg.error('请输入商品比较最小时间')
|
|
|
}
|
|
|
- if (that.xdForm.hbs < 5) {
|
|
|
- return that.$msg.error('商品比较时间最小需大于5秒')
|
|
|
+ if (that.xdForm.hbs < 3) {
|
|
|
+ return that.$msg.error('商品比较时间最小需大于3秒')
|
|
|
}
|
|
|
if (that.xdForm.hbe == '') {
|
|
|
return that.$msg.error('请输入商品比较最大时间')
|
|
|
@@ -976,8 +976,8 @@
|
|
|
if (that.xdForm.lls == '') {
|
|
|
return that.$msg.error('请输入浏览最小时间')
|
|
|
}
|
|
|
- if (that.xdForm.lls < 5) {
|
|
|
- return that.$msg.error('浏览最小时间需大于5秒')
|
|
|
+ if (that.xdForm.lls < 3) {
|
|
|
+ return that.$msg.error('浏览最小时间需大于3秒')
|
|
|
}
|
|
|
if (that.xdForm.lle == '') {
|
|
|
return that.$msg.error('请输入浏览最大时间')
|
|
|
@@ -989,8 +989,8 @@
|
|
|
if (that.xdForm.lds == '') {
|
|
|
return that.$msg.error('请输入浏览店铺最小时间')
|
|
|
}
|
|
|
- if (that.xdForm.lds < 5) {
|
|
|
- return that.$msg.error('浏览店铺最小时间需大于5秒')
|
|
|
+ if (that.xdForm.lds < 3) {
|
|
|
+ return that.$msg.error('浏览店铺最小时间需大于3秒')
|
|
|
}
|
|
|
if (that.xdForm.lde == '') {
|
|
|
return that.$msg.error('请输入浏览店铺最大时间')
|
|
|
@@ -1014,8 +1014,8 @@
|
|
|
if (that.xdForm.hbs == '') {
|
|
|
return that.$msg.error('请输入商品比较最小时间')
|
|
|
}
|
|
|
- if (that.xdForm.hbs < 5) {
|
|
|
- return that.$msg.error('商品比较时间最小需大于5秒')
|
|
|
+ if (that.xdForm.hbs < 3) {
|
|
|
+ return that.$msg.error('商品比较时间最小需大于3秒')
|
|
|
}
|
|
|
if (that.xdForm.hbe == '') {
|
|
|
return that.$msg.error('请输入商品比较最大时间')
|
|
|
@@ -1099,8 +1099,8 @@
|
|
|
if (that.xdForm.lls == '') {
|
|
|
return that.$msg.error('请输入浏览最小时间')
|
|
|
}
|
|
|
- if (that.xdForm.lls < 5) {
|
|
|
- return that.$msg.error('浏览最小时间需大于5秒')
|
|
|
+ if (that.xdForm.lls < 3) {
|
|
|
+ return that.$msg.error('浏览最小时间需大于3秒')
|
|
|
}
|
|
|
if (that.xdForm.lle == '') {
|
|
|
return that.$msg.error('请输入浏览最大时间')
|
|
|
@@ -1112,8 +1112,8 @@
|
|
|
if (that.xdForm.lds == '') {
|
|
|
return that.$msg.error('请输入浏览店铺最小时间')
|
|
|
}
|
|
|
- if (that.xdForm.lds < 5) {
|
|
|
- return that.$msg.error('浏览店铺最小时间需大于5秒')
|
|
|
+ if (that.xdForm.lds < 3) {
|
|
|
+ return that.$msg.error('浏览店铺最小时间需大于3秒')
|
|
|
}
|
|
|
if (that.xdForm.lde == '') {
|
|
|
return that.$msg.error('请输入浏览店铺最大时间')
|
|
|
@@ -1137,8 +1137,8 @@
|
|
|
if (that.xdForm.hbs == '') {
|
|
|
return that.$msg.error('请输入商品比较最小时间')
|
|
|
}
|
|
|
- if (that.xdForm.hbs < 5) {
|
|
|
- return that.$msg.error('商品比较时间最小需大于5秒')
|
|
|
+ if (that.xdForm.hbs < 3) {
|
|
|
+ return that.$msg.error('商品比较时间最小需大于3秒')
|
|
|
}
|
|
|
if (that.xdForm.hbe == '') {
|
|
|
return that.$msg.error('请输入商品比较最大时间')
|
|
|
@@ -1173,7 +1173,7 @@
|
|
|
return that.$msg.error('请输入收货人')
|
|
|
}
|
|
|
if (that.xdForm.phone == '') {
|
|
|
- return that.$msg.error('请输入手机号码')
|
|
|
+ // return that.$msg.error('请输入手机号码')
|
|
|
}
|
|
|
if (!/(^1[2|3|4|5|6|7|8|9][0-9]{9}$)/.test(that.xdForm.phone)) {
|
|
|
return that.$msg.error('请输入正确的手机号码')
|