fix avvio-produzione
This commit is contained in:
+1
-3
@@ -3,19 +3,17 @@ import { Modal, ModalHelper } from "@/components/modals";
|
||||
import { Factory, messageService, awaiter } from "@/_base";
|
||||
import Component from "vue-class-component";
|
||||
import { Prop } from 'vue-property-decorator';
|
||||
import Tastierino from "@/app_modules_thermo/components/tastierino.vue";
|
||||
import { appModelActions } from "@/store/app.store";
|
||||
|
||||
@Component({
|
||||
components: {
|
||||
modal: Modal,
|
||||
tastierino: Tastierino
|
||||
}
|
||||
})
|
||||
export default class AvvioProduzione extends Vue {
|
||||
|
||||
enabling: boolean = true;
|
||||
@Prop({})
|
||||
@Prop({default:0})
|
||||
pieces: number;
|
||||
|
||||
mock_pieces: number = this.pieces;
|
||||
+4
-6
@@ -7,18 +7,16 @@
|
||||
</button>
|
||||
</div>
|
||||
<section>
|
||||
<div class="specific">
|
||||
<article>
|
||||
<div class="input-area">
|
||||
<label>{{'enabling'|localize('Settaggio numero pezzi')}}</label>
|
||||
<toggle-button v-model="enabling"></toggle-button>
|
||||
</div>
|
||||
<img class="disabled" src="assets/icons/png/tast-disable.png" v-if="!enabling">
|
||||
<div class="input-area" v-if="enabling">
|
||||
<div class="input-area">
|
||||
<label>{{'mock_pieces'|localize('Numero pezzi')}}</label>
|
||||
<numeric v-model="mock_pieces"/>
|
||||
<numeric v-model="mock_pieces" v-if="enabling"/>
|
||||
</div>
|
||||
<tastierino v-if="enabling"></tastierino>
|
||||
</div>
|
||||
</article>
|
||||
</section>
|
||||
<footer>
|
||||
<button class="btn" @click="annulla()">Annulla</button>
|
||||
@@ -15,7 +15,7 @@ import ShowEstrazioneInfo from "@/app_modules_thermo/setup/estrazione/components
|
||||
import ShowVuotoInfo from "@/app_modules_thermo/setup/vuoto/show-vuoto-info.vue";
|
||||
import ShowImbutituraInfo from "@/app_modules_thermo/setup/imbutitura/show-imbutitura-info.vue";
|
||||
import ShowOpzioniInfo from "@/app_modules_thermo/setup/opzioni/show-opzioni-info.vue";
|
||||
import AvvioProduzione from "@/app_modules_thermo/setup/avvio-pruduzione/avvio-produzione.vue";
|
||||
import AvvioProduzione from "@/app_modules_thermo/setup/avvio-produzione/avvio-produzione.vue";
|
||||
import ShowArretramentoRiscaldiInfo from "@/app_modules_thermo/processo/arretramento-riscaldi/show-arretramento-riscladi-info.vue";
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@ export default class Setup extends Vue {
|
||||
case 8: return ModalHelper.ShowModalAsync(ShowVuotoInfo);
|
||||
case 9: return ModalHelper.ShowModalAsync(ShowEstrazioneInfo);
|
||||
case 10: return ModalHelper.ShowModalAsync(ShowOpzioniInfo);
|
||||
case 11: return ModalHelper.ShowModalAsync(AvvioProduzione);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
statusImage="fa fa-check-circle undone-step"
|
||||
></setup-button>
|
||||
|
||||
<div class="setup-play" @click="sendMessage('show-avvio-produzione-info')">
|
||||
<div class="setup-play" @click="showModalAtStep(11);">
|
||||
<img class="dim" src="assets/icons/svg/setup-play.svg" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user