ziwen 1 year ago
parent
commit
b17e8cef72
1 changed files with 1 additions and 0 deletions
  1. 1 0
      controller/contract/pre_register.go

+ 1 - 0
controller/contract/pre_register.go

@@ -190,6 +190,7 @@ func (rg *PreRegisterController) Add(c *gin.Context) {
 	ob.HasInvoice = 1
 	ob.Set()
 	ob.CurrencyUnit = currencyUnit
+	ob.ContractType = 2
 	if req.RegisterType == fms.ContractInvoiceTypePreMake {
 		//sellerItem := sellerMap[r.SellerId]
 		//if sellerItem == nil {