|
|
@ -599,7 +599,7 @@ const planSwitch = ref(false) |
|
|
|
const requestSwitch = ref(false) |
|
|
|
const getSwitch = async ()=>{ |
|
|
|
let switch1 = await SwitchApi.getByCode('CreatePrepareToIssuePlanAfterProductionPlanPublished') |
|
|
|
planSwitch.value = switch1=='TRUE' |
|
|
|
planSwitch.value = false |
|
|
|
let switch2 = await SwitchApi.getByCode('CreateProductReciptRequestAfterProductionPlanPublished') |
|
|
|
requestSwitch.value = switch2=='TRUE' |
|
|
|
console.log('switch1',switch1) |
|
|
|