去除批次号正则

master
wangwei 2 years ago
parent cb60883b26
commit e0c3c48e80

@ -36,7 +36,7 @@
<template slot-scope="scope">
<el-input v-model="scope.row.batchNo"
:disabled="scope.row.index !== selectedIndex"
@input="scope.row.batchNo =scope.row.batchNo.replace(/[\W]/g, '')"
<!--@input="scope.row.batchNo =scope.row.batchNo.replace(/[\W]/g, '')"-->
ref='inputBatchNoRef'
placeholder="请输入批次号"></el-input>
</template>

@ -12,6 +12,7 @@
:rules="rules"
ref="ruleForm"
label-position="left"
@submit.native.prevent
>
<el-card class="box-card">
<div style="text-align: center; margin-top: 10px">

Loading…
Cancel
Save