ERPTurbo_Client/packages/app-client/src/services/business/typings.d.ts
shenyifei d019257566 feat(components): 为输入组件添加清除功能并优化类型定义
- 为多个 Input 组件添加 clearable 属性提升用户体验
- 将部分 number 类型输入改为 digit 类型以适配移动端
- 调整布局样式类名如 flex-1 和 flex-shrink-0 的应用
- 修正 API 类型定义中 roleId、costItemIds 等字段从 number[] 到 string[]
- 优化档口重量计算器中的方法参数和计算逻辑
- 新增采购报价重量计算方法支持毛重/净重切换
2025-12-27 19:56:20 +08:00

5928 lines
138 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

declare namespace BusinessAPI {
type AgreementCreateCmd = {
/** 协议id */
agreementId: string;
/** 使用场景 */
scene?: ("STAKEHOLDER_SETUP" | "CUSTOMER_SETUP" | "PERSONAL_CENTER")[];
/** 协议标题 */
title?: string;
/** 副标题 */
subTitle?: string;
/** 协议内容 */
content?: string;
};
type AgreementDestroyCmd = {
/** 协议ID */
agreementId: string;
};
type AgreementListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 协议ID */
agreementId?: string;
/** 协议类型 */
scene?: "STAKEHOLDER_SETUP" | "CUSTOMER_SETUP" | "PERSONAL_CENTER";
};
type AgreementPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 协议ID */
agreementId?: string;
/** 协议类型 */
scene?: string;
offset?: number;
};
type AgreementShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 协议ID */
agreementId?: string;
};
type AgreementUpdateCmd = {
/** 协议ID */
agreementId: string;
/** 使用场景 */
scene?: ("STAKEHOLDER_SETUP" | "CUSTOMER_SETUP" | "PERSONAL_CENTER")[];
/** 协议标题 */
title?: string;
/** 副标题 */
subTitle?: string;
/** 协议内容 */
content?: string;
};
type AgreementVO = {
/** 协议id */
agreementId: string;
/** 使用场景 */
scene?: ("STAKEHOLDER_SETUP" | "CUSTOMER_SETUP" | "PERSONAL_CENTER")[];
/** 协议标题 */
title?: string;
/** 副标题 */
subTitle?: string;
/** 协议内容 */
content?: string;
};
type AliPayConfigValue =
// #/components/schemas/SettingValue
SettingValue & {
/** 支付宝appid */
appId?: string;
/** 支付宝私钥 */
privateKey?: string;
/** 支付宝公钥 */
publicKey?: string;
/** 支付宝网关地址 */
gatewayUrl?: string;
/** 支付宝回调地址 */
notifyUrl?: string;
};
type AuditPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 审核ID */
auditId?: string;
/** 审核类型1_报价审核员审核2_老板审核 */
type?: "REVIEWER_AUDIT" | "BOSS_AUDIT";
/** 审核状态: 1_待审核2_审核中3_审核通过4_审核驳回5_审核撤回 */
state?:
| "WAITING_AUDIT"
| "AUDITING"
| "AUDIT_SUCCESS"
| "AUDIT_REJECTED"
| "AUDIT_CANCEL";
/** 审核对象类型1_采购单 */
subjectType?: "PURCHASE_ORDER";
offset?: number;
};
type AuditShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 审核ID */
auditId?: string;
};
type AuditUpdateCmd = {
/** 创建人ID */
createdBy: string;
/** 创建人姓名 */
createdByName?: string;
/** 审核Id */
auditId: string;
/** 资源Id */
subjectId: string;
/** 资源类型 */
subjectType: "PURCHASE_ORDER";
/** 审核状态: 1_待审核2_审核中3_审核通过4_审核驳回5_审核撤回 */
state?:
| "WAITING_AUDIT"
| "AUDITING"
| "AUDIT_SUCCESS"
| "AUDIT_REJECTED"
| "AUDIT_CANCEL";
/** 审核类型1_审核员审核2_老板审核 */
type: "REVIEWER_AUDIT" | "BOSS_AUDIT";
/** 驳回原因 */
auditReason?: string;
/** 审核时间 */
auditAt?: string;
/** 审核人ID */
auditBy?: string;
/** 审核人名称 */
auditByName?: string;
/** 创建时间 */
createdAt?: string;
};
type AuditVO = {
/** 审核Id */
auditId: string;
/** 资源Id */
subjectId: string;
/** 资源类型 */
subjectType: "PURCHASE_ORDER";
/** 审核状态: 1_待审核2_审核中3_审核通过4_审核驳回5_审核撤回 */
state?:
| "WAITING_AUDIT"
| "AUDITING"
| "AUDIT_SUCCESS"
| "AUDIT_REJECTED"
| "AUDIT_CANCEL";
/** 审核类型1_审核员审核2_老板审核 */
type: "REVIEWER_AUDIT" | "BOSS_AUDIT";
/** 驳回原因 */
auditReason?: string;
/** 审核时间 */
auditAt?: string;
/** 审核人ID */
auditBy?: string;
/** 审核人名称 */
auditByName?: string;
/** 创建人ID */
createdBy: string;
/** 创建人姓名 */
createdByName?: string;
/** 创建时间 */
createdAt?: string;
/** 采购单信息 */
orderVO?: OrderVO;
};
type BoxBrandCreateCmd = {
/** 品牌ID */
brandId: string;
/** 品牌名称 */
name: string;
/** 品牌图片URL */
image?: string;
/** 纸箱规格ID */
specIds?: string[];
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 品牌类型1_我方纸箱2_瓜农纸箱3_第三方纸箱4_礼盒 */
type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX";
};
type BoxBrandDestroyCmd = {
/** 纸箱品牌ID */
brandId: string;
};
type BoxBrandDragCmd = {
/** 相邻元素前 */
prevId?: number;
/** 相邻元素后 */
nextId?: number;
/** 当前元素 */
currentId?: number;
};
type BoxBrandListQry = {
/** 纸箱品牌状态 */
status?: boolean;
/** 纸箱品牌ID */
brandId?: string;
/** 是否包含纸箱产品 */
withProduct?: boolean;
/** 品牌类型1_我方纸箱2_瓜农纸箱3_第三方纸箱4_礼盒 */
type?: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX";
};
type BoxBrandPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 纸箱品牌ID */
brandId?: string;
/** 品牌类型1_我方纸箱2_瓜农纸箱3_第三方纸箱4_礼盒 */
type?: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX";
offset?: number;
};
type BoxBrandShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 纸箱品牌ID */
brandId?: string;
};
type BoxBrandUpdateCmd = {
/** 纸箱品牌ID */
brandId: string;
/** 品牌名称 */
name: string;
/** 品牌图片URL */
image?: string;
/** 纸箱规格ID */
specIds?: string[];
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 品牌类型1_我方纸箱2_瓜农纸箱3_第三方纸箱4_礼盒 */
type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX";
};
type BoxBrandVO = {
/** 品牌ID */
brandId: string;
/** 品牌名称 */
name: string;
/** 品牌图片URL */
image?: string;
/** 纸箱规格ID */
specIds?: string[];
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 品牌类型1_我方纸箱2_瓜农纸箱3_第三方纸箱4_礼盒 */
type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX";
/** 纸箱产品列表 */
boxProductVOList?: BoxProductVO[];
/** 纸箱规格列表 */
boxSpecVOList?: BoxSpecVO[];
/** 创建时间 */
createdAt?: string;
};
type BoxProductCreateCmd = {
/** 产品ID */
productId: string;
/** 纸箱名称 */
name: string;
/** 重量(kg) */
weight?: number;
/** 成本价 */
costPrice?: number;
/** 销售价 */
salePrice?: number;
/** 规格ID */
specId?: string;
/** 规格名称 */
specName?: string;
/** 品牌ID */
brandId: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 品牌类型1_我方纸箱2_瓜农纸箱3_第三方纸箱4_礼盒 */
type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX";
};
type BoxProductDestroyCmd = {
/** 纸箱产品ID */
productId: string;
};
type BoxProductDragCmd = {
/** 相邻元素前 */
prevId?: number;
/** 相邻元素后 */
nextId?: number;
/** 当前元素 */
currentId?: number;
};
type BoxProductListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 纸箱产品ID */
productId?: string;
/** 纸箱产品名称 */
name?: string;
/** 纸箱品牌ID */
brandId?: string;
/** 规格ID */
specId?: string;
/** 品牌类型1_我方纸箱2_瓜农纸箱3_第三方纸箱4_礼盒 */
type?: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX";
};
type BoxProductPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 纸箱产品ID */
productId?: string;
/** 纸箱产品名称 */
name?: string;
/** 纸箱品牌ID */
brandId?: string;
/** 规格ID */
specId?: string;
/** 品牌类型1_我方纸箱2_瓜农纸箱3_第三方纸箱4_礼盒 */
type?: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX";
offset?: number;
};
type BoxProductShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 纸箱产品ID */
productId?: string;
};
type BoxProductUpdateCmd = {
/** 纸箱产品ID */
productId: string;
/** 纸箱名称 */
name: string;
/** 重量(kg) */
weight?: number;
/** 成本价 */
costPrice?: number;
/** 销售价 */
salePrice?: number;
/** 规格ID */
specId?: string;
/** 规格名称 */
specName?: string;
/** 品牌ID */
brandId: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 品牌类型1_我方纸箱2_瓜农纸箱3_第三方纸箱4_礼盒 */
type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX";
};
type BoxProductVO = {
/** 产品ID */
productId: string;
/** 纸箱名称 */
name: string;
/** 重量(kg) */
weight: number;
/** 成本价 */
costPrice: number;
/** 销售价 */
salePrice: number;
/** 规格ID */
specId: string;
/** 规格名称 */
specName: string;
/** 品牌ID */
brandId: string;
/** 品牌类型1_我方纸箱2_瓜农纸箱3_第三方纸箱4_礼盒 */
type: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX";
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 创建时间 */
createdAt?: string;
};
type BoxSpecCreateCmd = {
/** 规格ID */
specId: string;
/** 规格名称 */
name: string;
/** 排序号 */
sort: number;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
};
type BoxSpecDestroyCmd = {
/** 纸箱规格ID */
specId: string;
};
type BoxSpecListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 纸箱规格ID */
specId?: string;
};
type BoxSpecPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 纸箱规格ID */
specId?: string;
offset?: number;
};
type BoxSpecShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 纸箱规格ID */
specId?: string;
};
type BoxSpecUpdateCmd = {
/** 纸箱规格ID */
specId: string;
/** 规格名称 */
name: string;
/** 排序号 */
sort: number;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
};
type BoxSpecVO = {
/** 规格ID */
specId: string;
/** 规格名称 */
name: string;
/** 排序号 */
sort: number;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 创建时间 */
createdAt?: string;
};
type CategoryCreateCmd = {
/** 分类类型 */
type?:
| "FILE_IMAGE"
| "FILE_VIDEO"
| "PRODUCT"
| "CUSTOMER_INTENTION"
| "COURSE"
| "ROOM"
| "SPEECH";
/** 分类名称 */
name?: string;
/** 上级分类id */
pid?: string;
/** 排序 */
sort?: number;
};
type CategoryDestroyCmd = {
/** 分类Id */
categoryId: string;
};
type CategoryShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 分类Id */
categoryId: string;
};
type CategoryTreeQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 分类类型 */
typeList?: (
| "FILE_IMAGE"
| "FILE_VIDEO"
| "PRODUCT"
| "CUSTOMER_INTENTION"
| "COURSE"
| "ROOM"
| "SPEECH"
)[];
/** 分类名称 */
name?: string;
};
type CategoryUpdateCmd = {
/** 分类类型 */
type?:
| "FILE_IMAGE"
| "FILE_VIDEO"
| "PRODUCT"
| "CUSTOMER_INTENTION"
| "COURSE"
| "ROOM"
| "SPEECH";
/** 分类名称 */
name?: string;
/** 上级分类id */
pid?: string;
/** 排序 */
sort?: number;
/** 分类Id */
categoryId: string;
};
type CategoryVO = {
/** 分类类型 */
type?:
| "FILE_IMAGE"
| "FILE_VIDEO"
| "PRODUCT"
| "CUSTOMER_INTENTION"
| "COURSE"
| "ROOM"
| "SPEECH";
/** 分类 */
categoryId: string;
/** 分类名称 */
name: string;
/** 上级分类id */
pid?: string;
/** 排序号 */
sort?: string;
/** 下级分类 */
children?: any[];
/** 分类关联数量 */
count: number;
};
type ChannelCreateCmd = {
/** 域名 */
domain?: string;
/** Logo */
logo?: string;
/** 标题 */
title?: string;
/** 副标题 */
subTitle?: string;
/** 背景图片 */
backgroundImageUrl?: string;
/** 技术支持 */
technicalSupport?: string;
};
type ChannelDestroyCmd = {
/** 渠道ID */
channelId: string;
};
type ChannelPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 域名 */
domain?: string;
offset?: number;
};
type ChannelShowQry = {
/** 渠道编号 */
channelId: string;
/** 域名 */
domain?: string;
};
type ChannelUpdateCmd = {
/** 域名 */
domain?: string;
/** Logo */
logo?: string;
/** 标题 */
title?: string;
/** 副标题 */
subTitle?: string;
/** 背景图片 */
backgroundImageUrl?: string;
/** 技术支持 */
technicalSupport?: string;
/** 渠道ID */
channelId: string;
};
type ChannelVO = {
/** 渠道ID */
channelId: string;
/** 域名 */
domain?: string;
/** Logo */
logo?: string;
/** 标题 */
title?: string;
/** 副标题 */
subTitle?: string;
/** 背景图片 */
backgroundImageUrl?: string;
/** 技术支持 */
technicalSupport?: string;
/** 创建时间 */
createdAt?: string;
/** 微信公众号Id */
wxMpId?: string;
/** 第三方应用Id */
wxOpenId?: string;
};
type ChargingPilePurchaseConfig =
// #/components/schemas/SettingValue
SettingValue & {
/** 标题 */
title?: string;
/** 描述 */
description?: string;
/** 购买价格 */
price?: number;
/** 划线价格 */
linePrice?: number;
/** 图片 */
image?: string[];
/** 设备内容 */
content?: string;
};
type checkSupplierParams = {
supplierCheckQry: SupplierCheckQry;
};
type CompanyCreateCmd = {
/** 公司ID */
companyId: string;
/** 公司logo */
logo?: string;
/** 公司简称 */
shortName: string;
/** 公司全称 */
fullName: string;
/** 税号 */
taxNumber: string;
/** 联系人 */
contactPerson: string;
/** 联系电话 */
contactPhone: string;
/** 发货地址 */
address: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
};
type CompanyDestroyCmd = {
/** 公司管理ID */
companyId: string;
};
type CompanyListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 公司管理ID */
companyId?: string;
};
type CompanyPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 公司管理ID */
companyId?: string;
/** 公司名称 */
shortName?: string;
/** 公司全称 */
fullName?: string;
/** 税号 */
taxNumber?: string;
offset?: number;
};
type CompanyPaymentAccountCreateCmd = {
/** 账户ID */
accountId: string;
/** 公司ID */
companyId: string;
/** 账户类别1_对公账户2_私人账户 */
accountCategory: "COMPANY_ACCOUNT" | "PRIVATE_ACCOUNT";
/** 账户类型1_银行卡2_支付宝3_微信 */
accountType: "BANK_CARD" | "ALIPAY" | "WECHAT";
/** 银行名称 */
bankName?: string;
/** 支行名称 */
branchName?: string;
/** 对公账户类型1_基本户2_一般户3_专用账户4_临时户 */
publicAccountType?:
| "BASIC_ACCOUNT"
| "GENERAL_ACCOUNT"
| "SPECIAL_ACCOUNT"
| "TEMPORARY_ACCOUNT";
/** 开户公司名称、支付宝昵称、微信号 */
accountName: string;
/** 银行账号、支付宝账号、微信账号 */
accountNumber: string;
/** 是否主付款账户0_否1_是 */
isPrimary: boolean;
/** 备注 */
remark?: string;
/** 状态1_启用2_禁用 */
status: boolean;
/** 创建时间 */
createdAt?: string;
};
type CompanyPaymentAccountDestroyCmd = {
/** 公司付款账户ID */
accountId: string;
};
type CompanyPaymentAccountListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 公司付款账户ID */
accountId?: string;
/** 公司付款账户名称 */
accountName?: string;
/** 公司名称 */
companyName?: string;
/** 公司ID */
companyId?: string;
/** 账户类别1_对公账户2_私人账户 */
accountCategory?: "COMPANY_ACCOUNT" | "PRIVATE_ACCOUNT";
};
type CompanyPaymentAccountPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 公司付款账户ID */
accountId?: string;
/** 公司ID */
companyId?: string;
/** 付款账户名称 */
accountName?: string;
/** 账户类别1_对公账户2_私人账户 */
accountCategory?: "COMPANY_ACCOUNT" | "PRIVATE_ACCOUNT";
offset?: number;
};
type CompanyPaymentAccountShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 公司付款账户ID */
accountId?: string;
};
type CompanyPaymentAccountUpdateCmd = {
/** 公司付款账户ID */
accountId: string;
/** 公司ID */
companyId: string;
/** 账户类别1_对公账户2_私人账户 */
accountCategory: "COMPANY_ACCOUNT" | "PRIVATE_ACCOUNT";
/** 账户类型1_银行卡2_支付宝3_微信 */
accountType: "BANK_CARD" | "ALIPAY" | "WECHAT";
/** 银行名称 */
bankName?: string;
/** 支行名称 */
branchName?: string;
/** 对公账户类型1_基本户2_一般户3_专用账户4_临时户 */
publicAccountType?:
| "BASIC_ACCOUNT"
| "GENERAL_ACCOUNT"
| "SPECIAL_ACCOUNT"
| "TEMPORARY_ACCOUNT";
/** 开户公司名称、支付宝昵称、微信号 */
accountName: string;
/** 银行账号、支付宝账号、微信账号 */
accountNumber: string;
/** 是否主付款账户0_否1_是 */
isPrimary: boolean;
/** 备注 */
remark?: string;
/** 状态1_启用2_禁用 */
status: boolean;
/** 创建时间 */
createdAt?: string;
};
type CompanyPaymentAccountVO = {
/** 账户ID */
accountId: string;
/** 公司ID */
companyId: string;
/** 账户类别1_对公账户2_私人账户 */
accountCategory: "COMPANY_ACCOUNT" | "PRIVATE_ACCOUNT";
/** 账户类型1_银行卡2_支付宝3_微信 */
accountType: "BANK_CARD" | "ALIPAY" | "WECHAT";
/** 银行名称 */
bankName?: string;
/** 支行名称 */
branchName?: string;
/** 对公账户类型1_基本户2_一般户3_专用账户4_临时户 */
publicAccountType?:
| "BASIC_ACCOUNT"
| "GENERAL_ACCOUNT"
| "SPECIAL_ACCOUNT"
| "TEMPORARY_ACCOUNT";
/** 开户公司名称、支付宝昵称、微信号 */
accountName: string;
/** 银行账号、支付宝账号、微信账号 */
accountNumber: string;
/** 是否主付款账户0_否1_是 */
isPrimary: boolean;
/** 备注 */
remark?: string;
/** 状态1_启用2_禁用 */
status: boolean;
/** 创建时间 */
createdAt?: string;
/** 公司信息 */
companyVO?: CompanyVO;
};
type CompanyShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 公司管理ID */
companyId?: string;
};
type CompanyUpdateCmd = {
/** 公司管理ID */
companyId: string;
/** 公司logo */
logo?: string;
/** 公司简称 */
shortName: string;
/** 公司全称 */
fullName: string;
/** 税号 */
taxNumber: string;
/** 联系人 */
contactPerson: string;
/** 联系电话 */
contactPhone: string;
/** 发货地址 */
address: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
};
type CompanyVO = {
/** 公司ID */
companyId: string;
/** 公司logo */
logo: string;
/** 公司简称 */
shortName: string;
/** 公司全称 */
fullName: string;
/** 税号 */
taxNumber: string;
/** 联系人 */
contactPerson: string;
/** 联系电话 */
contactPhone: string;
/** 发货地址 */
address: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 创建时间 */
createdAt?: string;
};
type CostCreateCmd = {
/** 费用ID */
costId: string;
/** 费用类型1_辅料类型2_人工类型3_产地类型4_其他类型5_物流类型 */
type:
| "MATERIAL_TYPE"
| "ARTIFICIAL_TYPE"
| "PRODUCTION_TYPE"
| "OTHER_TYPE"
| "LOGISTICS_TYPE"
| "EXPENSE_TYPE";
/** 费用归属0_无归属1_工头2_产地3_司机 */
belong: "NONE_TYPE" | "WORKER_TYPE" | "PRODUCTION_TYPE" | "DRIVER_TYPE";
/** 费用名称 */
name: string;
/** 单价 */
price?: number;
/** 单位 */
unit?: string;
/** 备注 */
remark?: string;
/** 是否默认 */
isDefault?: boolean;
/** 排序号 */
sort: number;
/** 状态1_启用0_禁用 */
status: boolean;
/** 成本项ID */
costItemIds?: string[];
};
type CostDestroyCmd = {
/** 费用ID */
costId: string;
};
type CostDragCmd = {
/** 相邻元素前 */
prevId?: number;
/** 相邻元素后 */
nextId?: number;
/** 当前元素 */
currentId?: number;
};
type CostItemCreateCmd = {
/** 项目ID */
costItemId: string;
/** 项目类型1_辅料类型2_人工类型 */
type: "MATERIAL_TYPE" | "ARTIFICIAL_TYPE";
/** 录入规则1_填数量2_选纸箱 */
rule: "INPUT_QUANTITY" | "SELECT_BOX" | "INPUT_QUANTITY_AND_AMOUNT";
/** 费用ID */
costId: number;
/** 项目名称 */
name: string;
/** 单位 */
unit: string;
/** 单价 */
price: number;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
};
type CostItemDestroyCmd = {
/** 费用项目ID */
costItemId: string;
};
type CostItemDragCmd = {
/** 相邻元素前 */
prevId?: number;
/** 相邻元素后 */
nextId?: number;
/** 当前元素 */
currentId?: number;
};
type CostItemListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 费用项目ID */
costItemId?: string;
/** 项目类型1_辅料类型2_人工类型 */
type?: "MATERIAL_TYPE" | "ARTIFICIAL_TYPE";
};
type CostItemPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 费用项目ID */
costItemId?: string;
/** 项目类型1_辅料类型2_人工类型 */
type?: "MATERIAL_TYPE" | "ARTIFICIAL_TYPE";
/** 项目名称 */
name?: string;
offset?: number;
};
type CostItemShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 费用项目ID */
costItemId?: string;
};
type CostItemUpdateCmd = {
/** 费用项目ID */
costItemId: string;
/** 项目类型1_辅料类型2_人工类型 */
type: "MATERIAL_TYPE" | "ARTIFICIAL_TYPE";
/** 录入规则1_填数量2_选纸箱 */
rule: "INPUT_QUANTITY" | "SELECT_BOX" | "INPUT_QUANTITY_AND_AMOUNT";
/** 费用ID */
costId: number;
/** 项目名称 */
name: string;
/** 单位 */
unit: string;
/** 单价 */
price: number;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
};
type CostItemVO = {
/** 项目ID */
costItemId: string;
/** 项目类型1_辅料类型2_人工类型 */
type: "MATERIAL_TYPE" | "ARTIFICIAL_TYPE";
/** 项目名称 */
name: string;
/** 单价 */
price?: number;
/** 单位 */
unit?: string;
/** 录入规则1_填数量2_选纸箱 */
rule: "INPUT_QUANTITY" | "SELECT_BOX" | "INPUT_QUANTITY_AND_AMOUNT";
/** 备注 */
remark?: string;
/** 排序号 */
sort: number;
/** 状态1_启用0_禁用 */
status: boolean;
/** 创建时间 */
createdAt?: string;
};
type CostListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 费用ID */
costId?: string;
/** 费用类型1_辅料类型2_人工类型3_产地类型4_其他类型5_物流类型 */
type?:
| "MATERIAL_TYPE"
| "ARTIFICIAL_TYPE"
| "PRODUCTION_TYPE"
| "OTHER_TYPE"
| "LOGISTICS_TYPE"
| "EXPENSE_TYPE";
/** 费用归属0_无归属1_工头2_产地3_司机 */
belong?: "NONE_TYPE" | "WORKER_TYPE" | "PRODUCTION_TYPE" | "DRIVER_TYPE";
/** 费用名称 */
name?: string;
};
type CostPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 费用ID */
costId?: string;
/** 费用类型1_辅料类型2_人工类型3_产地类型4_其他类型5_物流类型 */
type?:
| "MATERIAL_TYPE"
| "ARTIFICIAL_TYPE"
| "PRODUCTION_TYPE"
| "OTHER_TYPE"
| "LOGISTICS_TYPE"
| "EXPENSE_TYPE";
/** 费用归属0_无归属1_工头2_产地3_司机 */
belong?: "NONE_TYPE" | "WORKER_TYPE" | "PRODUCTION_TYPE" | "DRIVER_TYPE";
offset?: number;
};
type CostShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 费用ID */
costId?: string;
};
type CostUpdateCmd = {
/** 费用ID */
costId: string;
/** 费用类型1_辅料类型2_人工类型3_产地类型4_其他类型5_物流类型 */
type:
| "MATERIAL_TYPE"
| "ARTIFICIAL_TYPE"
| "PRODUCTION_TYPE"
| "OTHER_TYPE"
| "LOGISTICS_TYPE"
| "EXPENSE_TYPE";
/** 费用归属0_无归属1_工头2_产地3_司机 */
belong: "NONE_TYPE" | "WORKER_TYPE" | "PRODUCTION_TYPE" | "DRIVER_TYPE";
/** 费用名称 */
name: string;
/** 单价 */
price?: number;
/** 单位 */
unit?: string;
/** 备注 */
remark?: string;
/** 是否默认 */
isDefault?: boolean;
/** 排序号 */
sort: number;
/** 状态1_启用0_禁用 */
status: boolean;
/** 成本项ID */
costItemIds?: string[];
};
type CostVO = {
/** 费用ID */
costId: string;
/** 费用类型 */
type:
| "MATERIAL_TYPE"
| "ARTIFICIAL_TYPE"
| "PRODUCTION_TYPE"
| "OTHER_TYPE"
| "LOGISTICS_TYPE"
| "EXPENSE_TYPE";
/** 费用归属0_无归属1_工头2_产地3_司机 */
belong: "NONE_TYPE" | "WORKER_TYPE" | "PRODUCTION_TYPE" | "DRIVER_TYPE";
/** 费用名称 */
name: string;
/** 单价 */
price?: number;
/** 单位 */
unit?: string;
/** 备注 */
remark?: string;
/** 是否默认 */
isDefault?: boolean;
/** 排序号 */
sort: number;
/** 状态1_启用0_禁用 */
status: boolean;
/** 项目id集合 */
costItemIds?: string[];
/** 创建时间 */
createdAt?: string;
/** 项目列表 */
costItemVOList?: CostItemVO[];
};
type countOrderByStateParams = {
orderCountQry: OrderCountQry;
};
type CustomMenuConfigValue =
// #/components/schemas/SettingValue
SettingValue & {
/** 菜单列表 */
menuItems?: MenuItem[];
};
type CustomThemeConfigValue =
// #/components/schemas/SettingValue
SettingValue & {
/** 主题名称 */
themeName?: string;
/** 主题颜色 */
primaryColor?: string;
/** 次要颜色 */
secondaryColor?: string;
};
type DealerCreateCmd = {
/** 经销商ID */
dealerId: string;
/** 经销商简称 */
shortName: string;
/** 经销商全称 */
fullName?: string;
/** 经销商类型1_市场2_超市 */
dealerType: "MARKET" | "SUPERMARKET";
/** 是否开启分成 */
enableShare?: boolean;
/** 分成比例 */
shareRatio?: number;
/** 运费是否作为成本 */
freightCostFlag?: boolean;
/** 草帘是否作为成本 */
strawMatCostFlag?: boolean;
/** 发货单合计金额是否含包装费 */
includePackingFlag?: boolean;
/** 发货单合计金额是否含包运费 */
includeFreightFlag?: boolean;
/** 应收金额 */
receivable?: number;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 是否开启计提税金 */
enableAccrualTax?: boolean;
/** 计提税金比例 */
accrualTaxRatio?: number;
/** 是否开启公司返点 */
enableCompanyRebate?: boolean;
/** 公司返点比例 */
companyRebateRatio?: number;
/** 是否可调整比例 */
shareAdjusted?: boolean;
/** 是否开启损耗 */
enableLoss?: boolean;
/** 损耗金额 */
lossAmount?: number;
/** 是否启用初始车次号 */
enableInitialTrainNo?: boolean;
/** 初始车次号 */
initialTrainNo?: number;
};
type DealerDestroyCmd = {
/** 经销商表ID */
dealerId: string;
};
type DealerDragCmd = {
/** 相邻元素前 */
prevId?: number;
/** 相邻元素后 */
nextId?: number;
/** 当前元素 */
currentId?: number;
};
type DealerListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 经销商表ID */
dealerId?: string;
/** 经销商简称 */
shortName?: string;
dealerType?: "MARKET" | "SUPERMARKET";
};
type DealerPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 经销商简称 */
shortName?: string;
/** 经销商全称 */
fullName?: string;
/** 经销商类型1_市场2_超市 */
dealerType?: "MARKET" | "SUPERMARKET";
offset?: number;
};
type DealerPaymentAccountCreateCmd = {
/** 账户ID */
accountId: string;
/** 经销商ID */
dealerId: string;
/** 公司名称 */
companyName: string;
/** 税号 */
taxNumber: string;
/** 银行账号 */
bankAccount: string;
/** 单位地址 */
companyAddress?: string;
/** 电话 */
phone?: string;
/** 开户行 */
openingBank?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
};
type DealerPaymentAccountDestroyCmd = {
/** 经销商付款账户ID */
accountId: string;
};
type DealerPaymentAccountListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 经销商ID */
dealerId?: string;
/** 关键词 */
keyword?: string;
};
type DealerPaymentAccountPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 经销商ID */
dealerId?: string;
offset?: number;
};
type DealerPaymentAccountShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 经销商付款账户ID */
accountId?: string;
/** 经销商ID */
dealerId?: string;
};
type DealerPaymentAccountUpdateCmd = {
/** 经销商付款账户ID */
accountId: string;
/** 经销商ID */
dealerId: string;
/** 公司名称 */
companyName: string;
/** 税号 */
taxNumber: string;
/** 银行账号 */
bankAccount: string;
/** 单位地址 */
companyAddress?: string;
/** 电话 */
phone?: string;
/** 开户行 */
openingBank?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
};
type DealerPaymentAccountVO = {
/** 账户ID */
accountId: string;
/** 经销商ID */
dealerId: string;
/** 公司名称 */
companyName: string;
/** 税号 */
taxNumber: string;
/** 银行账号 */
bankAccount: string;
/** 单位地址 */
companyAddress?: string;
/** 电话 */
phone?: string;
/** 开户行 */
openingBank?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 创建时间 */
createdAt?: string;
/** 经销商信息 */
dealerVO?: any;
};
type DealerRebateCustomerCreateCmd = {
/** 客户ID */
customerId: string;
/** 经销商ID */
dealerId: string;
/** 客户名称 */
name: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 备注 */
remark?: string;
/** 返点计算方式1_按净重计算2_固定金额3_不固定 */
calcMethod?: "NET_WEIGHT" | "FIXED_AMOUNT" | "NOT_FIXED";
/** 返点单价 */
unitPrice?: number;
/** 返点金额 */
amount?: number;
};
type DealerRebateCustomerDestroyCmd = {
/** 经销商返点客户ID */
customerId: string;
};
type DealerRebateCustomerListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 经销商ID */
dealerId?: string;
/** 客户名称 */
name?: string;
/** 返点计算方式 */
calcMethod?: "NET_WEIGHT" | "FIXED_AMOUNT" | "NOT_FIXED";
};
type DealerRebateCustomerPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 经销商ID */
dealerId?: string;
/** 客户名称 */
name?: string;
/** 返点计算方式 */
calcMethod?: "NET_WEIGHT" | "FIXED_AMOUNT" | "NOT_FIXED";
offset?: number;
};
type DealerRebateCustomerShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 经销商返点客户ID */
customerId?: string;
/** 经销商ID */
dealerId?: string;
};
type DealerRebateCustomerUpdateCmd = {
/** 经销商返点客户ID */
customerId: string;
/** 经销商ID */
dealerId: string;
/** 客户名称 */
name: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 备注 */
remark?: string;
/** 返点计算方式1_按净重计算2_固定金额3_不固定 */
calcMethod?: "NET_WEIGHT" | "FIXED_AMOUNT" | "NOT_FIXED";
/** 返点单价 */
unitPrice?: number;
/** 返点金额 */
amount?: number;
};
type DealerRebateCustomerVO = {
/** 客户ID */
customerId: string;
/** 经销商ID */
dealerId: string;
/** 客户名称 */
name: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 备注 */
remark?: string;
/** 创建时间 */
createdAt?: string;
/** 经销商信息 */
dealerVO?: DealerVO;
/** 返点计算方式1_按净重计算2_固定金额3_不固定 */
calcMethod?: "NET_WEIGHT" | "FIXED_AMOUNT" | "NOT_FIXED";
/** 返点单价 */
unitPrice?: number;
/** 返点金额 */
amount?: number;
};
type DealerShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 经销商表ID */
dealerId?: string;
};
type DealerUpdateCmd = {
/** 经销商表ID */
dealerId: string;
/** 经销商简称 */
shortName: string;
/** 经销商全称 */
fullName?: string;
/** 经销商类型1_市场2_超市 */
dealerType: "MARKET" | "SUPERMARKET";
/** 是否开启分成 */
enableShare?: boolean;
/** 分成比例 */
shareRatio?: number;
/** 运费是否作为成本 */
freightCostFlag?: boolean;
/** 草帘是否作为成本 */
strawMatCostFlag?: boolean;
/** 发货单合计金额是否含包装费 */
includePackingFlag?: boolean;
/** 发货单合计金额是否含包运费 */
includeFreightFlag?: boolean;
/** 应收金额 */
receivable?: number;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 是否开启计提税金 */
enableAccrualTax?: boolean;
/** 计提税金比例 */
accrualTaxRatio?: number;
/** 是否开启公司返点 */
enableCompanyRebate?: boolean;
/** 公司返点比例 */
companyRebateRatio?: number;
/** 是否可调整比例 */
shareAdjusted?: boolean;
/** 是否开启损耗 */
enableLoss?: boolean;
/** 损耗金额 */
lossAmount?: number;
/** 是否启用初始车次号 */
enableInitialTrainNo?: boolean;
/** 初始车次号 */
initialTrainNo?: number;
/** 发货单模板 */
deliveryTemplate?: string;
};
type DealerVO = {
/** 经销商ID */
dealerId: string;
/** 经销商简称 */
shortName: string;
/** 经销商全称 */
fullName?: string;
/** 经销商类型1_市场2_超市 */
dealerType: "MARKET" | "SUPERMARKET";
/** 是否开启分成 */
enableShare?: boolean;
/** 分成比例 */
shareRatio?: number;
/** 运费是否作为成本 */
freightCostFlag?: boolean;
/** 草帘是否作为成本 */
strawMatCostFlag?: boolean;
/** 发货单合计金额是否含包装费 */
includePackingFlag?: boolean;
/** 发货单合计金额是否含包运费 */
includeFreightFlag?: boolean;
/** 应收金额 */
receivable?: number;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 发货单模板 */
deliveryTemplate?: string;
/** 创建时间 */
createdAt?: string;
/** 经销商账户列表 */
dealerPaymentAccountVOList?: DealerPaymentAccountVO[];
/** 是否开启计提税金 */
enableAccrualTax?: boolean;
/** 计提税金比例 */
accrualTaxRatio?: number;
/** 是否开启公司返点 */
enableCompanyRebate?: boolean;
/** 公司返点比例 */
companyRebateRatio?: number;
/** 是否可调整比例 */
shareAdjusted?: boolean;
/** 是否开启损耗 */
enableLoss?: boolean;
/** 损耗金额 */
lossAmount?: number;
/** 是否启用初始车次号 */
enableInitialTrainNo?: boolean;
/** 初始车次号 */
initialTrainNo?: number;
};
type DealerWarehouseCreateCmd = {
/** 仓库ID */
warehouseId: string;
/** 经销商ID */
dealerId: string;
/** 经销商账户ID */
accountId: string;
/** 仓库名称 */
name: string;
/** 仓库地址 */
address: string;
/** 联系人 */
contactPerson?: string;
/** 联系电话 */
contactPhone?: string;
/** 收货人姓名 */
receiverName?: string;
/** 收货人电话 */
receiverPhone?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 备注 */
remark?: string;
};
type DealerWarehouseDestroyCmd = {
/** 经销商仓库ID */
warehouseId: string;
};
type DealerWarehouseListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 经销商ID */
dealerId?: string;
/** 经销商付款账户ID */
accountId?: string;
/** 仓库名称 */
name?: string;
};
type DealerWarehousePageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 经销商ID */
dealerId?: string;
/** 经销商付款账户ID */
accountId?: string;
offset?: number;
};
type DealerWarehouseShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 经销商仓库ID */
warehouseId?: string;
/** 经销商付款账户ID */
accountId?: string;
/** 经销商ID */
dealerId?: string;
};
type DealerWarehouseUpdateCmd = {
/** 经销商仓库ID */
warehouseId: string;
/** 经销商ID */
dealerId: string;
/** 经销商账户ID */
accountId: string;
/** 仓库名称 */
name: string;
/** 仓库地址 */
address: string;
/** 联系人 */
contactPerson?: string;
/** 联系电话 */
contactPhone?: string;
/** 收货人姓名 */
receiverName?: string;
/** 收货人电话 */
receiverPhone?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 备注 */
remark?: string;
};
type DealerWarehouseVO = {
/** 仓库ID */
warehouseId: string;
/** 经销商ID */
dealerId: string;
/** 经销商账户ID */
accountId: string;
/** 仓库名称 */
name: string;
/** 仓库地址 */
address: string;
/** 联系人 */
contactPerson?: string;
/** 联系电话 */
contactPhone?: string;
/** 收货人姓名 */
receiverName?: string;
/** 收货人电话 */
receiverPhone?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 备注 */
remark?: string;
/** 创建时间 */
createdAt?: string;
/** 经销商信息 */
dealerVO?: DealerVO;
/** 经销商账户信息 */
dealerPaymentAccountVO?: DealerPaymentAccountVO;
};
type DictionaryCreateCmd = {
/** 自增id */
id?: number;
/** 代码 */
code?: string;
/** 字典名称 */
name?: string;
/** 上级id */
parentId?: string;
/** 排序号 */
sortNo?: number;
/** 类型 */
type?: string;
};
type DictionaryDestroyCmd = {
/** 字典ID */
dictionaryId: string;
};
type DictionaryListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 字典ID */
dictionaryId?: string;
/** 字典类型 */
type?: string;
};
type DictionaryPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 字典ID */
dictionaryId?: string;
/** 字典名称 */
name?: string;
/** 字典类型 */
type?: string;
offset?: number;
};
type DictionaryShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 字典ID */
dictionaryId?: string;
};
type DictionaryUpdateCmd = {
/** 自增id */
id?: number;
/** 代码 */
code?: string;
/** 字典名称 */
name?: string;
/** 上级id */
parentId?: string;
/** 排序号 */
sortNo?: number;
/** 类型 */
type?: string;
/** 字典ID */
dictionaryId: string;
};
type DictionaryVO = {
/** 自增id */
dictionaryId?: number;
/** 代码 */
code?: string;
/** 字典名称 */
name?: string;
/** 上级id */
parentId?: string;
/** 排序号 */
sortNo?: number;
/** 类型 */
type?: string;
};
type EmployeeCreateCmd = {
/** 姓名 */
name: string;
/** 工号 */
number: string;
/** 性别 */
gender: number;
/** 手机号 */
phone: string;
/** 备注 */
remark?: string;
/** 状态 */
status: boolean;
/** 登录账号 */
username: string;
/** 登录密码 */
password: string;
/** 角色ID */
roleId: string[];
};
type EmployeeDestroyCmd = {
/** 员工信息ID */
employeeId: string;
};
type EmployeeDisableCmd = {
/** 员工信息ID */
employeeId: string;
};
type EmployeeListQry = {
/** 员工信息ID */
employeeId: string;
};
type EmployeePageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 员工信息ID */
employeeId: string;
/** 姓名 */
name: string;
/** 工号 */
number: string;
/** 手机号 */
phone: string;
/** 状态 */
status?: number;
offset?: number;
};
type EmployeeRestPasswordCmd = {
/** 新密码 */
password: string;
/** 用户id */
userId: string;
};
type EmployeeShowQry = {
/** 员工信息ID */
employeeId?: string;
/** 用户ID */
userId?: string;
/** 平台ID */
platformId?: string;
};
type EmployeeUpdateCmd = {
/** 员工信息ID */
employeeId: string;
/** 姓名 */
name: string;
/** 工号 */
number: string;
/** 性别 */
gender: number;
/** 头像 */
avatar?: string;
/** 手机号 */
phone: string;
/** 备注 */
remark?: string;
};
type EmployeeVO = {
/** 员工信息 */
employeeId: string;
/** 姓名 */
name: string;
/** 工号 */
number: string;
/** 头像 */
avatar?: string;
/** 性别 */
gender: number;
/** 手机号 */
phone: string;
/** 备注 */
remark?: string;
/** 状态 */
status?: boolean;
/** 创建时间 */
createdAt?: string;
/** 用户ID */
userId: string;
/** 角色ID */
roleIdList: string[];
/** 角色信息 */
userRoleList?: UserRoleVO[];
};
type ExpenseCost = {
/** 明细ID */
expenseCostId: string;
/** 花销统计记录ID */
expenseRecordId: string;
/** 费用类型ID */
costId: string;
/** 费用类型名称 */
costName: string;
/** 花销金额 */
expenseAmount: number;
/** 备注(可填员工、事由等) */
remark?: string;
};
type ExpenseProvision = {
/** 明细ID */
expenseProvisionId: string;
/** 花销统计记录ID */
expenseRecordId: string;
/** 经销商名称 */
dealerName?: string;
/** 车次号 */
vehicleNo?: string;
/** 计提金额 */
provisionAmount: number;
/** 采购单ID */
orderId?: string;
/** 备注 */
remark?: string;
};
type ExpenseRecordCreateCmd = {
/** 记录日期YYYY-MM-DD */
recordDate?: string;
/** 花销费用明细 */
expenseCostList?: ExpenseCost[];
/** 花销计提明细 */
expenseProvisionList?: ExpenseProvision[];
};
type ExpenseRecordListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 开始日期 */
startDate?: string;
/** 结束日期 */
endDate?: string;
};
type ExpenseRecordShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 花销统计记录ID */
expenseRecordId?: string;
/** 记录日期YYYY-MM-DD */
recordDate?: string;
};
type ExpenseRecordUpdateCmd = {
/** 记录日期YYYY-MM-DD */
recordDate?: string;
/** 花销费用明细 */
expenseCostList?: ExpenseCost[];
/** 花销计提明细 */
expenseProvisionList?: ExpenseProvision[];
/** 花销统计记录ID */
expenseRecordId: string;
};
type ExpenseRecordVO = {
/** 记录ID */
expenseRecordId: string;
/** 记录日期YYYY-MM-DD */
recordDate?: string;
/** 计提车次数量 */
totalVehicleCount?: number;
/** 计提总金额 */
totalProvision?: number;
/** 花销总额 */
totalExpense?: number;
/** 日常利润 */
dailyProfit?: number;
/** 花销计提明细 */
expenseProvisionList?: ExpenseProvision[];
/** 花销费用明细 */
expenseCostList?: ExpenseCost[];
/** 创建时间 */
createdAt?: string;
};
type getLastVehicleNoParams = {
lastVehicleNoQry: LastVehicleNoQry;
};
type GiftBoxCreateCmd = {
/** 礼盒ID */
boxId: string;
/** 礼盒名称 */
name: string;
/** 成本价 */
costPrice: number;
/** 重量(kg) */
weight: number;
/** 售价 */
salePrice: number;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 创建时间 */
createdAt?: string;
};
type GiftBoxDestroyCmd = {
/** 礼盒ID */
boxId: string;
};
type GiftBoxListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 礼盒ID */
boxId?: string;
};
type GiftBoxPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 礼盒ID */
boxId?: string;
/** 礼盒名称 */
name?: string;
offset?: number;
};
type GiftBoxShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 礼盒ID */
boxId?: string;
};
type GiftBoxUpdateCmd = {
/** 礼盒ID */
boxId: string;
/** 礼盒名称 */
name: string;
/** 成本价 */
costPrice: number;
/** 重量(kg) */
weight: number;
/** 售价 */
salePrice: number;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 创建时间 */
createdAt?: string;
};
type GiftBoxVO = {
/** 礼盒ID */
boxId: string;
/** 礼盒名称 */
name: string;
/** 成本价 */
costPrice: number;
/** 重量(kg) */
weight: number;
/** 售价 */
salePrice: number;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 创建时间 */
createdAt?: string;
};
type LastVehicleNoQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 经销商ID */
dealerId: string;
};
type listAgreementParams = {
agreementListQry: AgreementListQry;
};
type listBoxBrandParams = {
boxBrandListQry: BoxBrandListQry;
};
type listBoxProductParams = {
boxProductListQry: BoxProductListQry;
};
type listBoxSpecParams = {
boxSpecListQry: BoxSpecListQry;
};
type listCompanyParams = {
companyListQry: CompanyListQry;
};
type listCompanyPaymentAccountParams = {
companyPaymentAccountListQry: CompanyPaymentAccountListQry;
};
type listCostItemParams = {
costItemListQry: CostItemListQry;
};
type listCostParams = {
costListQry: CostListQry;
};
type listDealerParams = {
dealerListQry: DealerListQry;
};
type listDealerPaymentAccountParams = {
dealerPaymentAccountListQry: DealerPaymentAccountListQry;
};
type listDealerRebateCustomerParams = {
dealerRebateCustomerListQry: DealerRebateCustomerListQry;
};
type listDealerWarehouseParams = {
dealerWarehouseListQry: DealerWarehouseListQry;
};
type listDictionaryParams = {
dictionaryListQry: DictionaryListQry;
};
type listEmployeeParams = {
employeeListQry: EmployeeListQry;
};
type listExpenseRecordParams = {
expenseRecordListQry: ExpenseRecordListQry;
};
type listGiftBoxParams = {
giftBoxListQry: GiftBoxListQry;
};
type listMenuParams = {
menuListQry: MenuListQry;
};
type listOrderParams = {
orderListQry: OrderListQry;
};
type listOrderShipParams = {
orderShipListQry: OrderShipListQry;
};
type listPermissionParams = {
permissionListQry: PermissionListQry;
};
type listPlatformParams = {
platformListQry: PlatformListQry;
};
type listProductParams = {
productListQry: ProductListQry;
};
type listRoleParams = {
roleListQry: RoleListQry;
};
type listSupplierParams = {
supplierListQry: SupplierListQry;
};
type listUserParams = {
userListQry: UserListQry;
};
type MaterialBatchAddCmd = {
/** 创建素材内容 */
materialCreateCmdList?: MaterialCreateCmd[];
};
type MaterialCreateCmd = {
/** 素材内容标题 */
name?: string;
/** 分类ID */
categoryId?: string;
/** 素材内容路劲 */
path?: string;
/** 素材类型 */
type?:
| "FILE_IMAGE"
| "FILE_VIDEO"
| "PRODUCT"
| "CUSTOMER_INTENTION"
| "COURSE"
| "ROOM"
| "SPEECH";
};
type MaterialDestroyCmd = {
/** 素材Id */
materialId: string;
};
type MaterialPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 素材内容标题 */
title?: string;
/** 素材类型 */
type?:
| "FILE_IMAGE"
| "FILE_VIDEO"
| "PRODUCT"
| "CUSTOMER_INTENTION"
| "COURSE"
| "ROOM"
| "SPEECH";
/** 素材内容ID */
materialId?: string;
/** 分类ID */
categoryId?: string;
offset?: number;
};
type MaterialShowQry = {
/** 素材内容ID */
materialId: string;
};
type MaterialUpdateCmd = {
/** 素材内容标题 */
name?: string;
/** 分类ID */
categoryId?: string;
/** 素材内容路劲 */
path?: string;
/** 素材类型 */
type?:
| "FILE_IMAGE"
| "FILE_VIDEO"
| "PRODUCT"
| "CUSTOMER_INTENTION"
| "COURSE"
| "ROOM"
| "SPEECH";
/** 素材内容ID */
materialId?: string;
};
type MaterialVO = {
/** 素材内容ID */
materialId: string;
/** 素材内容标题 */
name: string;
/** 素材内容路劲 */
path: string;
/** 素材内容地址 */
url: string;
/** 上级分类id */
categoryId: string;
/** 素材类型 */
type:
| "FILE_IMAGE"
| "FILE_VIDEO"
| "PRODUCT"
| "CUSTOMER_INTENTION"
| "COURSE"
| "ROOM"
| "SPEECH";
/** 分类内容 */
categoryVO?: CategoryVO;
};
type MenuCreateCmd = {
/** 路径 */
path: string;
/** 组件 */
component: string;
/** 菜单名称 */
name: string;
/** 上级菜单Id */
pid?: string;
/** 菜单类型 */
type: string;
/** 平台id */
platformId: string;
/** 角色Id */
roleId?: string[];
/** 是否隐藏 */
hideInMenu?: boolean;
/** 权限Id */
permissionId?: number;
/** 菜单图标 */
icon?: string;
/** 图标颜色 */
iconColor?: string;
/** 背景颜色类名 */
bgColorClass?: string;
};
type MenuDestroyCmd = {
/** 菜单Id */
menuId: string;
};
type MenuDragCmd = {
/** 相邻元素前 */
prevId?: number;
/** 相邻元素后 */
nextId?: number;
/** 当前元素 */
currentId?: number;
};
type MenuItem = {
/** 菜单Id */
menuId: string;
/** 菜单名称 */
menuName: string;
/** 菜单图标 */
menuIcon: string;
/** 菜单路径 */
menuRedirect: { empty?: boolean };
/** 菜单排序 */
menuSort: number;
};
type MenuListQry = {
/** 平台id */
platformId?: string;
/** 父级id */
pid?: string;
};
type MenuShowQry = {
/** 菜单Id */
menuId: string;
};
type MenuTreeQry = {
/** 平台id */
platformId?: string;
/** 父级id */
pid?: string;
};
type MenuUpdateCmd = {
/** 路径 */
path: string;
/** 组件 */
component: string;
/** 菜单名称 */
name: string;
/** 上级菜单Id */
pid?: string;
/** 菜单类型 */
type: string;
/** 平台id */
platformId: string;
/** 角色Id */
roleId?: string[];
/** 是否隐藏 */
hideInMenu?: boolean;
/** 权限Id */
permissionId?: number;
/** 菜单图标 */
icon?: string;
/** 图标颜色 */
iconColor?: string;
/** 背景颜色类名 */
bgColorClass?: string;
/** 菜单Id */
menuId: string;
};
type MenuVO = {
/** 菜单id */
menuId: string;
/** 菜单路径 */
path: string;
/** 组件 */
component: string;
/** 菜单名称 */
name: string;
/** 父菜单id */
pid: string;
/** 排序 */
sort: string;
/** 菜单类型 */
type: "MENU" | "PAGE" | "BUTTON";
/** 平台id */
platformId: string;
/** 是否隐藏 */
hideInMenu: boolean;
/** 子菜单 */
routes?: any[];
/** 权限id */
permissionId: number;
/** 菜单图标 */
icon?: string;
/** 图标颜色 */
iconColor?: string;
/** 背景颜色类名 */
bgColorClass?: string;
/** 创建时间 */
createdAt?: string;
};
type MultiResponseAgreementVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: AgreementVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseBoxBrandVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: BoxBrandVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseBoxProductVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: BoxProductVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseBoxSpecVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: BoxSpecVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseCompanyPaymentAccountVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: CompanyPaymentAccountVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseCompanyVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: CompanyVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseCostItemVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: CostItemVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseCostVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: CostVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseDealerPaymentAccountVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: DealerPaymentAccountVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseDealerRebateCustomerVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: DealerRebateCustomerVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseDealerVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: DealerVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseDealerWarehouseVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: DealerWarehouseVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseDictionaryVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: DictionaryVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseEmployeeVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: EmployeeVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseExpenseRecordVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: ExpenseRecordVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseGiftBoxVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: GiftBoxVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseMaterialVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: MaterialVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseMenuVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: MenuVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseOrderShipVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: OrderShipVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseOrderVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: OrderVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponsePermissionVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: PermissionVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponsePlatformVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: PlatformVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseProductVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: ProductVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseRoleVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: RoleVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseSupplierVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: SupplierVO[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseTreeLong = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: TreeLong[];
notEmpty?: boolean;
empty?: boolean;
};
type MultiResponseUserVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: UserVO[];
notEmpty?: boolean;
empty?: boolean;
};
type OrderApproveCmd = {
/** 采购订单ID */
orderId: string;
/** 步骤标识 */
active?: number;
/** 产地负责人 */
originPrincipal?: string;
/** 工头 */
foreman?: string;
/** 备注 */
remark?: string;
/** 车辆信息 */
orderVehicle: OrderVehicle;
/** 经销商信息 */
orderDealer: OrderDealer;
/** 供应商信息 */
orderSupplierList: OrderSupplier[];
/** 采购订单费用信息 */
orderCostList: OrderCost[];
/** 采购订单费用信息 */
orderCostItemList: OrderCostItem[];
/** 采购订单包装箱信息 */
orderPackageList: OrderPackage[];
/** 审核ID */
auditId: string;
/** 是否是暂存 */
draft: boolean;
/** 报价方式1_按毛重报价2_按净重报价 */
pricingMethod?: "BY_GROSS_WEIGHT" | "BY_NET_WEIGHT";
/** 公司信息 */
orderCompany: OrderCompany;
/** 返点信息 */
orderRebate: OrderRebate;
/** 发货单信息 */
orderShipList: OrderShip[];
};
type OrderCompany = {
/** 记录ID */
orderCompanyId: string;
/** 订单ID */
orderId: string;
/** 公司ID */
companyId: string;
/** 公司简称 */
shortName: string;
/** 公司全称 */
fullName: string;
/** 税号 */
taxNumber: string;
/** 联系人 */
contactPerson: string;
/** 联系电话 */
contactPhone: string;
/** 发货地址 */
address: string;
/** 账户ID */
accountId?: string;
/** 银行名称 */
bankName?: string;
/** 支行名称 */
branchName?: string;
/** 账户名称 */
accountName?: string;
/** 银行账号 */
accountNumber?: string;
};
type OrderCost = {
/** 记录ID */
orderCostId: string;
/** 订单ID */
orderId?: string;
/** 费用Id */
costId: string;
/** 成本项目名称 */
name: string;
/** 单价 */
price: number;
/** 单位 */
unit: string;
/** 数量 */
count: number;
/** 费用归属0_无归属1_工头2_产地3_司机 */
belong?: "NONE_TYPE" | "WORKER_TYPE" | "PRODUCTION_TYPE" | "DRIVER_TYPE";
/** 负责人 */
principal?: string;
/** 费用类型1_辅料类型2_人工类型3_产地类型4_其他类型5_物流类型 */
type:
| "MATERIAL_TYPE"
| "ARTIFICIAL_TYPE"
| "PRODUCTION_TYPE"
| "OTHER_TYPE"
| "LOGISTICS_TYPE"
| "EXPENSE_TYPE";
/** 关联项目id */
costItemIds?: string[];
/** 是否选中 */
selected: boolean;
/** 是否已付款 */
isPaid?: boolean;
};
type OrderCostCreateCmd = {
/** 订单ID */
orderId?: string;
/** 费用Id */
costId: string;
/** 成本项目名称 */
name: string;
/** 单价 */
price: number;
/** 单位 */
unit: string;
/** 数量 */
count: number;
/** 费用归属0_无归属1_工头2_产地3_司机 */
belong?: "NONE_TYPE" | "WORKER_TYPE" | "PRODUCTION_TYPE" | "DRIVER_TYPE";
/** 负责人 */
principal?: string;
/** 费用类型1_辅料类型2_人工类型3_产地类型4_其他类型5_物流类型 */
type:
| "MATERIAL_TYPE"
| "ARTIFICIAL_TYPE"
| "PRODUCTION_TYPE"
| "OTHER_TYPE"
| "LOGISTICS_TYPE"
| "EXPENSE_TYPE";
/** 关联项目id */
costItemIds?: string[];
/** 是否付款 */
isPaid?: boolean;
};
type OrderCostItem = {
/** 记录ID */
orderCostItemId: string;
/** 订单ID */
orderId: string;
/** 成本项目ID */
costItemId?: string;
/** 成本项目名称 */
name?: string;
/** 单价 */
price?: number;
/** 单位 */
unit?: string;
/** 数量 */
count?: number;
/** 费用承担方:1-我方,2-对方 */
payerType?: "US" | "OTHER";
/** 项目类型1_辅料类型2_人工类型 */
type?: "MATERIAL_TYPE" | "ARTIFICIAL_TYPE";
/** 录入规则1_填数量2_选纸箱3_数量和金额 */
rule: "INPUT_QUANTITY" | "SELECT_BOX" | "INPUT_QUANTITY_AND_AMOUNT";
/** 是否选中 */
selected: boolean;
};
type OrderCostPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 订单ID */
orderId?: string;
/** 订单ID */
costId?: string;
/** 供应商id */
supplierId?: string;
/** 订单状态 */
poStates?: ("DRAFT" | "AUDITING" | "COMPLETED" | "CLOSED")[];
/** 订单类型 */
poType?: "PRODUCTION_PURCHASE" | "MARKET_PURCHASE";
/** 所属方 */
belongs?: (
| "NONE_TYPE"
| "WORKER_TYPE"
| "PRODUCTION_TYPE"
| "DRIVER_TYPE"
)[];
/** 是否支付 */
isPaid?: boolean;
offset?: number;
};
type OrderCostVO = {
/** 记录ID */
orderCostId: string;
/** 订单ID */
orderId?: string;
/** 费用Id */
costId: string;
/** 成本项目名称 */
name: string;
/** 单价 */
price: number;
/** 单位 */
unit: string;
/** 数量 */
count: number;
/** 费用归属0_无归属1_工头2_产地3_司机 */
belong?: "NONE_TYPE" | "WORKER_TYPE" | "PRODUCTION_TYPE" | "DRIVER_TYPE";
/** 负责人 */
principal?: string;
/** 费用类型1_辅料类型2_人工类型3_产地类型4_其他类型5_物流类型 */
type:
| "MATERIAL_TYPE"
| "ARTIFICIAL_TYPE"
| "PRODUCTION_TYPE"
| "OTHER_TYPE"
| "LOGISTICS_TYPE"
| "EXPENSE_TYPE";
/** 关联项目id */
costItemIds?: string[];
/** 创建时间 */
createdAt: string;
/** 采购订单状态: 0_草稿1_审核中2_已完成3_已关闭 */
poState?: "DRAFT" | "AUDITING" | "COMPLETED" | "CLOSED";
/** 公司信息 */
orderCompany: OrderCompany;
/** 采购订单信息 */
orderVO: OrderVO;
/** 是否付款 */
isPaid?: boolean;
};
type OrderCountQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 采购订单状态: 0_草稿1_审核中2_已完成3_已关闭 */
state?: "DRAFT" | "AUDITING" | "COMPLETED" | "CLOSED";
/** 采购单审核状态: 1_待报价审核2_待老板审批3_老板审批通过4_报价审核驳回5_老板审批驳回 */
auditState?:
| "NONE"
| "PENDING_QUOTE_APPROVAL"
| "PENDING_BOSS_APPROVAL"
| "BOSS_APPROVED"
| "QUOTE_REJECTED"
| "BOSS_REJECTED";
/** 采购类型1_产地采购2_市场采购 */
type?: "PRODUCTION_PURCHASE" | "MARKET_PURCHASE";
};
type OrderCreateCmd = {
/** 采购订单ID */
orderId?: string;
/** 步骤标识 */
active?: number;
/** 产地负责人 */
originPrincipal?: string;
/** 工头 */
foreman?: string;
/** 备注 */
remark?: string;
/** 车辆信息 */
orderVehicle: OrderVehicle;
/** 经销商信息 */
orderDealer: OrderDealer;
/** 供应商信息 */
orderSupplierList: OrderSupplier[];
/** 采购订单费用信息 */
orderCostList: OrderCost[];
/** 采购订单费用信息 */
orderCostItemList: OrderCostItem[];
/** 采购订单包装箱信息 */
orderPackageList: OrderPackage[];
};
type OrderDealer = {
/** 记录ID */
orderDealerId?: string;
/** 采购订单ID */
orderId?: string;
/** 经销商ID */
dealerId: string;
/** 经销商简称 */
shortName: string;
/** 经销商类型1_市场2_超市 */
dealerType: "MARKET" | "SUPERMARKET";
/** 是否开启分成 */
enableShare?: boolean;
/** 分成比例 */
shareRatio?: number;
/** 运费是否作为成本 */
freightCostFlag?: boolean;
/** 草帘是否作为成本 */
strawMatCostFlag?: boolean;
/** 发货单合计金额是否含包装费 */
includePackingFlag?: boolean;
/** 发货单合计金额是否含包运费 */
includeFreightFlag?: boolean;
/** 是否开启计提税金 */
enableAccrualTax?: boolean;
/** 计提税金比例 */
accrualTaxRatio?: number;
/** 是否开启公司返点 */
enableCompanyRebate?: boolean;
/** 公司返点比例 */
companyRebateRatio?: number;
/** 是否可调整比例 */
shareAdjusted?: boolean;
/** 税费补贴 */
taxSubsidy?: number;
/** 计提税金 */
taxProvision?: number;
/** 成本差异 */
costDifference?: number;
/** 利润分成 */
profitSharing?: number;
/** 是否开启损耗 */
enableLoss?: boolean;
/** 损耗金额 */
lossAmount?: number;
};
type OrderDestroyCmd = {
/** 采购订单ID */
orderId: string;
};
type OrderFinalApproveCmd = {
/** 采购订单ID */
orderId: string;
/** 审核ID */
auditId: string;
};
type OrderListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 采购订单ID */
orderId?: string;
/** 采购订单编号 */
orderSn?: string;
/** 采购订单状态: 0_草稿1_审核中2_已完成3_已关闭 */
state?: "DRAFT" | "AUDITING" | "COMPLETED" | "CLOSED";
/** 采购单审核状态: 1_待报价审核2_待老板审批3_老板审批通过4_报价审核驳回5_老板审批驳回 */
auditState?:
| "NONE"
| "PENDING_QUOTE_APPROVAL"
| "PENDING_BOSS_APPROVAL"
| "BOSS_APPROVED"
| "QUOTE_REJECTED"
| "BOSS_REJECTED";
/** 采购类型1_产地采购2_市场采购 */
type?: "PRODUCTION_PURCHASE" | "MARKET_PURCHASE";
};
type OrderPackage = {
/** 记录ID */
orderPackageId?: string;
/** 采购订单记录ID */
orderId?: string;
/** 供应商记录ID */
orderSupplierId?: string;
/** 箱子品牌ID */
boxBrandId: string;
/** 箱子品牌名称 */
boxBrandName: string;
/** 箱子品牌图片 */
boxBrandImage?: string;
/** 箱子品牌类型1_我方纸箱2_瓜农纸箱3_第三方纸箱4_礼盒 */
boxBrandType: "OUR_BOX" | "FARMER_BOX" | "THIRD_PARTY_BOX" | "GIFT_BOX";
/** 箱子规格ID */
boxSpecId: string;
/** 箱子规格名称 */
boxSpecName: string;
/** 箱子产品ID */
boxProductId: string;
/** 箱子产品名称 */
boxProductName: string;
/** 单个箱子重量(kg) */
boxProductWeight: number;
/** 箱子数量 */
boxCount: number;
/** 成本单价(元/个) */
boxCostPrice?: number;
/** 销售单价(元/个) */
boxSalePrice?: number;
/** 箱子类型:1_本次使用2_额外运输3_已使用额外运输4_车上剩余5_瓜农纸箱6_空箱 */
boxType: "USED" | "EXTRA" | "EXTRA_USED" | "REMAIN" | "OWN" | "EMPTY";
};
type OrderPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 采购订单ID */
orderId?: string;
/** 车辆编号 */
vehicleNo?: string;
/** 采购订单编号 */
orderSn?: string;
/** 采购订单状态: 0_草稿1_审核中2_已完成3_已关闭 */
state?: "DRAFT" | "AUDITING" | "COMPLETED" | "CLOSED";
/** 采购单审核状态: 1_待报价审核2_待老板审批3_老板审批通过4_报价审核驳回5_老板审批驳回 */
auditState?:
| "NONE"
| "PENDING_QUOTE_APPROVAL"
| "PENDING_BOSS_APPROVAL"
| "BOSS_APPROVED"
| "QUOTE_REJECTED"
| "BOSS_REJECTED";
/** 采购类型1_产地采购2_市场采购 */
type?: "PRODUCTION_PURCHASE" | "MARKET_PURCHASE";
/** 供应商名称 */
supplierName?: string;
/** 经销商ID */
dealerId?: string;
/** 供应商ID */
supplierId?: string;
offset?: number;
};
type OrderRebate = {
/** 记录ID */
orderRebateId?: string;
/** 订单ID */
orderId?: string;
/** 客户ID */
customerId?: string;
/** 经销商ID */
dealerId?: string;
/** 客户名称 */
name?: string;
/** 返点计算方式1_按净重计算2_固定金额 */
calcMethod?: "NET_WEIGHT" | "FIXED_AMOUNT";
/** 返点净重 */
netWeight?: number;
/** 返点单价 */
unitPrice?: number;
/** 返点金额 */
amount?: number;
/** 是否已付款 */
isPaid?: boolean;
};
type OrderRebatePageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 订单ID */
orderId?: string;
/** 订单状态 */
poStates?: ("DRAFT" | "AUDITING" | "COMPLETED" | "CLOSED")[];
/** 订单类型 */
poType?: "PRODUCTION_PURCHASE" | "MARKET_PURCHASE";
/** 是否支付 */
isPaid?: boolean;
offset?: number;
};
type OrderRebateVO = {
/** 记录ID */
orderRebateId?: string;
/** 订单ID */
orderId?: string;
/** 客户ID */
customerId?: string;
/** 经销商ID */
dealerId?: string;
/** 客户名称 */
name?: string;
/** 返点计算方式1_按净重计算2_固定金额 */
calcMethod?: "NET_WEIGHT" | "FIXED_AMOUNT";
/** 返点净重 */
netWeight?: number;
/** 返点单价 */
unitPrice?: number;
/** 返点金额 */
amount?: number;
/** 创建时间 */
createdAt: string;
/** 采购订单状态: 0_草稿1_审核中2_已完成3_已关闭 */
poState?: "DRAFT" | "AUDITING" | "COMPLETED" | "CLOSED";
/** 公司信息 */
orderCompany: OrderCompany;
/** 采购订单信息 */
orderVO: OrderVO;
/** 是否付款 */
isPaid?: boolean;
};
type OrderRejectApproveCmd = {
/** 采购订单ID */
orderId: string;
/** 审核ID */
auditId: string;
/** 审核原因 */
rejectReason: string;
};
type OrderRejectFinalCmd = {
/** 采购订单ID */
orderId: string;
/** 审核ID */
auditId: string;
/** 驳回原因 */
rejectReason: string;
};
type OrderShip = {
/** 发货单ID */
orderShipId: string;
/** 采购单ID */
orderId: string;
/** 发货单编号 */
orderSn: string;
/** 经销商ID */
dealerId?: string;
/** 经销商名称 */
dealerName?: string;
/** 仓库ID */
warehouseId?: string;
/** 仓库名称 */
warehouseName?: string;
/** 公司ID */
companyId: string;
/** 公司名称 */
companyName: string;
/** 发货地址 */
shippingAddress: string;
/** 收货地址 */
receivingAddress: string;
/** 发货日期 */
shippingDate: string;
/** 预计到仓时间 */
estimatedArrivalDate: string;
/** 西瓜品级 */
watermelonGrade: string;
/** 瓜农姓名逗号隔开 */
farmerInfo?: string;
/** 发货单状态0_草稿1_待发货2_待回款3_待改签4_部分回款5_已回款6_拒收完结7_已完结 */
state:
| "DRAFT"
| "WAIT_SHIPMENT"
| "WAIT_PAYMENT"
| "WAIT_CHANGE"
| "PARTIAL_PAYMENT"
| "FULL_PAYMENT"
| "REJECT_FINISH"
| "FINISH";
/** 发货单类型1_采购发货2_调货发货3_改签发货4_退货发货 */
type?: "PURCHASE_SHIP" | "TRANSFER_SHIP" | "CHANGE_SHIP" | "RETURN_SHIP";
/** 备注 */
remark?: string;
/** 发货单明细 */
orderShipItemList?: OrderShipItem[];
/** PDF 文件地址 */
pdfUrl?: string;
/** 图片文件地址 */
picUrl?: string;
};
type OrderShipCreateCmd = {
/** 创建人ID */
createdBy: string;
/** 创建人姓名 */
createdByName?: string;
/** 发货单ID */
orderShipId: string;
/** 采购单ID */
orderId: string;
/** 发货单编号 */
orderSn?: string;
/** 发货地址 */
shippingAddress?: string;
/** 收货地址 */
receivingAddress?: string;
/** 发货日期 */
shippingDate?: string;
/** 预计到仓时间 */
estimatedArrivalDate?: string;
/** 西瓜品级 */
watermelonGrade?: string;
/** 瓜农姓名逗号隔开 */
farmerInfo?: string;
/** 公司ID */
companyId?: string;
/** 公司名称 */
companyName?: string;
/** 备注 */
remark?: string;
/** 发货单明细 */
orderShipItemList?: OrderShipItem[];
};
type OrderShipDestroyCmd = {
/** 发货单ID */
orderShipId: string;
};
type OrderShipGenerateDocumentCmd = {
/** 发货单ID */
orderShipId: string;
/** 预计到仓时间 */
estimatedArrivalDate?: string;
/** 西瓜品级 */
watermelonGrade?: string;
/** 发货地址 */
shippingAddress?: string;
/** 备注 */
remark?: string;
/** 发货单明细 */
orderShipItemList?: OrderShipItem[];
/** PDF 文件地址 */
pdfUrl?: string;
/** 图片文件地址 */
picUrl?: string;
};
type OrderShipItem = {
/** 发货单子项ID */
orderShipItemId: string;
/** 发货单ID */
orderShipId: string;
/** 采购订单ID */
orderId: string;
/** 毛重(斤) */
grossWeight?: number;
/** 箱重(斤) */
boxWeight?: number;
/** 箱数 */
boxCount?: number;
/** 净重(斤) */
netWeight?: number;
/** 单价(元) */
unitPrice?: number;
/** 总金额(元) */
totalAmount?: number;
/** 西瓜品级 */
watermelonGrade?: string;
/** 创建时间 */
createdAt?: string;
};
type OrderShipListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 发货单ID */
orderShipId?: string;
};
type OrderShipPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 发货单ID */
orderShipId?: string;
/** 车辆编号 */
vehicleNo?: string;
/** 采购订单编号 */
orderSn?: string;
/** 发货单状态0_草稿1_待发货2_待回款3_待改签4_部分回款5_已回款6_拒收完结7_已完结 */
state?:
| "DRAFT"
| "WAIT_SHIPMENT"
| "WAIT_PAYMENT"
| "WAIT_CHANGE"
| "PARTIAL_PAYMENT"
| "FULL_PAYMENT"
| "REJECT_FINISH"
| "FINISH";
/** 发货单类型1_采购发货2_调货发货3_改签发货4_退货发货 */
type?: "PURCHASE_SHIP" | "TRANSFER_SHIP" | "CHANGE_SHIP" | "RETURN_SHIP";
/** 供应商名称 */
supplierName?: string;
/** 经销商ID */
dealerId?: string;
offset?: number;
};
type OrderShipShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 发货单ID */
orderShipId?: string;
/** 采购单ID */
orderId?: string;
};
type OrderShipUpdateCmd = {
/** 发货单ID */
orderShipId: string;
/** 预计到仓时间 */
estimatedArrivalDate?: string;
/** 西瓜品级 */
watermelonGrade?: string;
/** 发货地址 */
shippingAddress?: string;
/** 公司ID */
companyId?: string;
/** 公司名称 */
companyName?: string;
/** 备注 */
remark?: string;
/** 发货单明细 */
orderShipItemList?: OrderShipItem[];
/** PDF 文件地址 */
pdfUrl?: string;
/** 图片文件地址 */
picUrl?: string;
};
type OrderShipVO = {
/** 发货单ID */
orderShipId: string;
/** 采购单ID */
orderId: string;
/** 经销商ID */
dealerId: string;
/** 经销商名称 */
dealerName: string;
/** 发货单编号 */
orderSn: string;
/** 仓库ID */
warehouseId?: string;
/** 仓库名称 */
warehouseName?: string;
/** 公司ID */
companyId?: string;
/** 公司名称 */
companyName?: string;
/** 发货地址 */
shippingAddress?: string;
/** 收货地址 */
receivingAddress?: string;
/** 发货日期 */
shippingDate?: string;
/** 预计到仓时间 */
estimatedArrivalDate?: string;
/** 西瓜品级 */
watermelonGrade?: string;
/** 瓜农姓名逗号隔开 */
farmerInfo?: string;
/** PDF 文件地址 */
pdfUrl?: string;
/** 图片文件地址 */
picUrl?: string;
/** 发货单状态0_草稿1_待发货2_待回款3_待改签4_部分回款5_已回款6_拒收完结7_已完结 */
state:
| "DRAFT"
| "WAIT_SHIPMENT"
| "WAIT_PAYMENT"
| "WAIT_CHANGE"
| "PARTIAL_PAYMENT"
| "FULL_PAYMENT"
| "REJECT_FINISH"
| "FINISH";
/** 发货单类型1_采购发货2_调货发货3_改签发货4_退货发货 */
type: "PURCHASE_SHIP" | "TRANSFER_SHIP" | "CHANGE_SHIP" | "RETURN_SHIP";
/** 备注 */
remark?: string;
/** 创建人ID */
createdBy: string;
/** 创建人姓名 */
createdByName?: string;
/** 创建时间 */
createdAt?: string;
/** 发货单明细 */
orderShipItemList?: OrderShipItem[];
/** 发货单成本项目信息 */
orderCostList?: OrderCost[];
/** 采购订单车辆运输信息 */
orderVO?: OrderVO;
};
type OrderShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 采购订单ID */
orderId?: string;
/** 采购订单发货ID */
orderShipId?: string;
/** 采购类型1_产地采购2_市场采购 */
type?: "PRODUCTION_PURCHASE" | "MARKET_PURCHASE";
};
type OrderStep1Cmd = {
/** 采购订单ID */
orderId?: string;
/** 步骤标识 */
active?: number;
/** 采购类型1_产地采购2_市场采购 */
type?: "PRODUCTION_PURCHASE" | "MARKET_PURCHASE";
/** 车辆信息 */
orderVehicle: OrderVehicle;
/** 经销商信息 */
orderDealer: OrderDealer;
};
type OrderStep2Cmd = {
/** 采购订单ID */
orderId: string;
/** 步骤标识 */
active?: number;
/** 采购类型1_产地采购2_市场采购 */
type?: "PRODUCTION_PURCHASE" | "MARKET_PURCHASE";
/** 供应商信息 */
orderSupplierList: OrderSupplier[];
};
type OrderStep3Cmd = {
/** 采购订单ID */
orderId: string;
/** 步骤标识 */
active?: number;
/** 工头 */
foreman?: string;
/** 采购类型1_产地采购2_市场采购 */
type?: "PRODUCTION_PURCHASE" | "MARKET_PURCHASE";
/** 采购订单费用信息 */
orderCostList: OrderCost[];
/** 采购订单包装箱信息 */
orderPackageList: OrderPackage[];
/** 采购订单项目信息 */
orderCostItemList: OrderCostItem[];
};
type OrderSubmitReviewCmd = {
/** 采购订单ID */
orderId: string;
};
type OrderSupplier = {
/** 记录ID */
orderSupplierId: string;
/** 订单ID */
orderId?: string;
/** 供应商ID */
supplierId?: string;
/** 供应商姓名 */
name: string;
/** 收款人姓名 */
payeeName: string;
/** 身份证号 */
idCard: string;
/** 银行名称 */
bankName: string;
/** 银行卡号 */
bankCard: string;
/** 手机号 */
phone: string;
/** 微信二维码 */
wechatQr?: string;
/** 供应商类型1_瓜农2_自家档口3_其他家档口 */
type: "FARMER" | "STALL" | "OTHER_STALL";
/** 是否最后一家 */
isLast: boolean;
/** 空磅是否包含纸箱 */
isPaper: boolean;
/** 空车重量(kg) */
emptyWeight: number;
/** 总重量(kg) */
totalWeight: number;
/** 毛重(kg) */
grossWeight: number;
/** 净重(kg) */
netWeight: number;
/** 采购单价(元/斤) */
purchasePrice: number;
/** 箱子类型 */
packageUsage: SupplierPackageUsage[];
/** 装车模式 1_搭架子+网垫2_纸箱+胶带+木隔板 */
loadingMode?: "FRAME_WITH_NET" | "BOX_WITH_TAPE";
/** 销售单价(元/斤) */
salePrice: number;
/** 报价方式1_按毛重报价2_按净重报价 */
pricingMethod?: "BY_GROSS_WEIGHT" | "BY_NET_WEIGHT";
/** 发票金额 */
invoiceAmount: number;
/** 空车照片 */
emptyWeightImg?: string;
/** 满载照片 */
totalWeightImg?: string;
/** 是否上传票证 */
invoiceUpload: boolean;
/** 发票 */
invoiceImg?: UploadFileItem[];
/** 是否上传合同 */
contractUpload: boolean;
/** 合同 */
contractImg?: UploadFileItem[];
/** 产品ID */
productId?: string;
/** 产品名称 */
productName?: string;
/** 关联费用id */
costIds?: string[];
/** 成本模板 */
costTemplate?: string;
/** 是否已付定金 */
isDepositPaid?: boolean;
/** 定金金额 */
depositAmount?: number;
/** 是否付款 */
isPaid?: boolean;
/** 采购订单包装箱信息 */
orderPackageList?: OrderPackage[];
/** 采购订单公司信息 */
orderCompany?: OrderCompany;
/** 是否选中 */
selected: boolean;
/** 采购订单状态: 0_草稿1_审核中2_已完成3_已关闭 */
poState?: "DRAFT" | "AUDITING" | "COMPLETED" | "CLOSED";
/** 创建时间 */
createdAt?: string;
};
type OrderSupplierBatchInvoiceUploadCmd = {
/** 供应商ID列表 */
orderSupplierIdList: string[];
/** 是否上传票证 */
invoiceUpload?: boolean;
/** 发票照片 */
invoiceImg?: UploadFileItem[];
};
type OrderSupplierPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 订单供应商ID */
orderSupplierId?: string;
/** 订单ID */
orderId?: string;
/** 供应商id */
supplierId?: string;
/** 发货日期 */
deliveryTime?: string[];
/** 发票上传 */
invoiceUpload?: boolean;
/** 订单状态 */
poStates?: ("DRAFT" | "AUDITING" | "COMPLETED" | "CLOSED")[];
/** 订单类型 */
poType?: "PRODUCTION_PURCHASE" | "MARKET_PURCHASE";
/** 是否支付 */
isPaid?: boolean;
offset?: number;
};
type OrderSupplierUpdateCmd = {
/** 订单供应商ID */
orderSupplierId: string;
/** 是否上传票证 */
invoiceUpload?: boolean;
/** 发票照片 */
invoiceImg?: UploadFileItem[];
/** 是否上传合同 */
contractUpload?: boolean;
/** 合同照片 */
contractImg?: UploadFileItem[];
/** 是否已付定金 */
isDepositPaid?: boolean;
/** 定金金额 */
depositAmount?: number;
/** 是否付款 */
isPaid?: boolean;
/** 装车模式 1_搭架子+网垫2_纸箱+胶带+木隔板 */
loadingMode?: "FRAME_WITH_NET" | "BOX_WITH_TAPE";
};
type OrderSupplierVO = {
/** 记录ID */
orderSupplierId: string;
/** 订单ID */
orderId: string;
/** 供应商ID */
supplierId: string;
/** 供应商姓名 */
name: string;
/** 收款人姓名 */
payeeName: string;
/** 身份证号 */
idCard: string;
/** 银行名称 */
bankName: string;
/** 银行卡号 */
bankCard: string;
/** 手机号 */
phone: string;
/** 微信二维码 */
wechatQr: string;
/** 供应商类型1_瓜农2_自家档口3_其他家档口 */
type: "FARMER" | "STALL" | "OTHER_STALL";
/** 是否最后一家 */
isLast: boolean;
/** 空磅是否包含纸箱 */
isPaper: boolean;
/** 产品id */
productId: string;
/** 产品名称 */
productName: string;
/** 装车模式1_搭架子+网垫2_纸箱+胶带+木隔板 */
loadingMode: "FRAME_WITH_NET" | "BOX_WITH_TAPE";
/** 空车重量(kg) */
emptyWeight: number;
/** 总重量(kg) */
totalWeight: number;
/** 毛重(斤) */
grossWeight: number;
/** 净重(斤) */
netWeight: number;
/** 采购单价(元/斤) */
purchasePrice: number;
/** 销售单价(元/斤) */
salePrice: number;
/** 报价方式1_按毛重报价2_按净重报价 */
pricingMethod: "BY_GROSS_WEIGHT" | "BY_NET_WEIGHT";
/** 发票金额 */
invoiceAmount: number;
/** 是否已付定金 */
isDepositPaid: boolean;
/** 定金金额 */
depositAmount: number;
/** 是否付款 */
isPaid: boolean;
/** 空车照片 */
emptyWeightImg: string;
/** 满载照片 */
totalWeightImg: string;
/** 是否上传票证 */
invoiceUpload: boolean;
/** 发票照片 */
invoiceImg: UploadFileItem[];
/** 是否上传合同 */
contractUpload: boolean;
/** 合同照片 */
contractImg: UploadFileItem[];
/** 创建时间 */
createdAt: string;
/** 采购订单状态: 0_草稿1_审核中2_已完成3_已关闭 */
poState?: "DRAFT" | "AUDITING" | "COMPLETED" | "CLOSED";
/** 公司信息 */
orderCompany: OrderCompany;
/** 采购订单信息 */
orderVO: OrderVO;
};
type OrderUpdateCmd = {
/** 采购订单ID */
orderId: string;
/** 步骤标识 */
active?: number;
/** 产地负责人 */
originPrincipal?: string;
/** 工头 */
foreman?: string;
/** 备注 */
remark?: string;
/** 车辆信息 */
orderVehicle: OrderVehicle;
/** 经销商信息 */
orderDealer: OrderDealer;
/** 供应商信息 */
orderSupplierList: OrderSupplier[];
/** 采购订单费用信息 */
orderCostList: OrderCost[];
/** 采购订单费用信息 */
orderCostItemList: OrderCostItem[];
/** 采购订单包装箱信息 */
orderPackageList: OrderPackage[];
};
type OrderVehicle = {
/** 记录ID */
vehicleId?: string;
/** 订单ID */
orderId?: string;
/** 车货编码 */
vehicleNo?: string;
/** 车牌号 */
plate: string;
/** 司机姓名 */
driver: string;
/** 司机电话 */
phone: string;
/** 出发地 */
origin: string;
/** 目的地 */
destination: string;
/** 运费类型1-主运费2-短驳费; */
priceType?: "MAIN_FREIGHT" | "SHORT_TRANSPORT";
/** 运输价格 */
price: number;
/** 经销商ID */
dealerId?: string;
/** 经销商名称 */
dealerName: string;
/** 是否开启草帘 */
openStrawCurtain: boolean;
/** 草帘费用 */
strawCurtainPrice?: number;
/** 采购日期 */
deliveryTime: string;
};
type OrderVO = {
/** 订单ID */
orderId: string;
/** 订单编号 */
orderSn: string;
/** 是否是草稿 */
draft: boolean;
/** 步骤标识 */
active: number;
/** 产地负责人 */
originPrincipal?: string;
/** 工头 */
foreman?: string;
/** 报价方式1_按毛重报价2_按净重报价 */
pricingMethod?: "BY_GROSS_WEIGHT" | "BY_NET_WEIGHT";
/** 采购订单状态: 0_草稿1_审核中2_已完成3_已关闭 */
state: "DRAFT" | "AUDITING" | "COMPLETED" | "CLOSED";
/** 采购单审核状态: 1_待报价审核2_待老板审批3_老板审批通过4_报价审核驳回5_老板审批驳回 */
auditState:
| "NONE"
| "PENDING_QUOTE_APPROVAL"
| "PENDING_BOSS_APPROVAL"
| "BOSS_APPROVED"
| "QUOTE_REJECTED"
| "BOSS_REJECTED";
/** 采购类型1_产地采购2_市场采购 */
type: "PRODUCTION_PURCHASE" | "MARKET_PURCHASE";
/** 备注 */
remark?: string;
/** 创建人ID */
createdBy: string;
/** 创建人姓名 */
createdByName?: string;
/** 创建时间 */
createdAt?: string;
/** 返点信息 */
orderRebate: OrderRebate;
/** 车辆信息 */
orderVehicle: OrderVehicle;
/** 公司信息 */
orderCompany: OrderCompany;
/** 经销商信息 */
orderDealer: OrderDealer;
/** 供应商信息 */
orderSupplierList: OrderSupplier[];
/** 采购订单费用信息 */
orderCostList: OrderCost[];
/** 采购订单包装箱信息 */
orderPackageList: OrderPackage[];
/** 采购订单项目信息 */
orderCostItemList: OrderCostItem[];
/** 采购订单发货信息 */
orderShipList: OrderShip[];
};
type OrderWithdrawReviewCmd = {
/** 采购订单ID */
orderId: string;
/** 审核ID */
auditId: string;
};
type OssTokenVO = {
securityToken?: string;
accessKeySecret?: string;
accessKeyId?: string;
domain?: string;
bucket?: string;
region?: string;
};
type pageAgreementParams = {
agreementPageQry: AgreementPageQry;
};
type pageAuditParams = {
auditPageQry: AuditPageQry;
};
type pageBoxBrandParams = {
boxBrandPageQry: BoxBrandPageQry;
};
type pageBoxProductParams = {
boxProductPageQry: BoxProductPageQry;
};
type pageBoxSpecParams = {
boxSpecPageQry: BoxSpecPageQry;
};
type pageChannelParams = {
channelPageQry: ChannelPageQry;
};
type pageCompanyParams = {
companyPageQry: CompanyPageQry;
};
type pageCompanyPaymentAccountParams = {
companyPaymentAccountPageQry: CompanyPaymentAccountPageQry;
};
type pageCostItemParams = {
costItemPageQry: CostItemPageQry;
};
type pageCostParams = {
costPageQry: CostPageQry;
};
type pageDealerParams = {
dealerPageQry: DealerPageQry;
};
type pageDealerPaymentAccountParams = {
dealerPaymentAccountPageQry: DealerPaymentAccountPageQry;
};
type pageDealerRebateCustomerParams = {
dealerRebateCustomerPageQry: DealerRebateCustomerPageQry;
};
type pageDealerWarehouseParams = {
dealerWarehousePageQry: DealerWarehousePageQry;
};
type pageDictionaryParams = {
dictionaryPageQry: DictionaryPageQry;
};
type pageEmployeeParams = {
employeePageQry: EmployeePageQry;
};
type pageGiftBoxParams = {
giftBoxPageQry: GiftBoxPageQry;
};
type pageMaterialParams = {
materialPageQry: MaterialPageQry;
};
type pageOrderCostParams = {
orderCostPageQry: OrderCostPageQry;
};
type pageOrderParams = {
orderPageQry: OrderPageQry;
};
type pageOrderRebateParams = {
orderRebatePageQry: OrderRebatePageQry;
};
type pageOrderShipParams = {
orderShipPageQry: OrderShipPageQry;
};
type pageOrderSupplierParams = {
orderSupplierPageQry: OrderSupplierPageQry;
};
type pagePermissionParams = {
permissionPageQry: PermissionPageQry;
};
type pagePlatformParams = {
platformPageQry: PlatformPageQry;
};
type pageProductParams = {
productPageQry: ProductPageQry;
};
type PageResponseAgreementVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: AgreementVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseAuditVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: AuditVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseBoxBrandVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: BoxBrandVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseBoxProductVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: BoxProductVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseBoxSpecVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: BoxSpecVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseChannelVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: ChannelVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseCompanyPaymentAccountVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: CompanyPaymentAccountVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseCompanyVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: CompanyVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseCostItemVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: CostItemVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseCostVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: CostVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseDealerPaymentAccountVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: DealerPaymentAccountVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseDealerRebateCustomerVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: DealerRebateCustomerVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseDealerVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: DealerVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseDealerWarehouseVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: DealerWarehouseVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseDictionaryVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: DictionaryVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseEmployeeVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: EmployeeVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseGiftBoxVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: GiftBoxVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseMaterialVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: MaterialVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseOrderCostVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: OrderCostVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseOrderRebateVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: OrderRebateVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseOrderShipVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: OrderShipVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseOrderSupplierVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: OrderSupplierVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseOrderVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: OrderVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponsePermissionVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: PermissionVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponsePlatformVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: PlatformVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseProductVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: ProductVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseRoleVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: RoleVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseSupplierVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: SupplierVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type PageResponseUserVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
totalCount?: number;
pageSize?: number;
pageIndex?: number;
data?: UserVO[];
notEmpty?: boolean;
totalPages?: number;
empty?: boolean;
};
type pageRoleParams = {
rolePageQry: RolePageQry;
};
type pageSupplierParams = {
supplierPageQry: SupplierPageQry;
};
type pageUserParams = {
userPageQry: UserPageQry;
};
type PermissionCreateCmd = {
/** 权限标识 */
slug: string;
/** 权限名称 */
name: string;
};
type PermissionDestroyCmd = {
/** 权限Id */
permissionId: string;
};
type PermissionListQry = Record<string, any>;
type PermissionPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 权限标识 */
slug?: string;
/** 权限名称 */
name?: string;
offset?: number;
};
type PermissionShowQry = {
/** 权限Id */
permissionId: string;
};
type PermissionUpdateCmd = {
/** 权限标识 */
slug: string;
/** 权限名称 */
name: string;
/** 权限Id */
permissionId: string;
};
type PermissionVO = {
/** 权限Id */
permissionId: string;
/** 权限标识 */
slug: string;
/** 权限名称 */
name: string;
};
type PlatformCreateCmd = {
/** 平台名称 */
platformName: string;
/** 首页 */
homePage: string;
};
type PlatformDestroyCmd = {
/** 平台ID */
platformId: string;
};
type PlatformListQry = Record<string, any>;
type PlatformPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 平台ID */
platformId: string;
offset?: number;
};
type PlatformShowQry = {
/** 平台ID */
platformId: string;
};
type PlatformUpdateCmd = {
/** 平台名称 */
platformName: string;
/** 首页 */
homePage: string;
/** 平台ID */
platformId: string;
};
type PlatformVO = {
/** 平台id */
platformId: string;
/** 平台名称 */
platformName: string;
/** 应用首页 */
homePage: string;
};
type ProductCreateCmd = {
/** 产品ID */
productId: string;
/** 产品名称 */
name: string;
/** 关联成本费用id */
costIds?: string[];
/** 成本模板 */
costTemplate?: string;
/** 备注 */
remark?: string;
/** 排序号 */
sort: number;
/** 状态1_启用0_禁用 */
status: boolean;
/** 创建时间 */
createdAt?: string;
};
type ProductDestroyCmd = {
/** 产品表ID */
productId: string;
};
type ProductDragCmd = {
/** 相邻元素前 */
prevId?: number;
/** 相邻元素后 */
nextId?: number;
/** 当前元素 */
currentId?: number;
};
type ProductListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 产品表ID */
productId?: string;
};
type ProductPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 产品表ID */
productId?: string;
offset?: number;
};
type ProductShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 产品表ID */
productId?: string;
};
type ProductUpdateCmd = {
/** 产品表ID */
productId: string;
/** 产品名称 */
name: string;
/** 关联成本费用id */
costIds?: string[];
/** 成本模板 */
costTemplate?: string;
/** 备注 */
remark?: string;
/** 排序号 */
sort: number;
/** 状态1_启用0_禁用 */
status: boolean;
/** 创建时间 */
createdAt?: string;
};
type ProductVO = {
/** 产品ID */
productId: string;
/** 产品名称 */
name: string;
/** 备注 */
remark?: string;
/** 排序号 */
sort: number;
/** 状态1_启用0_禁用 */
status: boolean;
/** 成本ID集合 */
costIds?: string[];
/** 成本费用 */
costVOList?: CostVO[];
/** 成本模板 */
costTemplate?: string;
/** 创建时间 */
createdAt?: string;
};
type Response = {
success?: boolean;
errCode?: string;
errMessage?: string;
};
type RoleCreateCmd = {
/** 平台id */
platformId: string;
/** 角色标识 */
slug: string;
/** 角色名称 */
name: string;
/** 角色类型 */
type: string;
/** 角色详情 */
description?: string;
/** 角色id */
menuId: string[];
};
type RoleDestroyCmd = {
/** 角色ID */
roleId?: string;
};
type RoleListQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 角色名称 */
name?: string;
/** 用户Id */
userId?: string;
/** 角色编号 */
roleId?: string;
/** 应用角色Id */
roleIdList?: string[];
/** 平台Id */
platformId?: string;
/** 平台Id */
platformIdList?: string;
/** 角色类型 */
type?: number;
offset?: number;
};
type RolePageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 角色名称 */
name?: string;
/** 角色标识 */
slug?: string;
/** 角色类型 */
type?: string;
/** 角色编号 */
roleId?: string;
/** 平台id */
platformId?: string;
offset?: number;
};
type RoleShowQry = {
/** 角色编号 */
roleId?: string;
};
type RoleUpdateCmd = {
/** 平台id */
platformId: string;
/** 角色标识 */
slug: string;
/** 角色名称 */
name: string;
/** 角色类型 */
type: string;
/** 角色详情 */
description?: string;
/** 角色id */
menuId: string[];
/** 角色ID */
roleId: string;
};
type RoleVO = {
/** 角色id */
roleId: string;
/** 标识 */
slug: string;
/** 名称 */
name: string;
/** 类型 */
type: string;
/** 描述 */
description?: string;
/** 平台id */
platformId: string;
/** 平台 */
platformVO?: PlatformVO;
/** 权限列表 */
permissionId: string[];
/** 菜单列表 */
menuId: string[];
/** 创建时间 */
createdAt: string;
};
type SettingShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 系统设置项key */
settingKey:
| "WX_MA_CONFIG"
| "WX_MA_MESSAGE_PUSH_CONFIG"
| "WX_MA_SUBSCRIBE_MESSAGE_CONFIG"
| "WX_MA_CODE_UPLOAD_CONFIG"
| "WX_PAY_CONFIG"
| "TENCENT_MAP_CONFIG"
| "SMS_CONFIG"
| "VIRTUAL_PHONE_CONFIG"
| "WX_MP_CONFIG"
| "WX_MP_MESSAGE_PUSH_CONFIG"
| "ALI_PAY_CONFIG"
| "CHARGING_PILE_PURCHASE_CONFIG"
| "CUSTOM_THEME_CONFIG"
| "CUSTOM_MENU_CONFIG"
| "WX_CP_NOTIFY_CONFIG"
| "SMART_RECOGNITION_PROMPT";
};
type SettingUpdateCmd = {
/** 系统设置项ID */
settingId?: string;
/** 系统设置项key */
settingKey:
| "WX_MA_CONFIG"
| "WX_MA_MESSAGE_PUSH_CONFIG"
| "WX_MA_SUBSCRIBE_MESSAGE_CONFIG"
| "WX_MA_CODE_UPLOAD_CONFIG"
| "WX_PAY_CONFIG"
| "TENCENT_MAP_CONFIG"
| "SMS_CONFIG"
| "VIRTUAL_PHONE_CONFIG"
| "WX_MP_CONFIG"
| "WX_MP_MESSAGE_PUSH_CONFIG"
| "ALI_PAY_CONFIG"
| "CHARGING_PILE_PURCHASE_CONFIG"
| "CUSTOM_THEME_CONFIG"
| "CUSTOM_MENU_CONFIG"
| "WX_CP_NOTIFY_CONFIG"
| "SMART_RECOGNITION_PROMPT";
/** 系统设置项内容 */
settingValue:
| AliPayConfigValue
| ChargingPilePurchaseConfig
| CustomMenuConfigValue
| CustomThemeConfigValue
| SmartRecognitionPromptValue
| TencentMapConfigValue
| WxCpNotifyConfigValue
| WxMaCodeUploadConfigValue
| WxMaConfigValue
| WxMaMessagePushConfigValue
| WxMaSubscribeMessageConfigValue
| WxMpConfigValue
| WxMpMessagePushConfigValue
| WxPayConfigValue;
};
type SettingValue = {
settingKey: string;
};
type SettingVO = {
/** 系统设置项key */
settingKey:
| "WX_MA_CONFIG"
| "WX_MA_MESSAGE_PUSH_CONFIG"
| "WX_MA_SUBSCRIBE_MESSAGE_CONFIG"
| "WX_MA_CODE_UPLOAD_CONFIG"
| "WX_PAY_CONFIG"
| "TENCENT_MAP_CONFIG"
| "SMS_CONFIG"
| "VIRTUAL_PHONE_CONFIG"
| "WX_MP_CONFIG"
| "WX_MP_MESSAGE_PUSH_CONFIG"
| "ALI_PAY_CONFIG"
| "CHARGING_PILE_PURCHASE_CONFIG"
| "CUSTOM_THEME_CONFIG"
| "CUSTOM_MENU_CONFIG"
| "WX_CP_NOTIFY_CONFIG"
| "SMART_RECOGNITION_PROMPT";
/** 系统设置项内容 */
settingValue:
| AliPayConfigValue
| ChargingPilePurchaseConfig
| CustomMenuConfigValue
| CustomThemeConfigValue
| SmartRecognitionPromptValue
| TencentMapConfigValue
| WxCpNotifyConfigValue
| WxMaCodeUploadConfigValue
| WxMaConfigValue
| WxMaMessagePushConfigValue
| WxMaSubscribeMessageConfigValue
| WxMpConfigValue
| WxMpMessagePushConfigValue
| WxPayConfigValue;
};
type showAgreementParams = {
agreementShowQry: AgreementShowQry;
};
type showAuditParams = {
auditShowQry: AuditShowQry;
};
type showBoxBrandParams = {
boxBrandShowQry: BoxBrandShowQry;
};
type showBoxProductParams = {
boxProductShowQry: BoxProductShowQry;
};
type showBoxSpecParams = {
boxSpecShowQry: BoxSpecShowQry;
};
type showChannelParams = {
channelShowQry: ChannelShowQry;
};
type showCompanyParams = {
companyShowQry: CompanyShowQry;
};
type showCompanyPaymentAccountParams = {
companyPaymentAccountShowQry: CompanyPaymentAccountShowQry;
};
type showCostItemParams = {
costItemShowQry: CostItemShowQry;
};
type showCostParams = {
costShowQry: CostShowQry;
};
type showDealerParams = {
dealerShowQry: DealerShowQry;
};
type showDealerPaymentAccountParams = {
dealerPaymentAccountShowQry: DealerPaymentAccountShowQry;
};
type showDealerRebateCustomerParams = {
dealerRebateCustomerShowQry: DealerRebateCustomerShowQry;
};
type showDealerWarehouseParams = {
dealerWarehouseShowQry: DealerWarehouseShowQry;
};
type showDictionaryParams = {
dictionaryShowQry: DictionaryShowQry;
};
type showEmployeeParams = {
employeeShowQry: EmployeeShowQry;
};
type showExpenseRecordParams = {
expenseRecordShowQry: ExpenseRecordShowQry;
};
type showGiftBoxParams = {
giftBoxShowQry: GiftBoxShowQry;
};
type showMaterialCategoryParams = {
categoryShowQry: CategoryShowQry;
};
type showMaterialParams = {
materialShowQry: MaterialShowQry;
};
type showMenuParams = {
menuShowQry: MenuShowQry;
};
type showOrderParams = {
orderShowQry: OrderShowQry;
};
type showOrderShipParams = {
orderShipShowQry: OrderShipShowQry;
};
type showPermissionParams = {
permissionShowQry: PermissionShowQry;
};
type showPlatformParams = {
platformShowQry: PlatformShowQry;
};
type showProductParams = {
productShowQry: ProductShowQry;
};
type showRoleParams = {
roleShowQry: RoleShowQry;
};
type showSettingParams = {
settingShowQry: SettingShowQry;
};
type showSupplierParams = {
supplierShowQry: SupplierShowQry;
};
type showUserParams = {
userShowQry: UserShowQry;
};
type SingleResponseAgreementVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: AgreementVO;
};
type SingleResponseAuditVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: AuditVO;
};
type SingleResponseBoxBrandVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: BoxBrandVO;
};
type SingleResponseBoxProductVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: BoxProductVO;
};
type SingleResponseBoxSpecVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: BoxSpecVO;
};
type SingleResponseCategoryVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: CategoryVO;
};
type SingleResponseChannelVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: ChannelVO;
};
type SingleResponseCompanyPaymentAccountVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: CompanyPaymentAccountVO;
};
type SingleResponseCompanyVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: CompanyVO;
};
type SingleResponseCostItemVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: CostItemVO;
};
type SingleResponseCostVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: CostVO;
};
type SingleResponseDealerPaymentAccountVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: DealerPaymentAccountVO;
};
type SingleResponseDealerRebateCustomerVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: DealerRebateCustomerVO;
};
type SingleResponseDealerVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: DealerVO;
};
type SingleResponseDealerWarehouseVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: DealerWarehouseVO;
};
type SingleResponseDictionaryVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: DictionaryVO;
};
type SingleResponseEmployeeVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: EmployeeVO;
};
type SingleResponseExpenseRecordVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: ExpenseRecordVO;
};
type SingleResponseGiftBoxVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: GiftBoxVO;
};
type SingleResponseLong = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: number;
};
type SingleResponseMaterialVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: MaterialVO;
};
type SingleResponseMenuVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: MenuVO;
};
type SingleResponseOrderCostVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: OrderCostVO;
};
type SingleResponseOrderShipVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: OrderShipVO;
};
type SingleResponseOrderSupplierVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: OrderSupplierVO;
};
type SingleResponseOrderVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: OrderVO;
};
type SingleResponseOssTokenVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: OssTokenVO;
};
type SingleResponsePermissionVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: PermissionVO;
};
type SingleResponsePlatformVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: PlatformVO;
};
type SingleResponseProductVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: ProductVO;
};
type SingleResponseRoleVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: RoleVO;
};
type SingleResponseSettingVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: SettingVO;
};
type SingleResponseString = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: string;
};
type SingleResponseSupplierVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: SupplierVO;
};
type SingleResponseUserVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: UserVO;
};
type SingleResponseVehicleExtractionVO = {
success?: boolean;
errCode?: string;
errMessage?: string;
data?: VehicleExtractionVO;
};
type SmartRecognitionPromptValue =
// #/components/schemas/SettingValue
SettingValue & {
/** 提示词 */
prompt?: string;
};
type SupplierCheckQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 供应商ID */
supplierId?: string;
/** 供应商名称 */
name?: string;
/** 身份证号 */
idCard?: string;
/** 手机号 */
phone?: string;
offset?: number;
};
type SupplierCreateCmd = {
/** 供应商ID */
supplierId: string;
/** 姓名 */
name: string;
/** 收款人姓名 */
payeeName: string;
/** 身份证号 */
idCard?: string;
/** 手机号 */
phone: string;
/** 银行名称 */
bankName: string;
/** 银行卡号 */
bankCard: string;
/** 微信收款码URL */
wechatQr?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 供应商类型1_瓜农2_自家档口3_其他家档口 */
type: "FARMER" | "STALL" | "OTHER_STALL";
/** 经销商ID */
dealerId?: number;
};
type SupplierDestroyCmd = {
/** 供应商ID */
supplierId: string;
};
type SupplierListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 供应商ID */
supplierId?: string;
/** 经销商ID */
dealerId?: string;
/** 供应商名称 */
name?: string;
/** 供应商类型1_瓜农2_自家档口3_其他家档口 */
type?: "FARMER" | "STALL" | "OTHER_STALL";
};
type SupplierPackageUsage = {
/** 箱子类型:1_本次使用2_额外运输3_已使用额外运输4_车上剩余5_瓜农纸箱6_空箱 */
boxType?: "USED" | "EXTRA" | "EXTRA_USED" | "REMAIN" | "OWN" | "EMPTY";
/** 是否使用:0_未回答1_使用2_未使用 */
isUsed?: number;
};
type SupplierPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 供应商ID */
supplierId?: string;
/** 经销商ID */
dealerId?: string;
/** 供应商名称 */
name?: string;
/** 身份证号 */
idCard?: string;
/** 手机号 */
phone?: string;
/** 银行卡号 */
bankCard?: string;
/** 供应商类型1_瓜农2_自家档口3_其他家档口 */
type?: "FARMER" | "STALL" | "OTHER_STALL";
offset?: number;
};
type SupplierShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 供应商ID */
supplierId?: string;
};
type SupplierUpdateCmd = {
/** 供应商ID */
supplierId: string;
/** 姓名 */
name: string;
/** 收款人姓名 */
payeeName: string;
/** 身份证号 */
idCard?: string;
/** 手机号 */
phone: string;
/** 银行名称 */
bankName: string;
/** 银行卡号 */
bankCard: string;
/** 微信收款码URL */
wechatQr?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 供应商类型1_瓜农2_自家档口3_其他家档口 */
type: "FARMER" | "STALL" | "OTHER_STALL";
/** 经销商ID */
dealerId?: number;
};
type SupplierVO = {
/** 供应商ID */
supplierId: string;
/** 姓名 */
name: string;
/** 收款人姓名 */
payeeName: string;
/** 身份证号 */
idCard?: string;
/** 手机号 */
phone: string;
/** 银行名称 */
bankName: string;
/** 银行卡号 */
bankCard: string;
/** 微信收款码URL */
wechatQr?: string;
/** 供应商类型1_瓜农2_自家档口3_其他家档口 */
type: "FARMER" | "STALL" | "OTHER_STALL";
/** 经销商ID */
dealerId?: number;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status: boolean;
/** 创建人ID */
createdBy: string;
/** 创建人姓名 */
createdByName?: string;
/** 创建时间 */
createdAt?: string;
/** 经销商信息 */
dealerVO?: DealerVO;
};
type TencentMapConfigValue =
// #/components/schemas/SettingValue
SettingValue & {
/** 腾讯地图AppKey */
appKey?: string;
};
type TreeLong = {
weight?: any;
parentId?: number;
name?: { empty?: boolean };
id?: number;
config?: TreeNodeConfig;
empty?: boolean;
};
type treeMaterialCategoryParams = {
categoryTreeQry: CategoryTreeQry;
};
type treeMenuParams = {
menuTreeQry: MenuTreeQry;
};
type TreeNodeConfig = {
idKey?: string;
parentIdKey?: string;
weightKey?: string;
nameKey?: string;
childrenKey?: string;
deep?: number;
};
type UploadFileItem = {
/** 文件名 */
fileName?: string;
/** 文件路径 */
filePath?: string;
/** 文件大小 */
fileSize?: number;
/** 文件类型 */
fileType?: string;
};
type UserCreateCmd = {
/** 会员名称 */
name: string;
/** 会员昵称 */
nickname?: string;
/** 头像 */
avatar?: string;
/** 会员手机号 */
phone: string;
/** 会员生日 */
birthday?: string;
/** 会员性别 */
gender?: number;
/** 会员卡号生成方式1 系统生成 2 自定义 */
cardType?: number;
/** 备注 */
remark?: string;
/** 客户标签 */
labelId?: string[];
};
type UserDestroyCmd = {
/** 用户ID */
userId: string;
};
type UserDisableCmd = {
/** 用户ID */
userId: string;
};
type UserEnableCmd = {
/** 用户ID */
userId: string;
};
type UserListQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 用户ID */
userIdList?: string[];
/** 用户名 */
name?: string;
};
type UserPageQry = {
pageSize?: number;
pageIndex?: number;
orderBy?: string;
orderDirection?: string;
groupBy?: string;
needTotalCount?: boolean;
/** 自定义字段key */
customFieldKey?: string;
/** 自定义字段value */
customFieldValue?: string;
/** 备注 */
remark?: string;
/** 状态1_启用0_禁用 */
status?: boolean;
/** 关键词 */
keyword?: string;
/** 会员卡号 */
cardNo?: string;
/** 会员手机号码 */
phone?: string;
/** 会员名称 */
name?: string;
/** 会员昵称 */
nickname?: string;
/** 查询创建时间 */
createdAt?: string[];
/** 是否绑定手机号码 */
isBindPhone?: boolean;
/** 性别 */
gender?: number;
/** 查询绑定手机号码时间 */
bindPhoneAt?: string[];
/** 状态 */
state?: ("ENABLE" | "DISABLE")[];
/** 是否是管理员 */
isAdmin?: boolean;
/** 会员id列表 */
userIdList?: string[];
/** 排除的用户id列表 */
excludeUserIdList?: string[];
/** 小区id */
communityId?: number;
offset?: number;
};
type UserRoleUpdateCmd = {
/** 用户ID */
userId: string;
/** 角色ID */
roleIdList?: string[];
/** 是否覆盖 */
cover: boolean;
};
type UserRoleVO = {
/** 角色名称 */
name: string;
/** 角色标识 */
slug: string;
/** 角色ID */
roleId: string;
/** 用户ID */
userId: string;
/** 描述 */
description: string;
/** 平台ID */
platformId: string;
};
type UserShowQry = {
/** 状态1_启用0_禁用 */
status?: boolean;
/** 用户ID */
userId: string;
};
type UserUpdateCmd = {
/** 会员名称 */
name?: string;
/** 会员昵称 */
nickname?: string;
/** 头像 */
avatar?: string;
/** 会员手机号 */
phone?: string;
/** 会员生日 */
birthday?: string;
/** 会员性别 */
gender?: number;
/** 会员卡号生成方式1 系统生成 2 自定义 */
cardType?: number;
/** 备注 */
remark?: string;
/** 客户标签 */
labelId?: string[];
/** 用户ID */
userId: string;
};
type UserVO = {
/** 用户编号 */
userId: string;
/** 昵称 */
nickname: string;
/** 头像 */
avatar: string;
/** 姓名 */
name: string;
/** 性别 */
gender: number;
/** 生日 */
birthday: string;
/** 手机号 */
phone: string;
/** 备注 */
remark?: string;
/** 状态 */
state: "ENABLE" | "DISABLE";
/** 是否是管理员 */
isAdmin: boolean;
/** 是否是小区合伙人 */
isPartner: boolean;
/** 创建时间 */
createdAt: string;
/** 绑定手机号码时间 */
bindPhoneAt: string;
/** 最后一次登录时间 */
lastLoginAt: string;
/** 微信公众号openid */
mpOpenid: string;
/** 微信小程序openid */
maOpenid: string;
/** 开放平台unionid */
unionid: string;
};
type VehicleExtractionCmd = {
/** 消息内容 */
message: string;
/** 经销商信息 */
dealerNames: string;
};
type VehicleExtractionVO = {
/** 车牌 */
plate?: string;
/** 司机 */
driver?: string;
/** 手机 */
phone?: string;
/** 出发地 */
origin?: string;
/** 目的地 */
destination?: string;
/** 价格 */
price?: number;
/** 经销商 */
dealerName?: string;
/** 经销商ID */
dealerId: string;
/** 经销商信息 */
dealerVO?: DealerVO;
};
type WxCpNotifyConfigValue =
// #/components/schemas/SettingValue
SettingValue & {
/** 小区申请通知key */
communityApplyNotifyKey?: string;
};
type WxMaCodeUploadConfigValue =
// #/components/schemas/SettingValue
SettingValue & {
/** 小程序APPID */
appId?: string;
/** 当前版本号 */
version?: string;
/** 更新描述 */
desc?: string;
/** 上传IP白名单 */
ipWhiteList?: string;
/** 页面路径 */
pagePath?: string;
/** 小程序订单中心path */
orderCenterPath?: string;
/** 小程序代码上传密钥 */
codeUploadKey?: string;
};
type WxMaConfigValue =
// #/components/schemas/SettingValue
SettingValue & {
/** 小程序名称 */
wxMaName?: string;
/** 小程序原始ID */
wxMaOriginalId?: string;
/** 小程序Logo */
wxMaLogo?: string;
/** 校验文件 */
wxMaCheckFile?: string;
/** AppID(小程序ID) */
appId?: string;
/** AppSecret(小程序密钥) */
appSecret?: string;
};
type WxMaMessagePushConfigValue =
// #/components/schemas/SettingValue
SettingValue & {
/** Token(令牌) */
token?: string;
/** EncodingAESKey */
encodingAESKey?: string;
/** 消息加密方式 */
msgEncryptMode?: string;
/** 数据格式 */
dataFormat?: string;
/** IP白名单 */
ipWhiteList?: string;
/** URL(服务器地址) */
url?: string;
};
type WxMaSubscribeMessageConfigValue =
// #/components/schemas/SettingValue
SettingValue;
type WxMpConfigValue =
// #/components/schemas/SettingValue
SettingValue & {
/** 公众号名称 */
wxMpName?: string;
/** 公众号原始ID */
wxMpOriginalId?: string;
/** 公众号Logo */
wxMpLogo?: string;
/** AppID(公众号ID) */
appId?: string;
/** AppSecret(公众号密钥) */
appSecret?: string;
};
type WxMpMessagePushConfigValue =
// #/components/schemas/SettingValue
SettingValue & {
/** Token(令牌) */
token?: string;
/** EncodingAESKey */
encodingAESKey?: string;
/** 消息加密方式 */
msgEncryptMode?: string;
/** 数据格式 */
dataFormat?: string;
/** IP白名单 */
ipWhiteList?: string;
/** URL(服务器地址) */
url?: string;
};
type WxPayConfigValue =
// #/components/schemas/SettingValue
SettingValue & {
/** 微信公众号或者小程序等的appid */
appId?: string;
/** 微信支付商户号 */
mchId?: string;
/** 微信支付商户密钥 */
mchKey?: string;
/** apiclient_cert.p12文件的绝对路径 */
keyPath?: string;
/** apiV3 秘钥值 */
apiV3Key?: string;
/** apiV3 证书序列号值 */
certSerialNo?: string;
/** apiclient_cert.pem证书文件 */
privateCertString?: string;
/** apiclient_key.pem证书文件 */
privateKeyString?: string;
/** 微信支付公钥pub_key.pem证书文件 */
publicKeyString?: string;
/** 微信支付公钥ID */
publicKeyId?: string;
/** 微信支付回调地址 */
notifyUrl?: string;
};
}