diff --git a/src/api/production.js b/src/api/production.js index 72cc2e2..16fd5c7 100644 --- a/src/api/production.js +++ b/src/api/production.js @@ -50,7 +50,7 @@ export const scheduleForShopOrder=data => createAPI(`dailyPlan/scheduleForShopOr export const scheduleForVPShopOrder=data => createAPI(`dailyPlan/scheduleForVPShopOrder`, 'post', data); export const scheduleForSOTask=data => createAPI(`dailyPlan/scheduleForSOTask`, 'post', data); export const saveHunlianTask=data => createAPI(`dailyPlan/saveHunlianTask`, 'post', data); - +export const getVpPartModel=data => createAPI(`dailyPlan/getVpPartModel`, 'post', data); export const getHunlianTaskData=data => createAPI(`dailyPlan/getHunlianTaskData`, 'post', data); diff --git a/src/views/modules/production/scheduleForSOTask.vue b/src/views/modules/production/scheduleForSOTask.vue index a691636..a55fe65 100644 --- a/src/views/modules/production/scheduleForSOTask.vue +++ b/src/views/modules/production/scheduleForSOTask.vue @@ -136,10 +136,11 @@ fixed="left" header-align="center" align="center" - min-width="60" + width="120" label="操作"> + label="VP是否入库"> 确定--> + + +
+ + + + + + + + + + + + +
+ + 关闭 + +
@@ -544,6 +594,7 @@ getWorkCenterOperatorList, getAvailableResourceList, scheduleForSOTask, + getVpPartModel, } from "@/api/production.js" import Chooselist from '@/views/modules/common/Chooselist' export default { @@ -621,8 +672,10 @@ partPlanQty:'', }, scheduledModalFlag: false, + vpModalFlag: false, availableResourceList: [], schedulingModalTableData: [], + vpModalTableData: [], operatorIdList:[], tagNo:'', } @@ -936,6 +989,12 @@ return '' }, + vpPartModel(row){ + getVpPartModel(row).then(({data}) => { + this.vpModalTableData = data.rows; + }) + this.vpModalFlag=true + }, }, created() { } diff --git a/src/views/modules/production/scheduleForVPShopOrder.vue b/src/views/modules/production/scheduleForVPShopOrder.vue index 080e5e1..c8edd4f 100644 --- a/src/views/modules/production/scheduleForVPShopOrder.vue +++ b/src/views/modules/production/scheduleForVPShopOrder.vue @@ -89,91 +89,91 @@ prop="liuhuaTaskNo" header-align="center" align="left" - width="140" + min-width="140" label="硫化周计划号">