diff --git a/bundle/pages/procurement/procurement.vue b/bundle/pages/procurement/procurement.vue
index 69d99cb..776065f 100644
--- a/bundle/pages/procurement/procurement.vue
+++ b/bundle/pages/procurement/procurement.vue
@@ -69,16 +69,16 @@
-
+
-
+
-
+
-
-
+
+
@@ -110,7 +110,7 @@
审核失败请重新提交
-
+
@@ -134,7 +134,7 @@ export default {
current: 0,
formData: {
u_phone: '', // 手机号码
- u_address: '', //现居地址,
+ u_name: '', //现居地址,
province_name: '', // 省
city_name: '', // 市
area_name: '', // 区
@@ -201,7 +201,6 @@ export default {
this.u_examine_state = this.formData.u_examine_state;
this.wholesale_state = this.formData.wholesale_state;
-
if (this.u_examine_state == 0 ) {
this.btnStatus = true;
this.radioDisable = true;
@@ -264,6 +263,13 @@ export default {
return
}
+ if(!this.formData.u_name){
+ this.$toast({
+ title:'请填写您的姓名'
+ })
+ return
+ }
+
if (!this.$u.test.mobile(this.formData.u_phone)) {
this.$toast({
title:'请输入正确的手机号'
@@ -271,16 +277,9 @@ export default {
return
}
- if(!this.formData.u_address){
- this.$toast({
- title:'请填写现居地址'
- })
- return
- }
-
if(this.formData.province_id == 0){
this.$toast({
- title:'请选择所在地区'
+ title:'请选择现居地址'
})
return
}
@@ -417,7 +416,8 @@ export default {
}
}
.submit-btn {
- width: 100%;
+ width: 90%;
+ margin: 0 auto;
.btn-style {
width: 100%;
border: none;
@@ -437,13 +437,23 @@ export default {
background: linear-gradient(#12c96e 0%, #0abd57 50.76%, #03b240 100%);
color: #fff;
border-radius: 999rpx;
+ position: fixed;
+ bottom: 40rpx;
+ width: 90%;
+ left: 50%;
+ transform: translateX(-50%);
}
}
}
}
.wholesale-price-btn {
- width: 100%;
+ width: 90%;
+ margin: 0 auto;
+ position: fixed;
+ bottom: 0;
+ left: 50%;
+ transform: translateX(-50%);
.wholesale-price-btn-style {
width: 100%;
border: none;
@@ -470,4 +480,4 @@ export default {
padding:30rpx 0 40rpx 0;
}
}
-
+
\ No newline at end of file