源系统平台:旺店通·企业奇门
源系统接口: 查询退换管理wdt.refund.query
目标系统平台: 用友BIP
目标系统接口: 销售退货单个保存/yonbip/sd/vouchersalereturn/singleSave
源平台元数据配置:
{
"id": "refund_id",
"api": "wdt.refund.query",
"type": "QUERY",
"method": "POST",
"number": "refund_no",
"idCheck": true,
"request": [
{
"id": "1f2e0747-6f69-3957-9ab4-f67b0f1f11e7",
"type": "string",
"field": "process_status",
"label": "退换单处理状态",
"value": null,
"describe": "退换单处理状态 5 补款 10已取消 20待审核 30已同意 40已拒绝 50待财审 60待收货 63待推送 64推送失败 65委外待收货 69待收货(已结算) 70部分到货 71部分到货(已结算) 80待结算 90已完成",
"parent_id": null,
"is_required": false
},
{
"id": "1c38f42d-2bf7-327f-bf8c-19bdaa0ce4db",
"type": "string",
"field": "time_type",
"label": "时间类型",
"value": null,
"describe": "0,最后更新时间,1,结算时间。默认值0",
"parent_id": null,
"is_required": false
},
{
"id": "8fe84e79-946f-3be4-ad08-54ea117a0985",
"type": "string",
"field": "start_time",
"label": "开始时间",
"value": "{{LAST_SYNC_TIME|datetime}}",
"describe": "按最后修改(结算)时间增量获取数据,start_time作为开始时间,格式:yyyy-MM-dd HH:mm:ss",
"parent_id": null,
"is_required": false
},
{
"id": "6292cb7a-fc90-3256-9d51-6ebb86de28fb",
"type": "string",
"field": "end_time",
"label": "结束时间",
"value": "{{CURRENT_TIME|datetime}}",
"describe": "按最后修改时间(结算)增量获取数据,end_time作为结束时间,格式:yyyy-MM-dd HH:mm:ss",
"parent_id": null,
"is_required": false
},
{
"id": "c032fb3c-6035-3d34-9e2d-4812f1bce8ff",
"type": "string",
"field": "page_size",
"label": "分页大小",
"value": "{{PAGINATION_PAGE_SIZE}}",
"describe": "每页返回的数据条数,输入值范围1~40,不传本参数,输入值默认为40,使用举例单击这里",
"parent_id": null,
"is_required": false
},
{
"id": "54ff2117-4076-3db1-847f-25312a6ee962",
"type": "string",
"field": "shop_no",
"label": "店铺编号",
"value": null,
"describe": "店铺编号",
"parent_id": null,
"is_required": false
},
{
"id": "b6d042d7-3c2a-359f-8bb6-14e5740af09c",
"type": "string",
"field": "page_no",
"label": "页号",
"value": "0",
"describe": "不传值默认从0页开始",
"parent_id": null,
"is_required": false
},
{
"id": "e16e9e6d-192d-3362-a643-ac0cd45ee97f",
"type": "string",
"field": "refund_no",
"label": "Erp内退换单编号",
"value": null,
"describe": "Erp内退换单编号,传该字段可以不传时间",
"parent_id": null,
"is_required": false
},
{
"id": "542d37ab-7cb2-3e49-b369-d994dfe14b73",
"type": "string",
"field": "src_refund_no",
"label": "平台原始退换单号",
"value": null,
"describe": "平台原始退换单号,传该字段可以不传时间",
"parent_id": null,
"is_required": false
},
{
"id": "04730c47-c286-3350-a868-0f2918c27d7b",
"type": "string",
"field": "trade_no",
"label": "系统订单编号",
"value": null,
"describe": "系统订单编号,传该字段可以不传时间",
"parent_id": null,
"is_required": false
},
{
"id": "815334d5-0a04-3bbc-9294-ab13c4f9fd9c",
"type": "string",
"field": "tid",
"label": "原始单号",
"value": null,
"describe": "原始单号,传该字段可以不传时间",
"parent_id": null,
"is_required": false
}
],
"response": [
{
"id": "591e1645-7ec3-3c7e-be8c-a2bfb3be5cda",
"type": "string",
"field": "modified",
"label": "最后修改时间",
"value": null,
"describe": "最后修改时间 格式:yyyy-MM-dd HH:mm:ss",
"parent_id": null,
"is_required": false
},
{
"id": "e8f0443d-53e3-3473-beff-7790a3c731bc",
"type": "string",
"field": "refund_id",
"label": "退换单主键",
"value": null,
"describe": "退换单主键",
"parent_id": null,
"is_required": false
},
{
"id": "37a56a7b-fdef-3e4e-84b3-4e85522b95a6",
"type": "string",
"field": "refund_no",
"label": "erp退换单号",
"value": null,
"describe": "erp退换单号,默认TK开头",
"parent_id": null,
"is_required": false
},
{
"id": "8ee6dee6-fff6-3eb7-b25a-aeb15701e6a4",
"type": "string",
"field": "finish_time",
"label": "结算时间",
"value": null,
"describe": "旺店通内操作结算的时间 格式:yyyy-MM-dd HH:mm:ss",
"parent_id": null,
"is_required": false
},
{
"id": "b9a2de2a-f456-3817-baa3-ea3786737eaa",
"type": "string",
"field": "customer_no",
"label": "客户档案编号",
"value": null,
"describe": "客户档案编号",
"parent_id": null,
"is_required": false
},
{
"id": "d1478700-d268-359c-88ff-8b66d0247b95",
"type": "string",
"field": "api_outer_no",
"label": "API单号",
"value": null,
"describe": "接口创建退换单的外部单号",
"parent_id": null,
"is_required": false
},
{
"id": "304773b6-448b-3a26-a927-97e2a26fbec2",
"type": "string",
"field": "platform_id",
"label": "平台类型",
"value": null,
"describe": "平台类型,响应值为代表平台的ID数字,ID对应的平台名称单击这里",
"parent_id": null,
"is_required": false
},
{
"id": "c0d8316b-230e-3e37-965a-b34edb3e0615",
"type": "string",
"field": "customer_name",
"label": "收件人姓名",
"value": null,
"describe": "收件人姓名(如需唯一值,以receiver_name为准)",
"parent_id": null,
"is_required": false
},
{
"id": "a4d15585-b6bb-313a-a95f-e3d0199577bd",
"type": "string",
"field": "src_no",
"label": "平台退款单号",
"value": null,
"describe": "平台退款单号",
"parent_id": null,
"is_required": false
},
{
"id": "d018e20c-a6e2-38aa-a263-ebcffa172a57",
"type": "string",
"field": "swap_zip",
"label": "收件人邮编",
"value": null,
"describe": "收件人邮编",
"parent_id": null,
"is_required": false
},
{
"id": "48ac5e2d-392e-3c18-80bd-b7990b0c2aa3",
"type": "string",
"field": "swap_logistics_type",
"label": "换货新订单物流公司类别",
"value": null,
"describe": "响应值为代表换货新订单物流公司类别的数字,数字对应的物流公司类别名称单击这里",
"parent_id": null,
"is_required": false
},
{
"id": "70bf6d56-b861-3f28-8eb9-e89d4b664a42",
"type": "string",
"field": "type",
"label": "类型",
"value": null,
"describe": "1退款(未发货,退款申请)2退货3换货4退款不退货5订单补款",
"parent_id": null,
"is_required": false
},
{
"id": "27d48300-97b4-3e8a-a9ee-0e436395bb82",
"type": "string",
"field": "process_status",
"label": "处理状态",
"value": null,
"describe": "5补款10已取消20待审核30已同意40已拒绝50待财审60待收货63待推送64推送失败65委外待收货69待收货(已结算)70部分到货71部分到货(已结算)80待结算90已完成",
"parent_id": null,
"is_required": false
},
{
"id": "369ae749-8e33-3260-8a43-ca6f34a6800e",
"type": "string",
"field": "swap_logistics_name",
"label": "换货新订单物流公司名称",
"value": null,
"describe": "换货新订单物流公司名称",
"parent_id": null,
"is_required": false
},
{
"id": "1872a7ed-5070-3c75-a1f8-270fd3323278",
"type": "string",
"field": "creator_name",
"label": "建单员姓名",
"value": null,
"describe": "建单员姓名",
"parent_id": null,
"is_required": false
},
{
"id": "a7965248-8a90-3175-9cc0-aad9d84ac0d6",
"type": "string",
"field": "status",
"label": "平台状态",
"value": null,
"describe": "平台状态0表示为空,1取消退款,2已申请退款,3等待退货,4等待收货,5退款成功,10换货待处理,20待买家退货,30买家已退货待收货,40待买家修改,50待发出换货商品,55待买家收货,60换货改退货,70换货关闭,80换货成功",
"parent_id": null,
"is_required": false
},
{
"id": "20fc0a16-653c-39fd-b51c-4955f3806405",
"type": "string",
"field": "guarantee_mode",
"label": "担保方式",
"value": null,
"describe": "担保方式1担保交易2非担保交易3非担保在线交易(ecshop)",
"parent_id": null,
"is_required": false
},
{
"id": "6e00d7a6-801a-35ad-981e-48cb7781132f",
"type": "string",
"field": "error_msg",
"label": "逆向物流错误信息",
"value": null,
"describe": "逆向物流错误信息",
"parent_id": null,
"is_required": false
},
{
"id": "7fa9ca5b-8bb5-39a5-90b9-ea84289be783",
"type": "string",
"field": "cs_status",
"label": "退款阶段",
"value": null,
"describe": "退款阶段 0售中 1售后",
"parent_id": null,
"is_required": false
},
{
"id": "ea8008d3-2ddb-3b2a-8965-3f81cf519501",
"type": "string",
"field": "created",
"label": "创建时间",
"value": null,
"describe": "创建时间",
"parent_id": null,
"is_required": false
},
{
"id": "1dfff44e-a639-36ff-a303-4f4639cce3f0",
"type": "string",
"field": "shop_no",
"label": "店铺编号",
"value": null,
"describe": "代表店铺所有属性的唯一编码,用于店铺区分,ERP内支持自定义(ERP店铺界面设置)",
"parent_id": null,
"is_required": false
},
{
"id": "a07c554f-5ca0-3234-b573-635bddffa0f5",
"type": "string",
"field": "outer_no",
"label": "外部编号",
"value": null,
"describe": "默认为'',外部编号,与wms对接使用",
"parent_id": null,
"is_required": false
},
{
"id": "4443724e-6158-3725-8cda-86f8c9838641",
"type": "string",
"field": "shop_name",
"label": "店铺名称",
"value": null,
"describe": "店铺名称",
"parent_id": null,
"is_required": false
},
{
"id": "e32d10ae-e490-3996-b45c-14193cb42770",
"type": "string",
"field": "swap_trade_id",
"label": "换出原始单id",
"value": null,
"describe": "换出原始单id",
"parent_id": null,
"is_required": false
},
{
"id": "41268809-e04c-3264-998c-b04b0ae033c7",
"type": "string",
"field": "warehouse_id",
"label": "仓库id",
"value": null,
"describe": "默认为'0',期望退回的仓库",
"parent_id": null,
"is_required": false
},
{
"id": "8fd9599c-d49d-3fc2-9eea-bf280dbfc22b",
"type": "string",
"field": "pay_account",
"label": "买家支付帐号",
"value": null,
"describe": "买家支付帐号",
"parent_id": null,
"is_required": false
},
{
"id": "66bd4c39-0497-3376-89ed-bd1d9bd29ce6",
"type": "string",
"field": "shop_id",
"label": "店铺id",
"value": null,
"describe": "店铺id",
"parent_id": null,
"is_required": false
},
{
"id": "f4518e73-233e-3335-b891-98b2389b1f63",
"type": "string",
"field": "pay_no",
"label": "支付订单号",
"value": null,
"describe": "支付订单号",
"parent_id": null,
"is_required": false
},
{
"id": "d38a7b3c-5f8f-3a1e-9992-584525cc8fa2",
"type": "string",
"field": "advance_status",
"label": "预先状态",
"value": null,
"describe": null,
"parent_id": null,
"is_required": false
},
{
"id": "e6bccd7a-4520-3ff6-a5d2-8868a8b6a3f5",
"type": "string",
"field": "goods_amount",
"label": "退货金额",
"value": null,
"describe": "退货金额",
"parent_id": null,
"is_required": false
},
{
"id": "0e553940-b45b-337e-97e2-3a07cf98d92d",
"type": "string",
"field": "refund_amount",
"label": "买家申请退款金额",
"value": null,
"describe": "买家申请退款金额",
"parent_id": null,
"is_required": false
},
{
"id": "943fb248-bdc5-3038-86ff-6d541e002460",
"type": "string",
"field": "is_goods_received",
"label": "是否收到货品",
"value": null,
"describe": "默认为'0',买家是否收到货",
"parent_id": null,
"is_required": false
},
{
"id": "51e3cdbf-0cc7-3d5e-a6be-0804d6c7fbcf",
"type": "string",
"field": "customer_id",
"label": "客户id",
"value": null,
"describe": "默认为'0',客户id",
"parent_id": null,
"is_required": false
},
{
"id": "d7b564a9-53b9-35f1-b7e8-d9b424b4820c",
"type": "string",
"field": "direct_refund_amount",
"label": "线下退款金额",
"value": null,
"describe": "订单确认收货之后的退款金额",
"parent_id": null,
"is_required": false
},
{
"id": "5fb46247-73b5-3ccc-ad47-b8e09f44a17a",
"type": "string",
"field": "guarante_refund_amount",
"label": "平台退款金额",
"value": null,
"describe": "平台退款金额",
"parent_id": null,
"is_required": false
},
{
"id": "d483910f-e2d8-3ae1-9feb-4e176115662f",
"type": "string",
"field": "swap_warehouse_id",
"label": "换出仓库id",
"value": null,
"describe": "默认为'0',换出货品出库仓库",
"parent_id": null,
"is_required": false
},
{
"id": "33c13816-b7da-3776-9e9a-20690ff0e8ac",
"type": "string",
"field": "actual_refund_amount",
"label": "实际退款/收款金额",
"value": null,
"describe": "实际退款/收款金额",
"parent_id": null,
"is_required": false
},
{
"id": "45cfac97-e74f-3a2e-9133-97e029d50af9",
"type": "string",
"field": "swap_logistics_id",
"label": "换出物流id",
"value": null,
"describe": "默认为'0',换货新订单物流公司ID",
"parent_id": null,
"is_required": false
},
{
"id": "9a6c0d85-2bde-36f5-a667-7519bae19439",
"type": "string",
"field": "warehouse_type",
"label": "仓库类型",
"value": null,
"describe": null,
"parent_id": null,
"is_required": false
},
{
"id": "b7e92415-a142-3434-91b1-4e4f1b26faac",
"type": "string",
"field": "exchange_amount",
"label": "换货金额",
"value": null,
"describe": "换货金额",
"parent_id": null,
"is_required": false
},
{
"id": "55d18c75-d6cc-35c4-8236-e92ca2122d8d",
"type": "string",
"field": "post_amount",
"label": "邮费金额",
"value": null,
"describe": "邮费金额",
"parent_id": null,
"is_required": false
},
{
"id": "bdf1c3af-0215-3823-bedf-a58eac5d593c",
"type": "string",
"field": "wms_status",
"label": "wms状态",
"value": null,
"describe": "默认为'0',外部状态,与wms对接使用0初始化1失败2成功",
"parent_id": null,
"is_required": false
},
{
"id": "b7f55e7a-aba6-3cce-8bbf-47295c23fc7a",
"type": "string",
"field": "other_amount",
"label": "其它金额",
"value": null,
"describe": "其它金额",
"parent_id": null,
"is_required": false
},
{
"id": "c5f5042b-bbb4-3507-a750-e7f248577809",
"type": "string",
"field": "wms_result",
"label": "wms结果",
"value": null,
"describe": "默认为'',外部结果,与wms对接使用",
"parent_id": null,
"is_required": false
},
{
"id": "28cba0ad-5bfe-3174-b970-325985544aa9",
"type": "string",
"field": "wms_outer_no",
"label": "外部仓库的单号",
"value": null,
"describe": "默认为'',对应外部仓库的单号",
"parent_id": null,
"is_required": false
},
{
"id": "321586bf-e2bf-3e78-b80f-b5685b71f003",
"type": "string",
"field": "paid",
"label": "已退款/已收款",
"value": null,
"describe": "已退款/已收款",
"parent_id": null,
"is_required": false
},
{
"id": "8bcd674a-f52c-3f30-9515-2cf1aae0c6c1",
"type": "string",
"field": "from_type",
"label": "建立方式",
"value": null,
"describe": "默认为'1',建立方式1api抓单2手式建单3外部导入4天猫换货5菜鸟回传自动创建",
"parent_id": null,
"is_required": false
},
{
"id": "957595cf-1749-3e3a-8e6d-044400b6edfa",
"type": "string",
"field": "tid",
"label": "订单的原始单号",
"value": null,
"describe": "订单的原始单号",
"parent_id": null,
"is_required": false
},
{
"id": "117ae556-dbc3-3827-bd19-2c29fe520478",
"type": "string",
"field": "sales_trade_id",
"label": "系统订单ID",
"value": null,
"describe": "系统订单ID",
"parent_id": null,
"is_required": false
},
{
"id": "bcbf6f0a-7c18-3601-9fb6-68e0a10bf460",
"type": "string",
"field": "return_goods_count",
"label": "退回货品数量",
"value": null,
"describe": "默认为'0',退回货品数量",
"parent_id": null,
"is_required": false
},
{
"id": "2d0216bd-7194-387c-a15e-3c3b35878fcf",
"type": "string",
"field": "sales_tid",
"label": "系统订单号",
"value": null,
"describe": "系统订单编号,默认单号为JY开头,ERP内支持自定义(设置路径:设置——编码设置)",
"parent_id": null,
"is_required": false
},
{
"id": "b735110d-266c-3c38-a984-6bc03d283af3",
"type": "string",
"field": "op_constraint",
"label": "约束",
"value": null,
"describe": "默认为'0',1不允许拒绝2需要到网页版操作",
"parent_id": null,
"is_required": false
},
{
"id": "116a10b5-230d-3aa8-9ba3-750edf042ee4",
"type": "string",
"field": "buyer_nick",
"label": "昵称",
"value": null,
"describe": "昵称",
"parent_id": null,
"is_required": false
},
{
"id": "ac1cc8af-9edd-373f-bc92-25bb274cc5c1",
"type": "string",
"field": "refund_version",
"label": "退款版本",
"value": null,
"describe": "默认为'',退款版本,大于0后表明已经从平台下载完成,退款单不可修改",
"parent_id": null,
"is_required": false
},
{
"id": "5198675a-34ab-36d5-924d-5dbd302d1685",
"type": "string",
"field": "receiver_name",
"label": "收件人姓名",
"value": null,
"describe": "收件人姓名",
"parent_id": null,
"is_required": false
},
{
"id": "c9b7af65-95fe-307d-af0e-9ef68abe2aeb",
"type": "string",
"field": "consign_mode",
"label": "发货方式",
"value": null,
"describe": "默认为'0',发货方式:0默认1审核退款单后立即生成换货订单2退货完成后生成换货订单",
"parent_id": null,
"is_required": false
},
{
"id": "272e33a2-cb74-3231-b292-afa8cbae3048",
"type": "string",
"field": "receiver_address",
"label": "收件人地址",
"value": null,
"describe": "收件人地址",
"parent_id": null,
"is_required": false
},
{
"id": "f1908323-641c-3135-a9d9-837e73ad36d4",
"type": "string",
"field": "logistics_name",
"label": "物流公司名称",
"value": null,
"describe": "默认为'',物流公司名称",
"parent_id": null,
"is_required": false
},
{
"id": "c150733f-4e3a-383f-96f6-b81ac0ee98f9",
"type": "string",
"field": "receiver_telno",
"label": "收件人电话",
"value": null,
"describe": "收件人电话",
"parent_id": null,
"is_required": false
},
{
"id": "d8d4c699-c817-3d3b-af65-78357cfc8ebd",
"type": "string",
"field": "logistics_no",
"label": "物流单号",
"value": null,
"describe": "默认为'',物流单号",
"parent_id": null,
"is_required": false
},
{
"id": "430171c7-3d68-3482-9196-d1b642976935",
"type": "string",
"field": "push_no",
"label": "物流递交单号",
"value": null,
"describe": "默认为'',物流递交单号",
"parent_id": null,
"is_required": false
},
{
"id": "87e089f5-2f7a-3c58-bbd2-bc7806fdc00a",
"type": "string",
"field": "return_name",
"label": "退货人姓名",
"value": null,
"describe": "退货人姓名",
"parent_id": null,
"is_required": false
},
{
"id": "6dcb0566-89d3-3b3d-bd21-76f296196dc4",
"type": "string",
"field": "return_mobile",
"label": "退货人手机号",
"value": null,
"describe": "退货人手机号",
"parent_id": null,
"is_required": false
},
{
"id": "ab30b686-8289-31d7-aa48-badd6ca2c4b6",
"type": "string",
"field": "logistics_style",
"label": "物流形式",
"value": null,
"describe": "默认为'0',取件方式:0客户取件,1顺丰取件,2拒收退回",
"parent_id": null,
"is_required": false
},
{
"id": "106e9a0c-920d-3376-8728-7e28e284bc1d",
"type": "string",
"field": "reason_id",
"label": "原因",
"value": null,
"describe": "默认为'0',原因",
"parent_id": null,
"is_required": false
},
{
"id": "686bb6d6-3621-3728-9772-8583cf21090a",
"type": "string",
"field": "return_telno",
"label": "退货人电话",
"value": null,
"describe": "退货人电话",
"parent_id": null,
"is_required": false
},
{
"id": "280e3165-ee0d-3e0f-914a-7f146f211920",
"type": "string",
"field": "revert_reason",
"label": "驳回原因",
"value": null,
"describe": "默认为'0',驳回原因",
"parent_id": null,
"is_required": false
},
{
"id": "2e3aff94-736d-3924-bec7-7c629a580c26",
"type": "string",
"field": "return_address",
"label": "退回仓库地址",
"value": null,
"describe": "退回仓库地址",
"parent_id": null,
"is_required": false
},
{
"id": "3303570a-9d6c-37dd-9434-10a520d63eeb",
"type": "string",
"field": "return_logistics_name",
"label": "退回物流公司名称",
"value": null,
"describe": "退回物流公司名称",
"parent_id": null,
"is_required": false
},
{
"id": "4f4630b9-c929-36d0-b056-54c6578de447",
"type": "string",
"field": "bad_reason",
"label": "错误原因",
"value": null,
"describe": "默认为'0',错误原因",
"parent_id": null,
"is_required": false
},
{
"id": "bc863a8b-ef66-37b1-94b0-aeec6a21f0ba",
"type": "string",
"field": "return_mask",
"label": "返回标志",
"value": null,
"describe": null,
"parent_id": null,
"is_required": false
},
{
"id": "f4309464-a828-3dd9-b35c-a2ca7e69c6e9",
"type": "string",
"field": "return_logistics_no",
"label": "退回物流单号",
"value": null,
"describe": "退回物流单号",
"parent_id": null,
"is_required": false
},
{
"id": "5dad31e2-c49a-3a09-a976-6c4e04763ec7",
"type": "string",
"field": "swap_receiver",
"label": "换货收件人姓名",
"value": null,
"describe": "换货收件人姓名",
"parent_id": null,
"is_required": false
},
{
"id": "b0acc8b9-5a34-33fb-8166-00886c96f0d1",
"type": "string",
"field": "is_trade_charged",
"label": "是否结算后生成订单",
"value": null,
"describe": "默认为'0',是否结算后生成订单",
"parent_id": null,
"is_required": false
},
{
"id": "3c5f8147-b4a5-357b-8543-c7af4d3385ff",
"type": "string",
"field": "swap_mobile",
"label": "换收发件人姓名手机",
"value": null,
"describe": "换收发件人姓名手机",
"parent_id": null,
"is_required": false
},
{
"id": "bcb27cd4-18ec-3ae1-9ca9-6486de32672b",
"type": "string",
"field": "stockin_pre_no",
"label": "预入库单",
"value": null,
"describe": "默认为'',预入库单",
"parent_id": null,
"is_required": false
},
{
"id": "320f5b55-9963-39f2-a6c7-8acd3a7ff573",
"type": "string",
"field": "swap_telno",
"label": "换货收件人姓名电话",
"value": null,
"describe": "换货收件人姓名电话",
"parent_id": null,
"is_required": false
},
{
"id": "74cf35ec-c4b0-3bac-9a65-e6825db9ff68",
"type": "string",
"field": "revert_reason_info",
"label": "驳回原因名称",
"value": null,
"describe": "驳回原因名称",
"parent_id": null,
"is_required": false
},
{
"id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"type": "array",
"field": "refund_order_list",
"label": "退款子订单信息",
"children": [
{
"id": "a872b71e-e6e9-3e86-be6e-91a7f628183b",
"type": "string",
"field": "order_id",
"label": "货品明细主键",
"value": null,
"parent": "refund_order_list",
"describe": "退换单退回货品明细主键",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "abf33ce8-196f-3b72-964a-e65790bbf046",
"type": "string",
"field": "refund_id",
"label": "退换单主键",
"value": null,
"parent": "refund_order_list",
"describe": "退换单主键",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "76f0bac2-9c4c-3ad6-ba59-d8082d74f8ff",
"type": "string",
"field": "oid",
"label": "原始子订单id",
"value": null,
"parent": "refund_order_list",
"describe": "原始子订单编号",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "7f769f30-3ae9-337e-811e-1b89cc7ce818",
"type": "string",
"field": "tid",
"label": "订单子订单的原始单号",
"value": null,
"parent": "refund_order_list",
"describe": "订单子订单的原始单号",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "e2ee1a33-7821-329a-8877-c5593a8ce49c",
"type": "string",
"field": "src_no",
"label": "平台退款单号",
"value": null,
"parent": "refund_order_list",
"describe": "平台退款单号",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "4bf77731-88d6-36d6-b4bd-67ec7c25455f",
"type": "string",
"field": "process_status",
"label": "处理状态",
"value": null,
"parent": "refund_order_list",
"describe": "处理状态0已取消10待递交20待审核30已同意40已拒绝50待财审60待收货70部分到货80已完成",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "71b4fe06-8ba2-3197-bec6-d6176ca7963d",
"type": "string",
"field": "sales_tid",
"label": "销售订单编号",
"value": null,
"parent": "refund_order_list",
"describe": "销售订单编号",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "ff3400ea-909f-3781-b39b-b069043034da",
"type": "string",
"field": "order_num",
"label": "实际数量",
"value": null,
"parent": "refund_order_list",
"describe": "实际数量",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "0e6d3067-ccb4-3237-8ed2-05896c3c3062",
"type": "string",
"field": "price",
"label": "价格",
"value": null,
"parent": "refund_order_list",
"describe": "价格",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "0cc76051-24ef-3342-9354-208edc89cd80",
"type": "string",
"field": "platform_id",
"label": "平台类型",
"value": null,
"parent": "refund_order_list",
"describe": "平台类型,响应值为代表平台的ID数字,ID对应的平台名称单击这里",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "1e737738-9893-3210-bcec-d23d5f15093c",
"type": "string",
"field": "cost_price",
"label": "成本价",
"value": null,
"parent": "refund_order_list",
"describe": "成本价",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "5f386d70-1e0a-3dad-bd80-9cd63ff2cb33",
"type": "string",
"field": "original_price",
"label": "原价",
"value": null,
"parent": "refund_order_list",
"describe": "原价",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "65c4813c-9551-3d50-ad14-b952d64ea5f3",
"type": "string",
"field": "discount",
"label": "优惠",
"value": null,
"parent": "refund_order_list",
"describe": "优惠",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "410af7b7-85da-38f4-8ea9-ddb4bdd311b0",
"type": "string",
"field": "paid",
"label": "已付金额",
"value": null,
"parent": "refund_order_list",
"describe": "已付金额",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "61fdc3a5-9987-36db-92be-479a5d8f14b8",
"type": "string",
"field": "market_price",
"label": "单品市场价",
"value": null,
"parent": "refund_order_list",
"describe": "单品市场价",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "33e9aecb-50a7-3907-8153-44e815ed87ca",
"type": "string",
"field": "refund_num",
"label": "退款数量",
"value": null,
"parent": "refund_order_list",
"describe": "退款数量",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "b5116f9c-a834-3c44-b8f1-a2bba52f6d84",
"type": "string",
"field": "refund_order_amount",
"label": "明细退款金额",
"value": null,
"parent": "refund_order_list",
"describe": "明细退款金额,由主单退款金额分摊",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "ec3f099e-af40-3a9d-a276-10253b389041",
"type": "string",
"field": "total_amount",
"label": "退货金额",
"value": null,
"parent": "refund_order_list",
"describe": "退货金额",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "660b5abb-b08d-38f9-876f-1bc2d4d94392",
"type": "string",
"field": "spec_id",
"label": "erp商品主键",
"value": null,
"parent": "refund_order_list",
"describe": "erp商品主键",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "a7f8eb37-5cbe-390c-bff0-df1710ee76f4",
"type": "string",
"field": "spec_no",
"label": "商家编码",
"value": null,
"parent": "refund_order_list",
"describe": "代表单品(sku)所有属性的唯一编码,用于系统单品区分,SKU概念介绍,单击这里",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "f277da3a-c73b-3d78-89a4-d1c962389eba",
"type": "string",
"field": "goods_name",
"label": "货品名称",
"value": null,
"parent": "refund_order_list",
"describe": "货品名称",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "21991c7d-9150-32a4-abbd-26a799dcdbc6",
"type": "string",
"field": "goods_no",
"label": "货品编号",
"value": null,
"parent": "refund_order_list",
"describe": "代表货品(spu)所有属性的唯一编号,用于系统货品区分,,SPU概念介绍,单击这里",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "379ecb1d-f310-3de1-9097-524b58f48cbf",
"type": "string",
"field": "spec_name",
"label": "规格名称",
"value": null,
"parent": "refund_order_list",
"describe": "规格名称",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "63322515-6125-3856-928c-dd5dbde5719f",
"type": "string",
"field": "spec_code",
"label": "规格编码",
"value": null,
"parent": "refund_order_list",
"describe": "规格编码",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "34594e59-c85a-3959-a59b-2b9ccd1f652c",
"type": "string",
"field": "suite_no",
"label": "组合装编号",
"value": null,
"parent": "refund_order_list",
"describe": "组合装编号",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "c3862f73-cc7f-3ab0-8836-f999ff671c7b",
"type": "string",
"field": "suite_name",
"label": "组合装名称",
"value": null,
"parent": "refund_order_list",
"describe": "组合装名称",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "7ca915ca-d7ff-36a1-803e-5b2fca13e85a",
"type": "string",
"field": "suite_num",
"label": "组合装数量",
"value": null,
"parent": "refund_order_list",
"describe": "组合装数量",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "56629d8f-9365-3bd7-9134-f57d630677fb",
"type": "string",
"field": "stockin_num",
"label": "退货入库数量",
"value": null,
"parent": "refund_order_list",
"describe": "退货入库数量",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "77396dfe-f190-32d1-b2a5-83c12e0ac51f",
"type": "string",
"field": "remark",
"label": "退款说明",
"value": null,
"parent": "refund_order_list",
"describe": "退换明细的备注",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "f5f8373b-df69-32dd-bb62-c68fbdab6832",
"type": "string",
"field": "is_sn_enable",
"label": "是否启用序列号",
"value": null,
"parent": "refund_order_list",
"describe": "默认为'0',0不启用序列号1强序列号2弱序列号",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "d13b2584-8031-3340-8886-85cdc53de591",
"type": "string",
"field": "position_no",
"label": "货位编号",
"value": null,
"parent": "refund_order_list",
"describe": "货位编号",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "3d4ea355-bc48-3187-859c-b28d1cd902c7",
"type": "string",
"field": "position_id",
"label": "货位ID",
"value": null,
"parent": "refund_order_list",
"describe": "货位ID,入库时默认ID",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "6ba10edb-68f5-33b3-a7ff-05512231bb43",
"type": "string",
"field": "sales_trade_id",
"label": "系统订单ID",
"value": null,
"parent": "refund_order_list",
"describe": "系统订单ID",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "08eaa99e-96e3-3ed7-bee4-80cfdc246de2",
"type": "string",
"field": "sales_order_id",
"label": "销售订单ID",
"value": null,
"parent": "refund_order_list",
"describe": "默认为'0'",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "b8913e42-c101-303c-a504-d9ad7b52bcff",
"type": "string",
"field": "goods_id",
"label": "平台货品ID",
"value": null,
"parent": "refund_order_list",
"describe": "平台货品ID",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "b8ea852c-fc27-3092-8278-ad73e6d50bf2",
"type": "string",
"field": "suite_id",
"label": "组合装ID",
"value": null,
"parent": "refund_order_list",
"describe": "默认为'0',组合装ID",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "e4472bcc-3a3e-3e25-9308-84b43017c758",
"type": "string",
"field": "stockin_amount",
"label": "退货入库总额",
"value": null,
"parent": "refund_order_list",
"describe": "默认为'0.0000',退货入库总额",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "d0c701c5-07ec-3940-b8c0-592373738971",
"type": "string",
"field": "modified",
"label": "最后修改时间",
"value": null,
"parent": "refund_order_list",
"describe": "最后修改时间 格式:yyyy-MM-dd HH:mm:ss",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
},
{
"id": "ad9e165d-b25a-3112-ae3b-41bae1c70004",
"type": "string",
"field": "created",
"label": "创建时间",
"value": null,
"parent": "refund_order_list",
"describe": "创建时间",
"parent_id": "4d8d0348-2fca-38ef-af33-7aaa5eff5248",
"is_required": false
}
],
"describe": "退款子订单信息,refund_order_list结构",
"parent_id": null,
"is_required": false
},
{
"id": "abb820e6-2f88-3b92-85a3-69f9514c5313",
"type": "string",
"field": "swap_province",
"label": "换货收件人省份",
"value": null,
"describe": "换货收件人省份",
"parent_id": null,
"is_required": false
},
{
"id": "bd479912-2a3b-31cf-a7ce-104b1ca257a4",
"type": "array",
"field": "refund_out_goods_list",
"label": "换出货品信息列表",
"describe": "换出货品信息列表,refund_out_goods_list结构",
"parent_id": null,
"is_required": false
},
{
"id": "cc91a011-46fa-32ee-853a-91f1b6433732",
"type": "string",
"field": "swap_city",
"label": "换货收件人城市",
"value": null,
"describe": "换货收件人城市",
"parent_id": null,
"is_required": false
},
{
"id": "0a48ad12-73bb-314d-ba2a-e7e6c67b1d16",
"type": "string",
"field": "swap_district",
"label": "换货收件人区县",
"value": null,
"describe": "换货收件人区县",
"parent_id": null,
"is_required": false
},
{
"id": "f5cb2be7-a99d-3be6-bc55-fe437c59bb4b",
"type": "string",
"field": "swap_area",
"label": "换货收件人省市区",
"value": null,
"describe": "换货收件人省市区",
"parent_id": null,
"is_required": false
},
{
"id": "c71f7ec5-925c-338b-89c3-c791e3bbf09f",
"type": "string",
"field": "swap_warehouse_no",
"label": "换出货品出库仓库编号",
"value": null,
"describe": "换出货品出库仓库编号",
"parent_id": null,
"is_required": false
},
{
"id": "80e9776c-e6d5-368e-89df-0eef313aa7c1",
"type": "string",
"field": "swap_address",
"label": "换货收件人姓名地址",
"value": null,
"describe": "换货收件人姓名地址",
"parent_id": null,
"is_required": false
},
{
"id": "b33b7cbb-432c-317d-bdab-a7a69f5249e6",
"type": "string",
"field": "warehouse_no",
"label": "期望退回的仓库编号",
"value": null,
"describe": "期望退回的仓库编号",
"parent_id": null,
"is_required": false
},
{
"id": "430fa417-34c1-3c67-a36d-cd87b050ad51",
"type": "string",
"field": "refund_time",
"label": "退款创建时间",
"value": null,
"describe": "退款创建时间 格式:yyyy-MM-dd HH:mm:ss",
"parent_id": null,
"is_required": false
},
{
"id": "b9abfffb-f323-3d05-9a18-2b49acdb8c0b",
"type": "string",
"field": "remark",
"label": "退款说明",
"value": null,
"describe": "退款说明",
"parent_id": null,
"is_required": false
},
{
"id": "be0a2a9d-8ae2-3844-8ae4-106648633315",
"type": "string",
"field": "refund_reason",
"label": "退款原因",
"value": null,
"describe": "退款的具体原因说明",
"parent_id": null,
"is_required": false
},
{
"id": "db97eb8e-6ad9-375b-b8e7-1e1522878129",
"type": "string",
"field": "swap_trade_no",
"label": "换出原始单号",
"value": null,
"describe": "ERP生成的换出订单的原始订单编号",
"parent_id": null,
"is_required": false
}
],
"condition": [
[
{
"field": "process_status",
"logic": "egt",
"value": "65",
"strictMode": true
},
{
"field": "platform_id",
"logic": "neq",
"value": 0
},
{
"field": "platform_id",
"logic": "neq",
"value": 127
},
{
"field": "type",
"logic": "eq",
"value": 2
}
],
[
{
"field": "process_status",
"logic": "egt",
"value": "65",
"strictMode": true
},
{
"field": "platform_id",
"logic": "neq",
"value": 0
},
{
"field": "platform_id",
"logic": "neq",
"value": 127
},
{
"field": "type",
"logic": "eq",
"value": 3
}
]
],
"joinBatch": "wdt.stockout.batch.detail",
"buildModel": false,
"pagination": {
"pageSize": 40
},
"otherRequest": [],
"otherResponse": [],
"autoFillResponse": false
}
目标平台元数据配置:
{
"id": null,
"api": "/yonbip/sd/vouchersalereturn/singleSave",
"type": "EXECUTE",
"method": "POST",
"number": null,
"idCheck": true,
"request": [
{
"id": "2c65015d-1d3e-333a-abbf-02d98e4f4f4a",
"type": "string",
"field": "resubmitCheckKey",
"label": "保证请求的幂等性",
"value": "{{refund_no}}",
"describe": "保证请求的幂等性,该值由客户端生成,并且必须是全局唯一的,长度不能超过32位。更多信息,请参见«MDD幂等性»",
"parent_id": null,
"is_required": true
},
{
"id": "bb2bdda5-0ee7-3824-b56b-65fa05330656",
"type": "string",
"field": "code",
"label": "单据编码",
"value": "{{refund_no}}",
"describe": "单据编码,以系统编码规则配置为准:系统设置为手工编号时必输,系统设置为自动编号时非必输;修改时必传 示例:\"S0T5-0000000000-20210831-000000\"",
"parent_id": null,
"is_required": false
},
{
"id": "b1d7f946-745c-3078-9e3b-97ffa768a07e",
"type": "string",
"field": "salesOrgId",
"label": "销售组织",
"value": "_findCollection find mapping_sale_org from 4769a428-14c4-33b8-91fd-e8da3b39d5cb where shop_no={{shop_no}}",
"describe": "销售组织,传id或者code 示例:2163951720681984",
"parent_id": null,
"is_required": false
},
{
"id": "624fcbdc-ad64-35b6-8472-c9b9b5a242ab",
"type": "string",
"field": "transactionTypeId",
"label": "交易类型",
"value": "1480261131563434158",
"describe": "交易类型,传id或者code 示例:2155547426656517",
"parent_id": null,
"is_required": true
},
{
"id": "headFreeItem!define1",
"type": "string",
"field": "headFreeItem!define2",
"label": "销售类型",
"value": "{{remark}}",
"parent": null
},
{
"id": "4981ea41-75d9-337d-9672-a0e11e7150a1",
"type": "string",
"field": "agentId",
"label": "客户",
"value": "_findCollection find mapping_customer from 4769a428-14c4-33b8-91fd-e8da3b39d5cb where shop_no={{shop_no}}",
"describe": "客户,传id或者code 示例:2251598175195392",
"parent_id": null,
"is_required": true
},
{
"id": "5a495791-6f1b-3e8a-a265-06924723c6d5",
"type": "string",
"field": "retailInvestors",
"label": "是否散户",
"value": null,
"describe": "是否散户, true:是、false:否、 示例:false",
"parent_id": null,
"is_required": false
},
{
"id": "208ef1e8-ee5f-3faa-a402-ca38cf2d03f9",
"type": "string",
"field": "saleDepartmentId",
"label": "销售部门",
"value": "cs1",
"describe": "销售部门,传id或者code 示例:\"2163953113665792\"",
"parent_id": null,
"is_required": true
},
{
"id": "d7a66df2-b5e4-31cd-918a-d251f5ca54da",
"type": "string",
"field": "vouchdate",
"label": "单据日期 ",
"value": "{{created}}",
"describe": "单据日期 示例:\"2021-08-31 00:00:00\"",
"parent_id": null,
"is_required": true
},
{
"id": "7f2c1ef7-cbee-33df-8e95-6b763209c3ce",
"type": "string",
"field": "corpContact",
"label": "销售业务员 ",
"value": "{{creator_name}}",
"describe": "销售业务员 示例:\"2163960865427712\"",
"parent_id": null,
"is_required": false
},
{
"id": "164f7596-7f5b-327d-87ee-8c59b843a1d3",
"type": "string",
"field": "settlementOrgId",
"label": "开票组织",
"value": "_findCollection find mapping_sale_org from 4769a428-14c4-33b8-91fd-e8da3b39d5cb where shop_no={{shop_no}}",
"describe": "开票组织,传id或者code 示例:\"2163951720681984\"",
"parent_id": null,
"is_required": true
},
{
"id": "fd3dba02-40cf-3392-8566-faa38c96425d",
"type": "string",
"field": "currency",
"label": "币种",
"value": "CNY",
"describe": "币种,传id或者code 示例:\"2155547424560384\"",
"parent_id": null,
"is_required": false
},
{
"id": "0635520f-820c-3b33-a952-e02e0c842569",
"type": "string",
"field": "exchangeRateType",
"label": "汇率类型",
"value": "01",
"describe": "汇率类型,传id或者code 示例:\"csrka3z7\"",
"parent_id": null,
"is_required": false
},
{
"id": "164f7596-7f5b-327d-87ee-8c59b843a1d3",
"type": "string",
"field": "natCurrency",
"label": "本币",
"value": "CNY",
"describe": "本币,传id或者code 示例:\"2155547424560384\"",
"parent_id": null,
"is_required": true
},
{
"id": "fa9f6b89-b487-3b98-a825-a4c4a1dd36f5",
"type": "string",
"field": "retailAgentName",
"label": "散户名称 ",
"value": "_findCollection find shop_name from 4769a428-14c4-33b8-91fd-e8da3b39d5cb where shop_no={{shop_no}}",
"describe": "散户名称 示例:\"散户2\"",
"parent_id": null,
"is_required": true
},
{
"id": "ae1fbab1-8c57-3928-9ae4-383bb55a11d6",
"type": "object",
"field": "saleReturnMemo",
"label": "备注",
"children": [
{
"id": "aa2e48ac-e185-3d00-8318-990e9de2f989",
"type": "string",
"field": "remark",
"label": "备注",
"value": null,
"parent": "saleReturnMemo",
"describe": "备注 示例:\"销售退货\"",
"parent_id": "ae1fbab1-8c57-3928-9ae4-383bb55a11d6",
"is_required": false
}
],
"describe": "备注",
"parent_id": null,
"is_required": false
},
{
"id": "88d74bf9-a747-3c96-a138-7a51c9f44705",
"type": "string",
"field": "refundStatus",
"label": "退货单退款状态",
"value": "已退货",
"describe": "退货单退款状态,由系统业务自动生成,接口无需传值。 示例:\"NONE\"",
"parent_id": null,
"is_required": false
},
{
"id": "536cea25-2bfb-36f9-a5d8-5808e7ed710e",
"type": "string",
"field": "refundAmount",
"label": "退款金额 ",
"value": "{{goods_amount}}",
"describe": "退款金额 示例:1",
"parent_id": null,
"is_required": false
},
{
"id": "bf018ceb-3b68-3e0d-b181-7d48669d3270",
"type": "string",
"field": "isWfControlled",
"label": "是否受审批流控制 ",
"value": "false",
"describe": "是否受审批流控制 示例:false",
"parent_id": null,
"is_required": false
},
{
"id": "1ceb1932-7dc8-3909-9c6d-aaa78ef2eb17",
"type": "string",
"field": "exchRate",
"label": "汇率 ",
"value": "1",
"describe": "汇率 示例:1",
"parent_id": null,
"is_required": true
},
{
"id": "bef2aa19-489a-360e-bcea-852b6cdd49bf",
"type": "string",
"field": "taxInclusive",
"label": "单价含税",
"value": "true",
"describe": "单价含税, true:是、false:否、 示例:true",
"parent_id": null,
"is_required": true
},
{
"id": "5b53fd17-c6ea-3b95-b0e3-bb7212cbb3ae",
"type": "string",
"field": "saleReturnSourceType",
"label": "退货类型",
"value": "NONE",
"describe": "退货类型, NONE:无来源、DELIVERYEND:销售出库单、ORDER:销售订单 示例:\"DELIVERYEND\"",
"parent_id": null,
"is_required": true
},
{
"id": "fef76e0a-9558-3921-86ac-65aabbe47d48",
"type": "string",
"field": "bizFlow_name",
"label": "流程名称",
"value": "销售退货",
"describe": "流程名称 示例:\"001\"",
"parent_id": null,
"is_required": false
},
{
"id": "446301e3-996e-3bcf-904d-2e6296d07858",
"type": "string",
"field": "bizFlow_version",
"label": "版本信息 ",
"value": "V1.0",
"describe": "版本信息 示例:\"版本1\"",
"parent_id": null,
"is_required": false
},
{
"id": "d996ab83-40dc-3aee-8cf4-82b216650d8a",
"type": "string",
"field": "logisticWayId",
"label": "物流公司id ",
"value": null,
"describe": "物流公司id 示例:321321",
"parent_id": null,
"is_required": false
},
{
"id": "fd33c153-13a8-380f-9119-df5a8e7cc00d",
"type": "string",
"field": "invoiceAgentId",
"label": "开票客户",
"value": "_findCollection find mapping_customer from 4769a428-14c4-33b8-91fd-e8da3b39d5cb where shop_no={{shop_no}}",
"describe": "开票客户,传id或者code 示例:2216247878177024",
"parent_id": null,
"is_required": true
},
{
"id": "703b6b15-69ce-3974-a963-6ff8340d461e",
"type": "string",
"field": "realMoney",
"label": "应付金额",
"value": null,
"describe": "应付金额,等于表头的退货金额 示例:100",
"parent_id": null,
"is_required": false
},
{
"id": "ec6e4898-133d-3eba-88c1-4520c9b5414a",
"type": "string",
"field": "modifyInvoiceType",
"label": "发票类型是否可改",
"value": null,
"describe": "发票类型是否可改, true:是、false:否、 示例:true",
"parent_id": null,
"is_required": false
},
{
"id": "eab19174-6d1c-3f4c-bb0c-067eeef64824",
"type": "string",
"field": "logisticsBillNo",
"label": "物流单号",
"value": null,
"describe": "物流单号 示例:\"4321\"",
"parent_id": null,
"is_required": false
},
{
"id": "51ebb902-890e-354c-8a3a-13220157b6d5",
"type": "string",
"field": "logisticsUserName",
"label": "司机姓名 ",
"value": null,
"describe": "司机姓名 示例:\"王一\"",
"parent_id": null,
"is_required": false
},
{
"id": "4973c444-49a9-3108-a30f-180f1b55b471",
"type": "string",
"field": "logisticsUserPhone",
"label": "司机电话 ",
"value": null,
"describe": "司机电话 示例:\"18888888888\"",
"parent_id": null,
"is_required": false
},
{
"id": "49135ae9-1690-3d75-aa85-ccf6cd8524be",
"type": "string",
"field": "logisticsCarNum",
"label": "车牌号 ",
"value": null,
"describe": "车牌号 示例:\"京A-ax245\"",
"parent_id": null,
"is_required": false
},
{
"id": "57aff7f7-e4f6-3bff-8870-069a4b6b5292",
"type": "string",
"field": "receiver",
"label": "收货人 ",
"value": null,
"describe": "收货人 示例:\"王二\"",
"parent_id": null,
"is_required": false
},
{
"id": "6c19bc82-2163-33e9-a14d-d3e00909a7d8",
"type": "string",
"field": "receiveMobile",
"label": "收货人移动电话 ",
"value": null,
"describe": "收货人移动电话 示例:\"010-12345678\"",
"parent_id": null,
"is_required": false
},
{
"id": "3a562fc9-0cd1-3708-a30c-80bd87666f1a",
"type": "string",
"field": "receiveTelePhone",
"label": "收货人固定电话 ",
"value": null,
"describe": "收货人固定电话 示例:\"1555555555\"",
"parent_id": null,
"is_required": false
},
{
"id": "ffa9408d-685a-35b1-a2b3-eb08f8cbe779",
"type": "string",
"field": "receiveAddress",
"label": "收货地址 ",
"value": null,
"describe": "收货地址 示例:\"北京市海淀区\"",
"parent_id": null,
"is_required": false
},
{
"id": "757bd17b-0f86-35ca-acbf-850df66d92d0",
"type": "string",
"field": "receiveZipCode",
"label": "收货人邮编 ",
"value": null,
"describe": "收货人邮编 示例:\"011\"",
"parent_id": null,
"is_required": false
},
{
"id": "5637076f-906a-3728-b0e6-649935b824b1",
"type": "string",
"field": "invoiceUpcType",
"label": "发票类型",
"value": "0",
"describe": "发票类型, 0:收据、1:增值税专用发票、2:增值税普通发票、3:增值税电子普通发票、4:机动车销售销售统一发票、 示例:0",
"parent_id": null,
"is_required": false
},
{
"id": "a7a7677b-9ec9-3a05-81cc-da7d0c6ba4a5",
"type": "string",
"field": "invoiceTitleType",
"label": "抬头类型",
"value": null,
"describe": "抬头类型, 0:企业、1:个人、2:非营利组织、 示例:0",
"parent_id": null,
"is_required": false
},
{
"id": "a628cf07-6fed-33af-b7c2-87e02dbf0ade",
"type": "string",
"field": "invoiceTitle",
"label": "发票抬头 ",
"value": "1",
"describe": "发票抬头 示例:\"中央大客户工信部\"",
"parent_id": null,
"is_required": false
},
{
"id": "f05581b6-441f-337a-b42e-f95c970c479e",
"type": "string",
"field": "taxNum",
"label": "纳税识别号 ",
"value": "1",
"describe": "纳税识别号 示例:\"SH999000999\"",
"parent_id": null,
"is_required": false
},
{
"id": "a99b8d8f-af26-3ee7-be16-85b557590521",
"type": "string",
"field": "bankName",
"label": "开户银行 ",
"value": "银行",
"describe": "开户银行 示例:\"中国工商银行\"",
"parent_id": null,
"is_required": false
},
{
"id": "f6cc4356-c7d1-36d2-9c84-d36c50de9311",
"type": "string",
"field": "subBankName",
"label": "开户支行 ",
"value": "银行支行",
"describe": "开户支行 示例:\"中国工商银行股份有限公司天津中北支行\"",
"parent_id": null,
"is_required": false
},
{
"id": "32f8557e-9c54-3ea9-97fb-f2b2b419c138",
"type": "string",
"field": "bankAccount",
"label": "账号 ",
"value": "1",
"describe": "账号 示例:\"888888888888888\"",
"parent_id": null,
"is_required": false
},
{
"id": "4fe57814-58a0-3de2-ae65-952095c43a97",
"type": "string",
"field": "invoiceTelephone",
"label": "营业电话 ",
"value": "1",
"describe": "营业电话 示例:\"012-9998893\"",
"parent_id": null,
"is_required": false
},
{
"id": "2d9c1ca0-d65b-33a8-8b21-282c7731b329",
"type": "string",
"field": "invoiceAddress",
"label": "营业地址 ",
"value": "地址",
"describe": "营业地址 示例:\"北京市海淀区\"",
"parent_id": null,
"is_required": false
},
{
"id": "e6ff9d41-fa48-3451-a7b5-eb950e5e7c6b",
"type": "string",
"field": "totalMoney",
"label": "总金额 ",
"value": null,
"describe": "总金额 示例:43214",
"parent_id": null,
"is_required": false
},
{
"id": "e18b85dc-9be0-3309-aa65-76a485876153",
"type": "string",
"field": "payMoney",
"label": "退货金额",
"value": "{{refund_amount}}",
"describe": "退货金额,需等于表体含税金额的合计 示例:312",
"parent_id": null,
"is_required": true
},
{
"id": "9b32b4d8-8892-3299-aa25-3d8b6a341d58",
"type": "string",
"field": "totalMoneyOrigTaxfree",
"label": "无税总金额 ",
"value": null,
"describe": "无税总金额 示例:321",
"parent_id": null,
"is_required": false
},
{
"id": "725cab26-5bb6-35d1-bf3c-904b8b0690d7",
"type": "string",
"field": "payMoneyOrigTaxfree",
"label": "无税退货金额 ",
"value": null,
"describe": "无税退货金额 示例:321",
"parent_id": null,
"is_required": false
},
{
"id": "6553bca6-6e35-3e2c-a238-f66f25b3f887",
"type": "string",
"field": "totalOriTax",
"label": "税额 ",
"value": null,
"describe": "税额 示例:3",
"parent_id": null,
"is_required": false
},
{
"id": "decc820f-3011-3644-88aa-531647b79f41",
"type": "string",
"field": "totalMoneyDomestic",
"label": "本币总金额 ",
"value": null,
"describe": "本币总金额 示例:643256",
"parent_id": null,
"is_required": false
},
{
"id": "c85ef1ef-030a-3a00-947a-b5815cfda878",
"type": "string",
"field": "payMoneyDomestic",
"label": "本币退货金额 ",
"value": null,
"describe": "本币退货金额 示例:5432",
"parent_id": null,
"is_required": false
},
{
"id": "e5ac4bf7-2e28-37fe-8357-f510971e00dc",
"type": "string",
"field": "totalMoneyDomesticTaxfree",
"label": "本币无税总金额 ",
"value": null,
"describe": "本币无税总金额 示例:5432",
"parent_id": null,
"is_required": false
},
{
"id": "30124efe-8523-373f-bc33-91fc91858b13",
"type": "string",
"field": "payMoneyDomesticTaxfree",
"label": "本币无税退货金额 ",
"value": null,
"describe": "本币无税退货金额 示例:5432",
"parent_id": null,
"is_required": false
},
{
"id": "86a214c8-2ba5-3f9a-ad93-60fd46e9e073",
"type": "string",
"field": "totalNatTax",
"label": "本币税额 ",
"value": null,
"describe": "本币税额 示例:5421",
"parent_id": null,
"is_required": false
},
{
"id": "7ec76a39-2405-3a0c-8325-9a9ce71aa0a0",
"type": "string",
"field": "bizFlow",
"label": "流程ID ",
"value": "e88e9d81-f134-11ec-9896-6c92bf477043",
"describe": "流程ID 示例:213",
"parent_id": null,
"is_required": false
},
{
"id": "fb69f39a-2966-352b-a58c-46a7de07700a",
"type": "string",
"field": "isFlowCoreBill",
"label": "是否流程核心单据 ",
"value": null,
"describe": "是否流程核心单据 示例:true",
"parent_id": null,
"is_required": false
},
{
"id": "2d771d37-f077-3d16-bd83-6d323253fa84",
"type": "string",
"field": "_status",
"label": "操作标识",
"value": "Insert",
"describe": "操作标识, Insert:新增、Update:更新 示例:\"Insert\"",
"parent_id": null,
"is_required": true
},
{
"id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"type": "array",
"field": "saleReturnDetails",
"label": "退货单详情",
"value": "refund_order_list",
"children": [
{
"id": "6730935e-894a-3854-adca-81fbb5488420",
"type": "string",
"field": "id",
"label": "表体行ID",
"value": null,
"parent": "saleReturnDetails",
"describe": "表体行ID 新增时无需填写,修改时必填 示例:4312432",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "6cf24bb6-25c9-311a-914f-81647bbc15ba",
"type": "string",
"field": "orderDetailId",
"label": "订单行id",
"value": null,
"parent": "saleReturnDetails",
"describe": "订单行id,有来源必填 示例:2403153858154753",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "fdb86100-135b-3c8d-ba95-0311384fc60b",
"type": "string",
"field": "orderDetailIdKey",
"label": "订单行idkey ",
"value": null,
"parent": "saleReturnDetails",
"describe": "订单行idkey 示例:\"6425432\"",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "8779e5ed-ab11-332e-b466-b73b02338847",
"type": "string",
"field": "sourceid",
"label": "来源单据ID",
"value": "_findCollection find new_id from 83e28b84-9080-34dc-a661-7673b7d4932e where code={{refund_no}} skuCode={{refund_order_list.spec_no}}",
"parent": "saleReturnDetails",
"describe": "来源单据ID,有来源必填 示例:2403160486547968",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "9cc5ace6-dc95-3db6-a4e0-057341e16f9d",
"type": "string",
"field": "sourceautoid",
"label": "来源单据子表ID",
"value": "_findCollection find new_orderDetailId from 83e28b84-9080-34dc-a661-7673b7d4932e where code={{refund_no}} skuCode={{refund_order_list.spec_no}}",
"parent": "saleReturnDetails",
"describe": "来源单据子表ID,有来源必填 示例:2403160486547970",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "84826871-6382-3356-8796-96a4b72ff569",
"type": "string",
"field": "source",
"label": "来源单据类型",
"value": "voucher_order",
"parent": "saleReturnDetails",
"describe": "来源单据类型(1.ustock.st_salesout销售出库 2.voucher_order 销售订单)有来源必填 示例:\"ustock.st_salesout\"",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "a3229bbd-0897-3a62-9899-1671dfeff482",
"type": "string",
"field": "makeRuleCode",
"label": "生单类型编码",
"value": "order_salereturn",
"parent": "saleReturnDetails",
"describe": "生单类型编码(1.salesoutTosalereturn 由销售出库生单,2.order_salereturn:由销售订单生单),有来源必填 示例:\"salesoutTosalereturn\"",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "b8ef61e7-568f-3f27-883b-eeacf22692ad",
"type": "string",
"field": "productId",
"label": "商品",
"value": "{{refund_order_list.spec_no}}",
"parent": "saleReturnDetails",
"describe": "商品,传id或者code 示例:2320711092457728",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "9e600a2a-9c1b-3f9d-92d5-6d04c389779e",
"type": "string",
"field": "skuId",
"label": "商品sku",
"value": "{{refund_order_list.spec_no}}",
"parent": "saleReturnDetails",
"describe": "商品sku,传id或者code 示例:2313763385315584",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "2fb97c4b-a984-3c9e-97ee-2b3d15a6334a",
"type": "string",
"field": "projectId",
"label": "项目",
"value": null,
"parent": "saleReturnDetails",
"describe": "项目,传id或者code 示例:\"123124312\"",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "ecc65ce9-4003-353f-8a13-707800139840",
"type": "string",
"field": "unitExchangeType",
"label": "浮动换算率(销售) ",
"value": "0",
"parent": "saleReturnDetails",
"describe": "浮动换算率(销售) 示例:0",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "a5334f38-0fae-3340-b589-a6bfa2b8b114",
"type": "string",
"field": "unitExchangeTypePrice",
"label": "浮动换算率(计价)",
"value": "0",
"parent": "saleReturnDetails",
"describe": "浮动换算率(计价) 示例:0",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "1ac68227-ca04-346b-9d8c-6108bc642a67",
"type": "string",
"field": "taxId",
"label": "税目税率",
"value": "VAT13",
"parent": "saleReturnDetails",
"describe": "税目税率,传id或者code 示例:\"2155547427149061\"",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "59758ce3-1f2b-3e13-a5e4-d5a41e5fc2ed",
"type": "string",
"field": "stockId",
"label": "仓库",
"value": "{{warehouse_no}}",
"parent": "saleReturnDetails",
"describe": "仓库,传id或者code 示例:2192242573644032",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "76fe1404-c0cf-3f79-b55f-91161c3dd5d2",
"type": "string",
"field": "stockOrgId",
"label": "库存组织",
"value": "_findCollection find org_code from 4f73f755-1c4f-33e6-b5a1-7e3b8d894800 where code={{warehouse_no}}",
"parent": "saleReturnDetails",
"describe": "库存组织,传id或者code 示例:\"2163951720681984\"",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "fcb261eb-cbdc-3f68-823a-0a7ff513e7cc",
"type": "string",
"field": "saleReturnDepartmentId",
"label": "退货部门id ",
"value": null,
"parent": "saleReturnDetails",
"describe": "退货部门id 示例:\"14321\"",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "6a45ef61-a276-3d76-b813-e9e9aaffdc73",
"type": "string",
"field": "iProductAuxUnitId",
"label": "销售单位",
"value": "1463270782005149703",
"parent": "saleReturnDetails",
"describe": "销售单位,传id或者code 示例:2263072523178240",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "3d10ec2a-8169-38e7-8fdb-df3bb8aab759",
"type": "string",
"field": "iProductUnitId",
"label": "计价单位",
"value": "1463270782005149703",
"parent": "saleReturnDetails",
"describe": "计价单位,传id或者code 示例:2312582309908736",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "3d940151-62b9-3773-9f89-6cf44a25157e",
"type": "string",
"field": "masterUnitId",
"label": "主计量单位",
"value": "1463270782005149703",
"parent": "saleReturnDetails",
"describe": "主计量单位,传id或者code 示例:2261943548399872",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "0ad58629-fbcf-3406-b269-afb09a510ee7",
"type": "string",
"field": "orderProductType",
"label": "商品类型",
"value": "SALE",
"parent": "saleReturnDetails",
"describe": "商品类型, SALE:销售品、GIFT:赠品、MARKUP:加价购、REBATE:返利商品、 示例:\"SALE\"",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "2de39440-8eef-3b65-a7c9-ca7d93f563a6",
"type": "string",
"field": "bizProductId",
"label": "商家商品id",
"value": null,
"parent": "saleReturnDetails",
"describe": "商家商品id 示例:31243141",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "d836dfe6-4266-3d96-9e02-84da1e5521eb",
"type": "string",
"field": "salesOrgId",
"label": "销售组织",
"value": "_findCollection find mapping_sale_org from 4769a428-14c4-33b8-91fd-e8da3b39d5cb where shop_no={{shop_no}}",
"parent": "saleReturnDetails",
"describe": "销售组织,传id或者code 示例:6425432",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "98184e1b-e010-3cda-9776-d00e30dd4014",
"type": "string",
"field": "enable",
"label": "是否有效状态 ",
"value": null,
"parent": "saleReturnDetails",
"describe": "是否有效状态 示例:true",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "c358f6a9-b8d7-35e6-92f4-eb70e43499e4",
"type": "string",
"field": "orderNo",
"label": "源头订单号",
"value": null,
"parent": "saleReturnDetails",
"describe": "源头订单号,有来源必填 示例:\"QbOJ-000000000-20210825-000017\"",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "86eff49c-9035-31c7-9e88-0756d222b76e",
"type": "string",
"field": "upcode",
"label": "来源单据号",
"value": "{{tid}}",
"parent": "saleReturnDetails",
"describe": "来源单据号 示例:\"XSCK20210825000005\"",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "b7f4446e-3cd1-37ca-991e-5cf1a8d490b2",
"type": "string",
"field": "modelDescription",
"label": "规格 ",
"value": null,
"parent": "saleReturnDetails",
"describe": "规格 示例:\"规格01\"",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "3adb1133-669f-3a5d-a907-0d2dc0ffcc65",
"type": "string",
"field": "model",
"label": "型号 ",
"value": null,
"parent": "saleReturnDetails",
"describe": "型号 示例:\"001\"",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "d4fc4c99-f2ee-30c9-9c3f-7e9265125cda",
"type": "string",
"field": "specDescription",
"label": "规格描述 ",
"value": null,
"parent": "saleReturnDetails",
"describe": "规格描述 示例:\"规格\"",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "c2533818-87b7-33a3-b2d8-2e48e830eb16",
"type": "string",
"field": "invExchRate",
"label": "销售换算率 ",
"value": "1",
"parent": "saleReturnDetails",
"describe": "销售换算率 示例:1",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "629e4279-e786-3e65-bf2d-c44062c58c61",
"type": "string",
"field": "subQty",
"label": "退货销售数量 ",
"value": "{{refund_order_list.refund_num}}",
"parent": "saleReturnDetails",
"describe": "退货销售数量 示例:100",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "731e9b2b-9e78-34bf-9262-b456d45dd9dc",
"type": "string",
"field": "invPriceExchRate",
"label": "计价换算率 ",
"value": "1",
"parent": "saleReturnDetails",
"describe": "计价换算率 示例:1",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "1c683fd3-55f6-3b72-ba1d-1b3ef4baabfb",
"type": "string",
"field": "priceQty",
"label": "退货计价数量 ",
"value": "{{refund_order_list.refund_num}}",
"parent": "saleReturnDetails",
"describe": "退货计价数量 示例:100",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "9b2972bd-3b47-3047-b650-42ecad2757f2",
"type": "string",
"field": "qty",
"label": "退货数量 ",
"value": "{{refund_order_list.refund_num}}",
"parent": "saleReturnDetails",
"describe": "退货数量 示例:1",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "cf56a625-5560-3efd-b1e7-135627a7db71",
"type": "string",
"field": "batchNo",
"label": "批次 ",
"value": null,
"parent": "saleReturnDetails",
"describe": "批次 示例:2",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "98b84b78-e023-3a29-905b-48880db7816f",
"type": "string",
"field": "isExpiryDateManage",
"label": "是否有效期管理",
"value": "true",
"parent": "saleReturnDetails",
"describe": "是否有效期管理, true:是、false:否、 示例:false",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "ce3f7e0a-dab1-32af-a336-c7ed5abee915",
"type": "string",
"field": "productDate",
"label": "生产日期 ",
"value": null,
"parent": "saleReturnDetails",
"describe": "生产日期 示例:2021-08-31 00:00:00",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "a1fb9399-347f-3726-91ba-b5d992429e6a",
"type": "string",
"field": "expireDateNo",
"label": "保质期 ",
"value": null,
"parent": "saleReturnDetails",
"describe": "保质期 示例:3",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "a9c1230b-9d83-36bc-a481-ce94bbe42564",
"type": "string",
"field": "expireDateUnit",
"label": "保质期单位",
"value": null,
"parent": "saleReturnDetails",
"describe": "保质期单位, 1:年、2:月、6:天、 示例:1",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "01d70ca0-9e56-3061-b85d-c8ff8764fad9",
"type": "string",
"field": "invalidDate",
"label": "有效期至 ",
"value": null,
"parent": "saleReturnDetails",
"describe": "有效期至 示例:2021-08-31 00:00:00",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "a5a6f1c7-9dec-391a-a15d-f54d1e1de48f",
"type": "string",
"field": "oriTaxUnitPrice",
"label": "含税成交价 ",
"value": "_function round(({{refund_order_list.refund_order_amount}}/{{refund_order_list.refund_num}}),6)",
"parent": "saleReturnDetails",
"describe": "含税成交价 示例:500",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "0316d115-6fb9-3c11-86e7-97c0c2727519",
"type": "string",
"field": "oriUnitPrice",
"label": "无税单价 ",
"value": "_function round(({{refund_order_list.refund_order_amount}}/{{refund_order_list.refund_num}})/1.13,6)",
"parent": "saleReturnDetails",
"describe": "无税单价 示例:500",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "a2bcae08-c217-3afc-9cab-a7635fb5d5fa",
"type": "string",
"field": "oriSum",
"label": "含税金额 ",
"value": "{{refund_order_list.refund_order_amount}}",
"parent": "saleReturnDetails",
"describe": "含税金额 示例:500",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "6a2c020d-56a3-3e82-8ef4-fde7fda304ec",
"type": "string",
"field": "oriMoney",
"label": "无税金额 ",
"value": "_function round({{refund_order_list.refund_order_amount}}/1.13,2)",
"parent": "saleReturnDetails",
"describe": "无税金额 示例:500",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "dbb4c1a7-bf9c-3387-92c0-bf7504aabb13",
"type": "string",
"field": "oriTax",
"label": "税额 ",
"value": "_function round({{refund_order_list.refund_order_amount}}/1.13*0.13,2)",
"parent": "saleReturnDetails",
"describe": "税额 示例:0.0",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "769615d7-b692-3f9b-8c49-1fd08a931648",
"type": "string",
"field": "natTaxUnitPrice",
"label": "本币含税单价 ",
"value": "_function round(({{refund_order_list.refund_order_amount}}/{{refund_order_list.refund_num}}),6)",
"parent": "saleReturnDetails",
"describe": "本币含税单价 示例:500",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "e8880620-e84e-31da-abef-2b610ac11795",
"type": "string",
"field": "natUnitPrice",
"label": "本币无税单价 ",
"value": "_function round(({{refund_order_list.refund_order_amount}}/{{refund_order_list.refund_num}})/1.13,6)",
"parent": "saleReturnDetails",
"describe": "本币无税单价 示例:500",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "67081eee-8c73-3104-af5f-885ee7664445",
"type": "string",
"field": "natSum",
"label": "本币含税金额 ",
"value": "{{refund_order_list.refund_order_amount}}",
"parent": "saleReturnDetails",
"describe": "本币含税金额 示例:500",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "3723aed2-4921-3bb1-b23d-5b61d1c433c3",
"type": "string",
"field": "natMoney",
"label": "本币无税金额 ",
"value": "_function round({{refund_order_list.refund_order_amount}}/1.13,6)",
"parent": "saleReturnDetails",
"describe": "本币无税金额 示例:500",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "223bc05c-4112-331a-a635-0e9c979280c2",
"type": "string",
"field": "natTax",
"label": "本币税额 ",
"value": "_function round({{refund_order_list.refund_order_amount}}/1.13*0.13,2)",
"parent": "saleReturnDetails",
"describe": "本币税额 示例:500",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
},
{
"id": "57ee7829-29cf-337f-9a94-20591c0964bb",
"type": "string",
"field": "retNotNeedInvoiceQty",
"label": "退货不开票数量 ",
"value": null,
"parent": "saleReturnDetails",
"describe": "退货不开票数量 示例:100",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "0aa8864c-d7ee-3fb0-9059-bbdd0160821f",
"type": "string",
"field": "firstsourceid",
"label": "源头单据id",
"value": null,
"parent": "saleReturnDetails",
"describe": "源头单据id,有来源必填 示例:2403063657222400",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "acd6931e-41d5-3f4a-86a3-27cab1f9c3f2",
"type": "string",
"field": "firstsourceautoid",
"label": "源头单据子表id",
"value": null,
"parent": "saleReturnDetails",
"describe": "源头单据子表id,有来源必填 示例:2403063657238784",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "d7dfe3e8-e925-3fd6-a33f-22a3fbdb2992",
"type": "string",
"field": "firstsource",
"label": "源头单据类型",
"value": null,
"parent": "saleReturnDetails",
"describe": "源头单据类型(udinghuo.voucher_order),有来源必填 示例:udinghuo.voucher_order",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "7ecc2d50-3646-3f4e-a53f-fadb1abb494a",
"type": "string",
"field": "firstupcode",
"label": "源头单据号",
"value": "{{refund_no}}",
"parent": "saleReturnDetails",
"describe": "源头单据号,有来源必填 示例:QbOJ-000000000-20210825-000014",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "a5ce7e6a-ff57-3e38-afa7-5072d59859c3",
"type": "string",
"field": "orderId",
"label": "销售订单id",
"value": null,
"parent": "saleReturnDetails",
"describe": "销售订单id,有来源必填 示例:QbOJ-000000000-20210825-000014",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "a5ce7e6a-ff57-3e38-afa7-5072d59859c3",
"type": "string",
"field": "bodyFreeItem!define1",
"label": "表体备注",
"value": "{{batch_details.remark}}",
"parent": "saleReturnDetails",
"describe": "销售订单id,有来源必填 示例:QbOJ-000000000-20210825-000014",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": false
},
{
"id": "223bc05c-4112-331a-a635-0e9c979280c2",
"type": "string",
"field": "_status",
"label": "操作标识, Insert:新增、Update:更新 示例:Insert",
"value": "Insert",
"parent": "saleReturnDetails",
"describe": "操作标识, Insert:新增、Update:更新 示例:Insert",
"parent_id": "41d3b70d-6c5d-3034-bb6d-a70869020887",
"is_required": true
}
],
"describe": "退货单详情[voucher.salereturn.SaleReturnDetail]",
"parent_id": null,
"is_required": true
}
],
"BIPAudit": "/yonbip/sd/vouchersalereturn/approve",
"response": [],
"otherRequest": [],
"otherResponse": []
}