diff --git a/src/views/wms/productionManage/productionplan/productionMain/index.vue b/src/views/wms/productionManage/productionplan/productionMain/index.vue index 686c1aae0..b0e1bf2af 100644 --- a/src/views/wms/productionManage/productionplan/productionMain/index.vue +++ b/src/views/wms/productionManage/productionplan/productionMain/index.vue @@ -453,10 +453,12 @@ const requestSwitch = ref(false) const getSwitch = async ()=>{ let switch1 = await SwitchApi.getByCode('CreatePrepareToIssuePlanAfterProductionPlanPublished') planSwitch.value = switch1=='TRUE' - let switch2 = await SwitchApi.getByCode('CreateProductReciptRequestAfterProductionPlanPublished') - requestSwitch.value = switch2=='TRUE' - console.log('switch1',switch1) - console.log('switch2',switch2) + // 预生产计划创建收货申请 不走开关控制 + // let switch2 = await SwitchApi.getByCode('CreateProductReciptRequestAfterProductionPlanPublished') + // requestSwitch.value = switch2=='TRUE' + requestSwitch.value = true + // console.log('switch1',switch1) + // console.log('switch2',switch2) } // 自动提交