uu
This commit is contained in:
parent
4636aff119
commit
ec08acc300
@ -15,12 +15,12 @@
|
||||
<view class="blcok-white radius-20">
|
||||
<view class="">
|
||||
|
||||
<view style="margin-top: 10rpx;" class="mt-10 lbRequiredDot">
|
||||
<view style="margin-top: 10rpx;" class="mt-10 lbRequiredDot">
|
||||
<tpx-input v-model:value="submitParam.name" placeholder="真实姓名"></tpx-input>
|
||||
</view>
|
||||
|
||||
<view class="mt-30 lbRequiredDot">
|
||||
<tpx-input v-model:value="submitParam.phone" placeholder="电话"></tpx-input>
|
||||
</view>
|
||||
|
||||
<view class="mt-30 lbRequiredDot">
|
||||
<tpx-input v-model:value="submitParam.phone" placeholder="电话"></tpx-input>
|
||||
</view>
|
||||
|
||||
<view class="mt-40 pos-rlt lbRequiredDot">
|
||||
@ -28,7 +28,7 @@
|
||||
<view @click="handleDialogClick(addressModal)" class="pos-abt-all"></view>
|
||||
</view>
|
||||
|
||||
<view class="mt-30 pos-rlt">
|
||||
<view class="mt-30 pos-rlt">
|
||||
<view class="lbRequiredDot mt-30" style="position: absolute;"></view>
|
||||
<tpx-textarea v-model:value="submitParam.address" placeholder="详细地址(例如**街道**号**)"></tpx-textarea>
|
||||
</view>
|
||||
@ -41,8 +41,8 @@
|
||||
<tpx-input v-model:value="submitParam.email" placeholder="邮箱(选填"></tpx-input>
|
||||
</view>
|
||||
|
||||
<view class="mt-30">
|
||||
<tpx-input v-model:value="submitParam.company" placeholder="公司名称(选填)"></tpx-input>
|
||||
<view class="mt-30 lbRequiredDot">
|
||||
<tpx-input v-model:value="submitParam.company" placeholder="公司名称"></tpx-input>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -116,7 +116,8 @@
|
||||
phone: { required: true, requiredMsg: '手机号不能为空' },
|
||||
country: { required: true, requiredMsg: '国家不能为空' },
|
||||
province: { required: true, requiredMsg: '省份不能为空' },
|
||||
address: { required: true, requiredMsg: '详细地址不能为空' },
|
||||
address: { required: true, requiredMsg: '详细地址不能为空' },
|
||||
company: { required: true, requiredMsg: '公司名称不能为空' },
|
||||
},
|
||||
}
|
||||
},
|
||||
@ -153,10 +154,10 @@
|
||||
this.addressModal.values = setAddresModalParam(data);
|
||||
Object.assign(this.submitParam, data)
|
||||
},
|
||||
handleAddressChoose(data) {
|
||||
addressNameCodeMap.map((nameCodeMap, index)=> {
|
||||
this.submitParam[nameCodeMap.codeKey] = data.regIds[index]
|
||||
this.submitParam[nameCodeMap.nameKey] = data.regNames[index]
|
||||
handleAddressChoose(data) {
|
||||
addressNameCodeMap.map((nameCodeMap, index)=> {
|
||||
this.submitParam[nameCodeMap.codeKey] = data.regIds[index]
|
||||
this.submitParam[nameCodeMap.nameKey] = data.regNames[index]
|
||||
})
|
||||
},
|
||||
handleReset(){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user