{
  "panels": [
    {
      "index": 0,
      "name": 1,
      "paperType": "自定义",
      "height": 130,
      "width": 210,
      "paperNumberDisabled": true,
      "paperNumberContinue": true,
      "overPrintOptions": {
        "content": "",
        "opacity": 0.7,
        "type": 1
      },
      "watermarkOptions": {
        "content": "",
        "fillStyle": "rgba(184, 184, 184, 0.3)",
        "fontSize": "14px",
        "rotate": 25,
        "width": 200,
        "height": 200,
        "timestamp": false,
        "format": "YYYY-MM-DD HH:mm"
      },
      "panelLayoutOptions": {},
      "paperHeader": 0,
      "paperFooter": 841.8897637795277,
      "printElements": [
        {
          "options": {
            "left": 252,
            "top": 13.5,
            "height": 12,
            "width": 75,
            "title": "医院",
            "coordinateSync": false,
            "widthHeightSync": false,
            "fontSize": 12,
            "qrCodeLevel": 0
          },
          "printElementType": {
            "title": "文本",
            "type": "text"
          }
        },
        {
          "options": {
            "left": 19.5,
            "top": 33,
            "height": 9.75,
            "width": 120,
            "title": "日期",
            "field": "occurrenceTime",
            "coordinateSync": false,
            "widthHeightSync": false,
            "qrCodeLevel": 0
          },
          "printElementType": {
            "title": "文本",
            "type": "text"
          }
        },
        {
          "options": {
            "left": 222,
            "top": 33,
            "height": 9.75,
            "width": 120,
            "title": "单据号",
            "field": "busNo",
            "coordinateSync": false,
            "widthHeightSync": false,
            "qrCodeLevel": 0
          },
          "printElementType": {
            "title": "文本",
            "type": "text"
          }
        },
        {
          "options": {
            "left": 465,
            "top": 33,
            "height": 9.75,
            "width": 120,
            "title": "机构：医院",
            "coordinateSync": false,
            "widthHeightSync": false,
            "qrCodeLevel": 0
          },
          "printElementType": {
            "title": "文本",
            "type": "text"
          }
        },
        {
          "options": {
            "left": 19.5,
            "top": 57,
            "height": 9.75,
            "width": 322.5,
            "title": "供应商",
            "field": "supplierName",
            "coordinateSync": false,
            "widthHeightSync": false,
            "qrCodeLevel": 0
          },
          "printElementType": {
            "title": "文本",
            "type": "text"
          }
        },
        {
          "options": {
            "left": 19.5,
            "top": 84,
            "height": 36,
            "width": 570,
            "title": "undefined+beforeDragIn",
            "field": "purchaseinventoryList",
            "coordinateSync": false,
            "widthHeightSync": false,
            "columns": [
              [
                {
                  "title": "项目名",
                  "titleSync": false,
                  "halign": "center",
                  "tableQRCodeLevel": 0,
                  "tableSummaryTitle": true,
                  "tableSummary": "",
                  "width": 53.52877835374887,
                  "field": "name",
                  "checked": true,
                  "columnId": "name",
                  "fixed": false,
                  "rowspan": 1,
                  "colspan": 1
                },
                {
                  "title": "规格",
                  "titleSync": false,
                  "halign": "center",
                  "tableQRCodeLevel": 0,
                  "tableSummaryTitle": true,
                  "tableSummary": "",
                  "width": 50.3056193642802,
                  "field": "volume",
                  "checked": true,
                  "columnId": "volume",
                  "fixed": false,
                  "rowspan": 1,
                  "colspan": 1
                },
                {
                  "title": "厂家/产地",
                  "titleSync": false,
                  "halign": "center",
                  "tableQRCodeLevel": 0,
                  "tableSummaryTitle": true,
                  "tableSummary": "",
                  "width": 84.09807741407441,
                  "field": "manufacturer",
                  "checked": true,
                  "columnId": "manufacturer",
                  "fixed": false,
                  "rowspan": 1,
                  "colspan": 1
                },
                {
                  "title": "数量",
                  "titleSync": false,
                  "align": "right",
                  "halign": "center",
                  "tableQRCodeLevel": 0,
                  "tableSummaryTitle": true,
                  "tableSummary": "",
                  "formatter2": "function(value,row,index,options,rowIndex,column){ return value + ' ' + row.unitCode_dictText; }",
                  "width": 37.02194283284556,
                  "field": "itemQuantity",
                  "checked": true,
                  "columnId": "itemQuantity",
                  "fixed": false,
                  "rowspan": 1,
                  "colspan": 1
                },
                {
                  "title": "采购单价",
                  "titleSync": false,
                  "align": "right",
                  "halign": "center",
                  "tableQRCodeLevel": 0,
                  "tableSummaryTitle": true,
                  "tableSummary": "",
                  "formatter2": "function(value,row,index,options,rowIndex,column){ return value + ' 元'; }",
                  "width": 45.05495152300426,
                  "field": "price",
                  "checked": true,
                  "columnId": "price",
                  "fixed": false,
                  "rowspan": 1,
                  "colspan": 1
                },
                {
                  "title": "金额",
                  "titleSync": false,
                  "align": "right",
                  "halign": "center",
                  "tableQRCodeLevel": 0,
                  "tableSummaryTitle": true,
                  "tableSummary": "",
                  "formatter2": "function(value,row,index,options,rowIndex,column){ return value + ' 元'; }",
                  "width": 39.04544357631049,
                  "field": "totalPrice",
                  "checked": true,
                  "columnId": "totalPrice",
                  "fixed": false,
                  "rowspan": 1,
                  "colspan": 1
                },
                {
                  "title": "仓库",
                  "titleSync": false,
                  "halign": "center",
                  "tableQRCodeLevel": 0,
                  "tableSummaryTitle": true,
                  "tableSummary": "",
                  "width": 40.041954542099724,
                  "field": "purposeLocationName",
                  "checked": true,
                  "columnId": "purposeLocationName",
                  "fixed": false,
                  "rowspan": 1,
                  "colspan": 1
                },
                {
                  "title": "产品批号",
                  "titleSync": false,
                  "halign": "center",
                  "tableQRCodeLevel": 0,
                  "tableSummaryTitle": true,
                  "tableSummary": "",
                  "width": 47.05067091842349,
                  "field": "lotNumber",
                  "checked": true,
                  "columnId": "lotNumber",
                  "fixed": false,
                  "rowspan": 1,
                  "colspan": 1
                },
                {
                  "title": "生产日期",
                  "titleSync": false,
                  "halign": "center",
                  "tableQRCodeLevel": 0,
                  "tableSummaryTitle": true,
                  "tableSummary": "",
                  "width": 63.089377997062755,
                  "field": "startTime",
                  "checked": true,
                  "columnId": "startTime",
                  "fixed": false,
                  "rowspan": 1,
                  "colspan": 1
                },
                {
                  "title": "有效期至",
                  "titleSync": false,
                  "halign": "center",
                  "tableQRCodeLevel": 0,
                  "tableSummaryTitle": true,
                  "tableSummary": "",
                  "width": 59.05673483929025,
                  "field": "endTime",
                  "checked": true,
                  "columnId": "endTime",
                  "fixed": false,
                  "rowspan": 1,
                  "colspan": 1
                },
                {
                  "title": "发票号",
                  "titleSync": false,
                  "halign": "center",
                  "tableQRCodeLevel": 0,
                  "tableSummaryTitle": true,
                  "tableSummary": "",
                  "width": 51.706448638859854,
                  "field": "invoiceNo",
                  "checked": true,
                  "columnId": "invoiceNo",
                  "fixed": false,
                  "rowspan": 1,
                  "colspan": 1
                }
              ]
            ]
          },
          "printElementType": {
            "title": "表格",
            "type": "table",
            "editable": true,
            "columnDisplayEditable": true,
            "columnDisplayIndexEditable": true,
            "columnTitleEditable": true,
            "columnResizable": true,
            "columnAlignEditable": true,
            "isEnableEditField": true,
            "isEnableContextMenu": true,
            "isEnableInsertRow": true,
            "isEnableDeleteRow": true,
            "isEnableInsertColumn": true,
            "isEnableDeleteColumn": true,
            "isEnableMergeCell": true
          }
        },
        {
          "options": {
            "left": 480,
            "top": 130.5,
            "height": 12,
            "width": 109.5,
            "title": "合计",
            "field": "totalAmount",
            "coordinateSync": false,
            "widthHeightSync": false,
            "qrCodeLevel": 0,
            "formatter": "function(title,value,options,templateData,target,paperNo){\n  return value + ' 元'\n}"
          },
          "printElementType": {
            "title": "文本",
            "type": "text"
          }
        }
      ]
    }
  ]
}