### 创建或更新表单打印配置 POST {{baseUrl}}/form-print-config/createOrUpdate Content-Type: application/json Token: {{token}} { "formId": 1, "mainTitle": "采购订单", "subTitle": "采购部专用", "displayFormat": "standard", "documentNoPrefix": "CG-", "showDocumentNo": true, "printDateFormat": "yyyy-MM-dd", "showPrintDate": true, "showPageNumber": true, "columnWidthMode": "auto", "tableStyle": "bordered", "rowHeight": "normal", "ext": "{\"fontSize\": 12, \"fontFamily\": \"Arial\"}" } ### updateFile POST {{baseUrl}}/form-print-config/updateFile Content-Type: application/json Token: {{token}} { "formId": 157, "fileName":"test.docx", "fileSize": 1000, "fileUrl":"https://booksflow-file-dev.raysgo.com/upload/cip/1769397604769/63645b9bb3fab4ff284cbfebed9cdf2e.docx", "fileType": "docx" } ### 根据表单ID获取表单打印配置 GET {{baseUrl}}/form-print-config/get?formId=1 Token: {{token}} ### form-print-config/print POST {{baseUrl}}form-print-config/print Content-Type: application/json Token: {{token}} { "formCode": "test", "data": { "sm": "项目名称1", "tysh": "统一书号1", "books": [ { "ys":"1","ks": "开数1"}, { "ys":"2","ks": "开数2"} ], "books2": [ { "ys":"3","ks": "开数3"}, { "ys":"4","ks": "开数4"} ] } }