This commit is contained in:
sajjad
2023-09-21 07:41:39 -07:00
parent 4f570bb7ef
commit 012fe97e15
4 changed files with 9 additions and 9 deletions
+4 -4
View File
@@ -53,7 +53,7 @@
<td class="title font-weight-light">{{ item.name }}</td>
<td class="title font-weight-light">{{ (item.user && item.user.medical_center) ?
item.user.medical_center.name : '' }}</td>
<td class="title font-weight-light">{{ item.udi }}</td>
<td class="title font-weight-light">{{ item.uid }}</td>
<td class="title font-weight-light">{{ item.size }}</td>
<td class="text-xs-right FlexBtn Height-MD-60">
<v-tooltip bottom open-on-hover v-if="$hasRole('Supervisor|Admin')">
@@ -162,8 +162,8 @@ export default {
},
{
sortable: false,
text: "UDI",
value: "udi"
text: "UID",
value: "uid"
},
{
sortable: false,
@@ -213,7 +213,7 @@ export default {
this.loadMedicalCenters();
},
async generateBarcode(item, type = null) {
let code = item.udi ? item.udi : item.id;
let code = item.uid ? item.uid : item.id;
const result = await ApiService.post(urls.Barcode(code, type));
if (result && result.status == 200) {
this.changeCurrentModal({