fix:成品入库时如果assembShow为true时,数量最大值限制取消
This commit is contained in:
parent
698edcea65
commit
7fa7a8ccfa
|
|
@ -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,8 +534,10 @@ export default {
|
|||
if(that.form.batch == item.batch){
|
||||
that.form.count = item.count;
|
||||
that.form.wm = item.id;
|
||||
if(!that.assembShow){
|
||||
that.batchcount = item.count;
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
selectMaterialChange() {
|
||||
|
|
@ -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 = '无'
|
||||
|
|
|
|||
Loading…
Reference in New Issue