浏览代码

fix:对公转账校验

duxin 1 年之前
父节点
当前提交
6e41a3f968
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/order/orderManageController.go

+ 1 - 1
src/order/orderManageController.go

@@ -2955,7 +2955,7 @@ func UpdateSupplyOrder(context *admin.Context) (interface{}, error) {
 	if param.Phone == "" {
 		return nil, errors.New("缺少手机号")
 	}
-	if param.EntId == 0 {
+	if param.BuySubject == "2" && param.EntId == 0 {
 		return nil, errors.New("缺少企业id")
 	}
 	res := map[string]interface{}{}