fix:光子采购入库时批次默认为“无”

This commit is contained in:
shijing 2025-09-15 16:27:15 +08:00
parent f95fcaed90
commit 34b2d4b4f0
1 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,7 @@
<el-input
v-if="form.type == 'pur_in'||form.type == 'other_in'"
v-model="form.batch"
clearable
placeholder="手动输入批次号"
:disabled="inputBatchDisable"
/>
@ -500,6 +501,9 @@ export default {
} else {
this.getBatchOptions();
}
if(that.project_code=='gx'&&that.type == 'pur_in'){
that.form.batch = '无'
}
},
getItem(options, id) {
for (var i = 0; i < options.length; i++) {