暂无
任务描述
需求描述
背景:
shopee V2平台,标发后并非发货,需修改最后发货时间显示逻辑;
优化:
1、针对shopee V2平台,发货状态是“未发货”和“部分发货”的订单,即使标发了,依然显示剩余发货时间,只有在全部发货状态,才隐藏剩余发货时间;

更新后检查,订单添加时间在11.1 00:00 ~ 11.16 24:00之间,剩余发货时间,是否正常显示,如果没有正常显示,则刷新下数据;
2、运输统计界面->批量重新计算运费,针对包裹体积的计算优化

3、谷仓接口会返回入库单的状态,和上架数量。 应该获取上架数量 和 入库单状态 作为入库单完结依据


当前的逻辑是只是判断了 接口这个字段如果有值就判断为收货完结

逻辑调整为:
首先判断入库单的状态:"receiving_status": 10,
"overseas_shelves_count" 这个字段有值 才能算收货上架了
验收标准
暂无
开发报告
1.入库单获取谷仓平台收货信息,接口字段调整,首先判断入库单状态ReceivingStatus =10,erp收货数量取值:Overseas_shelves_count,
创建海外仓备库订单:
生成包裹-同时同步海外仓
操作自动完结-获取收货信息
调用接口:
POST https://uat-oms.eminxing.com/default/svc/web-service?service=getGRNDetail HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 4.0.30319.42000)
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://www.example.org/Ec/callService"
Host: uat-oms.eminxing.com
Content-Length: 542
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><callService xmlns="http://www.example.org/Ec/"><paramsJson xmlns="">{"receiving_code":"RVG1149-221121-0010"}</paramsJson><appToken xmlns="">7013991264f611e98ea200e01b680258</appToken><appKey xmlns="">6ff50abf64f611e98ea200e01b680258</appKey><service xmlns="">getGRNDetail</service></callService></soap:Body></soap:Envelope>
返回参数
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 21 Nov 2022 11:00:02 GMT
Content-Type: text/xml; charset=utf-8
Content-Length: 1759
Connection: close
X-Content-Type-Options: nosniff
Referrer-Policy: origin
X-Download-Options: noopen
Strict-Transport-Security: max-age=31536000; i n c l u d eSubdomains; preload
X-Permitted-Cross-Domain-Policies: master-only
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: default-src 'self' data:uat-oms.eminxing.com 'unsafe-inline' 'unsafe-e v a l' mediastream:
X-Content-Type-Options: : nosniff
X-XSS-Protection: 1; mode=block
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.example.org/Ec/"><SOAP-ENV:Body><ns1:callServiceResponse><response>{"ask":"Success","message":"Success","data":{"receiving_code":"RVG1149-221121-0010","reference_no":"JD69967","transit_type":0,"sm_code":null,"weight":10,"volume":0.001,"receiving_desc":"是的发多少","receiving_status":9,"receiving_shipping_type":1,"create_at":"2022-11-21 18:15:04","udpate_at":"2022-11-21 18:23:46","update_at":"2022-11-21 18:23:46","warehouse_code":"USEA","transit_warehouse_code":null,"overseas_box_total":null,"overseas_sku_total":null,"box_total_count":3,"sku_total_count":5,"tracking_number":"D6996711212sdsg","customs_type":null,"clearance_service":null,"export_company":null,"import_company":null,"collecting_service":null,"transit_box_total":3,"collecting_address":[],"eta_date":"2022-12-01 00:00:00","gc_putaway_time":null,"transfer_detail":[],"overseas_detail":[{"box_no":"1","product_sku":"TEST180717","fba_product_code":"","overseas_pre_count":2,"overseas_receiving_count":2,"overseas_shelves_count":0,"reference_box_no":"D69967-1","sn_list":[]},{"box_no":"2","product_sku":"TEST180717","fba_product_code":"","overseas_pre_count":2,"overseas_receiving_count":2,"overseas_shelves_count":0,"reference_box_no":"D69967-2","sn_list":[]},{"box_no":"3","product_sku":"TEST180717","fba_product_code":"","overseas_pre_count":1,"overseas_receiving_count":1,"overseas_shelves_count":0,"reference_box_no":"D69967-3","sn_list":[]}],"wp_code":"USEA-5","is_delay":0,"is_rollover":0,"booking_cabin_no":null,"tax_rebate_data_url":null,"customers_send_info":null}}</response></ns1:callServiceResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
当前入库单是刚收货,还没有上架,不能完结
上架完成后