ソースを参照

feature(订单管理系统):
1、公海客户和储备可以创建用户添加招标关键字

niezch 2 年 前
コミット
c8e520ec76

+ 10 - 8
opms_parent/app/model/cust/cust_customer.go

@@ -58,14 +58,15 @@ type CustomerAddSeq struct {
 	CustRegionId   int    `json:"custRegionId"`                                            // 所在区县ID
 	CustRegion     string `json:"custRegion"`                                              // 所在区县
 	//FollowUpDate   *gtime.Time `p:"followUpDate"    json:"followUpDate"   `                         //跟进时间
-	CustIndustry  string `p:"custIndustry"    json:"custIndustry"  v:"required#客户行业不能为空"`     //客户行业
-	CustLevel     string `p:"custLevel"       json:"custLevel"`                               //客户级别
-	CustSource    string `p:"custSource"      json:"custSource"        v:"required#客户来源不能为空"` //客户来源
-	CustDistCode  int    `p:"custDistCode"    json:"custDistCode"  v:"required#省份不能为空" `      // 省份Id
-	Remark        string `p:"remark"          json:"remark"`                                  //备注
-	SalesName     string `p:"salesName"       json:"salesName"   `                            // 销售名称
-	SalesId       int    `p:"salesId"         json:"salesId"   `                              // 销售id
-	InvoiceHeader string `json:"invoiceHeader"`                                               // 开票抬头
+	CustIndustry  string   `p:"custIndustry"    json:"custIndustry"  v:"required#客户行业不能为空"`     //客户行业
+	CustLevel     string   `p:"custLevel"       json:"custLevel"`                               //客户级别
+	CustSource    string   `p:"custSource"      json:"custSource"        v:"required#客户来源不能为空"` //客户来源
+	CustDistCode  int      `p:"custDistCode"    json:"custDistCode"  v:"required#省份不能为空" `      // 省份Id
+	Remark        string   `p:"remark"          json:"remark"`                                  //备注
+	SalesName     string   `p:"salesName"       json:"salesName"   `                            // 销售名称
+	SalesId       int      `p:"salesId"         json:"salesId"   `                              // 销售id
+	InvoiceHeader string   `json:"invoiceHeader"`                                               // 开票抬头
+	Keyword       []string `json:"keyword"`                                                     // 招标关键字
 }
 
 // 客户联系人信息
@@ -103,6 +104,7 @@ type CustList struct {
 	CreatedTime    string `orm:"created_time"   json:"createdTime"`  // 创建时间
 	SalesId        int    `orm:"sales_id"   json:"salesId"`          //
 	SalesName      string `orm:"sales_name"   json:"salesName"`      //
+	Keyword        string `orm:"keyword"          json:"keyword"`    // 招标关键字
 	Remark         string `orm:"remark"   json:"remark"`
 	//Follow       *Follow     `json:"follow"`
 	InvoiceHeader string `orm:"invoice_header"   json:"invoiceHeader"` // 开票抬头

+ 1 - 0
opms_parent/app/model/cust/internal/cust_customer.go

@@ -33,6 +33,7 @@ type CustCustomer struct {
 	FollowUpDate   *gtime.Time `orm:"follow_up_date"   json:"followUpDate"`   // 最后跟进时间
 	FollowUpMan    string      `orm:"follow_up_man"    json:"followUpMan"`    // 最后跟进人
 	InvoiceHeader  string      `orm:"invoice_header"   json:"invoiceHeader"`  // 开票抬头
+	Keyword        string      `orm:"keyword"          json:"keyword"`        // 招标关键字
 	Remark         string      `orm:"remark"           json:"remark"`         // 备注
 	CreatedBy      int         `orm:"created_by"       json:"createdBy"`      // 创建者
 	CreatedName    string      `orm:"created_name"     json:"createdName"`    // 创建人