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

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>
@ -927,8 +929,8 @@ export default {
}, },
getBusType() { getBusType() {
if(this.$isBlank(this.idQuery.id)){ if (this.$isBlank(this.idQuery.id)) {
this.formData.billType=null; this.formData.billType = null;
} }
let query = { let query = {
enabled: true, enabled: true,
@ -1026,7 +1028,7 @@ export default {
} }
if(this.formData.invWarehouseCode!=null){ if (this.formData.invWarehouseCode != null) {
this.getBusType(); this.getBusType();
} }
this.findSubInvs(); this.findSubInvs();

Loading…
Cancel
Save