import request from '@/utils/request'
import { URL } from '@/config'


/**
 * @name 商家端-查询订单信息列表
 * @api 
 * @param {
 *  stime: null,           开始时间
 *  etime: null,           结束时间
 *  kind_id:null,          订单类型
 *  order_state_id:null,   订单状态
 *  order_id               订单id
 *  order_title            订单标题
 *  buyer_user_id          买方用户id
 *  pageNum: 1,
 *  pageSize: 20,
 * } 
 *  
 * @returns {
  *  "total": 1,
  *  "records": 3,
  *  "page": 1,
  *  "items": [
  *      {
  *          "order_id": "DD-20241015-1",                      用户id
  *          "order_title": "Xiaomi 13 限量定制色 256G",        订单标题
  *          "store_id": 3,                                    商店id
  *          "subsite_id": 0,                                  子id
  *          "buyer_user_id": 10068,                           买方用户id
  *          "kind_id": 1201,                                  订单类型
  *          "order_lock_status": 0,                           订单锁定状态
  *          "order_is_settlemented": 0,                       订单已结算
  *          "order_settlement_time": null,                    订单结算时间
  *          "order_buyer_evaluation_status": 0,               订单买方评估状态
  *          "order_seller_evaluation_status": 0,              订单卖家评估状态
  *          "order_year": 2024,                               订单年份
  *          "order_month": 10,                                订单月份
  *          "order_day": 15,                                  订单日
  *          "order_time": "2024-10-15 09:36:49",              下单时间
  *          "order_deal_time": 1728956209173,                 订单交易时间
  *          "order_buyer_hidden": 0,                          订单买家隐藏
  *          "order_shop_hidden": 0,                           订单店隐藏
  *          "payment_type_id": 1302,                          付款类型id
  *          "payment_time": null,                             支付时间
  *          "order_state_id": 2070,                           订单状态id
  *          "order_is_review": 0,                             订单是否审核
  *          "order_finance_review": 0,                        订单财务审核
  *          "order_is_paid": 3010,                            订单已支付
  *          "order_is_out": 3020,                             订单已出
  *          "order_is_shipped": 3030,                         订单已发货
  *          "order_is_received": 0,                           收到订单
  *          "chain_id": 0,                                    连锁店id
  *          "delivery_type_id": 10,                           交付类型id
  *          "order_is_offline": 0,                            订单线下
  *          "cart_type_id": 1,                                购物车类型id
  *          "order_express_print": 0,                         订单快递打印
  *          "activity_id": "0",                               活动id
  *          "activity_type_id": "0",                          活动类型id
  *          "salesperson_id": 0,                              售货员id
  *          "order_is_sync": 0,                               订单是否同步
  *          "store_is_selfsupport": 1,                        商店是否自营
  *          "store_type": 1,                                  商店id
  *          "order_erp_id": "",
  *          "distributor_user_id": 0,                         分发用户id
  *          "order_is_cb": 0,
  *          "order_is_cb_sync": 0,
  *          "src_order_id": "",                               
  *          "order_is_transfer": 0,                           是否转单
  *          "order_is_transfer_note": "",                     是否有转单记录
  *          "order_fx_is_settlemented": 0,                    订单外汇已结算
  *          "order_fx_settlement_time": null,                 订单外汇结算时间
  *          "order_type": 3061,                               订单类型
  *          "order_withdraw_confirm": 0,                      订单撤回确认
  *          "activity_json": "[]",                            商店活动json
  *          "order_qs_time": null,                            订单时间
  *          "payment_form_id": 1,                             付款类别id
  *          "card_kind_id": 0,                                卡类id
  *          "coupon_type_id": 0,                              优惠券类型id
  *          "order_valid_type": 0,                            订单有效类型
  *          "order_number": "",                               订单号
  *          "order_product_amount": 1399,                     订单产品数量
  *          "order_payment_amount": 1399,                     订单付款金额
  *          "currency_id": 86,                                货币id
  *          "currency_symbol_left": "￥",                     货币符号
  *          "store_name": "山姆会员超市店",                    商店名称
  *          "buyer_user_name": "亚瑟",                        买方用户名
  *          "order_desc": "",                                 订单排序
  *          "order_delay_time": 0,                            订单延迟时间
  *          "delivery_time_id": 1,                            交付时间编号
  *          "delivery_time": "2024-10-15 00:00:00",           交付时间
  *          "delivery_time_rang": 0,                          交付时间范围
  *          "delivery_time_h": 9,
  *          "delivery_time_i": 0,
  *          "delivery_istimer": 0,
  *          "invoice_type_id": 1,                             发票类型编号
  *          "invoice_company_code": "",                       发票公司代码
  *          "order_invoice_title": "",                        订单发票标题
  *          "order_message": "",                              订单信息
  *          "order_item_amount": 1399,                        订单金额
  *          "order_discount_amount": 0,                       订单折扣金额
  *          "order_adjust_fee": 0,                            订单调整费
  *          "order_points_fee": 0,                            订单积分费
  *          "order_shipping_fee_amount": 0,                   订单运费金额
  *          "order_shipping_fee": 0,                          订单运费
  *          "voucher_id": 0,                                  收据id
  *          "voucher_number": "",                             收据号码
  *          "voucher_price": 0,                               收据价格
  *          "redpacket_id": 0,                                红包id
  *          "redpacket_number": "0",                          红包号码
  *          "redpacket_price": 0,                             红包金额 
  *          "order_redpacket_price": 0,                       订单红包价格
  *          "order_resource_ext1": 0,
  *          "order_resource_ext2": 0,
  *          "order_resource_ext3": 0,
  *          "trade_payment_money": 0,                         贸易交易货币
  *          "trade_payment_recharge_card": 0,                 贸易支付充值卡
  *          "trade_payment_credit": 0,                        贸易付款信用
  *          "order_refund_status": 0,                         订单退款状态
  *          "order_refund_amount": 0,                         订单退款金额
  *          "order_refund_agree_amount": 0,                   订单退款约定金额
  *          "order_refund_agree_cash": 0,                     订单退款同意现金
  *          "order_refund_agree_points": 0,                   订单退款约定地点
  *          "order_return_status": 0,                         订单返回状态
  *          "order_return_num": 0,                            订单返回号码
  *          "order_return_ids": "",                           订单返回id
  *          "order_commission_fee": 55.96,                    订单佣金
  *          "order_commission_fee_refund": 0,                 订单佣金退款
  *          "order_points_add": 0,
  *          "order_promotion_info": "0",                      订单推广信息
  *          "order_cancel_identity": 1,                       订单取消身份
  *          "order_cancel_reason": "",                        订单取消原因
  *          "order_cancel_time": null,                        订单取消时间
  *          "order_bp_add": 0,
  *          "order_rebate": 0,                                订单部分退款
  *          "buyer_mobile": 0,                                买家手机号码
  *          "order_heka": "",
  *          "activity_manhui_id": "",
  *          "activity_double_points_id": 0,
  *          "order_double_points_add": 0,
  *          "activity_voucher_id": "",
  *          "order_activity_manhui_state": 1000,
  *          "order_redemption_price": 0,                      订单弥补价格
  *          "version": 0,                                     版本
  *          "order_state_name": "已取消/已作废",               订单状态名称
  *          "return_flag": false,                             返回结果
  *          "activity_type_name": "",                         活动类型名称
  *          "items": [
  *              {
  *                  "order_item_id": 191,
  *                  "order_id": "DD-20241015-1",
  *                  "buyer_id": 10068,
  *                  "store_id": 3,
  *                  "product_id": 194,
  *                  "item_id": 275,
  *                  "item_name": "Xiaomi 13 限量定制色 256G",
  *                  "category_id": 21,
  *                  "spec_id": 0,
  *                  "spec_info": "256G",
  *                  "item_unit_price": 1399,
  *                  "item_unit_points": 0,
  *                  "item_unit_sp": 0,
  *                  "order_item_unit_price": 1399,
  *                  "item_platform_price": 0,
  *                  "item_cost_price": 1299,
  *                  "order_item_quantity": 1,
  *                  "order_item_inventory_lock": 1001,
  *                  "order_item_image": "https://lancer-bbc-1326467824.cos.ap-shanghai.myqcloud.com/lancer-bbc/mall/images/media/store/10009/202407043b12d7e1ae1042e98486f00d81b4627c.jpeg",
  *                  "order_item_return_num": 0,
  *                  "order_item_return_subtotal": 0,
  *                  "order_item_return_agree_amount": 0,
  *                  "order_item_return_agree_num": 0,
  *                  "order_item_amount": 1399,
  *                  "order_item_discount_amount": 0,
  *                  "order_item_adjust_fee": 0,
  *                  "order_item_points_fee": 0,
  *                  "order_item_payment_amount": 1399,
  *                  "order_item_evaluation_status": 0,
  *                  "activity_type_id": 0,
  *                  "activity_id": 0,
  *                  "activity_code": "",
  *                  "order_item_commission_rate": 4,
  *                  "order_item_commission_fee": 55.96,
  *                  "order_item_commission_fee_refund": 0,
  *                  "policy_discountrate": 100,
  *                  "item_voucher": 0,
  *                  "order_item_note": "",
  *                  "order_item_file": "",
  *                  "order_item_confirm_file": "",
  *                  "order_item_confirm_status": 1,
  *                  "design_file_images": "0",
  *                  "order_item_saler_id": 0,
  *                  "item_src_id": 241,
  *                  "order_item_supplier_sync": 0,
  *                  "src_order_id": "",
  *                  "item_purchase_price": 0,
  *                  "item_purchase_rate": 0,
  *                  "item_sales_rate": 0,
  *                  "item_channel_type": 0,
  *                  "order_give_id": 0,
  *                  "order_item_redemption_voucher": 0,
  *                  "version": 0
  *              }
  *          ],
  *          "mo_receive_area": "安徽省合肥市瑶海区 444",     接受区域
  *          "has_trans": 0,
  *          "has_supplier_trans": 0,
  *          "delivery_time_name": "2024-10-15 不限时段",  配送时间
  *          "order_item_image": "https://lancer-bbc-1326467824.cos.ap-shanghai.myqcloud.com/lancer-bbc/mall/images/media/store/10009/202407043b12d7e1ae1042e98486f00d81b4627c.jpeg",
  *          "item_name": "Xiaomi 13 限量定制色 2",
  *          "order_item_quantity": 1,        订单数量
  *          "product_id": 194,               产品编号
  *          "cost_price_total": 1299         成本价格
  *      },
  *  ]
* }
 */

export function getBaseList(params) {
  return request({
    url: URL.shop.order.base.getList,
    method: 'get',
    params,
  })
}

export function getOrderNumTimeline(params) {
  return request({
    url: URL.shop.order.base.getOrderNumTimeline,
    method: 'get',
    params,
  })
}

export function getPaymentDate(params) {
  return request({
    url: URL.shop.order.base.getPaymentDate,
    method: 'get',
    params,
  })
}

export function orderInfo(params) {
  return request({
    url: URL.shop.order.base.orderInfo,
    method: 'get',
    params,
  })
}

/**
 * @name 商家端-订单基础状态
 * @api api_url + '/admin/shop/shop-order-base/statisticState
 * @param { days } params 
 * @returns {
 *  "2020": 14,
 *  "2030": 12,
 *  "2060": 11,
 *  "2070": 64,
 *  "2090": 9,
 *  "total": 101
}
 */

export function statisticState(params) {
  return request({
    url: URL.shop.order.base.statisticState,
    method: 'get',
    params,
  })
}

/**
 * @name 商家端-客户统计趋势图
 * @param { days } params 
 * @returns [
    {
        "month": 10,     月
        "year": 2024,    年
        "num": 0,        数量
        "time": "10/7",  日期
        "day": 7         天
    } ,
    {
        "month": 10,
        "year": 2024,
        "num": 0,
        "time": "10/8",
        "day": 8
    },
]
 */

export function getCustomerTimeline(params) {
  return request({
    url: URL.shop.order.base.getCustomerTimeline,
    method: 'get',
    params,
  })
}

/**
 * @name 商家端-订单销售趋势图
 * @api 
 * @param { days }  
 * @returns [
 *  {
 *      "effective_count": 0,      有效的订单数量
 *      "cancel_count": 0,         取消订单数量
 *      "curr_date": "10/07"       当前日期
 *  },
 *  {
 *      "effective_count": 0,
 *      "cancel_count": 0,
 *      "curr_date": "10/08"
 *  },
]
 */

export function statisticCount(params) {
  return request({
    url: URL.shop.order.base.statisticCount,
    method: 'get',
    params,
  })
}

/**
 * @name 商家端-订单成交金额趋势图
 * @param { days } params 
 * @returns  
 * [
     {
        "amount": 0,           //金额
        "curr_date": "10/07"   //日期
      }
    ]
 */

export function statisticAmount(params) {
  return request({
    url: URL.shop.order.base.statisticAmount,
    method: 'get',
    params,
  })
}

export function getOrderDetail(params) {
  return request({
    url: URL.shop.order.base.getOrderDetail,
    method: 'get',
    params,
  })
}

export function getOrderStock(params) {
  return request({
    url: URL.shop.order.base.getOrderStock,
    method: 'get',
    params,
  })
}

export function getCustomerDate(params) {
  return request({
    url: URL.shop.order.base.getCustomerDate,
    method: 'get',
    params,
  })
}

export function cancel(data) {
  return request({
    url: URL.shop.order.base.cancel,
    method: 'post',
    data,
  })
}

export function receive(data) {
  return request({
    url: URL.shop.order.base.receive,
    method: 'post',
    data,
  })
}

export function listStateLog(params) {
  return request({
    url: URL.shop.order.base.listStateLog,
    method: 'get',
    params,
  })
}

/**
 * @name 商家端-订单审核
 * @api api_url + '/admin/shop/shop-order-base/review'
 * @param { order_ids }  
 * @returns 
 */
export function review(data) {
  return request({
    url: URL.shop.order.base.review,
    method: 'post',
    data,
  })
}

export function settlemented(data) {
  return request({
    url: URL.shop.order.base.settlemented,
    method: 'post',
    data,
  })
}

/**
 * @name 商家端-在线订单-财务审核
 * @api api_url + '/admin/shop/shop-order-base/reviewFinance'
 * @param { order_ids }  
 * @returns 
 */

export function reviewFinance(data) {
  return request({
    url: URL.shop.order.base.reviewFinance,
    method: 'post',
    data,
  })
}

/**
 * @name 商家端-在线订单-发货确认
 * @api api_url + '/admin/shop/shop-order-base/reviewFinance'
 * @param { order_ids }  
 * @returns 
 */

export function reviewShipping(data) {
  return request({
    url: URL.shop.order.base.reviewShipping,
    method: 'post',
    data,
  })
}

/**
 * @name 商家端-在线订单-出库确认
 * @api api_url + '/admin/shop/shop-order-base/reviewFinance'
 * @param { order_ids }  
 * @returns 
 */

export function reviewPicking(data) {
  return request({
    url: URL.shop.order.base.reviewPicking,
    method: 'post',
    data,
  })
}

/**
 * @name 商家端代客下单
 * @api 
 * @param {
 *    user_id: 10068
 *    ud_id: 20
 *    items: [{"item_id":275,"item_name":"256G","item_unit_price":1399,"cart_quantity":1,"kind_id":1201}]
 * }
 * @returns {
    "user_voucher_ids": [],
    "buyer_user_name": "亚瑟",
    "orderDiscountAmount": 0,
    "cart_select": 1,
    "orderSelPointsAmount": 0,
    "checkout_row": {
        "delivery_time_id": 1,
        "delivery_time_h": 9,
        "order_invoice_title": "",
        "delivery_time": "2024-10-15 09:36:49",
        "payment_type_id": 1302,
        "delivery_type_id": 10,
        "invoice_type_id": 1
    },
    "transportIds": [
        10
    ],
    "order_rebate_amount": 0,
    "is_paid": false,
    "orderSelSpAmount": 0,
    "orderSelProductAmount": 1399,
    "order_type": 3061,
    "address_row": {
        "ud_telephone": "",
        "ud_intl": "+86",
        "ud_mobile": "18655554444",
        "ud_longitude": "",
        "ud_county_id": 340102,
        "ud_im": "",
        "ud_province_id": 340000,
        "ud_name": "ss",
        "ud_tag_name": "0",
        "ud_city_id": 340100,
        "ud_time": "2024-10-15 09:26:04",
        "ud_id": 20,
        "user_id": 10068,
        "ud_county": "瑶海区",
        "ud_address": "444",
        "ud_is_default": 0,
        "ud_latitude": "",
        "ud_contacter": "",
        "ud_postalcode": "537200",
        "ud_city": "合肥市",
        "ud_province": "安徽省"
    },
    "src_order_id": "",
    "buyer_user_id": 10068,
    "payment_form_id": null,
    "user_money": 0,
    "source_item_id": {},
    "salesperson_id": 0,
    "user_points": 210,
    "chain_info": [],
    "order_message": {},
    "orderSelMoneyAmount": 1399,
    "items": [
        {
            "store_id": 3,
            "user_id": 10004,
            "store_name": "山姆会员超市店",
            "store_grade_id": 1004,
            "store_logo": "https://lancer-bbc-1326467824.cos.ap-shanghai.myqcloud.com/lancer-bbc/mall/images/media/store/10004/20240612a59206614bf545a0b996dc2402769296.png",
            "store_slogan": "更好的生活尽在山姆",
            "store_domain": "",
            "store_area": "新疆维吾尔自治区/昌吉回族自治州/呼图壁县",
            "store_district_id": [
                650000,
                652300,
                652323,
                652300,
                652323
            ],
            "store_address": "上海市徐汇区虹梅路街道田林路388号-1层-东/5层",
            "store_latitude": 31.172783,
            "store_longitude": 121.404808,
            "store_is_selfsupport": 1,
            "store_type": 1,
            "store_is_open": 1,
            "shop_parent_id": 0,
            "store_category_id": 1037,
            "store_state_id": 3240,
            "store_time": "2024-06-12 16:34:19",
            "store_end_time": 1749717258931,
            "product_category_ids": [],
            "store_o2o_tags": [
                1001,
                1002,
                1003
            ],
            "store_o2o_flag": 1,
            "store_o2o_merchant_id": "",
            "store_circle": [
                1
            ],
            "subsite_id": 0,
            "item_id": [],
            "items": [
                {
                    "pulse_manhui": [],
                    "kind_id": 1201,
                    "product_url": "https://domo.lancerdt.com/i/275",
                    "product_image": "https://lancer-bbc-1326467824.cos.ap-shanghai.myqcloud.com/lancer-bbc/mall/images/media/store/10009/202407043b12d7e1ae1042e98486f00d81b4627c.jpeg",
                    "item_spec": "[{\"item\":{\"name\":\"256G\",\"id\":45},\"name\":\"数码规格\",\"id\":1002}]",
                    "product_transport_id": "10",
                    "product_item_name": "Xiaomi 13 限量定制色 256G",
                    "item_key": "%d_0_%s",
                    "item_purchase_price": 0,
                    "item_sale_price": 1399,
                    "item_weight": 0,
                    "product_tags": "1401,1402,1403,1404,1405",
                    "item_src_id": 241,
                    "can_delete": true,
                    "product_id": 194,
                    "product_commission_rate": 0,
                    "activity_id": 0,
                    "pulse_discount": {},
                    "item_purchase_rate": 0,
                    "product_fx_enable": 0,
                    "item_barcode": "",
                    "payment_type_id": 0,
                    "show_open_activity_time": false,
                    "pulse_bargains_cart": [],
                    "version": 4,
                    "cart_quantity": 1,
                    "show_sub": false,
                    "user_id": 10068,
                    "subtotal": 1399,
                    "pulse_reduction": [],
                    "product_inventory_lock": 1001,
                    "item_number": "",
                    "cart_type": "buy",
                    "activity_discount_amount": 0,
                    "pulse_bargains": [],
                    "pulse_gift_cart": [],
                    "item_fx_commission": 0,
                    "single_activity": false,
                    "item_unit_points": 0,
                    "category_id": 21,
                    "product_dist_enable": 1,
                    "show_product_cart_ttl": false,
                    "adapt_str": "",
                    "item_quantity_frozen": 0,
                    "spec_item_ids": "45",
                    "store_id": 3,
                    "product_state_id": 1001,
                    "pfgb_id": 0,
                    "item_name": "256G",
                    "policy_discount_amount": 0,
                    "pulse_multple": [],
                    "activitys": {},
                    "item_warn_quantity": 0,
                    "no_link": false,
                    "course_category_id": 0,
                    "show_oos": false,
                    "num": 1,
                    "item_rebate_subtotal": 0,
                    "pulse_gift": [],
                    "item_market_price": 1999,
                    "points_subtotal": 0,
                    "cart_file": null,
                    "pulse_fullreturn": [],
                    "item_freetime": 0,
                    "item_title": "",
                    "transport_type_id": 6,
                    "item_platform_price": 0,
                    "item_unit_price": 1399,
                    "product_name": "Xiaomi 13 限量定制色",
                    "show_open_activity_status": false,
                    "show_type": "buy",
                    "show_typename": "",
                    "item_advice_price": 1399,
                    "item_is_change": 0,
                    "item_cost_price": 1299,
                    "item_quantity": 995,
                    "spec_info": "256G",
                    "is_virtual": 0,
                    "item_sales_rate": 0,
                    "product_buy_limit": 0,
                    "item_discount_amount": 0,
                    "is_over_ttl": false,
                    "cart_select": 1,
                    "sp_subtotal": 0,
                    "item_enable": 1001,
                    "can_change_num": true,
                    "item_unit_sp": 0,
                    "item_spec_name": "256G",
                    "del_confirm": "确定删除吗？",
                    "item_id": 275,
                    "item_rebate": 0,
                    "cart_type_id": 1,
                    "policy_discountrate": 100,
                    "item_is_default": 1,
                    "pulse_reduction_again": [],
                    "buy_limit": 995,
                    "product_tips": "第二代骁龙8｜徕卡专业光学镜头｜徕卡原生双画质",
                    "color_id": 0,
                    "item_unit_price_1001": 0,
                    "is_on_sale": true,
                    "item_unit_price_1003": 0,
                    "item_unit_price_1002": 0,
                    "item_unit_price_1005": 0,
                    "item_unit_price_1004": 0,
                    "item_unit_price_1007": 0,
                    "item_unit_price_1006": 0,
                    "item_unit_price_1009": 0,
                    "item_unit_price_1008": 0
                }
            ],
            "cart_select": 1,
            "uuid": "1486449179.7034:58996a1babba44.74970832",
            "totalWithoutGift": 1,
            "totalSelGoods": 1,
            "hasTv": true,
            "shipmentDesc": "",
            "max_push_days": 21,
            "store_rebate": 0,
            "activitys": {
                "gift": [],
                "postFree": {},
                "coupons": {},
                "reduction": [],
                "multple": []
            },
            "bargains": [],
            "bargainDiv": [],
            "giftsDiv": [],
            "pulseActivityDiscountMoney": 0,
            "discount_items": {
                "one_piece_discount": 0,
                "reduction_again": 0,
                "giftbag": 0,
                "reduction": 0,
                "limited_discount": 0,
                "multple": 0
            },
            "pulse_discount_items": {
                "pulse_multple": 0,
                "pulse_reduction": 0
            },
            "discount_detail_rows": [],
            "activityDiscountMoney": 0,
            "productMoney": 0,
            "orderMoney": 0,
            "productMoneySelGoods": 1399,
            "order_money_select_items": 1399,
            "postFree": true,
            "freight": 0,
            "postFreeBalance": 0,
            "coudan_items": [],
            "sc_is_enabled_invoice": 1,
            "store_checkable": true,
            "ids": [
                275
            ],
            "tt_ids": {
                "6": 1
            },
            "policy_discountrate": 100,
            "policy_discount_amount": 0,
            "productMoneyOriginGoods": 1399,
            "productPointsSel": 0,
            "productSpSel": 0,
            "order_activity_discount_amount": 0,
            "order_discount_amount": 0,
            "activity_discount_amount": 0
        }
    ],
    "order_id": [
        "DD-20241015-1"
    ],
    "orderSelFreightAmount": 0
}
 */

export function add(data) {
  return request({
    url: URL.shop.order.base.add,
    method: 'post',
    data,
  })
}

export function picking(data) {
  return request({
    url: URL.shop.order.base.picking,
    method: 'post',
    data,
  })
}

export function exportFile(params) {
  return request({
    url: URL.shop.order.base.exportFile,
    method: 'get',
    params,
  })
}

export function editFee(data) {
  return request({
    url: URL.shop.order.base.editFee,
    method: 'post',
    data,
  })
}

export function transferToSupplier(data) {
  return request({
    url: URL.shop.order.base.transferToSupplier,
    method: 'post',
    data,
  })
}

export function doUpdateOrders(data) {
  return request({
    url: URL.shop.order.base.doUpdateOrders,
    method: 'post',
    data,
  })
}

export function checkPicking(data) {
  return request({
    url: URL.shop.order.base.checkPicking,
    method: 'post',
    data,
  })
}
