叁玖-saas


获取当前公司所有合同

简要描述
  • 获取当前公司客户合同
请求URL
  • 47.110.181.129:8081/api/other/getContract
请求方式
  • POST
参数
参数名 必选 类型 说明
contract_name string 合同名称
返回示例
{
    "code": 200,
    "msg": "OK",
    "data": [
        {
            "id": 92,
            "contract_code": "HT020220723112444903410",
            "company_id": 568868377,
            "department_id": 3,
            "salesman_id": 0,
            "contract_name": "和腹黑123123",
            "cus_name": "许慢慢的客户",
            "cus_id": 82,
            "contract_type": 1,
            "contract_start_time": "2022-06-23",
            "contract_end_time": "",
            "total_num": 0,
            "sale_name": "广州JD小张",
            "sale_tel": "18011119559",
            "pay_type": 0,
            "balance_type": 1,
            "balance_day": 5,
            "open_invoice_day": 5,
            "open_invoice_pay_day": 5,
            "project_price": "5.00",
            "caution_money": "5.00",
            "back_order": 0,
            "back_order_time": 8,
            "back_order_name": "换个地方",
            "back_order_tel": "2561",
            "back_order_address": "计划投入",
            "province_id": 150000,
            "city_id": 150500,
            "area_id": 150523,
            "is_open_ticket_client": 2,
            "payable_freight": "0.00",
            "loading_fee": "0.00",
            "service_fee": "0.00",
            "other_fee": "0.00",
            "invoice_id": 0,
            "third_name": "户",
            "handle_thing": "务必何润东",
            "down_url": "刚发的",
            "down_pic": "[{\"name\":\"SketchPng5c94f93a3b6780eaa5b564f4b5e0dfc7480dc6fa083d72d65840d3b0edb54b19.png\",\"url\":\"https://saaswuliu.oss-cn-beijing.aliyuncs.com/saaswuliu/image/10bebde301610dddf8cabb105410377ea3d6.png\"}",
            "auth_status": 1,
            "fail_content": "",
            "auth_time": "",
            "auth_id": 0,
            "belong_id": 5,
            "belong_depart_id": 0,
            "status": 1,
            "if_deleted": 0,
            "created_id": 2,
            "updated_id": 2,
            "created_at": "2022-07-23 11:24:00",
            "updated_at": "2022-07-23 17:29:43",
            "created_at_ymd": "2022-07-23",
            "updated_at_ymd": "",
            "memo": "无"
        },
        {
            "id": 91,
            "contract_code": "HT020220721145700113025",
            "company_id": 568868377,
            "department_id": 3,
            "salesman_id": 0,
            "contract_name": "嘿",
            "cus_name": "哦吼123",
            "cus_id": 79,
            "contract_type": 1,
            "contract_start_time": "2022-04-22",
            "contract_end_time": "",
            "total_num": 0,
            "sale_name": "嗯嗯123",
            "sale_tel": "15688888888",
            "pay_type": 0,
            "balance_type": 4,
            "balance_day": 4,
            "open_invoice_day": 4,
            "open_invoice_pay_day": 4,
            "project_price": "4.00",
            "caution_money": "4.00",
            "back_order": 0,
            "back_order_time": 4,
            "back_order_name": "亿元",
            "back_order_tel": "15244444444",
            "back_order_address": "交换机",
            "province_id": 150000,
            "city_id": 150500,
            "area_id": 150523,
            "is_open_ticket_client": 0,
            "payable_freight": "0.00",
            "loading_fee": "0.00",
            "service_fee": "0.00",
            "other_fee": "0.00",
            "invoice_id": 0,
            "third_name": "刚发的",
            "handle_thing": "无",
            "down_url": "冠福股份",
            "down_pic": "[{\"name\":\"SketchPng5c94f93a3b6780eaa5b564f4b5e0dfc7480dc6fa083d72d65840d3b0edb54b19.png\",\"url\":\"https://saaswuliu.oss-cn-beijing.aliyuncs.com/saaswuliu/image/f69a8f0e7cb7e5f1e10895e7c17e7c5d.png\"}]",
            "auth_status": 1,
            "fail_content": "",
            "auth_time": "",
            "auth_id": 0,
            "belong_id": 3,
            "belong_depart_id": 0,
            "status": 1,
            "if_deleted": 0,
            "created_id": 15,
            "updated_id": 15,
            "created_at": "2022-07-21 14:57:00",
            "updated_at": "2022-07-21 14:57:00",
            "created_at_ymd": "2022-07-21",
            "updated_at_ymd": "2022-07-21",
            "memo": ""
        },
        {
            "id": 90,
            "contract_code": "HT020220720104552991528",
            "company_id": 568868377,
            "department_id": 3,
            "salesman_id": 0,
            "contract_name": "哈哈",
            "cus_name": "王跑12嗯嗯",
            "cus_id": 78,
            "contract_type": 1,
            "contract_start_time": "2022-04-21",
            "contract_end_time": "",
            "total_num": 0,
            "sale_name": "嘿",
            "sale_tel": "13255555555",
            "pay_type": 0,
            "balance_type": 4,
            "balance_day": 8,
            "open_invoice_day": 8,
            "open_invoice_pay_day": 8,
            "project_price": "8.00",
            "caution_money": "8.00",
            "back_order": 0,
            "back_order_time": 8,
            "back_order_name": "柔肤水",
            "back_order_tel": "52",
            "back_order_address": "复合弓",
            "province_id": 110000,
            "city_id": 110100,
            "area_id": 110101,
            "is_open_ticket_client": 0,
            "payable_freight": "0.00",
            "loading_fee": "0.00",
            "service_fee": "0.00",
            "other_fee": "0.00",
            "invoice_id": 0,
            "third_name": "覆盖掉",
            "handle_thing": "无",
            "down_url": "哥梵蒂冈",
            "down_pic": "[{\"name\":\"SketchPng5c94f93a3b6780eaa5b564f4b5e0dfc7480dc6fa083d72d65840d3b0edb54b19.png\",\"url\":\"https://saaswuliu.oss-cn-beijing.aliyuncs.com/saaswuliu/image/d107c249f29a772a43085f10bba10a810db1.png\"}",
            "auth_status": 1,
            "fail_content": "",
            "auth_time": "",
            "auth_id": 0,
            "belong_id": 6,
            "belong_depart_id": 0,
            "status": 1,
            "if_deleted": 0,
            "created_id": 15,
            "updated_id": 15,
            "created_at": "2022-07-20 10:45:00",
            "updated_at": "2022-07-23 17:29:43",
            "created_at_ymd": "2022-07-20",
            "updated_at_ymd": "",
            "memo": ""
        }
    ]
}
返回参数说明
参数名 类型 说明
id int 合同编号
contract_code int 合同编号
line_code int 线路编号
department_id int 部门id
contract_name int 合同名称
belong_id int 所属客户id
belong_name int 所属客户名字
status int 状态id
status_name int 状态名字 生效-未生效
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML