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