|
@@ -965,7 +965,11 @@ let vm = new Vue({
|
|
|
// 每次点击提交订单的时候清空姓名和身份证信息和手机号
|
|
|
vm.$refs.customName.value = "";
|
|
|
vm.$refs.customIDCard.value = "";
|
|
|
- vm.$refs.customPhone.value = vm.userInfo.customPhone;
|
|
|
+ let customPhone = vm.userInfo.customPhone;
|
|
|
+ if (customPhone === null || typeof customPhone === 'undefined') {
|
|
|
+ customPhone = '';
|
|
|
+ }
|
|
|
+ vm.$refs.customPhone.value = customPhone;
|
|
|
vm.$refs.couponBarCode.value = "";
|
|
|
if(vm.$refs.couponSn)
|
|
|
vm.$refs.couponSn.value = "";
|