Browse Source

预生产计划创建收货申请 去掉开关控制 默认创建收货申请

hella_online_20240829
陈薪名 4 months ago
parent
commit
72814fced2
  1. 10
      src/views/wms/productionManage/productionplan/productionMain/index.vue

10
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)
}
//

Loading…
Cancel
Save