|
|
@@ -74,7 +74,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="textarea-box">
|
|
|
- <textarea auto-height placeholder="请输入详细地址" maxlength="25" />
|
|
|
+ <textarea auto-height placeholder="请输入详细地址" v-model="addressDetail" name="detailAddress" maxlength="26"/>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -112,6 +112,7 @@
|
|
|
address: '',
|
|
|
addressObj:{},
|
|
|
loginObj:{},
|
|
|
+ addressDetail:'',
|
|
|
}
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
@@ -149,6 +150,12 @@
|
|
|
checkType: "notnull",
|
|
|
errorMsg: "姓名不能为空"
|
|
|
},
|
|
|
+ {
|
|
|
+ name: "detailAddress",
|
|
|
+ checkType: "string",
|
|
|
+ checkRule: "0,25",
|
|
|
+ errorMsg: "详细地址应为0-25个字符"
|
|
|
+ },
|
|
|
{
|
|
|
name: "dealerName",
|
|
|
checkType: "notnull",
|
|
|
@@ -191,6 +198,7 @@
|
|
|
sex:that.userSex,//0-女 1-男
|
|
|
province:that.addressObj.province.id,//省份id
|
|
|
city:that.addressObj.city.id,//城市id
|
|
|
+ detailaddress:that.addressDetail,
|
|
|
jxs_name:params.dealerName,
|
|
|
},
|
|
|
success: res => {
|