diff --git a/Laravel/app/Http/Controllers/API/Admin/YeWu/WorkMainController.php b/Laravel/app/Http/Controllers/API/Admin/YeWu/WorkMainController.php
index 2dca48f..62eefde 100644
--- a/Laravel/app/Http/Controllers/API/Admin/YeWu/WorkMainController.php
+++ b/Laravel/app/Http/Controllers/API/Admin/YeWu/WorkMainController.php
@@ -97,7 +97,7 @@ public function getMainDetail()
}
}
}
- $barcodeContent = $value->patient_type == 0 ? substr($value->episodeid, -10) : $value->app_num;
+ $barcodeContent = $value->patient_type == 0 ? substr($value->episodeid, -10) : $value->reg_num;
$generator = new \Picqer\Barcode\BarcodeGeneratorPNG();
$barcodePng = $generator->getBarcode($barcodeContent, $generator::TYPE_CODE_128, 2, 40);
$value->barcode = base64_encode($barcodePng);
diff --git a/YiJi-admin/src/components/Yewu/PrintShenQingDan.vue b/YiJi-admin/src/components/Yewu/PrintShenQingDan.vue
index da56496..60ea0ab 100644
--- a/YiJi-admin/src/components/Yewu/PrintShenQingDan.vue
+++ b/YiJi-admin/src/components/Yewu/PrintShenQingDan.vue
@@ -7,7 +7,7 @@
style="width:200px;text-align: center;padding-bottom: 8px;-webkit-print-color-adjust: exact; position: absolute;right: 10px;top:0px;">
-