@@ -220,6 +220,10 @@ func UpdateProductBill(c *gin.Context, apictx *ApiSession) (interface{}, error)
bill.CompleteTime = time.Now()
}
+ if bill.Remark == "" {
+ bill.Remark = " "
+ }
+
bill.UpdateTime = time.Now()
return repo.RepoUpdateSetDoc(apictx.CreateRepoCtx(), repo.CollectionBillProduct, bill.Id.Hex(), &bill)