|
@@ -1,1348 +0,0 @@
|
|
|
-{
|
|
|
- "openapi": "3.0.1",
|
|
|
- "tags": [
|
|
|
- {
|
|
|
- "name": "ehsd采购表"
|
|
|
- }
|
|
|
- ],
|
|
|
- "paths": {
|
|
|
- "/ehsdPurchase/page": {
|
|
|
- "post": {
|
|
|
- "summary": "分页",
|
|
|
- "tags": [
|
|
|
- "ehsd采购表"
|
|
|
- ],
|
|
|
- "requestBody": {
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "type": "object",
|
|
|
- "required": [
|
|
|
- "pageNum",
|
|
|
- "pageSize"
|
|
|
- ],
|
|
|
- "title": null,
|
|
|
- "properties": {
|
|
|
- "pageNum": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "页数",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "pageSize": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "每页大小",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- }
|
|
|
- },
|
|
|
- "items": null
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "responses": {
|
|
|
- "200": {
|
|
|
- "description": "成功",
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "type": "object",
|
|
|
- "required": [
|
|
|
- "code",
|
|
|
- "success",
|
|
|
- "msg",
|
|
|
- "data"
|
|
|
- ],
|
|
|
- "title": null,
|
|
|
- "properties": {
|
|
|
- "code": {
|
|
|
- "type": "Integer",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "success": {
|
|
|
- "type": "boolean",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "msg": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "data": {
|
|
|
- "type": "object",
|
|
|
- "required": [
|
|
|
- "rows",
|
|
|
- "total"
|
|
|
- ],
|
|
|
- "title": null,
|
|
|
- "properties": {
|
|
|
- "records": {
|
|
|
- "type": "array",
|
|
|
- "required": null,
|
|
|
- "title": "分页数据",
|
|
|
- "properties": null,
|
|
|
- "items": {
|
|
|
- "type": "object",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": {
|
|
|
- "id": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "外销合同id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "code": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "编码",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "businessId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "业务ID 样品单/合同",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "businessType": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "业务类型 0:样品单 1:交接单",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "contractTemplateId": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "合同模版ID",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellCorporationId": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "卖方公司ID",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellContactName": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方联系人名称",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellContactNumber": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方联系人电话",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellCountryId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方国家表id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellProvinceId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方省份id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellCityId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方城市id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellAddress": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方详细地址",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyCorporationId": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "买方公司ID",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyContactName": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方联系人名称",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyContactNumber": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方联系人电话",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyCountryId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方国家表id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyProvinceId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方省份id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyCityId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方城市id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyAddress": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方详细地址",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyPostalCode": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方邮编",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "status": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "审批状态 0草稿 10、审批中;20、驳回 30、审批通过 88:作废 99终止",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "amount": {
|
|
|
- "type": "number",
|
|
|
- "required": null,
|
|
|
- "title": "采购总金额",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "remark": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "条款内容",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "currency": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "币种(字典account_currency)",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "deliveryTime": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "交期",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "deliveryType": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "交货类型字典(delivery_type)",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "invoiceType": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "发票类型",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "paymentMethod": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "付款方式(字典funds_payment_method",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "warranty": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "质保期",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "processInstanceId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "流程KEY",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "approvedDate": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "审核通过时间",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "userName": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "创建人名称",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "createTime": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "创建时间",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "updateTime": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "修改时间",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- }
|
|
|
- },
|
|
|
- "items": null
|
|
|
- }
|
|
|
- },
|
|
|
- "total": {
|
|
|
- "type": "rows",
|
|
|
- "required": null,
|
|
|
- "title": "总条数",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- }
|
|
|
- },
|
|
|
- "items": null
|
|
|
- }
|
|
|
- },
|
|
|
- "items": null
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "/ehsdPurchase/detail": {
|
|
|
- "post": {
|
|
|
- "summary": "明细",
|
|
|
- "tags": [
|
|
|
- "ehsd采购表"
|
|
|
- ],
|
|
|
- "requestBody": {
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "type": "object",
|
|
|
- "required": [
|
|
|
- "id"
|
|
|
- ],
|
|
|
- "title": null,
|
|
|
- "properties": {
|
|
|
- "id": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "ehsd采购表id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- }
|
|
|
- },
|
|
|
- "items": null
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "responses": {
|
|
|
- "200": {
|
|
|
- "description": "成功",
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "type": "object",
|
|
|
- "required": [
|
|
|
- "code",
|
|
|
- "success",
|
|
|
- "msg",
|
|
|
- "data"
|
|
|
- ],
|
|
|
- "title": null,
|
|
|
- "properties": {
|
|
|
- "code": {
|
|
|
- "type": "Integer",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "success": {
|
|
|
- "type": "boolean",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "msg": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "data": {
|
|
|
- "type": "object",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": {
|
|
|
- "id": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "外销合同id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "code": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "编码",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "businessId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "业务ID 样品单/合同",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "businessType": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "业务类型 0:样品单 1:交接单",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "contractTemplateId": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "合同模版ID",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellCorporationId": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "卖方公司ID",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellContactName": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方联系人名称",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellContactNumber": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方联系人电话",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellCountryId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方国家表id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellProvinceId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方省份id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellCityId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方城市id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellAddress": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方详细地址",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyCorporationId": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "买方公司ID",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyContactName": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方联系人名称",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyContactNumber": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方联系人电话",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyCountryId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方国家表id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyProvinceId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方省份id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyCityId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方城市id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyAddress": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方详细地址",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyPostalCode": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方邮编",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "status": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "审批状态 0草稿 10、审批中;20、驳回 30、审批通过 88:作废 99终止",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "amount": {
|
|
|
- "type": "number",
|
|
|
- "required": null,
|
|
|
- "title": "采购总金额",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "remark": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "条款内容",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "currency": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "币种(字典account_currency)",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "deliveryTime": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "交期",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "deliveryType": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "交货类型字典(delivery_type)",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "invoiceType": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "发票类型",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "paymentMethod": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "付款方式(字典funds_payment_method",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "warranty": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "质保期",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "processInstanceId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "流程KEY",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "approvedDate": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "审核通过时间",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "userName": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "创建人名称",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "createTime": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "创建时间",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "updateTime": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "修改时间",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- }
|
|
|
- },
|
|
|
- "items": null
|
|
|
- }
|
|
|
- },
|
|
|
- "items": null
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "/ehsdPurchase/add": {
|
|
|
- "post": {
|
|
|
- "summary": "新增",
|
|
|
- "tags": [
|
|
|
- "ehsd采购表"
|
|
|
- ],
|
|
|
- "requestBody": {
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "type": "object",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": {
|
|
|
- "code": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "编码",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "businessId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "业务ID 样品单/合同",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "businessType": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "业务类型 0:样品单 1:交接单",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "contractTemplateId": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "合同模版ID",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellCorporationId": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "卖方公司ID",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellContactName": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方联系人名称",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellContactNumber": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方联系人电话",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellCountryId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方国家表id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellProvinceId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方省份id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellCityId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方城市id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellAddress": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方详细地址",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyCorporationId": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "买方公司ID",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyContactName": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方联系人名称",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyContactNumber": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方联系人电话",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyCountryId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方国家表id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyProvinceId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方省份id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyCityId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方城市id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyAddress": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方详细地址",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyPostalCode": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方邮编",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "status": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "审批状态 0草稿 10、审批中;20、驳回 30、审批通过 88:作废 99终止",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "amount": {
|
|
|
- "type": "number",
|
|
|
- "required": null,
|
|
|
- "title": "采购总金额",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "remark": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "条款内容",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "currency": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "币种(字典account_currency)",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "deliveryTime": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "交期",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "deliveryType": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "交货类型字典(delivery_type)",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "invoiceType": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "发票类型",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "paymentMethod": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "付款方式(字典funds_payment_method",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "warranty": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "质保期",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "processInstanceId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "流程KEY",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "approvedDate": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "审核通过时间",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "userName": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "创建人名称",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- }
|
|
|
- },
|
|
|
- "items": null
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "responses": {
|
|
|
- "200": {
|
|
|
- "description": "成功",
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "type": "object",
|
|
|
- "required": [
|
|
|
- "code",
|
|
|
- "success",
|
|
|
- "msg",
|
|
|
- "data"
|
|
|
- ],
|
|
|
- "title": null,
|
|
|
- "properties": {
|
|
|
- "code": {
|
|
|
- "type": "Integer",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "success": {
|
|
|
- "type": "boolean",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "msg": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "data": {
|
|
|
- "type": null,
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- }
|
|
|
- },
|
|
|
- "items": null
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "/ehsdPurchase/edit": {
|
|
|
- "post": {
|
|
|
- "summary": "编辑",
|
|
|
- "tags": [
|
|
|
- "ehsd采购表"
|
|
|
- ],
|
|
|
- "requestBody": {
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "type": "object",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": {
|
|
|
- "id": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "外销合同id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "code": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "编码",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "businessId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "业务ID 样品单/合同",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "businessType": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "业务类型 0:样品单 1:交接单",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "contractTemplateId": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "合同模版ID",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellCorporationId": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "卖方公司ID",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellContactName": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方联系人名称",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellContactNumber": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方联系人电话",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellCountryId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方国家表id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellProvinceId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方省份id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellCityId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方城市id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "sellAddress": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "卖方详细地址",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyCorporationId": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "买方公司ID",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyContactName": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方联系人名称",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyContactNumber": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方联系人电话",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyCountryId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方国家表id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyProvinceId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方省份id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyCityId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方城市id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyAddress": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方详细地址",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "buyPostalCode": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "买方邮编",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "status": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "审批状态 0草稿 10、审批中;20、驳回 30、审批通过 88:作废 99终止",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "amount": {
|
|
|
- "type": "number",
|
|
|
- "required": null,
|
|
|
- "title": "采购总金额",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "remark": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "条款内容",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "currency": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "币种(字典account_currency)",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "deliveryTime": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "交期",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "deliveryType": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "交货类型字典(delivery_type)",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "invoiceType": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "发票类型",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "paymentMethod": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "付款方式(字典funds_payment_method",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "warranty": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "质保期",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "processInstanceId": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "流程KEY",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "approvedDate": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "审核通过时间",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "userName": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": "创建人名称",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- }
|
|
|
- },
|
|
|
- "items": null
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "responses": {
|
|
|
- "200": {
|
|
|
- "description": "成功",
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "type": "object",
|
|
|
- "required": [
|
|
|
- "code",
|
|
|
- "success",
|
|
|
- "msg",
|
|
|
- "data"
|
|
|
- ],
|
|
|
- "title": null,
|
|
|
- "properties": {
|
|
|
- "code": {
|
|
|
- "type": "Integer",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "success": {
|
|
|
- "type": "boolean",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "msg": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "data": {
|
|
|
- "type": null,
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- }
|
|
|
- },
|
|
|
- "items": null
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "/ehsdPurchase/delete": {
|
|
|
- "post": {
|
|
|
- "summary": "删除",
|
|
|
- "tags": [
|
|
|
- "ehsd采购表"
|
|
|
- ],
|
|
|
- "requestBody": {
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "type": "object",
|
|
|
- "required": [
|
|
|
- "id"
|
|
|
- ],
|
|
|
- "title": null,
|
|
|
- "properties": {
|
|
|
- "id": {
|
|
|
- "type": "integer",
|
|
|
- "required": null,
|
|
|
- "title": "ehsd采购表id",
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- }
|
|
|
- },
|
|
|
- "items": null
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "responses": {
|
|
|
- "200": {
|
|
|
- "description": "成功",
|
|
|
- "content": {
|
|
|
- "application/json": {
|
|
|
- "schema": {
|
|
|
- "type": "object",
|
|
|
- "required": [
|
|
|
- "code",
|
|
|
- "success",
|
|
|
- "msg",
|
|
|
- "data"
|
|
|
- ],
|
|
|
- "title": null,
|
|
|
- "properties": {
|
|
|
- "code": {
|
|
|
- "type": "Integer",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "success": {
|
|
|
- "type": "boolean",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "msg": {
|
|
|
- "type": "string",
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- },
|
|
|
- "data": {
|
|
|
- "type": null,
|
|
|
- "required": null,
|
|
|
- "title": null,
|
|
|
- "properties": null,
|
|
|
- "items": null
|
|
|
- }
|
|
|
- },
|
|
|
- "items": null
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-}
|