Browse Source

发料接收添加生产线

hella_online_20240829
lijuncheng 4 months ago
parent
commit
6d33f3722f
  1. 8
      src/pages/productionReceipt/job/productionReceiptJob.vue

8
src/pages/productionReceipt/job/productionReceiptJob.vue

@ -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,

Loading…
Cancel
Save