|
@@ -76,7 +76,7 @@ export const getDetail = (id) => {
|
|
|
/**
|
|
|
* 获取客户地址列表
|
|
|
* @param {string} customerCode - 客户编码
|
|
|
- * @returns {Promise<AxiosResponse<PageResult<CustomerAddressOption>>>} 客户地址列表响应
|
|
|
+ * @returns {Promise<AxiosResponse<CustomerAddressOption[]>>} 客户地址列表响应
|
|
|
*/
|
|
|
export const getCustomerAddressList = (customerCode) => {
|
|
|
return request({
|
|
@@ -97,8 +97,8 @@ export const getCustomerAddressList = (customerCode) => {
|
|
|
* @property {string} [orgName] - 组织名称
|
|
|
* @property {string} [customerCode] - 客户编码
|
|
|
* @property {string} [customerName] - 客户名称
|
|
|
- * @property {keyof typeof ORDER_TYPES} [orderType] - 订单类型
|
|
|
- * @property {keyof typeof ORDER_STATUS} [status] - 订单状态
|
|
|
+ * @property {typeof ORDER_TYPES[keyof typeof ORDER_TYPES]} [orderType] - 订单类型
|
|
|
+ * @property {typeof ORDER_STATUS[keyof typeof ORDER_STATUS]} [status] - 订单状态
|
|
|
* @property {string} [receiverName] - 收货人姓名
|
|
|
* @property {string} [receiverPhone] - 收货人电话
|
|
|
* @property {string} [createTimeStart] - 创建时间开始
|
|
@@ -116,7 +116,7 @@ export const getCustomerAddressList = (customerCode) => {
|
|
|
* @property {string|number} customerId - 客户ID
|
|
|
* @property {string} customerCode - 客户编码
|
|
|
* @property {string} customerName - 客户名称
|
|
|
- * @property {keyof typeof ORDER_TYPES} orderType - 订单类型
|
|
|
+ * @property {typeof ORDER_TYPES[keyof typeof ORDER_TYPES]} orderType - 订单类型
|
|
|
* @property {number|string} totalAmount - 订单总金额
|
|
|
* @property {number|string} totalQuantity - 订单总数量
|
|
|
* @property {string|number} addressId - 收货地址ID
|
|
@@ -124,7 +124,7 @@ export const getCustomerAddressList = (customerCode) => {
|
|
|
* @property {string} receiverPhone - 收货人电话
|
|
|
* @property {string} receiverAddress - 收货详细地址
|
|
|
* @property {string} receiverRegion - 收货地区
|
|
|
- * @property {keyof typeof ORDER_STATUS} status - 订单状态
|
|
|
+ * @property {typeof ORDER_STATUS[keyof typeof ORDER_STATUS]} status - 订单状态
|
|
|
*/
|
|
|
|
|
|
/**
|