mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 05:01:06 +03:30
fix : style
This commit is contained in:
@@ -62,14 +62,12 @@
|
||||
<v-flex xs12>
|
||||
<hr class="v-divider theme--light">
|
||||
</v-flex>
|
||||
<v-layout row wrap class="ml-4">
|
||||
<v-layout row wrap class="ml-4 align-center mt-2">
|
||||
<v-flex xs12 md6 sm6 v-if="barcodeimg">
|
||||
<img :src="barcodeimg" class="WM-Width-350"><br/>
|
||||
<img :src="barcodeimg" class="barcode-container"><br/>
|
||||
<span class="CSSD-font">Item ID : {{ data.id }}</span>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
<v-layout row wrap class="ml-4">
|
||||
<v-flex xs12 md6 sm6 v-if="QRCodeimg">
|
||||
<v-flex xs12 md6 sm6 v-if="QRCodeimg" class="WM-Align-C">
|
||||
<img :src="QRCodeimg" class="WM-Width-150">
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
@@ -113,7 +111,7 @@ export default {
|
||||
const result = await axios.get(urls.showItem(id));
|
||||
if (result.status == 200) {
|
||||
this.data = result.data.data;
|
||||
if(this.data){
|
||||
if (this.data) {
|
||||
this.generateBarcode(this.data.id);
|
||||
this.MedicalCenter = this.data.user.medical_center.name;
|
||||
}
|
||||
@@ -180,3 +178,10 @@ export default {
|
||||
// }
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.barcode-container {
|
||||
width: 100%;
|
||||
max-width: 350px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user