# 接口说明

  • 1.新接口
  • 2.创建采购审批通知
  • 3.该接口为新接口,请求地址需要对接方提供
名称 描述
请求方 分贝通
响应方 对接方
请求地址url 对接方提供
HTTP方法 POST
Content-Type application/json
method /func/apply/mall/notifyApplyAgree

# 业务请求参数

字段 名称 类型 必填 描述
apply_id 申请单id String Y 58c22edd6819488a81120b1f
apply_name 申请人名称 String Y 李四
employee_id 申请人Id String Y 1111
apply_desc 申请人描述 String Y 采购审批描述
apply_total_price 申请总金额 BigDecimal Y 单位(分) 14.00
order_reason 订单事由 String N
order_reason_desc 订单事由描述 String N
custFileds 自定义字段信息 JsonArr N
attributionList 费用归属信息 JsonArr N
mall_list 采购物品列表信息 JsonArr N

# 自定义字段custFileds结构

字段 名称 类型 必填 描述
custom_filed_content 内容 String Y
custom_filed_title 标题 String Y

# 费用归属attributionList结构

字段 名称 类型 必填 描述
cost_attribution_category 费用归属类型 Integer N 1:部门 2:项目
cost_attribution_id 费用归属id String N
cost_attribution_name 费用归属名称 String N

# mall_list结构

字段 名称 类型 必填 描述
amount 数量 int N 1
checked 是否选中 Boolean N true
id id String Y
image_url 图片地址 String N 2020-04-27
is_seven_days_return 是否7天无理由退换货 String N 1表示支持
isfb_product 是否分贝通自营 boolean N true
limit_usefbq_flag 是否限制使用分贝券 boolean N false
name 商品名称 String N
order_type 订单类型 String N 4.采购订单
pic 图片地址 String N url
price 价格 double N 12.43
remain 库存 String N 2020-04-27
sale_price 销售价 double N 13.45
sku_id 商品id String N 首都国际机场
status 上下架状态 String N 1
stock_state_id 库存状态 String N 33
vendor_id 供应商id String N 44
# 请求示例:
    {
       "apply_id":"58baa2866819481560f013ac",
       "apply_name":"肖巍",
       "employee_id":"11111",
       "apply_desc":"采购审批描述",
       "apply_total_price":18185,
       "custFileds":[
           {
               "custom_filed_content":"Löydä lintu läheltäsi ",
                "custom_filed_title": ""
           },
           {
               "custom_filed_content":"采购自定义字段描述2",
               "custom_filed_title": ""
           }],
       "attributionList":[
           {
               "cost_attribution_id":"",
               "cost_attribution_name":"",
               "cost_attribution_category_type":1
           }],
       "tripList":[
           {
               "order_reason":"其他",
               "order_reason_desc":"采购事由",
               "mall_list":[
                   {
                       "amount":1,
                       "checked":true,
                       "count":0,
                       "id":"36315",
                       "image_url":"http://image.fenbeitong.com/mall/2018/10/23/138244/5bcecd5b5d88db46bb6527a8.jpg",
                       "is_seven_days_return":"1",
                       "isfb_product":true,
                       "key":0,
                       "limit_usefbq_flag":false,
                       "name":"得力(deli) 7734 百事贴(76*101mm) 单本装(KJ)",
                       "order_type":0,
                       "pic":"http://image.fenbeitong.com/mall/2018/10/23/138244/5bcecd5b5d88db46bb6527a8.jpg",
                       "price":0,
                       "remain":9999,
                       "sale_price":3.85,
                       "sku_id":"201810231526361",
                       "status":1,
                       "stock_state_id":33,
                       "vendor_id":411
                   },
                   {
                       "amount":1,
                       "checked":true,
                       "count":0,
                       "id":"36335",
                       "image_url":"http://image.fenbeitong.com/mall/2018/09/30/138244/5bb065b45d88db46bb651cb8.jpg",
                       "is_seven_days_return":"1",
                       "isfb_product":true,
                       "key":0,
                       "limit_usefbq_flag":false,
                       "name":"史努比(SNOOPY) 加湿器家用桌面落地静音办公室卧室客厅小型迷你补水雾化空气加湿器 微分子蒸脸加湿器 SP-N163(FBZY)",
                       "order_type":0,
                       "pic":"http://image.fenbeitong.com/mall/2018/09/30/138244/5bb065b45d88db46bb651cb8.jpg",
                       "price":0,
                       "remain":9999,
                       "sale_price":178,
                       "sku_id":"201809301356141",
                       "status":1,
                       "stock_state_id":33,
                       "vendor_id":411
                   }]
           }]
   }
   
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
lastUpdate: 5/10/2022, 2:04:01 PM