| | |
| | | - OrderStatusReceived |
| | | - OrderStatusStored |
| | | - OrderStatusCompleted |
| | | purchase.PriceAdjustmentType: |
| | | enum: |
| | | - 1 |
| | | - 2 |
| | | type: integer |
| | | x-enum-comments: |
| | | PriceAdjustmentTypeAdd: 增加 |
| | | PriceAdjustmentTypeSub: 减少 |
| | | x-enum-varnames: |
| | | - PriceAdjustmentTypeAdd |
| | | - PriceAdjustmentTypeSub |
| | | purchase.Purchase: |
| | | properties: |
| | | contact: |
| | |
| | | number: |
| | | description: 采购编号 |
| | | type: string |
| | | orderSource: |
| | | description: 单据来源 |
| | | type: string |
| | | orderType: |
| | | description: 单据类型 |
| | | type: string |
| | | phone: |
| | | description: 联系人电话 |
| | | type: string |
| | | priceAdjustment: |
| | | description: 价格调整值 |
| | | type: number |
| | | priceAdjustmentType: |
| | | allOf: |
| | | - $ref: '#/definitions/purchase.PriceAdjustmentType' |
| | | description: 价格调整类型 |
| | | purchaseType: |
| | | $ref: '#/definitions/purchase.PurchaseType' |
| | | purchaseTypeId: |
| | |
| | | type: integer |
| | | quantity: |
| | | description: 采购数量 |
| | | type: number |
| | | realTotalPrice: |
| | | description: 最终价格 |
| | | type: number |
| | | remark: |
| | | description: 备注 |
| | |
| | | supplierId: |
| | | description: 供应商id |
| | | type: integer |
| | | totalPrice: |
| | | description: 价税合计 |
| | | type: number |
| | | warehouse: |
| | | description: 收货仓库 |
| | | type: string |
| | | wholeDiscount: |
| | | description: 整单折扣值 |
| | | type: number |
| | | wholeDiscountType: |
| | | allOf: |
| | | - $ref: '#/definitions/purchase.WholeDiscountType' |
| | | description: 整单折扣类型 |
| | | type: object |
| | | purchase.PurchaseProducts: |
| | | properties: |
| | |
| | | price: |
| | | description: 采购单价 |
| | | type: number |
| | | product: |
| | | $ref: '#/definitions/test.Product' |
| | | productId: |
| | | description: 产品id |
| | | type: integer |
| | |
| | | description: 排序 |
| | | type: integer |
| | | type: object |
| | | purchase.WholeDiscountType: |
| | | enum: |
| | | - 1 |
| | | - 2 |
| | | type: integer |
| | | x-enum-comments: |
| | | WholeDiscountTypeDiscount: 直接降价 |
| | | WholeDiscountTypePercent: 百分比降价 |
| | | x-enum-varnames: |
| | | - WholeDiscountTypePercent |
| | | - WholeDiscountTypeDiscount |
| | | purchaserequest.AddPurchase: |
| | | properties: |
| | | productList: |
| | |
| | | phone: |
| | | description: 联系人电话 |
| | | type: string |
| | | priceAdjustment: |
| | | description: 价格调整值 |
| | | type: number |
| | | priceAdjustmentType: |
| | | allOf: |
| | | - $ref: '#/definitions/purchase.PriceAdjustmentType' |
| | | description: 价格调整类型 |
| | | purchaseTypeId: |
| | | description: 采购类型id |
| | | type: integer |
| | | quantity: |
| | | description: 采购数量 |
| | | type: number |
| | | realTotalPrice: |
| | | description: 最终价格 |
| | | type: number |
| | | remark: |
| | | description: 备注 |
| | | type: string |
| | |
| | | supplierId: |
| | | description: 供应商id |
| | | type: integer |
| | | totalPrice: |
| | | description: 价税合计 |
| | | type: number |
| | | wholeDiscount: |
| | | description: 整单折扣值 |
| | | type: number |
| | | wholeDiscountType: |
| | | allOf: |
| | | - $ref: '#/definitions/purchase.WholeDiscountType' |
| | | description: 整单折扣类型 |
| | | type: object |
| | | purchaserequest.PurchaseType: |
| | | properties: |