add progress
This commit is contained in:
@@ -1,45 +1,41 @@
|
||||
<template>
|
||||
<v-dialog v-model="dialog_barcode" persistent max-width="600">
|
||||
<v-card>
|
||||
<v-card-title style="color: #fff" class="headline grey darken-1">Cetak Barcode</v-card-title>
|
||||
<v-card-text>
|
||||
<v-layout pa-2 class="grey lighten-2" row>
|
||||
<v-flex xs1>
|
||||
<v-checkbox style="padding-top: 0; margin-top: 0" hide-details color="grey darken-1"
|
||||
:indeterminate="indeterminatex" @change="changeCbxAll(bar_chx_all)" v-model="bar_chx_all">
|
||||
</v-checkbox>
|
||||
</v-flex>
|
||||
<v-flex xs5> ITEM </v-flex>
|
||||
<v-flex xs5> NUMBER BARCODE </v-flex>
|
||||
<v-flex xs1> CETAK </v-flex>
|
||||
</v-layout>
|
||||
<v-layout align-center pa-2 v-for="(vs, idx) in barcodes" :key="vs.id" class="grey lighten-4" row>
|
||||
<v-flex xs1>
|
||||
<v-checkbox style="padding-top: 0; margin-top: 0" color="grey darken-1" hide-details v-model="vs.chex"
|
||||
@change="checkTop()"></v-checkbox>
|
||||
</v-flex>
|
||||
<v-flex xs5>
|
||||
{{ vs.M_ItemDesc }}
|
||||
</v-flex>
|
||||
<v-flex xs5>
|
||||
{{ vs.T_BarcodeBarangNumber }}
|
||||
</v-flex>
|
||||
<v-flex xs1>
|
||||
<span @click="printSingleBarcode(vs)"
|
||||
class="icon-medium-fill-base-small xs1 white--text grey darken-1 ml-1 icon-print"></span>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn color="grey darken-1" flat @click="dialog_barcode = false">Tutup</v-btn>
|
||||
<!-- <v-btn dark color="grey darken-3" @click="printRobo"
|
||||
>Cetak Robo
|
||||
</v-btn> -->
|
||||
<v-btn dark color="grey darken-1" @click="printMultipleBarcode">Cetak terpilih [ {{ selected_barcode.length }}
|
||||
]</v-btn>
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
<v-dialog v-model="dialog_barcode" persistent max-width="50vw">
|
||||
<v-card>
|
||||
<v-card-title style="color: #fff" class="headline grey darken-1">Cetak Barcode</v-card-title>
|
||||
<v-card-text>
|
||||
<v-layout pa-2 class="grey lighten-2" row>
|
||||
<v-flex xs1>
|
||||
<v-checkbox style="padding-top: 0; margin-top: 0" hide-details color="grey darken-1"
|
||||
:indeterminate="indeterminatex" @change="changeCbxAll(bar_chx_all)" v-model="bar_chx_all">
|
||||
</v-checkbox>
|
||||
</v-flex>
|
||||
<v-flex xs3> ITEM </v-flex>
|
||||
<v-flex xs3> RUANGAN </v-flex>
|
||||
<v-flex xs4> NOMOR BARCODE </v-flex>
|
||||
<v-flex xs1> CETAK </v-flex>
|
||||
</v-layout>
|
||||
<v-layout align-center pa-2 v-for="(vs, idx) in barcodes" :key="vs.id" class="grey lighten-4" row>
|
||||
<v-flex xs1>
|
||||
<v-checkbox style="padding-top: 0; margin-top: 0" color="grey darken-1" hide-details
|
||||
v-model="vs.chex" @change="checkTop()"></v-checkbox>
|
||||
</v-flex>
|
||||
<v-flex xs3>{{ vs.M_ItemDesc }}</v-flex>
|
||||
<v-flex xs3>{{ vs.M_RuanganName }}</v-flex>
|
||||
<v-flex xs4>{{ vs.T_BarcodeBarangNumber }}</v-flex>
|
||||
<v-flex xs1>
|
||||
<span @click="printSingleBarcode(vs)"
|
||||
class="icon-medium-fill-base-small xs1 white--text grey darken-1 ml-1 icon-print"></span>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn color="grey darken-1" flat @click="dialog_barcode = false">Tutup</v-btn>
|
||||
<v-btn dark color="grey darken-1" @click="printMultipleBarcode">Cetak terpilih
|
||||
[ {{ selected_barcode.length }} ]
|
||||
</v-btn>
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
</v-dialog>
|
||||
</template>
|
||||
|
||||
@@ -174,4 +170,4 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user