fix:光子采购入库时批次默认为“无”
This commit is contained in:
parent
f95fcaed90
commit
34b2d4b4f0
|
@ -38,6 +38,7 @@
|
||||||
<el-input
|
<el-input
|
||||||
v-if="form.type == 'pur_in'||form.type == 'other_in'"
|
v-if="form.type == 'pur_in'||form.type == 'other_in'"
|
||||||
v-model="form.batch"
|
v-model="form.batch"
|
||||||
|
clearable
|
||||||
placeholder="手动输入批次号"
|
placeholder="手动输入批次号"
|
||||||
:disabled="inputBatchDisable"
|
:disabled="inputBatchDisable"
|
||||||
/>
|
/>
|
||||||
|
@ -500,6 +501,9 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
this.getBatchOptions();
|
this.getBatchOptions();
|
||||||
}
|
}
|
||||||
|
if(that.project_code=='gx'&&that.type == 'pur_in'){
|
||||||
|
that.form.batch = '无'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
getItem(options, id) {
|
getItem(options, id) {
|
||||||
for (var i = 0; i < options.length; i++) {
|
for (var i = 0; i < options.length; i++) {
|
||||||
|
|
Loading…
Reference in New Issue