Commit d73048a2 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改接口地址

parent ad8a982b
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: XieZhiXiong * @Author: XieZhiXiong
* @Date: 2021-08-20 15:55:17 * @Date: 2021-08-20 15:55:17
* @LastEditors: XieZhiXiong * @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-20 15:55:18 * @LastEditTime: 2021-08-20 17:44:02
* @Description: 换货入库单详情 * @Description: 换货入库单详情
*/ */
import React from 'react'; import React from 'react';
...@@ -17,8 +17,8 @@ const ExchangeWarehouseBillDetail = () => { ...@@ -17,8 +17,8 @@ const ExchangeWarehouseBillDetail = () => {
const fetchRelatedInfo = (): Promise<RelatedInfoDataType> => { const fetchRelatedInfo = (): Promise<RelatedInfoDataType> => {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
PublicApi.getAsReplaceGoodsGetReturnGoodsStorageDetail({ PublicApi.getAsReplaceGoodsGetReplaceGoodsStorageDetail({
returnDeliveryId: id, replaceDeliveryId: id,
}).then((res) => { }).then((res) => {
if (res.code === 1000) { if (res.code === 1000) {
resolve({ resolve({
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: XieZhiXiong * @Author: XieZhiXiong
* @Date: 2021-08-20 15:14:49 * @Date: 2021-08-20 15:14:49
* @LastEditors: XieZhiXiong * @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-20 15:17:47 * @LastEditTime: 2021-08-20 17:42:49
* @Description: 换货发货单详情 * @Description: 换货发货单详情
*/ */
import React from 'react'; import React from 'react';
...@@ -17,8 +17,8 @@ const ExchangeDeliverBillDetail = () => { ...@@ -17,8 +17,8 @@ const ExchangeDeliverBillDetail = () => {
const fetchRelatedInfo = (): Promise<RelatedInfoDataType> => { const fetchRelatedInfo = (): Promise<RelatedInfoDataType> => {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
PublicApi.getAsReplaceGoodsGetReturnDeliveryGoodsDetail({ PublicApi.getAsReplaceGoodsGetReplaceDeliveryGoodsDetail({
returnDeliveryId: id, replaceDeliveryId: id,
}).then((res) => { }).then((res) => {
if (res.code === 1000) { if (res.code === 1000) {
resolve({ resolve({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment