|
@@ -397,10 +397,19 @@ func (rg *RegisterController) Add(c *gin.Context) {
|
|
|
OriginAmount: ppItem.OriginAmount,
|
|
|
CurrencyUnit: ppItem.CurrencyUnit,
|
|
|
InvoiceDate: ppItem.InvoiceDate,
|
|
|
+ SellerId: ppItem.SellerId,
|
|
|
+ SellerName: ppItem.SellerName,
|
|
|
+ SellerGroupId: ppItem.SellerGroupId,
|
|
|
+ SellerGroupName: ppItem.SellerGroupName,
|
|
|
+ SellerTeamId: ppItem.SellerTeamId,
|
|
|
+ SellerTeamName: ppItem.SellerTeamName,
|
|
|
AdminId: int(adminInfo.AdminId),
|
|
|
AdminName: adminInfo.RealName,
|
|
|
Remark: ppItem.Remark,
|
|
|
+ ServiceProductId: ppItem.ServiceProductId,
|
|
|
IsPrePay: 1,
|
|
|
+ StartDate: ppItem.StartDate,
|
|
|
+ EndDate: ppItem.EndDate,
|
|
|
}
|
|
|
if ppItem.InvoiceType == 3 {
|
|
|
v.InvoiceType = 1
|
|
@@ -2427,7 +2436,7 @@ func (rg *RegisterController) Import(c *gin.Context) {
|
|
|
return
|
|
|
}
|
|
|
cs := &fms.ContractService{
|
|
|
- ProductId: crm.CompanyProductFicc,
|
|
|
+ ProductId: crm.CompanyProductRai,
|
|
|
ServiceTemplateId: tempItem.ServiceTemplateId,
|
|
|
Title: tempItem.Title,
|
|
|
Value: tempItem.Value,
|