fix:生产领料时选中物料数量不可编辑
This commit is contained in:
parent
c0c83a91c9
commit
8eaf38b040
|
@ -110,6 +110,7 @@
|
|||
v-model="form.count"
|
||||
:min="1"
|
||||
:precision="0"
|
||||
:disabled="true"
|
||||
style="width: 100%"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
@ -264,6 +265,7 @@ export default {
|
|||
if(arr2.length > 0){
|
||||
that.selectBatch = arr2[0].batch;
|
||||
that.form.batch = arr2[0].batch;
|
||||
that.form.count = arr2[0].count;
|
||||
that.form.mb = arr2[0].id;
|
||||
that.form.warehouse = arr2[0].warehouse;
|
||||
that.$refs.scanDialog.visible = false;
|
||||
|
@ -296,6 +298,7 @@ export default {
|
|||
}else{
|
||||
this.form.batch = item.batch;
|
||||
this.form.mb = item.id;
|
||||
this.form.count = item.count;
|
||||
this.form.warehouse = item.warehouse;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue