fix:成品入库时如果assembShow为true时,数量最大值限制取消
This commit is contained in:
parent
698edcea65
commit
7fa7a8ccfa
|
|
@ -70,7 +70,7 @@
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="物料单价">
|
<el-form-item label="物料单价" v-if="form.type != 'do_in'||form.type != 'do_out'">
|
||||||
<el-input-number
|
<el-input-number
|
||||||
v-model="form.unit_price"
|
v-model="form.unit_price"
|
||||||
:min="0"
|
:min="0"
|
||||||
|
|
@ -534,7 +534,9 @@ export default {
|
||||||
if(that.form.batch == item.batch){
|
if(that.form.batch == item.batch){
|
||||||
that.form.count = item.count;
|
that.form.count = item.count;
|
||||||
that.form.wm = item.id;
|
that.form.wm = item.id;
|
||||||
that.batchcount = item.count;
|
if(!that.assembShow){
|
||||||
|
that.batchcount = item.count;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
@ -558,7 +560,7 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
this.getBatchOptions();
|
this.getBatchOptions();
|
||||||
}
|
}
|
||||||
if(that.form.type == 'pur_in'||that.form.type == 'other_in'){
|
if(that.form.type == 'pur_in'||that.form.type == 'other_in'||that.assembShow){
|
||||||
that.batchcount = 99999999999;
|
that.batchcount = 99999999999;
|
||||||
if(that.project_code=='gx'){
|
if(that.project_code=='gx'){
|
||||||
that.form.batch = '无'
|
that.form.batch = '无'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue