|
|
@ -78,6 +78,7 @@ import { |
|
|
|
} from "@/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data"; |
|
|
|
import {PurchasereceiptRequestTabsList} from "@/utils/disposition/tabsList"; |
|
|
|
import * as PurchasereceiptRecordDetailApi from "@/api/wms/purchasereceiptRecordDetail"; |
|
|
|
import {getEquipmentPage, getProcessPage, getProductionPage} from "@/api/mes/workstation"; |
|
|
|
defineOptions({ name: 'Workstation' }) |
|
|
|
|
|
|
|
const message = useMessage() // 消息弹窗 |
|
|
@ -267,13 +268,13 @@ const changeTabs = (data) =>{ |
|
|
|
apiPage.value = WorkstationApi.getTeamPage |
|
|
|
detailAllSchemas.value = Team.allSchemas |
|
|
|
}else if(data.prop == 'Equipment'){ |
|
|
|
apiPage.value = PurchasereceiptRecordDetailApi.getScarceGoodsDetailPage |
|
|
|
apiPage.value = WorkstationApi.getEquipmentPage |
|
|
|
detailAllSchemas.value = PurchasereceiptRecordDetail.allSchemas |
|
|
|
}else if(data.prop == 'Process'){ |
|
|
|
apiPage.value = PurchasereceiptRecordDetailApi.getScarceGoodsDetailPage |
|
|
|
apiPage.value = WorkstationApi.getProcessPage |
|
|
|
detailAllSchemas.value = PurchasereceiptRecordDetail.allSchemas |
|
|
|
}else if(data.prop == 'Production'){ |
|
|
|
apiPage.value = PurchasereceiptRecordDetailApi.getScarceGoodsDetailPage |
|
|
|
apiPage.value = WorkstationApi.getProductionPage |
|
|
|
detailAllSchemas.value = PurchasereceiptRecordDetail.allSchemas |
|
|
|
} |
|
|
|
tabeKey.value = data.prop |
|
|
|