| 
					
				 | 
			
			
				@@ -14,177 +14,25 @@ const props = defineProps<{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   supplyType: any[]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-const now = dayjs().format("YYYY年MM月DD日"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const doctor = reactive({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   code: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   name: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-const [TemplateDefault, print] = useVuePrint({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  extraPageCss: ` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @page { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        size: A5; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        margin: 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        padding: 0 ; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    * { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        box-sizing: border-box; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  table { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  border-collapse: collapse; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  height: 200mm; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  width: 148mm; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  table-layout: fixed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  overflow: hidden; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-th { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  line-height: 5mm; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-tr > td { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  border: none; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  height: auto; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  vertical-align: top; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-th { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  text-align: center; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-.doctor_info { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  text-align: right; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  width: 5mm; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-}`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-const colspan = 6; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <div class="layout_container"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <TemplateDefault> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <table> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <thead> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <th scope="col" :colspan="colspan"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <span style="font-size: 12pt">{{ env.VITE_HOSPITAL_NAME }}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <th scope="col" :colspan="colspan">处方筏</th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <th style="border-bottom: 1px solid #000" colspan="2"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              科室:{{ patientInfo.wardName }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <th style="border-bottom: 1px solid #000" colspan="2"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              住院号:{{ patientInfo.inpatientNo }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <th style="border-bottom: 1px solid #000" colspan="2"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              {{ now }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <th style="border-bottom: 1px solid #000" colspan="2"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              姓名:{{ patientInfo.name }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <th style="border-bottom: 1px solid #000" colspan="2"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              年龄:{{ patientInfo.age }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <th style="border-bottom: 1px solid #000" colspan="2"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              性别:{{ patientInfo.sexName }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <th 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              style=" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                text-align: left; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                border-bottom: 1px solid #000; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                padding-left: 12pt; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              :colspan="colspan" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              临床诊断:{{ patientInfo.emrDiagStr }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </thead> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <tbody> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <td colspan="6"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <div style="height: 12pt"></div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <div 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                style=" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  display: grid; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  font-size: 13pt; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  padding-left: 15pt; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  padding-top: 2pt; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  grid-template-columns: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    2fr 1fr 1fr 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    1fr; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                v-for="item in props.data" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  {{ item.chargeName }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <div>{{ item.chargeAmount }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  {{ item.descriptions }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  {{ item.frequencyName }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  {{ item.supplyTypeName }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </tbody> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <tfoot style="border-top: 1px solid #000"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <td class="doctor_info">医师:</td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <td style="border-bottom: 1px solid #000"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <img 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :src="`/doctorSignatureImage/${doctor.code}.png`" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                style="height: 16pt; width: 47pt" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :alt="doctor.name" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <td class="doctor_info">审核:</td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <td style="border-bottom: 1px solid #000"></td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <td class="doctor_info">金额:</td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <td style="border-bottom: 1px solid #000"></td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <td class="doctor_info">调配:</td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <td style="border-bottom: 1px solid #000"></td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <td class="doctor_info">核对:</td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <td style="border-bottom: 1px solid #000"></td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <td class="doctor_info">发药:</td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <td style="border-bottom: 1px solid #000"></td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </tfoot> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </table> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </TemplateDefault> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <header> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       医师: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <SystemStaffSelect v-model="doctor" value="code" label="name" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <el-button @click="print">打印</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </header> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div class="layout_main"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-table :data="props.data" height="100%"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-table-column prop="chargeDate" label="录入日期" width="80px" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-table-column prop="chargeCodeMx" label="项目编码" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-table-column prop="chargeName" label="项目名称" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-table-column type="index" width="30"></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-table-column prop="chargeCodeMx" label="项目编码" width="60" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-table-column prop="chargeName" label="项目名称" width="120" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-table-column prop="genTime" label="执行时间" width="80px" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-table-column prop="execDept" label="执行科室" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-table-column label="执行频率"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-table-column label="执行频率" width="120"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <template #default="{ row }"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               v-model="row.frequency" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -201,7 +49,7 @@ const colspan = 6; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-table-column label="给药方式"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-table-column label="给药方式" width="120"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <template #default="{ row }"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               v-model="row.supplyType" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -218,6 +66,7 @@ const colspan = 6; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-table-column label="剂量" width="60"></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-table> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </div> 
			 |