slightly better edit med feeds layout
This commit is contained in:
parent
c4d3ccf66a
commit
bdf42122f7
1 changed files with 64 additions and 60 deletions
|
@ -49,26 +49,30 @@
|
||||||
no-data-text="No results (press Enter to search)"
|
no-data-text="No results (press Enter to search)"
|
||||||
@click:append="searchMeds()"
|
@click:append="searchMeds()"
|
||||||
></v-autocomplete>
|
></v-autocomplete>
|
||||||
{{ mf.medication }}
|
|
||||||
|
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="6">
|
<v-col cols="6">
|
||||||
|
<v-card title="Medication :">
|
||||||
|
<v-card-subtitle>
|
||||||
Name : {{ mf.medication.name }}<br/>
|
Name : {{ mf.medication.name }}<br/>
|
||||||
Info : <template v-for="(i, idx) in mf.medication.info" :key="idx" >
|
</v-card-subtitle>
|
||||||
|
<v-card-text>
|
||||||
|
<template v-for="(i, idx) in mf.medication.info" :key="idx" >
|
||||||
<template v-if="i != ''">
|
<template v-if="i != ''">
|
||||||
{{ i }}<br/>
|
{{ i }}<br/>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
Med Code : {{ mf.medication.med_code }}<br/>
|
Med Code : {{ mf.medication.med_code }}<br/>
|
||||||
Inclusion Rate : {{ mf.medication.inclusion_rate }}
|
Inclusion Rate : {{ mf.medication.inclusion_rate }}
|
||||||
|
</v-card-text>
|
||||||
|
</v-card>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col cols="6">
|
<v-col cols="6">
|
||||||
{{ mf.product }}
|
|
||||||
<v-autocomplete label="Product"
|
<v-autocomplete label="Product"
|
||||||
:items="products"
|
:items="products"
|
||||||
item-title="name"
|
item-title="code"
|
||||||
v-model="mf.product"
|
v-model="mf.product"
|
||||||
return-object
|
return-object
|
||||||
v-model:search="search[4]"
|
v-model:search="search[4]"
|
||||||
|
@ -80,11 +84,11 @@
|
||||||
></v-autocomplete>
|
></v-autocomplete>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="6">
|
<v-col cols="6">
|
||||||
{{ mf.product.name }}
|
<v-card :title="mf.product.name"></v-card>
|
||||||
|
</v-col>
|
||||||
|
<v-col cols="6">
|
||||||
<v-text-field label="Tonnage" type="number" v-model="mf.tonnage"></v-text-field>
|
<v-text-field label="Tonnage" type="number" v-model="mf.tonnage"></v-text-field>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
|
||||||
<v-row>
|
|
||||||
<v-col cols="6">
|
<v-col cols="6">
|
||||||
<label>
|
<label>
|
||||||
Date Required :
|
Date Required :
|
||||||
|
@ -97,7 +101,7 @@
|
||||||
<v-switch color="blue" label="Repeat prescription" v-model="mf.repeat"></v-switch>
|
<v-switch color="blue" label="Repeat prescription" v-model="mf.repeat"></v-switch>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="6">
|
<v-col cols="6">
|
||||||
<v-textarea label="Repeat Message" v-model="mf.repeat_message"></v-textarea>
|
<v-textarea :disabled="!mf.repeat" label="Repeat Message" v-model="mf.repeat_message"></v-textarea>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-container>
|
</v-container>
|
||||||
|
|
Loading…
Reference in a new issue