暂时放开业务单据录入批次号字符限制

busUser
anthonywj 2 years ago
parent ade0d6645d
commit 1e704939ef

@ -182,11 +182,13 @@
prop="spec" prop="spec"
show-overflow-tooltip show-overflow-tooltip
></el-table-column> ></el-table-column>
<!-- @input="scope.row.batchNo =scope.row.batchNo.replace(/[\W]/g, '')"-->
<el-table-column width="150" label="批次号"> <el-table-column width="150" label="批次号">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input size="small" v-model="scope.row.batchNo" <el-input size="small" 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="请输入批次号" style="width: 80%"></el-input> placeholder="请输入批次号" style="width: 80%"></el-input>
</template> </template>

@ -177,11 +177,13 @@
prop="spec" prop="spec"
show-overflow-tooltip show-overflow-tooltip
></el-table-column> ></el-table-column>
<!-- @input="scope.row.batchNo =scope.row.batchNo.replace(/[\W]/g, '')"-->
<el-table-column width="150" label="批次号"> <el-table-column width="150" label="批次号">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input size="small" v-model="scope.row.batchNo" <el-input size="small" 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="请输入批次号" style="width: 80%"></el-input> placeholder="请输入批次号" style="width: 80%"></el-input>
</template> </template>

Loading…
Cancel
Save