去除批次号正则

master
wangwei 2 years ago
parent 4068e7fbd7
commit 3f940dd6d0

@ -36,10 +36,10 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="scope.row.batchNo" <el-input v-model="scope.row.batchNo"
:disabled="scope.row.index !== selectedIndex" :disabled="scope.row.index !== selectedIndex"
@input="scope.row.batchNo =scope.row.batchNo.replace(/[\W]/g, '')"
ref='inputBatchNoRef' ref='inputBatchNoRef'
placeholder="请输入批次号"></el-input> placeholder="请输入批次号"></el-input>
</template> </template>
<!--@input="scope.row.batchNo =scope.row.batchNo.replace(/[\W]/g, '')"-->
</el-table-column> </el-table-column>
<el-table-column width="120" label="生产日期"> <el-table-column width="120" label="生产日期">
<template slot-scope="scope"> <template slot-scope="scope">

Loading…
Cancel
Save