fix:光芯领料数量问题
This commit is contained in:
parent
6b9962a8ee
commit
07ea5f9a23
|
|
@ -152,7 +152,7 @@
|
|||
<el-input-number
|
||||
v-model="form.count"
|
||||
:min="1"
|
||||
:disabled="form.type == 'do_out'"
|
||||
:disabled="form.type == 'do_out'&&project_code=='bxerp'"
|
||||
style="width: 100%"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
|
@ -529,6 +529,7 @@ export default {
|
|||
that.wprList = [];
|
||||
that.mioitems = [];
|
||||
if(items){
|
||||
if(that.form.type == 'do_out'&&that.project_code=='bxerp'){
|
||||
let count = 0;
|
||||
if(that.tableDatas.length>0){
|
||||
that.tableDatas.forEach((item0) => {
|
||||
|
|
@ -566,6 +567,18 @@ export default {
|
|||
that.form.warehouse = items.warehouse;
|
||||
that.inputBatchDisable = true;
|
||||
})
|
||||
}else{
|
||||
that.$API.wpm.wpr.list.req({ page: 0, mb: items.id }).then((res) => {
|
||||
that.wprList = res;
|
||||
})
|
||||
// that.getnumberOutLast();
|
||||
that.form.batch = items.batch;
|
||||
that.form.mb = items.id;
|
||||
that.batchcount = Number(items.count);
|
||||
that.form.count = Number(items.count);
|
||||
that.form.warehouse = items.warehouse;
|
||||
that.inputBatchDisable = true;
|
||||
}
|
||||
}
|
||||
},
|
||||
selectBatchClear() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue