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

busUser
anthonywj 2 years ago
parent ade0d6645d
commit 1e704939ef

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

@ -177,11 +177,13 @@
prop="spec"
show-overflow-tooltip
></el-table-column>
<!-- @input="scope.row.batchNo =scope.row.batchNo.replace(/[\W]/g, '')"-->
<el-table-column width="150" label="批次号">
<template slot-scope="scope">
<el-input size="small" v-model="scope.row.batchNo"
:disabled="scope.row.index !== selectedIndex"
@input="scope.row.batchNo =scope.row.batchNo.replace(/[\W]/g, '')"
ref='inputBatchNoRef'
placeholder="请输入批次号" style="width: 80%"></el-input>
</template>
@ -927,8 +929,8 @@ export default {
},
getBusType() {
if(this.$isBlank(this.idQuery.id)){
this.formData.billType=null;
if (this.$isBlank(this.idQuery.id)) {
this.formData.billType = null;
}
let query = {
enabled: true,
@ -1026,9 +1028,9 @@ export default {
}
if(this.formData.invWarehouseCode!=null){
this.getBusType();
}
if (this.formData.invWarehouseCode != null) {
this.getBusType();
}
this.findSubInvs();
},
};

Loading…
Cancel
Save