输入手机号数字

This commit is contained in:
魏啾
2024-11-25 13:54:51 +08:00
parent 2cbc3fa65f
commit 4d1d6f0425
7 changed files with 14 additions and 13 deletions

View File

@@ -3,8 +3,8 @@
<view class="contentitem" v-for="(item,index) in form.list" :key="index">
<view class="contentitemtop flex-between">
<text>{{item.name}}</text>
<text v-if="item.dlzh_status == 0">无需登录</text>
<text v-if="item.dlzh_status == 1">需要登录</text>
<text v-if="item.dlzh_status == 0" style="color: green;">无需登录</text>
<text v-if="item.dlzh_status == 1" style="color: red;">需要登录</text>
<text v-if="item.dlzh_status == 9">未知</text>
</view>
<text v-if="item.is_default == 1"
@@ -46,7 +46,7 @@
</view> -->
</view>
</view>
<u-popup :show="canvasshow" @close="canvasshow = !canvasshow" mode="center" :round="14">
<u-popup :show="canvasshow" mode="center" :round="14">
<view class="messagebox">
<view class="flex-center tabs">
<text :class="accountqrcodetype == 1?'tabsselect':''"
@@ -152,12 +152,12 @@
<text class="addshowboxinputtext">*办税人姓名</text>
<view class="addshowboxinput_inp">
<input type="text" placeholder="请输入" v-model="addform.taxname" />
</view>
</view>w
</view>
<view class="addshowboxinput flex-colum-start">
<text class="addshowboxinputtext">*办税人手机号码</text>
<view class="addshowboxinput_inp">
<input type="text" disabled placeholder="请输入" v-model="addform.taxphone" />
<input type="number" disabled placeholder="请输入" v-model="addform.taxphone" />
</view>
</view>
</view>
@@ -291,6 +291,7 @@
id: this.loginid
})
if (res.data.url) {
this.messageshow = false
this.formCode.url = res.data.url
this.formCode.text = res.data.text
this.canvasshow = true
@@ -354,12 +355,12 @@
icon: 'none'
});
this.messageshow = false
this.reset() //重置
break;
case '人脸':
await this.accountqrcode()
break;
}
this.reset() //重置
}
},
//开票员类型列表

View File

@@ -34,7 +34,7 @@
</view>
<view class="Box_box flex-between">
<view class="Box_boxone">*手机号</view>
<view class="Box_boxtow"><input type="text" v-model="form.mobile" placeholder="请填写联系电话" /></view>
<view class="Box_boxtow"><input type="number" v-model="form.mobile" placeholder="请填写联系电话" /></view>
</view>
<template v-if="form.user_type == 2">
<view class="Box_box flex-between" @click="showElse = !showElse">
@@ -52,7 +52,7 @@
</view>
<view class="Box_box flex-between">
<view class="Box_boxone">联系电话</view>
<view class="Box_boxtow"><input type="text" v-model="form.c_phone" placeholder="请填写公司联系电话" />
<view class="Box_boxtow"><input type="number" v-model="form.c_phone" placeholder="请填写公司联系电话" />
</view>
</view>
<view class="Box_box flex-between">

View File

@@ -38,7 +38,7 @@
</view>
<view class="Box_box flex-between">
<view>*手机号</view>
<view><input type="text" v-model="form.mobile" placeholder="请填写联系电话" /></view>
<view><input type="number" v-model="form.mobile" placeholder="请填写联系电话" /></view>
</view>
<view class="Box_box flex-between">
<view>*开票价格</view>

View File

@@ -10,7 +10,7 @@
</view>
<view class="Box_box flex-between">
<view>开票员电话</view>
<view class="Box_box_input"><input type="text" v-model="form.taxphone" placeholder="请填写开票员电话"
<view class="Box_box_input"><input type="number" v-model="form.taxphone" placeholder="请填写开票员电话"
data-key="mobile" /></view>
</view>
<view class="Box_box flex-between" @click="showpicker = true">

View File

@@ -6,7 +6,7 @@
<view class="top_box">
<view class="top_box_one">
<text class="top_box_one_text">手机号码</text>
<input type="text" v-model="form.account" :adjust-position="false" placeholder="请输入手机号码" maxlength="-1"
<input type="number" v-model="form.account" :adjust-position="false" placeholder="请输入手机号码" maxlength="-1"
data-key="mobile" />
</view>
<view class="top_box_one">

View File

@@ -8,7 +8,7 @@
<view class="top_box" :style="h">
<view class="top_box_one">
<text class="top_box_one_text">手机号码</text>
<input type="text" v-model="form.phone" placeholder="请输入手机号码" data-key="mobile" />
<input type="number" v-model="form.phone" placeholder="请输入手机号码" data-key="mobile" />
</view>
<view class="top_box_one">
<text class="top_box_one_text">密码</text>

View File

@@ -14,7 +14,7 @@
</view>
<view class="Box_box flex-between">
<view>请填写法人手机号</view>
<view class="Box_box_input"><input type="text" :disabled='disabled' v-model="form.phone"
<view class="Box_box_input"><input type="number" :disabled='disabled' v-model="form.phone"
placeholder="请填写" data-key="mobile" /></view>
</view>
</view>