|
@@ -105,7 +105,7 @@
|
105
|
105
|
<div>{{getTime(current_ctime,'{m}-{d}')}}</div>
|
106
|
106
|
<div>{{getTime(current_ctime,'{h}:{i}')}}</div>
|
107
|
107
|
</div>
|
108
|
|
- <img style="width:300px;height:80px;margin-left:10px;" id="barcode">
|
|
108
|
+ <img style="width:300px;height:200px;margin-left:10px;" id="barcode">
|
109
|
109
|
</div>
|
110
|
110
|
<div style="margin-bottom:5px;">{{current_number}}</div>
|
111
|
111
|
<div style="display:flex;">
|
|
@@ -193,15 +193,21 @@
|
193
|
193
|
this.current_number = row.number
|
194
|
194
|
this.current_project_name = row.project_name
|
195
|
195
|
this.current_name = row.patient_name
|
196
|
|
-
|
197
|
196
|
this.$nextTick(() => {
|
198
|
|
- JsBarcode('#barcode', 'DY2020080400088', {
|
|
197
|
+ JsBarcode('#barcode',row.feedetl_sn, {
|
199
|
198
|
format: 'CODE39',
|
200
|
199
|
lineColor: '#000',
|
201
|
200
|
background: '#EBEEF5',
|
202
|
|
- width: 2,
|
203
|
|
- height: 100,
|
204
|
|
- displayValue: false
|
|
201
|
+ width: 3,
|
|
202
|
+ height: 200,
|
|
203
|
+ displayValue: false,
|
|
204
|
+ fontOptions:"bold italic",//使文字加粗体或变斜体
|
|
205
|
+ font:"fantasy",//设置文本的字体
|
|
206
|
+ textAlign:"left",//设置文本的水平对齐方式
|
|
207
|
+ textPosition:"top",//设置文本的垂直位置
|
|
208
|
+ textMargin:5,//设置条形码和文本之间的间距
|
|
209
|
+ fontSize:15,//设置文本的大小
|
|
210
|
+ margin:15//设置条形码周围的空白边距
|
205
|
211
|
})
|
206
|
212
|
|
207
|
213
|
});
|