fix
This commit is contained in:
@@ -173,7 +173,6 @@ export default class depot extends Vue {
|
||||
}
|
||||
|
||||
public openInfoShank(id) {
|
||||
debugger
|
||||
let shank = (this.$store.state as AppModel).tooling.shanks.find(s => s.id == id);
|
||||
console.log(shank);
|
||||
ModalHelper.infoEquipmentModal.enableModalShank = true;
|
||||
@@ -182,7 +181,6 @@ export default class depot extends Vue {
|
||||
ModalHelper.ShowModal(InfoEquipment);
|
||||
}
|
||||
public openInfoEquipment(id) {
|
||||
debugger
|
||||
let tool = (this.$store.state as AppModel).tooling.tools.find(t => t.id == id);
|
||||
if(tool){
|
||||
ModalHelper.infoEquipmentModal.enableModalShank = false;
|
||||
|
||||
@@ -197,7 +197,6 @@ export default class toolingEquipment extends Vue {
|
||||
}
|
||||
|
||||
public cancel = function () {
|
||||
debugger
|
||||
this.selectedTool = this.copySelectedTool;
|
||||
toolingActions.updateTool(store, this.copySelectedTool);
|
||||
if (this.selectedTool.id == null || this.selectedTool.id == 0) {
|
||||
|
||||
@@ -31,7 +31,6 @@ export default class Tooling extends Vue {
|
||||
|
||||
@Watch("magazineStatusModel")
|
||||
public modalBlockMagazine(){
|
||||
debugger
|
||||
if(this.magazineStatusModel.action == 0){
|
||||
ModalHelper.HideModal();
|
||||
}
|
||||
|
||||
@@ -109,7 +109,6 @@ export class Hub {
|
||||
}
|
||||
|
||||
private static magazineStatusChanged(data){
|
||||
debugger
|
||||
depotActions.setMagazineStatusModel(store,data);
|
||||
// for (const k in data) {
|
||||
// if (data.hasOwnProperty(k)) {
|
||||
|
||||
@@ -60,7 +60,6 @@ export interface DepotStoreModel {
|
||||
}
|
||||
},
|
||||
SetMagazineStatusModel(store, model: server.MagazineStatusModel){
|
||||
debugger
|
||||
store.magazineStatusModel = model;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user