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 {