|  | @@ -10680,6 +10680,17 @@ function setPrint() {
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +//获取处方编码
 | 
	
		
			
				|  |  | +function getOrderNum(patientId,times,prescriptionDetail) {
 | 
	
		
			
				|  |  | +    let num = '1'
 | 
	
		
			
				|  |  | +    if(prescriptionDetail.length > 0){
 | 
	
		
			
				|  |  | +        if(!stringIsBlank(prescriptionDetail[0].orderCode)){
 | 
	
		
			
				|  |  | +            num = prescriptionDetail[0].orderCode.split("_")[3]
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +    return patientId + times + num;
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  function setTableHtml(prescriptionDetail) {
 | 
	
		
			
				|  |  |      //设置成组处方符号
 | 
	
		
			
				|  |  |      if (prescriptionDetail.length > 1) {
 | 
	
	
		
			
				|  | @@ -10909,6 +10920,7 @@ function printPrescription(patientId, times, clnicId, payMark, printType) {
 | 
	
		
			
				|  |  |                              var j = __ret.j;
 | 
	
		
			
				|  |  |                              $("#typePrescription").text("麻、精一处方");
 | 
	
		
			
				|  |  |                              $("#cfTitle").text("麻、精一");
 | 
	
		
			
				|  |  | +                            $("#cfOrderNumTitle").text(getOrderNum(patientId,times,prescriptionDetail));
 | 
	
		
			
				|  |  |                              $("#prescriptionDetail").html(html);
 | 
	
		
			
				|  |  |                              $("#cfAmountPrint").text(mjPrescription[i].amount + "元 (不含注射费)");
 | 
	
		
			
				|  |  |                              LODOP.ADD_PRINT_HTM("0mm", "5mm", "140mm", "200mm", strStyle + document.getElementById("prescription_table").innerHTML);
 | 
	
	
		
			
				|  | @@ -10928,12 +10940,14 @@ function printPrescription(patientId, times, clnicId, payMark, printType) {
 | 
	
		
			
				|  |  |                              var j = __ret.j;
 | 
	
		
			
				|  |  |                              $("#typePrescription").text("精二处方");
 | 
	
		
			
				|  |  |                              $("#cfTitle").text("精二");
 | 
	
		
			
				|  |  | +                            $("#cfOrderNumTitle").text(getOrderNum(patientId,times,prescriptionDetail));
 | 
	
		
			
				|  |  |                              $("#prescriptionDetail").html(html);
 | 
	
		
			
				|  |  |                              $("#cfAmountPrint").text(jePrescription[i].amount + "元 (不含注射费)");
 | 
	
		
			
				|  |  |                              LODOP.ADD_PRINT_HTM("0mm", "5mm", "140mm", "200mm", strStyle + document.getElementById("prescription_table").innerHTML);
 | 
	
		
			
				|  |  |                              index++;
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  | +                    $("#cfOrderNumTitle").text(null)
 | 
	
		
			
				|  |  |                      //中药处方
 | 
	
		
			
				|  |  |                      if (prescriptionDetailJson.zyPrescription != null && prescriptionDetailJson.zyPrescription.length > 0) {
 | 
	
		
			
				|  |  |                          var zyPrescription = prescriptionDetailJson.zyPrescription[0].detail;zyPrescription
 |