ziwen 1 년 전
부모
커밋
b17e8cef72
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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 {