fix:成品入库时如果assembShow为true时,数量最大值限制取消

This commit is contained in:
shijing 2025-12-24 13:49:34 +08:00
parent 698edcea65
commit 7fa7a8ccfa
1 changed files with 5 additions and 3 deletions

View File

@ -70,7 +70,7 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="物料单价">
<el-form-item label="物料单价" v-if="form.type != 'do_in'||form.type != 'do_out'">
<el-input-number
v-model="form.unit_price"
:min="0"
@ -534,7 +534,9 @@ export default {
if(that.form.batch == item.batch){
that.form.count = item.count;
that.form.wm = item.id;
that.batchcount = item.count;
if(!that.assembShow){
that.batchcount = item.count;
}
}
})
},
@ -558,7 +560,7 @@ export default {
} else {
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;
if(that.project_code=='gx'){
that.form.batch = '无'