| | |
| | | "type": "object", |
| | | "properties": { |
| | | "HSCode": { |
| | | "description": "HS编码", |
| | | "type": "string" |
| | | }, |
| | | "amount": { |
| | | "description": "数量", |
| | | "type": "number" |
| | | }, |
| | | "barcode": { |
| | |
| | | "type": "string" |
| | | }, |
| | | "buyExplain": { |
| | | "description": "采购说明", |
| | | "type": "string" |
| | | }, |
| | | "canBePurchased": { |
| | |
| | | "type": "integer" |
| | | }, |
| | | "companyId": { |
| | | "description": "公司id", |
| | | "type": "integer" |
| | | }, |
| | | "companyName": { |
| | | "description": "公司名称", |
| | | "type": "string" |
| | | }, |
| | | "controlStrategy": { |
| | | "$ref": "#/definitions/constvar.InvoicingStrategy" |
| | | "description": "控制策略", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.InvoicingStrategy" |
| | | } |
| | | ] |
| | | }, |
| | | "cost": { |
| | | "description": "成本", |
| | | "type": "number" |
| | | }, |
| | | "currencyName": { |
| | | "description": "币种名称", |
| | | "type": "string" |
| | | }, |
| | | "customerTaxes": { |
| | |
| | | "type": "number" |
| | | }, |
| | | "deliveryAdvanceTime": { |
| | | "description": "交货提前时间(天)", |
| | | "type": "integer" |
| | | }, |
| | | "id": { |
| | | "type": "string" |
| | | }, |
| | | "inStorageExplain": { |
| | | "description": "入库说明", |
| | | "type": "string" |
| | | }, |
| | | "internalNotes": { |
| | |
| | | "type": "string" |
| | | }, |
| | | "internalTransferExplain": { |
| | | "description": "内部调拨说明", |
| | | "type": "string" |
| | | }, |
| | | "invoicingStrategy": { |
| | |
| | | "type": "boolean" |
| | | }, |
| | | "maxInventory": { |
| | | "description": "最大库存", |
| | | "type": "number" |
| | | }, |
| | | "minInventory": { |
| | |
| | | ] |
| | | }, |
| | | "name": { |
| | | "description": "物料名称", |
| | | "type": "string" |
| | | }, |
| | | "orderCreation": { |
| | | "$ref": "#/definitions/constvar.OrderCreation" |
| | | "description": "订单创建", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.OrderCreation" |
| | | } |
| | | ] |
| | | }, |
| | | "originCountryId": { |
| | | "description": "原产地id", |
| | | "type": "integer" |
| | | }, |
| | | "originCountryName": { |
| | | "description": "原产地名称", |
| | | "type": "string" |
| | | }, |
| | | "outStorageExplain": { |
| | | "description": "出库说明", |
| | | "type": "string" |
| | | }, |
| | | "principal": { |
| | |
| | | "type": "string" |
| | | }, |
| | | "productTagId": { |
| | | "description": "产品标签", |
| | | "description": "产品标签id", |
| | | "type": "integer" |
| | | }, |
| | | "productTagName": { |
| | | "description": "产品标签名称", |
| | | "type": "string" |
| | | }, |
| | | "purchasePrice": { |
| | | "description": "采购价格", |
| | | "type": "number" |
| | | }, |
| | | "salePrice": { |
| | | "description": "销售单价", |
| | | "type": "number" |
| | | }, |
| | | "selectProduct": { |
| | | "description": "可选产品id", |
| | | "type": "integer" |
| | | }, |
| | | "sellExplain": { |
| | | "description": "销售说明", |
| | | "type": "string" |
| | | }, |
| | | "supplier": { |
| | | "description": "FSource string ` + "`" + `gorm:\"type:varchar(191);comment:生产车间\" json:\"-\"` + "`" + `\nStatus constvar.MaterialStatus ` + "`" + `gorm:\"type:int(11);comment:状态\" json:\"status\"` + "`" + `", |
| | | "type": "string" |
| | | }, |
| | | "templateID": { |
| | | "description": "Note string ` + "`" + `gorm:\"type:varchar(1024);comment:备注\" json:\"note\"` + "`" + `", |
| | | "type": "string" |
| | | }, |
| | | "unit": { |
| | |
| | | "type": "integer" |
| | | }, |
| | | "routeId": { |
| | | "description": "路线id", |
| | | "type": "integer" |
| | | }, |
| | | "routeName": { |