|
@@ -62,7 +62,7 @@ import request from '@/router/axios'
|
|
|
* @param {string} [params.orderCode] - 订单编号
|
|
|
* @param {string} [params.carrierName] - 承运商名称
|
|
|
* @param {number} [params.shipmentStatus] - 发货状态
|
|
|
- * @returns {Promise<{data: {records: OrderShipmentItem[], total: number}}>}
|
|
|
+ * @returns {Promise<AxiosResponse<{records: OrderShipmentItem[], total: number}>>}
|
|
|
*/
|
|
|
export const getOrderShipmentList = (params) => {
|
|
|
return request({
|
|
@@ -80,7 +80,7 @@ export const getOrderShipmentList = (params) => {
|
|
|
* @param {string} [params.shipmentNo] - 发货单号
|
|
|
* @param {string} [params.itemCode] - 物料编码
|
|
|
* @param {string} [params.itemName] - 物料名称
|
|
|
- * @returns {Promise<{data: {records: ShipmentItemDetail[], total: number}}>}
|
|
|
+ * @returns {Promise<AxiosResponse<{records: ShipmentItemDetail[], total: number}>>}
|
|
|
*/
|
|
|
export const getShipmentItemList = (params) => {
|
|
|
return request({
|
|
@@ -98,7 +98,7 @@ export const getShipmentItemList = (params) => {
|
|
|
* @param {string} [params.shipmentNo] - 发货单号
|
|
|
* @param {string} [params.trackingNo] - 运单号
|
|
|
* @param {string} [params.trackingStatus] - 跟踪状态
|
|
|
- * @returns {Promise<{data: {records: ShipmentTrackingInfo[], total: number}}>}
|
|
|
+ * @returns {Promise<AxiosResponse<{records: ShipmentTrackingInfo[], total: number}>>}
|
|
|
*/
|
|
|
export const getShipmentTrackingList = (params) => {
|
|
|
return request({
|