|
|
@ -34,7 +34,7 @@ |
|
|
|
import { |
|
|
|
getProductionReceiptJobList, |
|
|
|
cancleTakeProductionReceiptJob, |
|
|
|
getIssueJobByProductionline |
|
|
|
getProductionReceiptJobByProductionline |
|
|
|
} from '@/api/request2.js'; |
|
|
|
|
|
|
|
import { |
|
|
@ -90,7 +90,7 @@ |
|
|
|
}, |
|
|
|
onLoad(option) { |
|
|
|
this.title = option.title |
|
|
|
this.getIssueJobByProductionline() |
|
|
|
this.getProductionReceiptJobByProductionline() |
|
|
|
}, |
|
|
|
|
|
|
|
onShow() { |
|
|
@ -138,8 +138,8 @@ |
|
|
|
this.productionLine = productionLineCode |
|
|
|
this.getList('refresh', this.productionLine) |
|
|
|
}, |
|
|
|
getIssueJobByProductionline() { |
|
|
|
getIssueJobByProductionline().then(res => { |
|
|
|
getProductionReceiptJobByProductionline() { |
|
|
|
getProductionReceiptJobByProductionline().then(res => { |
|
|
|
if (res.code == 0) { |
|
|
|
this.productionLineList = res.data.map(item => ({ |
|
|
|
value: item.value, |
|
|
|