Explorar o código

Merge branch 'fms_2.8' into debug

ziwen hai 1 ano
pai
achega
2136cbb8b5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 {