mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 17:49:19 +08:00
wip: 开发订单导入功能
This commit is contained in:
@@ -45,7 +45,7 @@ export async function deleteImportFieldDefApi(id: number) {
|
||||
*/
|
||||
export async function getFieldDefsByTypeApi(type: string) {
|
||||
return requestClient.get<ImportFieldDefVO.ImportFieldDefInfoVO[]>(
|
||||
`/ec/import-field-def/list-by-type/all/${type}`,
|
||||
`/ec/import-field-def/all/${type}`,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,8 @@ export namespace ImportFieldDefDTO {
|
||||
fieldName: string;
|
||||
/** 中文字段名,如 商品名称 */
|
||||
fieldLabel: string;
|
||||
/** 文件字段名,如 商品名称 */
|
||||
fileFieldName?: string;
|
||||
/** 是否必填 */
|
||||
required: boolean;
|
||||
/** 排序 */
|
||||
@@ -23,6 +25,8 @@ export namespace ImportFieldDefDTO {
|
||||
export interface UpdateImportFieldDefDTO {
|
||||
/** 中文字段名,如 商品名称 */
|
||||
fieldLabel: string;
|
||||
/** 文件字段名,如 商品名称 */
|
||||
fileFieldName?: string;
|
||||
/** 是否必填 */
|
||||
required: boolean;
|
||||
/** 排序 */
|
||||
|
||||
@@ -13,6 +13,8 @@ export namespace ImportFieldDefVO {
|
||||
fieldName: string;
|
||||
/** 中文字段名,如 商品名称 */
|
||||
fieldLabel: string;
|
||||
/** 文件字段名,如 商品名称 */
|
||||
fileFieldName?: string;
|
||||
/** 是否必填 */
|
||||
required: boolean;
|
||||
/** 排序 */
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
export namespace ImportTaskDTO {
|
||||
/** 创建导入任务参数 */
|
||||
export interface CreateImportTaskDTO {
|
||||
/** 所属店铺ID */
|
||||
shopId: number;
|
||||
/** 导入类型(product-商品 order-订单) */
|
||||
type: string;
|
||||
/** 原始文件名 */
|
||||
@@ -17,6 +19,8 @@ export namespace ImportTaskDTO {
|
||||
|
||||
/** 导入任务过滤条件 */
|
||||
export interface ImportTaskFilterDTO {
|
||||
/** 所属店铺ID */
|
||||
shopId?: number;
|
||||
/** 导入类型(product-商品 order-订单) */
|
||||
type?: string;
|
||||
/** 任务状态 */
|
||||
|
||||
@@ -9,6 +9,8 @@ export namespace ImportTaskVO {
|
||||
id: number;
|
||||
/** 所属公司ID */
|
||||
companyId?: number;
|
||||
/** 所属店铺ID */
|
||||
shopId?: number;
|
||||
/** 导入类型(product-商品 order-订单) */
|
||||
type: string;
|
||||
/** 原始文件名 */
|
||||
|
||||
Reference in New Issue
Block a user