Merge branch 'feat-sxy-0911' into dev
This commit is contained in:
commit
479cb7255f
@ -168,7 +168,10 @@ func SaveValueAddService(in *bundle.ValueAddServiceLang) (res *bundle.SaveRespon
|
||||
return res, errors.New("单价不能为空: " + parseErr1.Error())
|
||||
}
|
||||
if option.TotalPrice == "" {
|
||||
if option.Symbol == "=" {
|
||||
return res, errors.New("总价不能为空")
|
||||
}
|
||||
option.TotalPrice = "0"
|
||||
}
|
||||
totalPrice, parseErr2 := strconv.ParseFloat(option.TotalPrice, 32)
|
||||
if parseErr2 != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user