销售合同限制输入质保期的类型

master
Harry Yang 2023-01-03 11:21:41 +08:00
parent 23c87187de
commit 9cbf498f01
2 changed files with 6 additions and 4 deletions

View File

@ -346,8 +346,9 @@
<el-table-column prop="expirationDate" label="质保期" fixed="right" width="150">
<template slot-scope="scope">
<el-input maxlength="5" size="mini" placeholder="请输入质保期"
v-model="scope.row.expirationDate"></el-input>
<el-input maxlength="5" size="mini" placeholder="请输入质保期" v-model="scope.row.expirationDate"
oninput="value=value.replace(/[^\d\u4E00-\u9FA5]/g, '')" show-word-limit>
</el-input>
</template>
</el-table-column>

View File

@ -464,8 +464,9 @@
<el-table-column prop="expirationDate" label="质保期" fixed="right" width="150">
<template slot-scope="scope">
<el-input maxlength="5" size="mini" placeholder="请输入质保期" show-word-limit
v-model="scope.row.expirationDate"></el-input>
<el-input maxlength="5" size="mini" placeholder="请输入质保期" v-model="scope.row.expirationDate"
oninput="value=value.replace(/[^\d\u4E00-\u9FA5]/g, '')" show-word-limit>
</el-input>
</template>
</el-table-column>