From 34ef7217a034599217a7fdd1e28e1ae6910e1b4b Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 11 十月 2023 20:15:21 +0800 Subject: [PATCH] 菜单获取编码规则 --- model/request/quotation.go | 27 ++++++++++++++++----------- 1 files changed, 16 insertions(+), 11 deletions(-) diff --git a/model/request/quotation.go b/model/request/quotation.go index 468b1fb..729b825 100644 --- a/model/request/quotation.go +++ b/model/request/quotation.go @@ -1,22 +1,27 @@ package request -import "aps_crm/model" +import ( + "aps_crm/model" + "aps_crm/proto/code" +) type AddQuotation struct { Quotation } type Quotation struct { - ClientId int `json:"client_id"` - Number string `json:"number"` - QuotationStatusId int `json:"quotation_status_id"` - ValidityDate string `json:"validity_date"` - ContactId int `json:"contact_id"` - MemberId int `json:"member_id"` - SaleChanceId int `json:"sale_chance_id"` - Conditions string `json:"conditions"` - File string `json:"file"` - Products []model.Product `json:"products"` + ClientId int `json:"client_id"` + Number string `json:"number"` + QuotationStatusId int `json:"quotation_status_id"` + ValidityDate string `json:"validity_date"` + ContactId int `json:"contact_id"` + MemberId int `json:"member_id"` + SaleChanceId int `json:"sale_chance_id"` + Conditions string `json:"conditions"` + File string `json:"file"` + CodeStandID string `json:"codeStandID"` //缂栫爜id + CodeRule code.CodeStandard `json:"codeRule"` + Products []model.Product `json:"products"` } type UpdateQuotation struct { -- Gitblit v1.8.0