From 359f2f3fd0da6d69474cce87353beb54bfdbf90c Mon Sep 17 00:00:00 2001 From: lishihai <dslsh@dscom> Date: 星期四, 20 六月 2024 14:24:52 +0800 Subject: [PATCH] 概述->新建或编辑(出库/入库)信息,编辑的时候显示保存的成本单价和销售单价 --- docs/docs.go | 126 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 126 insertions(+), 0 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index ebff3df..56ac84f 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1861,6 +1861,7 @@ "parameters": [ { "type": "string", + "description": "鍏抽敭瀛楁悳绱�", "name": "keyword", "in": "query" }, @@ -1874,6 +1875,12 @@ "type": "integer", "description": "姣忛〉澶у皬", "name": "pageSize", + "in": "query" + }, + { + "type": "integer", + "description": "浠撳簱id", + "name": "warehouseId", "in": "query" } ], @@ -3445,6 +3452,18 @@ "ReservationNever" ] }, + "gorm.DeletedAt": { + "type": "object", + "properties": { + "time": { + "type": "string" + }, + "valid": { + "description": "Valid is true if Time is not NULL", + "type": "boolean" + } + } + }, "inventory_order.WorkerInfo": { "type": "object", "properties": { @@ -3473,6 +3492,46 @@ }, "id": { "type": "integer" + } + } + }, + "models.Attribute": { + "type": "object", + "properties": { + "createdAt": { + "type": "string" + }, + "dataType": { + "description": "鍊肩被鍨嬶紙1瀛楃涓� 2 int 3 涓嬫媺妗� 锛�", + "type": "integer" + }, + "deletedAt": { + "$ref": "#/definitions/gorm.DeletedAt" + }, + "entityType": { + "description": "缁欒皝鐢ㄧ殑 1 鐗╂枡锛堜骇鍝侊級", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "灞炴�у悕绉�", + "type": "string" + }, + "selectValues": { + "description": "dateType=3鏃剁敤", + "type": "array", + "items": { + "type": "string" + } + }, + "updatedAt": { + "type": "string" + }, + "value": { + "description": "浠嶢ttributeValue鍙栧埌鐨剉alue", + "type": "string" } } }, @@ -3712,6 +3771,13 @@ "type": "array", "items": { "$ref": "#/definitions/models.Attachment" + } + }, + "attributes": { + "description": "鍔ㄦ�佸睘鎬�", + "type": "array", + "items": { + "$ref": "#/definitions/models.Attribute" } }, "autoIncr": { @@ -4149,6 +4215,12 @@ } ] }, + "checkedAt": { + "type": "string" + }, + "checkedBy": { + "type": "string" + }, "comment": { "type": "string" }, @@ -4162,6 +4234,9 @@ "type": "integer" }, "contacterName": { + "type": "string" + }, + "createBy": { "type": "string" }, "createTime": { @@ -4316,6 +4391,9 @@ }, "id": { "type": "integer" + }, + "note": { + "type": "string" }, "operationId": { "description": "鎿嶄綔id", @@ -4491,6 +4569,7 @@ "type": "number" }, "floating": { + "description": "鏄惁娴姩鍒╃巼", "type": "boolean" }, "unit": { @@ -5176,12 +5255,24 @@ "condition": { "type": "string" }, + "keyword": { + "description": "鍏抽敭瀛楁悳绱�", + "type": "string" + }, + "locationId": { + "description": "浣嶇疆ID", + "type": "integer" + }, "page": { "description": "椤电爜", "type": "integer" }, "pageSize": { "description": "姣忛〉澶у皬", + "type": "integer" + }, + "warehouseId": { + "description": "浠撳簱ID", "type": "integer" } } @@ -5674,9 +5765,23 @@ "description": "鍦ㄥ簱鏁伴噺", "type": "number" }, + "amountMoreUnits": { + "description": "鍦ㄥ簱鏁伴噺澶氬崟浣�", + "type": "array", + "items": { + "$ref": "#/definitions/models.UnitItems" + } + }, "availableNumber": { "description": "鍙敤搴撳瓨", "type": "number" + }, + "availableNumberMoreUnits": { + "description": "鍙敤搴撳瓨澶氬崟浣�", + "type": "array", + "items": { + "$ref": "#/definitions/models.UnitItems" + } }, "cost": { "description": "鎴愭湰", @@ -5686,9 +5791,23 @@ "description": "鍏ュ簱", "type": "number" }, + "inMoreUnits": { + "description": "鍏ュ簱澶氬崟浣�", + "type": "array", + "items": { + "$ref": "#/definitions/models.UnitItems" + } + }, "out": { "description": "鍑哄簱", "type": "number" + }, + "outMoreUnits": { + "description": "鍑哄簱澶氬崟浣�", + "type": "array", + "items": { + "$ref": "#/definitions/models.UnitItems" + } }, "produceId": { "description": "浜у搧id", @@ -5719,6 +5838,13 @@ "description": "鏁伴噺", "type": "number" }, + "amountMoreUnits": { + "description": "鍦ㄥ簱鏁伴噺澶氬崟浣�", + "type": "array", + "items": { + "$ref": "#/definitions/models.UnitItems" + } + }, "locationId": { "description": "浣嶇疆id", "type": "integer" -- Gitblit v1.8.0