|
@ -453,10 +453,12 @@ const requestSwitch = ref(false) |
|
|
const getSwitch = async ()=>{ |
|
|
const getSwitch = async ()=>{ |
|
|
let switch1 = await SwitchApi.getByCode('CreatePrepareToIssuePlanAfterProductionPlanPublished') |
|
|
let switch1 = await SwitchApi.getByCode('CreatePrepareToIssuePlanAfterProductionPlanPublished') |
|
|
planSwitch.value = switch1=='TRUE' |
|
|
planSwitch.value = switch1=='TRUE' |
|
|
let switch2 = await SwitchApi.getByCode('CreateProductReciptRequestAfterProductionPlanPublished') |
|
|
// 预生产计划创建收货申请 不走开关控制 |
|
|
requestSwitch.value = switch2=='TRUE' |
|
|
// let switch2 = await SwitchApi.getByCode('CreateProductReciptRequestAfterProductionPlanPublished') |
|
|
console.log('switch1',switch1) |
|
|
// requestSwitch.value = switch2=='TRUE' |
|
|
console.log('switch2',switch2) |
|
|
requestSwitch.value = true |
|
|
|
|
|
// console.log('switch1',switch1) |
|
|
|
|
|
// console.log('switch2',switch2) |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
// 自动提交 |
|
|
// 自动提交 |
|
|