From 8c169fb4ca47ca1a21992c58f8eb379de0010f48 Mon Sep 17 00:00:00 2001 From: shenyifei Date: Tue, 16 Dec 2025 22:37:03 +0800 Subject: [PATCH] =?UTF-8?q?refactor(components):=20=E9=87=8D=E6=9E=84?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=BB=84=E4=BB=B6=E7=BB=93=E6=9E=84=E5=92=8C?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将格式化函数提取到公共工具文件,避免重复定义 - 优化成本数据处理逻辑,完善数据映射和去重操作 - 统一拖拽组件分页配置,增强分页功能一致性 - 修复类型导入问题,提升代码健壮性 - 新增经销商列表公司返点字段展示与表单控制 - 重构发货单组件为订单发货组件,优化状态管理和搜索功能 - 创建新的采购订单和供应商订单组件,完善订单状态tab - 调整组件导出路径,统一归类到Order目录下 - 扩展用户头像功能,支持角色切换能力 --- packages/app-operation/.umirc.dev.ts | 2 +- packages/app-operation/src/app.tsx | 106 ++- .../components/BasicData/MelonFarmerList.tsx | 57 +- .../components/BasicData/ProductDataList.tsx | 16 +- .../src/components/Biz/BizDrag.tsx | 8 +- .../src/components/Biz/BizDragDrop.tsx | 4 +- .../src/components/Company/CompanyList.tsx | 8 +- .../src/components/Dealer/DealerList.tsx | 77 ++ .../src/components/Delivery/ShipOrderList.tsx | 257 ++--- .../src/components/Order/OrderCostList.tsx | 210 +++++ .../components/Order/OrderSupplierList.tsx | 301 ++++++ .../components/Order/PurchaseOrderList.tsx | 210 +++++ .../components/{Purchase => Order}/index.ts | 1 + .../components/Purchase/PurchaseOrderList.tsx | 3 - .../app-operation/src/components/index.ts | 2 +- .../app-operation/src/layout/guide/Avatar.tsx | 132 ++- packages/app-operation/src/locales/zh-CN.ts | 156 ++- packages/app-operation/src/models/useUser.ts | 31 +- .../app-operation/src/pages/PaymentCost.tsx | 5 + .../app-operation/src/pages/PaymentRebate.tsx | 5 + .../src/pages/PaymentSupplier.tsx | 5 + .../app-operation/src/services/auth/index.ts | 3 +- .../src/services/auth/typings.d.ts | 155 ++- .../app-operation/src/services/auth/user.ts | 87 ++ .../src/services/auth/userAuth.ts | 15 + .../src/services/business/index.ts | 4 +- .../src/services/business/orderShip.ts | 168 ++++ .../src/services/business/orderSupplier.ts | 15 + .../src/services/business/shipOrder.ts | 168 ---- .../src/services/business/typings.d.ts | 888 ++++++++++-------- packages/app-operation/src/utils/format.ts | 18 + packages/app-sso-server/.umirc.dev.ts | 2 +- packages/app-sso-server/src/models/useUser.ts | 10 - .../src/services/auth/typings.d.ts | 4 +- swagger/auth.json | 2 +- swagger/business.json | 2 +- 36 files changed, 2228 insertions(+), 909 deletions(-) create mode 100644 packages/app-operation/src/components/Order/OrderCostList.tsx create mode 100644 packages/app-operation/src/components/Order/OrderSupplierList.tsx create mode 100644 packages/app-operation/src/components/Order/PurchaseOrderList.tsx rename packages/app-operation/src/components/{Purchase => Order}/index.ts (50%) delete mode 100644 packages/app-operation/src/components/Purchase/PurchaseOrderList.tsx create mode 100644 packages/app-operation/src/pages/PaymentCost.tsx create mode 100644 packages/app-operation/src/pages/PaymentRebate.tsx create mode 100644 packages/app-operation/src/pages/PaymentSupplier.tsx create mode 100644 packages/app-operation/src/services/business/orderShip.ts delete mode 100644 packages/app-operation/src/services/business/shipOrder.ts diff --git a/packages/app-operation/.umirc.dev.ts b/packages/app-operation/.umirc.dev.ts index c7224d3..86c9bfa 100644 --- a/packages/app-operation/.umirc.dev.ts +++ b/packages/app-operation/.umirc.dev.ts @@ -6,7 +6,7 @@ export default defineConfig({ '/api': { target: 'http://api.erp.xunhong168.test/', changeOrigin: true, - pathRewrite: { '^/': '' }, + pathRewrite: { '^/api': '' }, }, }, plugins: ['@umijs/max-plugin-openapi'], diff --git a/packages/app-operation/src/app.tsx b/packages/app-operation/src/app.tsx index 1e35fa9..9a5aa08 100644 --- a/packages/app-operation/src/app.tsx +++ b/packages/app-operation/src/app.tsx @@ -19,8 +19,6 @@ import './global.less'; interface InitialStateProps { currentUser?: AuthAPI.UserVO; currentAdmin?: AuthAPI.AdminVO; - currentUserRole?: AuthAPI.UserRoleVO[]; - currentUserPermission?: AuthAPI.PermissionVO[]; platformId: string; channel?: AuthAPI.ChannelVO; tip: any; @@ -120,11 +118,78 @@ export const render = async (oldRender: () => void) => { return; } + const { data: employeeVO } = await auth.user.userEmployee({ + employeeShowQry: {}, + }); + + let platformId = '1769220738064285698'; + let roleIdList: string[] = []; + + if (employeeVO) { + window.localStorage.setItem('employee', JSON.stringify(employeeVO)); + + const userRoleVOList = employeeVO.userRoleList?.filter( + (item) => item.platformId === platformId, + ); + + if (!userRoleVOList?.length) { + message.error('请先绑定角色'); + window.localStorage.removeItem('employee'); + window.localStorage.removeItem('admin'); + window.localStorage.removeItem('roleSlug'); + // 未登录,跳转到登录页面 + window.location.href = + process.env.UMI_APP_SSO_LOGIN_URL + + encodeURIComponent(process.env.UMI_APP_OPERATION_URL || ''); + return; + } + + window.localStorage.setItem( + 'userRoleVOList', + JSON.stringify(userRoleVOList), + ); + + // 根据 localStorage 判断有没有选择角色,如果没有选择则默认选择第一个 + if (!window.localStorage.getItem('roleSlug')) { + window.localStorage.setItem('roleSlug', userRoleVOList?.[0]?.slug); + roleIdList = [userRoleVOList?.[0]?.roleId]; + } else { + const roleSlug = window.localStorage.getItem('roleSlug'); + const role = userRoleVOList?.find((item) => item.slug === roleSlug); + + if (!role) { + message.error('请先绑定角色'); + window.localStorage.removeItem('employee'); + window.localStorage.removeItem('admin'); + window.localStorage.removeItem('roleSlug'); + // 未登录,跳转到登录页面 + window.location.href = + process.env.UMI_APP_SSO_LOGIN_URL + + encodeURIComponent(process.env.UMI_APP_OPERATION_URL || ''); + return; + } + + roleIdList = [role?.roleId]; + } + } else { + const { data: adminVO } = await auth.user.userAdmin({ + adminShowQry: {}, + }); + + window.localStorage.setItem('admin', JSON.stringify(adminVO)); + window.localStorage.setItem( + 'userRoleVOList', + JSON.stringify([]), + ); + window.localStorage.setItem('roleSlug', 'operation'); + } + // 获取服务端路由配置 await auth.user .userMenu({ roleMenuTreeQry: { - platformId: '1769220738064285698', + platformId: platformId, + roleId: roleIdList, }, }) .then(({ data: serverRoutes }) => { @@ -141,22 +206,22 @@ export async function getInitialState(): Promise { let current: any; const { data: channel } = await auth.channel.selectChannelByDomain({ - domain: "operation.erp.qilincloud168.com", + domain: 'operation.erp.qilincloud168.com', }); - const { data: userAuthVO } = await auth.user.userInfo(); - - const { data: adminVO } = await auth.user.userAdmin({ - adminShowQry: { - userId: userAuthVO?.userId, - }, - }); + // 根据 localStorage 获取当前用户信息 admin 和 employee + const adminVO = JSON.parse(window.localStorage.getItem('admin') || '{}'); + const employeeVO = JSON.parse( + window.localStorage.getItem('employee') || '{}', + ); current = { channel, platformId: '1769220738064285698', - currentUser: userAuthVO?.userVO, - currentAdmin: adminVO, + currentUser: { + ...employeeVO, + ...adminVO, + }, }; return current; @@ -353,7 +418,9 @@ export const request: RequestConfig = { const { success, data, errCode, errMessage, showType } = res; if (!success) { if (errCode === '401' || errCode === '403') { - window.localStorage.removeItem('user-data'); + window.localStorage.removeItem('employee'); + window.localStorage.removeItem('admin'); + window.localStorage.removeItem('roleSlug'); // 未登录,跳转到登录页面 window.location.href = process.env.UMI_APP_SSO_LOGIN_URL + @@ -432,11 +499,14 @@ export const request: RequestConfig = { headers: any; }, ) => { + const roleSlug = window.localStorage.getItem('roleSlug'); - options.headers = { - ...options.headers, - 'Xh-Role-Slug': "operation", - }; + if (roleSlug) { + options.headers = { + ...options.headers, + 'Xh-Role-Slug': roleSlug, + }; + } console.debug('请求拦截器', url, options); const apiUrl = '/api' + url; diff --git a/packages/app-operation/src/components/BasicData/MelonFarmerList.tsx b/packages/app-operation/src/components/BasicData/MelonFarmerList.tsx index c18ddb0..d882309 100644 --- a/packages/app-operation/src/components/BasicData/MelonFarmerList.tsx +++ b/packages/app-operation/src/components/BasicData/MelonFarmerList.tsx @@ -16,6 +16,7 @@ import { ProDescriptionsItemProps } from '@ant-design/pro-descriptions'; import { ProFormUploadMaterial } from '@chageable/components'; import React, { useRef, useState } from 'react'; import { EyeInvisibleOutlined, EyeTwoTone } from '@ant-design/icons'; +import { formatBankCard, formatIdCard, formatPhone } from '@/utils/format'; interface IMelonFarmerListProps { ghost?: boolean; @@ -43,24 +44,6 @@ export default function MelonFarmerList(props: IMelonFarmerListProps) { const [showBankCard, setShowBankCard] = useState>({}); const [showPhone, setShowPhone] = useState>({}); - const formatIdCard = (idCard: string, showFull: boolean = false) => { - if (showFull) return idCard; - if (idCard.length < 8) return idCard; - return `${idCard.substring(0, 4)}********${idCard.substring(idCard.length - 4)}`; - }; - - const formatBankCard = (bankCard: string, showFull: boolean = false) => { - if (showFull) return bankCard; - if (bankCard.length < 4) return bankCard; - return `**** **** **** ${bankCard.substring(bankCard.length - 4)}`; - }; - - const formatPhone = (phone: string, showFull: boolean = false) => { - if (showFull) return phone; - if (phone.length < 4) return phone; - return `${phone.substring(0, 3)}****${phone.substring(phone.length - 4)}`; - }; - const columns: ProColumns[] = [ { title: intl.formatMessage({ id: intlPrefix + '.column.name' }), @@ -76,17 +59,23 @@ export default function MelonFarmerList(props: IMelonFarmerListProps) { key: 'idCard', render: (_, record) => (
- {formatIdCard(record.idCard, showIdCard[record.supplierId])} + + {formatIdCard(record.idCard, showIdCard[record.supplierId])} + { - setShowIdCard(prev => ({ + setShowIdCard((prev) => ({ ...prev, - [record.supplierId]: !prev[record.supplierId] + [record.supplierId]: !prev[record.supplierId], })); }} > - {showIdCard[record.supplierId] ? : } + {showIdCard[record.supplierId] ? ( + + ) : ( + + )}
), @@ -101,13 +90,17 @@ export default function MelonFarmerList(props: IMelonFarmerListProps) { { - setShowPhone(prev => ({ + setShowPhone((prev) => ({ ...prev, - [record.supplierId]: !prev[record.supplierId] + [record.supplierId]: !prev[record.supplierId], })); }} > - {showPhone[record.supplierId] ? : } + {showPhone[record.supplierId] ? ( + + ) : ( + + )} ), @@ -118,17 +111,23 @@ export default function MelonFarmerList(props: IMelonFarmerListProps) { key: 'bankCard', render: (_, record) => (
- {formatBankCard(record.bankCard, showBankCard[record.supplierId])} + + {formatBankCard(record.bankCard, showBankCard[record.supplierId])} + { - setShowBankCard(prev => ({ + setShowBankCard((prev) => ({ ...prev, - [record.supplierId]: !prev[record.supplierId] + [record.supplierId]: !prev[record.supplierId], })); }} > - {showBankCard[record.supplierId] ? : } + {showBankCard[record.supplierId] ? ( + + ) : ( + + )}
), diff --git a/packages/app-operation/src/components/BasicData/ProductDataList.tsx b/packages/app-operation/src/components/BasicData/ProductDataList.tsx index bc64446..bfbf397 100644 --- a/packages/app-operation/src/components/BasicData/ProductDataList.tsx +++ b/packages/app-operation/src/components/BasicData/ProductDataList.tsx @@ -185,12 +185,12 @@ export default function ProductDataList(props: IProductDataListProps) { ) .map((item: BusinessAPI.CostVO) => { return { - costItemId: item.costItemId, costId: item.costId, name: item.name, type: item.type, price: item.price, unit: item.unit, + belong: item.belong, }; }); @@ -207,9 +207,11 @@ export default function ProductDataList(props: IProductDataListProps) { item && item.type === 'MATERIAL_TYPE', ) .filter( - (item, index, self) => + (item: BusinessAPI.CostItemVO, index: number, self: any) => index === - self.findIndex((t) => t.costItemId === item.costItemId), + self.findIndex( + (t: any) => t.costItemId === item.costItemId, + ), ) .map((item: BusinessAPI.CostItemVO) => ({ costItemId: item.costItemId, @@ -232,9 +234,11 @@ export default function ProductDataList(props: IProductDataListProps) { item && item.type === 'ARTIFICIAL_TYPE', ) .filter( - (item, index, self) => + (item: BusinessAPI.CostItemVO, index: number, self: any) => index === - self.findIndex((t) => t.costItemId === item.costItemId), + self.findIndex( + (t: any) => t.costItemId === item.costItemId, + ), ) .map((item: BusinessAPI.CostItemVO) => ({ costItemId: item.costItemId, @@ -450,7 +454,7 @@ export default function ProductDataList(props: IProductDataListProps) { transform: async (data) => { return { ...data, - ...JSON.parse(data.costTemplate), + ...JSON.parse(data.costTemplate || '{}'), }; }, }} diff --git a/packages/app-operation/src/components/Biz/BizDrag.tsx b/packages/app-operation/src/components/Biz/BizDrag.tsx index 7eed30f..cc48ac5 100644 --- a/packages/app-operation/src/components/Biz/BizDrag.tsx +++ b/packages/app-operation/src/components/Biz/BizDrag.tsx @@ -4,6 +4,7 @@ import { DragSortTable, DragTableProps } from '@ant-design/pro-components'; import { Drawer } from 'antd'; import { useState } from 'react'; import { BizDragProps, BizValueType } from './typing'; +import { pagination } from '@/utils/pagination'; export default function BizDrag< BizVO extends Record, @@ -34,7 +35,7 @@ export default function BizDrag< persistenceType: 'sessionStorage', persistenceKey: method + 'ColumnStateKey', defaultValue: { - ...fieldProps?.columnsState?.defaultValue + ...fieldProps?.columnsState?.defaultValue, }, }, dragSortKey: 'sort', @@ -113,7 +114,10 @@ export default function BizDrag< }; }} onDragSortEnd={handleDragSortEnd} - pagination={false} + pagination={{ + ...pagination(), + position: ['bottomRight'], + }} {...rest} columns={[ { diff --git a/packages/app-operation/src/components/Biz/BizDragDrop.tsx b/packages/app-operation/src/components/Biz/BizDragDrop.tsx index 6ff62c4..5283042 100644 --- a/packages/app-operation/src/components/Biz/BizDragDrop.tsx +++ b/packages/app-operation/src/components/Biz/BizDragDrop.tsx @@ -1,4 +1,4 @@ -import { ProFormFieldItemProps, ProFormItem } from '@ant-design/pro-components'; +import { ProFormFieldProps, ProFormItem } from '@ant-design/pro-components'; import { Form, Space } from 'antd'; import React from 'react'; import { @@ -12,7 +12,7 @@ interface BizDragDropProps { /** * 表单项属性 */ - fieldProps?: ProFormFieldItemProps; + fieldProps?: ProFormFieldProps; /** * 可拖拽区域的ID */ diff --git a/packages/app-operation/src/components/Company/CompanyList.tsx b/packages/app-operation/src/components/Company/CompanyList.tsx index baf5a2f..7f7f297 100644 --- a/packages/app-operation/src/components/Company/CompanyList.tsx +++ b/packages/app-operation/src/components/Company/CompanyList.tsx @@ -5,12 +5,12 @@ import { ModeType, } from '@/components'; import { business } from '@/services'; +import { formatParam } from '@/utils/formatParam'; import { useIntl } from '@@/exports'; import { ProColumns, ProFormText } from '@ant-design/pro-components'; import { ProDescriptionsItemProps } from '@ant-design/pro-descriptions'; -import React from 'react'; -import { formatParam } from '@/utils/formatParam'; import { ProFormUploadMaterial } from '@chageable/components'; +import React from 'react'; interface ICompanyListProps { ghost?: boolean; @@ -277,7 +277,9 @@ export default function CompanyList(props: ICompanyListProps) { intlPrefix={intlPrefix} modeType={mode} onValueChange={onValueChange} - container={{}} + container={{ + ghost, + }} remark={{ mode: 'editor', }} diff --git a/packages/app-operation/src/components/Dealer/DealerList.tsx b/packages/app-operation/src/components/Dealer/DealerList.tsx index 0763619..c23d00d 100644 --- a/packages/app-operation/src/components/Dealer/DealerList.tsx +++ b/packages/app-operation/src/components/Dealer/DealerList.tsx @@ -232,6 +232,37 @@ export default function DealerList(props: IDealerListProps) { ), }, + // 新增字段展示 - 公司返点 + { + title: ( + + + {intl.formatMessage({ + id: intlPrefix + '.column.enableLoss', + })} + + + ), + dataIndex: 'enableLoss', + key: 'enableLoss', + search: false, + render: (_, record) => ( + + {record.enableLoss ? ( + + ) : ( + + )} + {record.enableLoss && record.lossAmount + ? ` ${record.lossAmount}元` + : ''} + + ), + }, ]; const formContext = [ @@ -451,6 +482,52 @@ export default function DealerList(props: IDealerListProps) { ); }} , + // 新增字段表单 - 产地损耗 + , + + {({ enableLoss }) => { + return ( + enableLoss && ( + + ) + ); + }} + , ]; const detailColumns: ProDescriptionsItemProps< diff --git a/packages/app-operation/src/components/Delivery/ShipOrderList.tsx b/packages/app-operation/src/components/Delivery/ShipOrderList.tsx index c48f9b6..6d98e94 100644 --- a/packages/app-operation/src/components/Delivery/ShipOrderList.tsx +++ b/packages/app-operation/src/components/Delivery/ShipOrderList.tsx @@ -1,40 +1,35 @@ import { BizContainer, BizValueType, ModeType } from '@/components'; import { business } from '@/services'; import { useIntl } from '@@/exports'; -import { - ProColumns, - ProFormDatePicker, - ProFormDigit, - ProFormSelect, - ProFormText, - ProFormTextArea, -} from '@ant-design/pro-components'; +import { ProColumns } from '@ant-design/pro-components'; import { ProDescriptionsItemProps } from '@ant-design/pro-descriptions'; import { Tag } from 'antd'; -import React from 'react'; +import React, { useState } from 'react'; -interface IShipOrderListProps { +interface IOrderShipListProps { ghost?: boolean; - shipOrderId?: BusinessAPI.ShipOrderVO['shipOrderId']; + orderShipId?: BusinessAPI.OrderShipVO['orderShipId']; search?: boolean; onValueChange?: () => void; mode?: ModeType; trigger?: () => React.ReactNode; } -export default function ShipOrderList(props: IShipOrderListProps) { +export default function OrderShipList(props: IOrderShipListProps) { const { ghost = false, - shipOrderId, + orderShipId, search = true, mode = 'page', trigger, onValueChange, } = props; const intl = useIntl(); - const intlPrefix = 'shipOrder'; + const intlPrefix = 'orderShip'; - const columns: ProColumns[] = [ + const [activeKey, setActiveKey] = useState('ALL'); + + const columns: ProColumns[] = [ { title: intl.formatMessage({ id: intlPrefix + '.column.orderSn' }), dataIndex: 'orderSn', @@ -48,8 +43,11 @@ export default function ShipOrderList(props: IShipOrderListProps) { }, { title: intl.formatMessage({ id: intlPrefix + '.column.vehicleNo' }), - dataIndex: 'vehicleNo', + dataIndex: ['orderVehicle', 'vehicleNo'], key: 'vehicleNo', + render: (_, record) => ( + 第 {record.orderVehicle?.vehicleNo} 车 + ), }, { title: intl.formatMessage({ id: intlPrefix + '.column.shippingDate' }), @@ -62,36 +60,6 @@ export default function ShipOrderList(props: IShipOrderListProps) { dataIndex: 'state', key: 'state', valueType: 'select', - valueEnum: { - WAIT_PAYMENT: { - text: intl.formatMessage({ - id: intlPrefix + '.column.state.waitPayment', - }), - status: 'Default', - }, - PARTIAL_PAYMENT: { - text: intl.formatMessage({ - id: intlPrefix + '.column.state.partialPayment', - }), - status: 'Processing', - }, - FULL_PAYMENT: { - text: intl.formatMessage({ - id: intlPrefix + '.column.state.fullPayment', - }), - status: 'Success', - }, - REJECT_FINISH: { - text: intl.formatMessage({ - id: intlPrefix + '.column.state.rejectFinish', - }), - status: 'Error', - }, - FINISH: { - text: intl.formatMessage({ id: intlPrefix + '.column.state.finish' }), - status: 'Success', - }, - }, render: (_, record) => { const stateText = intl.formatMessage({ id: `${intlPrefix}.column.state.${record.state?.toLowerCase() || 'unknown'}`, @@ -99,6 +67,12 @@ export default function ShipOrderList(props: IShipOrderListProps) { let color = 'default'; switch (record.state) { + case 'DRAFT': + color = 'default'; + break; + case 'WAIT_SHIPMENT': + color = 'default'; + break; case 'WAIT_PAYMENT': color = 'default'; break; @@ -121,13 +95,6 @@ export default function ShipOrderList(props: IShipOrderListProps) { return {stateText}; }, }, - { - title: intl.formatMessage({ id: intlPrefix + '.column.totalAmount' }), - dataIndex: 'totalAmount', - key: 'totalAmount', - valueType: 'money', - search: false, - }, { title: intl.formatMessage({ id: intlPrefix + '.column.createdAt' }), dataIndex: 'createdAt', @@ -137,107 +104,27 @@ export default function ShipOrderList(props: IShipOrderListProps) { }, ]; - const formContext = [ - , - , - , - , - , - , - , - ]; - const detailColumns: ProDescriptionsItemProps< - BusinessAPI.ShipOrderVO, + BusinessAPI.OrderShipVO, BizValueType >[] = columns as ProDescriptionsItemProps< - BusinessAPI.ShipOrderVO, + BusinessAPI.OrderShipVO, BizValueType >[]; return ( - rowKey={'shipOrderId'} + rowKey={'orderShipId'} permission={'operation-ship-order'} - func={business.shipOrder} - method={'shipOrder'} - methodUpper={'ShipOrder'} + func={business.orderShip} + method={'orderShip'} + methodUpper={'OrderShip'} intlPrefix={intlPrefix} modeType={mode} onValueChange={onValueChange} @@ -251,23 +138,79 @@ export default function ShipOrderList(props: IShipOrderListProps) { ghost, //@ts-ignore search, + params: { + ...(activeKey !== 'ALL' && { + state: activeKey! as BusinessAPI.OrderShipVO['state'], + }), + }, + toolbar: { + menu: { + type: 'tab', + activeKey: activeKey, + items: [ + // 全部 + { + key: 'ALL', + label: intl.formatMessage({ + id: intlPrefix + '.tab.all', + }), + }, + { + key: 'DRAFT', + label: intl.formatMessage({ + id: intlPrefix + '.tab.draft', + }), + }, + { + key: 'WAIT_SHIPMENT', + label: intl.formatMessage({ + id: intlPrefix + '.tab.waitShipment', + }), + }, + { + key: 'WAIT_PAYMENT', + label: intl.formatMessage({ + id: intlPrefix + '.tab.waitPayment', + }), + }, + { + key: 'PARTIAL_PAYMENT', + label: intl.formatMessage({ + id: intlPrefix + '.tab.partialPayment', + }), + }, + { + key: 'FULL_PAYMENT', + label: intl.formatMessage({ + id: intlPrefix + '.tab.fullPayment', + }), + }, + { + key: 'REJECT_FINISH', + label: intl.formatMessage({ + id: intlPrefix + '.tab.rejectFinish', + }), + }, + { + key: 'FINISH', + label: intl.formatMessage({ + id: intlPrefix + '.tab.finish', + }), + }, + ], + onChange: (key) => { + setActiveKey(key as string); + }, + }, + }, }, columns, }} - create={{ - formType: 'drawer', - formContext, - initValues: { - status: true, - }, - }} - update={{ - formType: 'drawer', - formContext, - }} - destroy={{}} + create={false} + update={false} + destroy={false} detail={{ - rowId: shipOrderId, + rowId: orderShipId, formType: 'drawer', columns: detailColumns, trigger, diff --git a/packages/app-operation/src/components/Order/OrderCostList.tsx b/packages/app-operation/src/components/Order/OrderCostList.tsx new file mode 100644 index 0000000..d872aa1 --- /dev/null +++ b/packages/app-operation/src/components/Order/OrderCostList.tsx @@ -0,0 +1,210 @@ +import { BizContainer, BizValueType, ModeType } from '@/components'; +import { business } from '@/services'; +import { useIntl } from '@@/exports'; +import { ProColumns } from '@ant-design/pro-components'; +import { ProDescriptionsItemProps } from '@ant-design/pro-descriptions'; +import { Tag } from 'antd'; +import React, { useState } from 'react'; + +interface IOrderSupplierListProps { + ghost?: boolean; + orderId?: BusinessAPI.PurchaseOrderVO['orderId']; + search?: boolean; + onValueChange?: () => void; + mode?: ModeType; + trigger?: () => React.ReactNode; +} + +export default function OrderSupplierList(props: IOrderSupplierListProps) { + const { + ghost = false, + orderId, + search = true, + mode = 'page', + trigger, + onValueChange, + } = props; + const intl = useIntl(); + const intlPrefix = 'orderSupplier'; + + const [activeKey, setActiveKey] = useState('ALL'); + + const columns: ProColumns[] = [ + { + title: intl.formatMessage({ id: intlPrefix + '.column.orderSn' }), + dataIndex: 'orderSn', + key: 'orderSn', + renderText: (text: string) => {text}, + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.origin' }), + dataIndex: ['orderVehicle', 'origin'], + search: false, + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.destination' }), + dataIndex: ['orderVehicle', 'destination'], + search: false, + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.dealerName' }), + dataIndex: ['orderVehicle', 'dealerName'], + key: 'dealerName', + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.plate' }), + dataIndex: ['orderVehicle', 'plate'], + key: 'plate', + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.driver' }), + dataIndex: ['orderVehicle', 'driver'], + key: 'driver', + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.phone' }), + dataIndex: ['orderVehicle', 'phone'], + key: 'phone', + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.state' }), + dataIndex: 'state', + key: 'state', + valueType: 'select', + render: (_, record) => { + const stateText = intl.formatMessage({ + id: `${intlPrefix}.column.state.${record.state?.toLowerCase() || 'unknown'}`, + }); + + let color = 'default'; + switch (record.state) { + case 'DRAFT': + color = 'default'; + break; + case 'WAITING_AUDIT': + color = 'processing'; + break; + case 'COMPLETED': + color = 'success'; + break; + case 'REJECTED': + color = 'error'; + break; + default: + color = 'default'; + } + + return {stateText}; + }, + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.createdAt' }), + dataIndex: 'createdAt', + key: 'createdAt', + valueType: 'dateTime', + search: false, + }, + ]; + + const detailColumns: ProDescriptionsItemProps< + BusinessAPI.PurchaseOrderVO, + BizValueType + >[] = columns as ProDescriptionsItemProps< + BusinessAPI.PurchaseOrderVO, + BizValueType + >[]; + + return ( + + rowKey={'orderId'} + permission={'operation-purchase-order'} + func={business.purchaseOrder} + method={'purchaseOrder'} + methodUpper={'PurchaseOrder'} + intlPrefix={intlPrefix} + modeType={mode} + onValueChange={onValueChange} + container={{ + ghost, + }} + status={false} + page={{ + fieldProps: { + bordered: true, + ghost, + //@ts-ignore + search, + params: { + ...(activeKey !== 'ALL' && { + state: activeKey! as BusinessAPI.PurchaseOrderVO['state'], + }), + }, + toolbar: { + menu: { + type: 'tab', + activeKey: activeKey, + items: [ + // 全部 + { + key: 'ALL', + label: intl.formatMessage({ + id: intlPrefix + '.tab.all', + }), + }, + { + key: 'DRAFT', + label: intl.formatMessage({ + id: intlPrefix + '.tab.draft', + }), + }, + { + key: 'WAITING_AUDIT', + label: intl.formatMessage({ + id: intlPrefix + '.tab.waitingAudit', + }), + }, + { + key: 'COMPLETED', + label: intl.formatMessage({ + id: intlPrefix + '.tab.completed', + }), + }, + { + key: 'REJECTED', + label: intl.formatMessage({ + id: intlPrefix + '.tab.rejected', + }), + }, + { + key: 'CLOSED', + label: intl.formatMessage({ + id: intlPrefix + '.tab.closed', + }), + }, + ], + onChange: (key) => { + setActiveKey(key as string); + }, + }, + }, + }, + columns, + }} + create={false} + update={false} + destroy={false} + detail={{ + rowId: orderId, + formType: 'drawer', + columns: detailColumns, + trigger, + }} + /> + ); +} diff --git a/packages/app-operation/src/components/Order/OrderSupplierList.tsx b/packages/app-operation/src/components/Order/OrderSupplierList.tsx new file mode 100644 index 0000000..3e54bb5 --- /dev/null +++ b/packages/app-operation/src/components/Order/OrderSupplierList.tsx @@ -0,0 +1,301 @@ +import { + BizContainer, + BizValueType, + CompanyList, + ModeType, + PurchaseOrderList, +} from '@/components'; +import { business } from '@/services'; +import { formatBankCard, formatIdCard, formatPhone } from '@/utils/format'; +import { useIntl } from '@@/exports'; +import { EyeInvisibleOutlined, EyeTwoTone } from '@ant-design/icons'; +import { ProColumns } from '@ant-design/pro-components'; +import { ProDescriptionsItemProps } from '@ant-design/pro-descriptions'; +import React, { useState } from 'react'; + +interface IOrderSupplierListProps { + ghost?: boolean; + orderId?: BusinessAPI.PurchaseOrderVO['orderId']; + search?: boolean; + onValueChange?: () => void; + mode?: ModeType; + trigger?: () => React.ReactNode; +} + +export default function OrderSupplierList(props: IOrderSupplierListProps) { + const { + ghost = false, + orderId, + search = true, + mode = 'page', + trigger, + onValueChange, + } = props; + const intl = useIntl(); + const intlPrefix = 'orderSupplier'; + + const [showIdCard, setShowIdCard] = useState>({}); + const [showBankCard, setShowBankCard] = useState>({}); + const [showPhone, setShowPhone] = useState>({}); + const [activeKey, setActiveKey] = useState('ALL'); + + const columns: ProColumns[] = [ + { + title: intl.formatMessage({ id: intlPrefix + '.column.name' }), + dataIndex: 'name', + key: 'name', + }, + { + title: intl.formatMessage({ + id: intlPrefix + '.column.idCard', + }), + dataIndex: 'idCard', + key: 'idCard', + search: false, + render: (_, record) => ( +
+ + {formatIdCard(record.idCard, showIdCard[record.orderSupplierId])} + + { + setShowIdCard((prev) => ({ + ...prev, + [record.orderSupplierId]: !prev[record.orderSupplierId], + })); + }} + > + {showIdCard[record.orderSupplierId] ? ( + + ) : ( + + )} + +
+ ), + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.phone' }), + dataIndex: 'phone', + key: 'phone', + search: false, + render: (_, record) => ( +
+ + {formatPhone(record.phone, showPhone[record.orderSupplierId])} + + { + setShowPhone((prev) => ({ + ...prev, + [record.orderSupplierId]: !prev[record.orderSupplierId], + })); + }} + > + {showPhone[record.orderSupplierId] ? ( + + ) : ( + + )} + +
+ ), + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.bankCard' }), + dataIndex: 'bankCard', + key: 'bankCard', + search: false, + render: (_, record) => ( +
+ + {formatBankCard( + record?.bankCard || '', + showBankCard[record.orderSupplierId], + )} + + { + setShowBankCard((prev) => ({ + ...prev, + [record.orderSupplierId]: !prev[record.orderSupplierId], + })); + }} + > + {showBankCard[record.orderSupplierId] ? ( + + ) : ( + + )} + +
+ ), + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.purchaseOrder' }), + dataIndex: 'purchaseOrderVO', + key: 'poOrderSn', + render: (_, record) => { + return ( + {record.purchaseOrderVO.orderSn}} + /> + ); + }, + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.orderVehicle' }), + dataIndex: 'orderVehicle', + key: 'ovVehicleNo', + render: (_, record) => { + return ( + + {record.orderVehicle.origin} 至 {record.orderVehicle.destination} + + ); + }, + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.orderCompany' }), + dataIndex: 'orderCompany', + valueType: 'select', + request: async (params) => { + const { data } = await business.company.listCompany({ + companyListQry: { + ...params, + }, + }); + + return ( + data?.map((item) => { + return { + label: item.fullName, + value: item.companyId, + }; + }) || [] + ); + }, + render: (_, record) => { + return ( + {record.orderCompany.fullName}} + /> + ); + }, + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.isPaid' }), + dataIndex: 'isPaid', + key: 'isPaid', + valueType: 'select', + valueEnum: { + true: { + text: intl.formatMessage({ + id: intlPrefix + '.column.isPaid.paid', + }), + status: 'success', + }, + false: { + text: intl.formatMessage({ + id: intlPrefix + '.column.isPaid.unpaid', + }), + status: 'processing', + }, + }, + }, + ]; + + const detailColumns: ProDescriptionsItemProps< + BusinessAPI.OrderSupplierVO, + BizValueType + >[] = columns as ProDescriptionsItemProps< + BusinessAPI.OrderSupplierVO, + BizValueType + >[]; + + return ( + + rowKey={'orderSupplierId'} + permission={'operation-order-supplier'} + func={business.orderSupplier} + method={'orderSupplier'} + methodUpper={'OrderSupplier'} + intlPrefix={intlPrefix} + modeType={mode} + onValueChange={onValueChange} + container={{ + ghost, + }} + status={false} + page={{ + fieldProps: { + bordered: true, + ghost, + //@ts-ignore + search, + params: { + ...(activeKey !== 'ALL' && { + isPaid: activeKey! as any, + }), + poStates: ['COMPLETED'], + }, + toolbar: { + menu: { + type: 'tab', + activeKey: activeKey, + items: [ + // 全部 + { + key: 'ALL', + label: intl.formatMessage({ + id: intlPrefix + '.tab.all', + }), + }, + // 已支付 + { + key: 'true', + label: intl.formatMessage({ + id: intlPrefix + '.tab.paid', + }), + }, + // 未支付 + { + key: 'false', + label: intl.formatMessage({ + id: intlPrefix + '.tab.unpaid', + }), + }, + ], + onChange: (key) => { + setActiveKey(key as string); + }, + }, + }, + }, + columns, + }} + create={false} + update={false} + destroy={false} + detail={{ + rowId: orderId, + formType: 'drawer', + columns: detailColumns, + trigger, + }} + /> + ); +} diff --git a/packages/app-operation/src/components/Order/PurchaseOrderList.tsx b/packages/app-operation/src/components/Order/PurchaseOrderList.tsx new file mode 100644 index 0000000..bf92147 --- /dev/null +++ b/packages/app-operation/src/components/Order/PurchaseOrderList.tsx @@ -0,0 +1,210 @@ +import { BizContainer, BizValueType, ModeType } from '@/components'; +import { business } from '@/services'; +import { useIntl } from '@@/exports'; +import { ProColumns } from '@ant-design/pro-components'; +import { ProDescriptionsItemProps } from '@ant-design/pro-descriptions'; +import { Tag } from 'antd'; +import React, { useState } from 'react'; + +interface IPurchaseOrderListProps { + ghost?: boolean; + orderId?: BusinessAPI.PurchaseOrderVO['orderId']; + search?: boolean; + onValueChange?: () => void; + mode?: ModeType; + trigger?: () => React.ReactNode; +} + +export default function PurchaseOrderList(props: IPurchaseOrderListProps) { + const { + ghost = false, + orderId, + search = true, + mode = 'page', + trigger, + onValueChange, + } = props; + const intl = useIntl(); + const intlPrefix = 'purchaseOrder'; + + const [activeKey, setActiveKey] = useState('ALL'); + + const columns: ProColumns[] = [ + { + title: intl.formatMessage({ id: intlPrefix + '.column.orderSn' }), + dataIndex: 'orderSn', + key: 'orderSn', + renderText: (text: string) => {text}, + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.origin' }), + dataIndex: ['orderVehicle', 'origin'], + search: false, + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.destination' }), + dataIndex: ['orderVehicle', 'destination'], + search: false, + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.dealerName' }), + dataIndex: ['orderVehicle', 'dealerName'], + key: 'dealerName', + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.plate' }), + dataIndex: ['orderVehicle', 'plate'], + key: 'plate', + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.driver' }), + dataIndex: ['orderVehicle', 'driver'], + key: 'driver', + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.phone' }), + dataIndex: ['orderVehicle', 'phone'], + key: 'phone', + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.state' }), + dataIndex: 'state', + key: 'state', + valueType: 'select', + render: (_, record) => { + const stateText = intl.formatMessage({ + id: `${intlPrefix}.column.state.${record.state?.toLowerCase() || 'unknown'}`, + }); + + let color = 'default'; + switch (record.state) { + case 'DRAFT': + color = 'default'; + break; + case 'WAITING_AUDIT': + color = 'processing'; + break; + case 'COMPLETED': + color = 'success'; + break; + case 'REJECTED': + color = 'error'; + break; + default: + color = 'default'; + } + + return {stateText}; + }, + }, + { + title: intl.formatMessage({ id: intlPrefix + '.column.createdAt' }), + dataIndex: 'createdAt', + key: 'createdAt', + valueType: 'dateTime', + search: false, + }, + ]; + + const detailColumns: ProDescriptionsItemProps< + BusinessAPI.PurchaseOrderVO, + BizValueType + >[] = columns as ProDescriptionsItemProps< + BusinessAPI.PurchaseOrderVO, + BizValueType + >[]; + + return ( + + rowKey={'orderId'} + permission={'operation-purchase-order'} + func={business.purchaseOrder} + method={'purchaseOrder'} + methodUpper={'PurchaseOrder'} + intlPrefix={intlPrefix} + modeType={mode} + onValueChange={onValueChange} + container={{ + ghost, + }} + status={false} + page={{ + fieldProps: { + bordered: true, + ghost, + //@ts-ignore + search, + params: { + ...(activeKey !== 'ALL' && { + state: activeKey! as BusinessAPI.PurchaseOrderVO['state'], + }), + }, + toolbar: { + menu: { + type: 'tab', + activeKey: activeKey, + items: [ + // 全部 + { + key: 'ALL', + label: intl.formatMessage({ + id: intlPrefix + '.tab.all', + }), + }, + { + key: 'DRAFT', + label: intl.formatMessage({ + id: intlPrefix + '.tab.draft', + }), + }, + { + key: 'WAITING_AUDIT', + label: intl.formatMessage({ + id: intlPrefix + '.tab.waitingAudit', + }), + }, + { + key: 'COMPLETED', + label: intl.formatMessage({ + id: intlPrefix + '.tab.completed', + }), + }, + { + key: 'REJECTED', + label: intl.formatMessage({ + id: intlPrefix + '.tab.rejected', + }), + }, + { + key: 'CLOSED', + label: intl.formatMessage({ + id: intlPrefix + '.tab.closed', + }), + }, + ], + onChange: (key) => { + setActiveKey(key as string); + }, + }, + }, + }, + columns, + }} + create={false} + update={false} + destroy={false} + detail={{ + rowId: orderId, + formType: 'drawer', + columns: detailColumns, + trigger, + }} + /> + ); +} diff --git a/packages/app-operation/src/components/Purchase/index.ts b/packages/app-operation/src/components/Order/index.ts similarity index 50% rename from packages/app-operation/src/components/Purchase/index.ts rename to packages/app-operation/src/components/Order/index.ts index c6e2b80..0a6db3b 100644 --- a/packages/app-operation/src/components/Purchase/index.ts +++ b/packages/app-operation/src/components/Order/index.ts @@ -1 +1,2 @@ export { default as PurchaseOrderList } from './PurchaseOrderList'; +export { default as OrderSupplierList } from './OrderSupplierList'; diff --git a/packages/app-operation/src/components/Purchase/PurchaseOrderList.tsx b/packages/app-operation/src/components/Purchase/PurchaseOrderList.tsx deleted file mode 100644 index 168be9b..0000000 --- a/packages/app-operation/src/components/Purchase/PurchaseOrderList.tsx +++ /dev/null @@ -1,3 +0,0 @@ -export default function PurchaseOrderList() { - return <>; -} diff --git a/packages/app-operation/src/components/index.ts b/packages/app-operation/src/components/index.ts index 274e99a..e3d72df 100644 --- a/packages/app-operation/src/components/index.ts +++ b/packages/app-operation/src/components/index.ts @@ -15,7 +15,7 @@ export * from './Menu'; export * from './Permission'; export { default as PhoneContainer } from './PhoneContainer'; export * from './Platform'; -export * from './Purchase'; +export * from './Order'; export * from './Remark'; export * from './Role'; export * from './Setting'; diff --git a/packages/app-operation/src/layout/guide/Avatar.tsx b/packages/app-operation/src/layout/guide/Avatar.tsx index 8732547..c97393e 100644 --- a/packages/app-operation/src/layout/guide/Avatar.tsx +++ b/packages/app-operation/src/layout/guide/Avatar.tsx @@ -1,36 +1,120 @@ -import { LogoutOutlined, SettingOutlined } from '@ant-design/icons'; +import { + LogoutOutlined, + SettingOutlined, + UserSwitchOutlined, +} from '@ant-design/icons'; import { history, useModel } from '@umijs/max'; -import { Dropdown } from 'antd'; -import React, { ReactNode } from 'react'; +import { Dropdown, message, Modal, Radio } from 'antd'; +import React, { ReactNode, useEffect, useState } from 'react'; const Avatar: React.FC<{ children: ReactNode }> = ({ children }) => { const { logout } = useModel('useUser', (model) => ({ logout: model.logout, })); + const [userRoleVOList, setUserRoleVOList] = useState< + BusinessAPI.UserRoleVO[] + >([]); + const [isModalVisible, setIsModalVisible] = useState(false); + const [selectedRoleId, setSelectedRoleId] = useState(''); + + useEffect(() => { + const roles = JSON.parse( + localStorage.getItem('userRoleVOList') || '[]', + ) as BusinessAPI.UserRoleVO[]; + setUserRoleVOList(roles); + + // 获取当前选中的角色 + const currentRoleSlug = localStorage.getItem('roleSlug') || ''; + const currentRole = roles.find((role) => role.slug === currentRoleSlug); + if (currentRole) { + setSelectedRoleId(currentRole.roleId); + } + }, []); + + const handleSwitchRole = () => { + setIsModalVisible(true); + }; + + const handleModalOk = () => { + // 保存选中的角色到localStorage + const selectedRole = userRoleVOList.find( + (role) => role.roleId === selectedRoleId, + ); + if (selectedRole) { + localStorage.setItem('roleSlug', selectedRole.slug); + message.success('角色切换成功,请重新加载页面'); + setIsModalVisible(false); + // 重新加载页面以应用新的角色权限 + window.location.reload(); + } + }; + + const handleModalCancel = () => { + setIsModalVisible(false); + }; + return ( - , - label: '账号设置', - onClick: async () => { - history.push('/operation/settings/account'); + <> + 1 + ? [ + { + key: 'switch', + icon: , + label: '切换角色', + onClick: handleSwitchRole, + }, + ] + : []), + { + key: 'setting', + icon: , + label: '账号设置', + onClick: async () => { + history.push('/operation/settings/account'); + }, }, - }, - { - key: 'logout', - icon: , - label: '退出登录', - onClick: async () => logout(), - }, - ], - }} - > - {children} - + { + key: 'logout', + icon: , + label: '退出登录', + onClick: async () => logout(), + }, + ], + }} + > + {children} + + + + setSelectedRoleId(e.target.value)} + value={selectedRoleId} + style={{ width: '100%' }} + > +
+ {userRoleVOList.map((role) => ( +
+ {role.name} +
+ ))} +
+
+
+ ); }; diff --git a/packages/app-operation/src/locales/zh-CN.ts b/packages/app-operation/src/locales/zh-CN.ts index 1e24718..22f7960 100644 --- a/packages/app-operation/src/locales/zh-CN.ts +++ b/packages/app-operation/src/locales/zh-CN.ts @@ -703,6 +703,9 @@ export default { enableCompanyRebate: '公司返点', 'enableCompanyRebate.tooltip': '是否开启公司返点', companyRebateRatio: '公司返点比例', + enableLoss: '产地损耗', + 'enableLoss.tooltip': '是否开启产地损耗', + lossAmount: '产地损耗金额', remark: '备注', status: '状态', 'status.enum.enabled': '正常', @@ -762,6 +765,13 @@ export default { label: '公司返点比例', placeholder: '请输入公司返点比例', }, + enableLoss: { + label: '是否开启产地损耗', + }, + lossAmount: { + label: '产地损耗金额', + placeholder: '请输入产地损耗金额', + }, remark: { label: '备注', placeholder: '请输入备注', @@ -2025,52 +2035,136 @@ export default { }, }, }, - shipOrder: { + purchaseOrder: { + tab: { + all: '全部', + draft: '草稿', + waitingAudit: '审核中', + completed: '已完成', + rejected: '已驳回', + closed: '已关闭', + }, + column: { + orderSn: '采购单编号', + plate: '车牌号', + deliveryTime: '采购日期', + dealerName: '经销商名称', + frameInfo: '瓜农信息', + origin: '发货地', + destination: '收货地', + driver: '司机名称', + phone: '联系电话', + state: '状态', + 'state.draft': '草稿', + 'state.waiting_audit': '审核中', + 'state.completed': '已完成', + 'state.rejected': '已驳回', + 'state.closed': '已关闭', + createdAt: '创建时间', + option: '操作', + }, + modal: { + create: { + title: '创建采购单', + button: '创建采购单', + success: '创建采购单成功', + }, + update: { + title: '更新采购单', + button: '编辑', + success: '更新采购单成功', + }, + delete: { + success: '删除采购单成功', + button: '删除', + confirm: { + title: '确认删除', + content: '您确定要删除该采购单吗?', + okText: '确定', + cancelText: '取消', + }, + }, + view: { + title: '查看发货单', + button: '详情', + }, + }, + }, + orderShip: { + tab: { + all: '全部', + draft: '草稿', + waitShipment: '待发货', + waitPayment: '待回款', + partialPayment: '部分回款', + fullPayment: '已回款', + rejectFinish: '拒收完结', + finish: '已完结', + }, column: { orderSn: '发货单编号', dealerName: '经销商名称', vehicleNo: '车次号', shippingDate: '发货日期', state: '状态', - 'state.waitPayment': '待回款', - 'state.partialPayment': '部分回款', - 'state.fullPayment': '已回款', - 'state.rejectFinish': '拒收完结', + 'state.draft': '草稿', + 'state.wait_shipment': '待发货', + 'state.wait_payment': '待回款', + 'state.partial_payment': '部分回款', + 'state.full_payment': '已回款', + 'state.reject_finish': '拒收完结', 'state.finish': '已完结', - totalAmount: '合计金额(元)', createdAt: '创建时间', option: '操作', }, - form: { - orderSn: { - label: '发货单编号', - placeholder: '请输入发货单编号', + modal: { + create: { + title: '创建发货单', + button: '创建发货单', + success: '创建发货单成功', }, - dealerName: { - label: '经销商名称', - placeholder: '请输入经销商名称', + update: { + title: '更新发货单', + button: '编辑', + success: '更新发货单成功', }, - shippingDate: { - label: '发货日期', - placeholder: '请选择发货日期', + delete: { + success: '删除发货单成功', + button: '删除', + confirm: { + title: '确认删除', + content: '您确定要删除该发货单吗?', + okText: '确定', + cancelText: '取消', + }, }, - vehicleNo: { - label: '车次号', - placeholder: '请输入车次号', - }, - state: { - label: '状态', - placeholder: '请选择状态', - }, - totalAmount: { - label: '合计金额(元)', - placeholder: '请输入合计金额', - }, - remark: { - label: '备注', - placeholder: '请输入备注', + view: { + title: '查看发货单', + button: '详情', }, }, + }, + orderSupplier: { + tab: { + all: '全部', + paid: '已付款', + unpaid: '待付款', + }, + column: { + name: '瓜农姓名', + idCard: '瓜农身份证', + phone: '瓜农手机号', + bankCard: '瓜农银行卡号', + purchaseOrder: '关联采购单', + orderVehicle: '关联车辆', + orderCompany: '所属公司', + isPaid: '是否付款', + 'isPaid.paid': '已付款', + 'isPaid.unpaid': '待付款', + paidAt: '付款时间', + createdAt: '创建时间', + option: '操作', + }, modal: { create: { title: '创建发货单', diff --git a/packages/app-operation/src/models/useUser.ts b/packages/app-operation/src/models/useUser.ts index c1ca435..f1ce48e 100644 --- a/packages/app-operation/src/models/useUser.ts +++ b/packages/app-operation/src/models/useUser.ts @@ -1,31 +1,6 @@ import auth from '@/services/auth'; -import { useModel } from '@umijs/max'; -import { getRedirectUrl } from '@/utils/getRedirectUrl'; const useUser = () => { - const { initialState } = useModel('@@initialState'); - - /** - * 密码登录 - * @param loginForm - */ - const passwordLogin = async (loginForm: any): Promise => { - await auth.userAuth.passwordLogin(loginForm); - await getRedirectUrl(); - }; - - const getAdminInfo = (): AuthAPI.AdminVO | undefined => { - if (initialState?.currentAdmin) { - return initialState?.currentAdmin; - } else { - window.localStorage.removeItem('user-data'); - - window.location.href = - process.env.UMI_APP_SSO_LOGIN_URL + - encodeURIComponent(process.env.UMI_APP_OPERATION_URL || ''); - } - }; - /** * 退出登录 */ @@ -33,7 +8,9 @@ const useUser = () => { const response = await auth.userAuth.logout(); if (response.success) { - window.localStorage.removeItem('user-data'); + window.localStorage.removeItem('employee'); + window.localStorage.removeItem('admin'); + window.localStorage.removeItem('roleSlug'); window.location.href = process.env.UMI_APP_SSO_LOGIN_URL + @@ -43,8 +20,6 @@ const useUser = () => { return { logout, - getAdminInfo, - passwordLogin, }; }; diff --git a/packages/app-operation/src/pages/PaymentCost.tsx b/packages/app-operation/src/pages/PaymentCost.tsx new file mode 100644 index 0000000..7ef68a9 --- /dev/null +++ b/packages/app-operation/src/pages/PaymentCost.tsx @@ -0,0 +1,5 @@ +import { MelonFarmerList } from '@/components'; + +export default function Page() { + return ; +} diff --git a/packages/app-operation/src/pages/PaymentRebate.tsx b/packages/app-operation/src/pages/PaymentRebate.tsx new file mode 100644 index 0000000..7ef68a9 --- /dev/null +++ b/packages/app-operation/src/pages/PaymentRebate.tsx @@ -0,0 +1,5 @@ +import { MelonFarmerList } from '@/components'; + +export default function Page() { + return ; +} diff --git a/packages/app-operation/src/pages/PaymentSupplier.tsx b/packages/app-operation/src/pages/PaymentSupplier.tsx new file mode 100644 index 0000000..68f93d8 --- /dev/null +++ b/packages/app-operation/src/pages/PaymentSupplier.tsx @@ -0,0 +1,5 @@ +import { OrderSupplierList } from '@/components'; + +export default function Page() { + return ; +} diff --git a/packages/app-operation/src/services/auth/index.ts b/packages/app-operation/src/services/auth/index.ts index 525c93a..717f72e 100644 --- a/packages/app-operation/src/services/auth/index.ts +++ b/packages/app-operation/src/services/auth/index.ts @@ -6,9 +6,10 @@ import * as captcha from './captcha'; import * as channel from './channel'; import * as user from './user'; import * as userAuth from './userAuth'; + export default { + user, userAuth, captcha, - user, channel, }; diff --git a/packages/app-operation/src/services/auth/typings.d.ts b/packages/app-operation/src/services/auth/typings.d.ts index daac26f..d73fdb3 100644 --- a/packages/app-operation/src/services/auth/typings.d.ts +++ b/packages/app-operation/src/services/auth/typings.d.ts @@ -64,6 +64,47 @@ declare namespace AuthAPI { wxOpenId?: string; }; + type EmployeeShowQry = { + /** 员工信息ID */ + employeeId?: string; + /** 用户ID */ + userId?: string; + }; + + type EmployeeUpdateAvatarCmd = { + /** 员工信息ID */ + employeeId: string; + /** 头像 */ + avatar?: 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: number[]; + /** 角色信息 */ + userRoleList?: UserRoleVO[]; + }; + type getRedirectUrlParams = { redirect: string; }; @@ -170,6 +211,13 @@ declare namespace AuthAPI { data?: AdminVO; }; + type SingleResponseBoolean = { + success?: boolean; + errCode?: string; + errMessage?: string; + data?: boolean; + }; + type SingleResponseChannelVO = { success?: boolean; errCode?: string; @@ -177,6 +225,13 @@ declare namespace AuthAPI { data?: ChannelVO; }; + type SingleResponseEmployeeVO = { + success?: boolean; + errCode?: string; + errMessage?: string; + data?: EmployeeVO; + }; + type SingleResponseString = { success?: boolean; errCode?: string; @@ -235,6 +290,10 @@ declare namespace AuthAPI { meta: Meta; }; + type userEmployeeParams = { + employeeShowQry: EmployeeShowQry; + }; + type userMenuParams = { roleMenuTreeQry: RoleMenuTreeQry; }; @@ -246,6 +305,33 @@ declare namespace AuthAPI { slug: string; /** 角色ID */ roleId: string; + /** 用户ID */ + userId: string; + /** 描述 */ + description: string; + }; + + type UserUpdateCmd = { + /** 会员名称 */ + name?: string; + /** 会员昵称 */ + nickname?: string; + /** 头像 */ + avatar?: string; + /** 会员手机号 */ + phone?: string; + /** 会员生日 */ + birthday?: string; + /** 会员性别 */ + gender?: number; + /** 会员卡号生成方式:1 系统生成 2 自定义 */ + cardType?: number; + /** 备注 */ + remark?: string; + /** 客户标签 */ + labelId?: number[]; + /** 用户ID */ + userId: string; }; type UserVO = { @@ -263,51 +349,52 @@ declare namespace AuthAPI { birthday: string; /** 手机号 */ phone: string; - /** 余额 */ - balance: string; - /** 积分 */ - point: number; /** 备注 */ remark?: string; /** 状态 */ state: 'ENABLE' | 'DISABLE'; /** 是否是管理员 */ isAdmin: boolean; + /** 是否是小区合伙人 */ + isPartner: boolean; /** 创建时间 */ createdAt: string; /** 绑定手机号码时间 */ bindPhoneAt: string; /** 最后一次登录时间 */ lastLoginAt: string; - /** 是否绑定微信 */ - isBindWechat: boolean; - /** 来源渠道 */ - sourceChannel: - | 'WECHAT' - | 'MANAGE_BACKEND' - | 'BOSS_END' - | 'DOUYIN' - | 'INTRODUCE'; - /** 来源方式 */ - sourceWay: - | 'MANUAL_ENTRY' - | 'EXTERNAL_IMPORT' - | 'NINE_GRID_LOTTERY' - | 'ENTER_COUPON_PAGE' - | 'ENTER_HOME_PAGE'; - /** 自定义字段 */ - customField: { empty?: boolean }; - /** 上次跟进时间 */ - lastFollowUpAt: string; - /** 上次跟进天数 */ - userFollowUpDay: number; - /** 是否签单 */ - isSign: boolean; - /** 门店id */ - storeIdList?: number[]; - /** 课程名称 */ - spuName?: string; - /** 课程已参与次数 */ - useNum?: number; + /** 微信公众号openid */ + mpOpenid: string; + /** 微信小程序openid */ + maOpenid: string; + /** 开放平台unionid */ + unionid: string; + }; + + type WxMaOpenidQry = { + /** 微信code */ + code: string; + }; + + type WxMaPhoneBindCmd = { + /** 微信code */ + code: string; + /** 微信encryptedData */ + encryptedData: string; + /** 微信iv */ + iv: string; + }; + + type wxMaPhoneParams = { + wxMaPhoneQry: WxMaPhoneQry; + }; + + type WxMaPhoneQry = { + /** 微信code */ + code: string; + /** 微信encryptedData */ + encryptedData: string; + /** 微信iv */ + iv: string; }; } diff --git a/packages/app-operation/src/services/auth/user.ts b/packages/app-operation/src/services/auth/user.ts index da0a4b7..bcc8a45 100644 --- a/packages/app-operation/src/services/auth/user.ts +++ b/packages/app-operation/src/services/auth/user.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import request from '../request'; +/** 判断是否关注公众号 POST /auth/isSubscribe */ +export async function isSubscribe(options?: { [key: string]: any }) { + return request('/auth/isSubscribe', { + method: 'POST', + ...(options || {}), + }); +} + /** 管理员详情 GET /auth/userAdmin */ export async function userAdmin( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) @@ -19,6 +27,38 @@ export async function userAdmin( }); } +/** 员工详情 GET /auth/userEmployee */ +export async function userEmployee( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: AuthAPI.userEmployeeParams, + options?: { [key: string]: any }, +) { + return request('/auth/userEmployee', { + method: 'GET', + params: { + ...params, + employeeShowQry: undefined, + ...params['employeeShowQry'], + }, + ...(options || {}), + }); +} + +/** 更新员工头像 POST /auth/userEmployeeUpdateAvatar */ +export async function userEmployeeUpdateAvatar( + body: AuthAPI.EmployeeUpdateAvatarCmd, + options?: { [key: string]: any }, +) { + return request('/auth/userEmployeeUpdateAvatar', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 用户信息 GET /auth/userInfo */ export async function userInfo(options?: { [key: string]: any }) { return request('/auth/userInfo', { @@ -43,3 +83,50 @@ export async function userMenu( ...(options || {}), }); } + +/** 修改用户信息 POST /auth/userUpdate */ +export async function userUpdate( + body: AuthAPI.UserUpdateCmd, + options?: { [key: string]: any }, +) { + return request('/auth/userUpdate', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 绑定微信手机号码 POST /auth/wxMaPhone */ +export async function wxMaPhone( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: AuthAPI.wxMaPhoneParams, + options?: { [key: string]: any }, +) { + return request('/auth/wxMaPhone', { + method: 'POST', + params: { + ...params, + wxMaPhoneQry: undefined, + ...params['wxMaPhoneQry'], + }, + ...(options || {}), + }); +} + +/** 绑定微信手机号码 POST /auth/wxMaPhoneBind */ +export async function wxMaPhoneBind( + body: AuthAPI.WxMaPhoneBindCmd, + options?: { [key: string]: any }, +) { + return request('/auth/wxMaPhoneBind', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} diff --git a/packages/app-operation/src/services/auth/userAuth.ts b/packages/app-operation/src/services/auth/userAuth.ts index 5494ba4..04da38e 100644 --- a/packages/app-operation/src/services/auth/userAuth.ts +++ b/packages/app-operation/src/services/auth/userAuth.ts @@ -92,3 +92,18 @@ export async function updatePassword( ...(options || {}), }); } + +/** 微信登录 POST /auth/wxMaCodeLogin */ +export async function wxMaCodeLogin( + body: AuthAPI.WxMaOpenidQry, + options?: { [key: string]: any }, +) { + return request('/auth/wxMaCodeLogin', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} diff --git a/packages/app-operation/src/services/business/index.ts b/packages/app-operation/src/services/business/index.ts index c0abaff..3c59492 100644 --- a/packages/app-operation/src/services/business/index.ts +++ b/packages/app-operation/src/services/business/index.ts @@ -22,6 +22,7 @@ import * as giftBox from './giftBox'; import * as material from './material'; import * as materialCategory from './materialCategory'; import * as menu from './menu'; +import * as orderShip from './orderShip'; import * as orderSupplier from './orderSupplier'; import * as permission from './permission'; import * as platform from './platform'; @@ -29,19 +30,18 @@ import * as product from './product'; import * as purchaseOrder from './purchaseOrder'; import * as role from './role'; import * as setting from './setting'; -import * as shipOrder from './shipOrder'; import * as supplier from './supplier'; import * as user from './user'; export default { user, supplier, - shipOrder, setting, purchaseOrder, product, platform, orderSupplier, + orderShip, menu, material, materialCategory, diff --git a/packages/app-operation/src/services/business/orderShip.ts b/packages/app-operation/src/services/business/orderShip.ts new file mode 100644 index 0000000..ed1d2ef --- /dev/null +++ b/packages/app-operation/src/services/business/orderShip.ts @@ -0,0 +1,168 @@ +// @ts-ignore +/* eslint-disable */ +import request from '../request'; + +/** 创建发货单 POST /operation/createOrderShip */ +export async function createOrderShip( + body: BusinessAPI.OrderShipCreateCmd, + options?: { [key: string]: any }, +) { + return request( + '/operation/createOrderShip', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }, + ); +} + +/** 发货单删除 DELETE /operation/destroyOrderShip */ +export async function destroyOrderShip( + body: BusinessAPI.OrderShipDestroyCmd, + options?: { [key: string]: any }, +) { + return request('/operation/destroyOrderShip', { + method: 'DELETE', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 发货单生成单据 PUT /operation/generateDocumentOrderShip */ +export async function generateDocumentOrderShip( + body: BusinessAPI.OrderShipGenerateDocumentCmd, + options?: { [key: string]: any }, +) { + return request( + '/operation/generateDocumentOrderShip', + { + method: 'PUT', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }, + ); +} + +/** 发货单生成单据 PATCH /operation/generateDocumentOrderShip */ +export async function generateDocumentOrderShip1( + body: BusinessAPI.OrderShipGenerateDocumentCmd, + options?: { [key: string]: any }, +) { + return request( + '/operation/generateDocumentOrderShip', + { + method: 'PATCH', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }, + ); +} + +/** 发货单列表 GET /operation/listOrderShip */ +export async function listOrderShip( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: BusinessAPI.listOrderShipParams, + options?: { [key: string]: any }, +) { + return request( + '/operation/listOrderShip', + { + method: 'GET', + params: { + ...params, + orderShipListQry: undefined, + ...params['orderShipListQry'], + }, + ...(options || {}), + }, + ); +} + +/** 发货单列表 GET /operation/pageOrderShip */ +export async function pageOrderShip( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: BusinessAPI.pageOrderShipParams, + options?: { [key: string]: any }, +) { + return request( + '/operation/pageOrderShip', + { + method: 'GET', + params: { + ...params, + orderShipPageQry: undefined, + ...params['orderShipPageQry'], + }, + ...(options || {}), + }, + ); +} + +/** 发货单详情 GET /operation/showOrderShip */ +export async function showOrderShip( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: BusinessAPI.showOrderShipParams, + options?: { [key: string]: any }, +) { + return request( + '/operation/showOrderShip', + { + method: 'GET', + params: { + ...params, + orderShipShowQry: undefined, + ...params['orderShipShowQry'], + }, + ...(options || {}), + }, + ); +} + +/** 发货单更新 PUT /operation/updateOrderShip */ +export async function updateOrderShip( + body: BusinessAPI.OrderShipUpdateCmd, + options?: { [key: string]: any }, +) { + return request( + '/operation/updateOrderShip', + { + method: 'PUT', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }, + ); +} + +/** 发货单更新 PATCH /operation/updateOrderShip */ +export async function updateOrderShip1( + body: BusinessAPI.OrderShipUpdateCmd, + options?: { [key: string]: any }, +) { + return request( + '/operation/updateOrderShip', + { + method: 'PATCH', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }, + ); +} diff --git a/packages/app-operation/src/services/business/orderSupplier.ts b/packages/app-operation/src/services/business/orderSupplier.ts index 3d37601..b578609 100644 --- a/packages/app-operation/src/services/business/orderSupplier.ts +++ b/packages/app-operation/src/services/business/orderSupplier.ts @@ -2,6 +2,21 @@ /* eslint-disable */ import request from '../request'; +/** 批量上传供应商发票 POST /operation/batchUploadInvoice */ +export async function batchUploadInvoice( + body: BusinessAPI.OrderSupplierBatchInvoiceUploadCmd, + options?: { [key: string]: any }, +) { + return request('/operation/batchUploadInvoice', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 订单供应商列表 GET /operation/pageOrderSupplier */ export async function pageOrderSupplier( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) diff --git a/packages/app-operation/src/services/business/shipOrder.ts b/packages/app-operation/src/services/business/shipOrder.ts deleted file mode 100644 index 8f943de..0000000 --- a/packages/app-operation/src/services/business/shipOrder.ts +++ /dev/null @@ -1,168 +0,0 @@ -// @ts-ignore -/* eslint-disable */ -import request from '../request'; - -/** 创建发货单 POST /operation/createShipOrder */ -export async function createShipOrder( - body: BusinessAPI.ShipOrderCreateCmd, - options?: { [key: string]: any }, -) { - return request( - '/operation/createShipOrder', - { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }, - ); -} - -/** 发货单删除 DELETE /operation/destroyShipOrder */ -export async function destroyShipOrder( - body: BusinessAPI.ShipOrderDestroyCmd, - options?: { [key: string]: any }, -) { - return request('/operation/destroyShipOrder', { - method: 'DELETE', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - -/** 发货单生成单据 PUT /operation/generateDocumentShipOrder */ -export async function generateDocumentShipOrder( - body: BusinessAPI.ShipOrderGenerateDocumentCmd, - options?: { [key: string]: any }, -) { - return request( - '/operation/generateDocumentShipOrder', - { - method: 'PUT', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }, - ); -} - -/** 发货单生成单据 PATCH /operation/generateDocumentShipOrder */ -export async function generateDocumentShipOrder1( - body: BusinessAPI.ShipOrderGenerateDocumentCmd, - options?: { [key: string]: any }, -) { - return request( - '/operation/generateDocumentShipOrder', - { - method: 'PATCH', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }, - ); -} - -/** 发货单列表 GET /operation/listShipOrder */ -export async function listShipOrder( - // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) - params: BusinessAPI.listShipOrderParams, - options?: { [key: string]: any }, -) { - return request( - '/operation/listShipOrder', - { - method: 'GET', - params: { - ...params, - shipOrderListQry: undefined, - ...params['shipOrderListQry'], - }, - ...(options || {}), - }, - ); -} - -/** 发货单列表 GET /operation/pageShipOrder */ -export async function pageShipOrder( - // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) - params: BusinessAPI.pageShipOrderParams, - options?: { [key: string]: any }, -) { - return request( - '/operation/pageShipOrder', - { - method: 'GET', - params: { - ...params, - shipOrderPageQry: undefined, - ...params['shipOrderPageQry'], - }, - ...(options || {}), - }, - ); -} - -/** 发货单详情 GET /operation/showShipOrder */ -export async function showShipOrder( - // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) - params: BusinessAPI.showShipOrderParams, - options?: { [key: string]: any }, -) { - return request( - '/operation/showShipOrder', - { - method: 'GET', - params: { - ...params, - shipOrderShowQry: undefined, - ...params['shipOrderShowQry'], - }, - ...(options || {}), - }, - ); -} - -/** 发货单更新 PUT /operation/updateShipOrder */ -export async function updateShipOrder( - body: BusinessAPI.ShipOrderUpdateCmd, - options?: { [key: string]: any }, -) { - return request( - '/operation/updateShipOrder', - { - method: 'PUT', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }, - ); -} - -/** 发货单更新 PATCH /operation/updateShipOrder */ -export async function updateShipOrder1( - body: BusinessAPI.ShipOrderUpdateCmd, - options?: { [key: string]: any }, -) { - return request( - '/operation/updateShipOrder', - { - method: 'PATCH', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }, - ); -} diff --git a/packages/app-operation/src/services/business/typings.d.ts b/packages/app-operation/src/services/business/typings.d.ts index ab0a86d..0a91b35 100644 --- a/packages/app-operation/src/services/business/typings.d.ts +++ b/packages/app-operation/src/services/business/typings.d.ts @@ -1129,7 +1129,7 @@ declare namespace BusinessAPI { type CostVO = { /** 费用ID */ costId: string; - /** 费用类型:1_辅料类型;2_人工类型;3_产地类型;4_其他类型 */ + /** 费用类型 */ type: | 'MATERIAL_TYPE' | 'ARTIFICIAL_TYPE' @@ -1214,6 +1214,10 @@ declare namespace BusinessAPI { companyRebateRatio?: number; /** 是否可调整比例 */ shareAdjusted?: boolean; + /** 是否开启损耗 */ + enableLoss?: boolean; + /** 损耗金额 */ + lossAmount?: number; }; type DealerDestroyCmd = { @@ -1532,6 +1536,10 @@ declare namespace BusinessAPI { companyRebateRatio?: number; /** 是否可调整比例 */ shareAdjusted?: boolean; + /** 是否开启损耗 */ + enableLoss?: boolean; + /** 损耗金额 */ + lossAmount?: number; /** 发货单模板 */ deliveryTemplate?: string; }; @@ -1577,6 +1585,10 @@ declare namespace BusinessAPI { companyRebateRatio?: number; /** 是否可调整比例 */ shareAdjusted?: boolean; + /** 是否开启损耗 */ + enableLoss?: boolean; + /** 损耗金额 */ + lossAmount?: number; }; type DealerWarehouseCreateCmd = { @@ -2022,6 +2034,8 @@ declare namespace BusinessAPI { type LastVehicleNoQry = { /** 状态:1_启用;0_禁用; */ status?: boolean; + /** 经销商ID */ + dealerId: string; }; type listAgreementParams = { @@ -2088,6 +2102,10 @@ declare namespace BusinessAPI { menuListQry: MenuListQry; }; + type listOrderShipParams = { + orderShipListQry: OrderShipListQry; + }; + type listPermissionParams = { permissionListQry: PermissionListQry; }; @@ -2108,10 +2126,6 @@ declare namespace BusinessAPI { roleListQry: RoleListQry; }; - type listShipOrderParams = { - shipOrderListQry: ShipOrderListQry; - }; - type listSupplierParams = { supplierListQry: SupplierListQry; }; @@ -2510,6 +2524,15 @@ declare namespace BusinessAPI { notEmpty?: boolean; }; + type MultiResponseOrderShipVO = { + success?: boolean; + errCode?: string; + errMessage?: string; + data?: OrderShipVO[]; + empty?: boolean; + notEmpty?: boolean; + }; + type MultiResponsePermissionVO = { success?: boolean; errCode?: string; @@ -2555,15 +2578,6 @@ declare namespace BusinessAPI { notEmpty?: boolean; }; - type MultiResponseShipOrderVO = { - success?: boolean; - errCode?: string; - errMessage?: string; - data?: ShipOrderVO[]; - empty?: boolean; - notEmpty?: boolean; - }; - type MultiResponseSupplierVO = { success?: boolean; errCode?: string; @@ -2627,8 +2641,8 @@ declare namespace BusinessAPI { orderCostId: string; /** 订单ID */ orderId?: string; - /** 成本项目ID */ - costItemId: string; + /** 费用Id */ + costId: string; /** 成本项目名称 */ name: string; /** 单价 */ @@ -2637,14 +2651,45 @@ declare namespace BusinessAPI { unit: string; /** 数量 */ count: number; - /** 付款方类型:1-我方,2-对方 */ - payerType?: 'US' | 'OTHER'; + /** 费用归属:1_工头;2_产地 */ + belong?: 'NONE_TYPE' | 'WORKER_TYPE' | 'PRODUCTION_TYPE'; /** 负责人 */ principal?: string; - /** 是否需要数量和价格 */ - requireQuantityAndPrice?: boolean; - /** 项目类型:1_辅料类型;2_人工类型; */ - type: 'MATERIAL_TYPE' | 'ARTIFICIAL_TYPE'; + /** 费用类型:1_辅料类型;2_人工类型;3_产地类型;4_其他类型 */ + type: + | 'MATERIAL_TYPE' + | 'ARTIFICIAL_TYPE' + | 'PRODUCTION_TYPE' + | 'OTHER_TYPE'; + /** 关联项目id */ + costItemIds?: number[]; + /** 是否选中 */ + selected: 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 OrderDealer = { @@ -2686,6 +2731,10 @@ declare namespace BusinessAPI { costDifference?: number; /** 利润分成 */ profitSharing?: number; + /** 是否开启损耗 */ + enableLoss?: boolean; + /** 损耗金额 */ + lossAmount?: number; }; type OrderPackage = { @@ -2744,6 +2793,269 @@ declare namespace BusinessAPI { amount?: number; }; + 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; + /** 发货单据 */ + document: string; + /** 发货单状态:0_草稿;1_待发货;2_待回款;3_待改签;4_部分回款;5_已回款;6_拒收完结;7_已完结; */ + state: + | 'DRAFT' + | 'WAIT_SHIPMENT' + | 'WAIT_PAYMENT' + | 'WAIT_CHANGE' + | 'PARTIAL_PAYMENT' + | 'FULL_PAYMENT' + | 'REJECT_FINISH' + | 'FINISH'; + /** 备注 */ + remark?: string; + /** 发货单明细 */ + orderShipItemList?: OrderShipItem[]; + }; + + 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[]; + /** 发货单据 */ + document?: string; + }; + + type OrderShipItem = { + /** 发货单子项ID */ + itemId: 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'; + /** 供应商名称 */ + supplierName?: string; + /** 经销商ID */ + dealerId?: string; + offset?: number; + }; + + type OrderShipShowQry = { + /** 状态:1_启用;0_禁用; */ + status?: boolean; + /** 发货单ID */ + orderShipId?: string; + /** 采购单ID */ + purchaseOrderId?: string; + }; + + type OrderShipUpdateCmd = { + /** 发货单ID */ + orderShipId: string; + /** 预计到仓时间 */ + estimatedArrivalDate?: string; + /** 西瓜品级 */ + watermelonGrade?: string; + /** 发货地址 */ + shippingAddress?: string; + /** 公司ID */ + companyId?: string; + /** 公司名称 */ + companyName?: string; + /** 备注 */ + remark?: string; + /** 发货单明细 */ + orderShipItemList?: OrderShipItem[]; + /** 发货单据 */ + document?: 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; + /** 发货单据 */ + document?: string; + /** 发货单状态:0_草稿;1_待发货;2_待回款;3_待改签;4_部分回款;5_已回款;6_拒收完结;7_已完结; */ + state?: + | 'DRAFT' + | 'WAIT_SHIPMENT' + | 'WAIT_PAYMENT' + | 'WAIT_CHANGE' + | 'PARTIAL_PAYMENT' + | 'FULL_PAYMENT' + | 'REJECT_FINISH' + | 'FINISH'; + /** 备注 */ + remark?: string; + /** 创建人ID */ + createdBy: string; + /** 创建人姓名 */ + createdByName?: string; + /** 创建时间 */ + createdAt?: string; + /** 发货单明细 */ + orderShipItemList?: OrderShipItem[]; + /** 发货单成本项目信息 */ + orderCostList?: OrderCost[]; + /** 采购订单车辆运输信息 */ + orderVehicle?: OrderVehicle; + }; + type OrderSupplier = { /** 记录ID */ orderSupplierId: string; @@ -2775,8 +3087,14 @@ declare namespace BusinessAPI { 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; /** 空车照片 */ @@ -2786,19 +3104,51 @@ declare namespace BusinessAPI { /** 是否上传票证 */ invoiceUpload: boolean; /** 发票 */ - invoiceImg?: string[]; + invoiceImg?: UploadFileItem[]; /** 是否上传合同 */ contractUpload: boolean; /** 合同 */ - contractImg?: string[]; + contractImg?: UploadFileItem[]; /** 产品ID */ productId?: string; /** 产品名称 */ productName?: string; + /** 关联费用id */ + costIds?: number[]; + /** 成本模板 */ + costTemplate?: string; + /** 是否已付定金 */ + isDepositPaid?: boolean; + /** 定金金额 */ + depositAmount?: number; + /** 是否付款 */ + isPaid?: boolean; /** 采购订单包装箱信息 */ orderPackageList?: OrderPackage[]; /** 采购订单车辆信息 */ orderVehicle?: OrderVehicle; + /** 采购订单公司信息 */ + orderCompany?: OrderCompany; + /** 是否选中 */ + selected: boolean; + /** 采购订单状态: 0_草稿;1_审核中;2_已完成;3_已驳回;4_已关闭; */ + poState?: + | 'DRAFT' + | 'WAITING_AUDIT' + | 'COMPLETED' + | 'REJECTED' + | 'CLOSED'; + /** 创建时间 */ + createdAt?: string; + }; + + type OrderSupplierBatchInvoiceUploadCmd = { + /** 供应商ID列表 */ + orderSupplierIdList: number[]; + /** 是否上传票证 */ + invoiceUpload?: boolean; + /** 发票照片 */ + invoiceImg?: UploadFileItem[]; }; type OrderSupplierPageQry = { @@ -2824,6 +3174,18 @@ declare namespace BusinessAPI { supplierId?: string; /** 发货日期 */ deliveryTime?: string[]; + /** 发票上传 */ + invoiceUpload?: boolean; + /** 订单状态 */ + poStates?: ( + | 'DRAFT' + | 'WAITING_AUDIT' + | 'COMPLETED' + | 'REJECTED' + | 'CLOSED' + )[]; + /** 是否支付 */ + isPaid?: boolean; offset?: number; }; @@ -2833,11 +3195,19 @@ declare namespace BusinessAPI { /** 是否上传票证 */ invoiceUpload?: boolean; /** 发票照片 */ - invoiceImg?: string[]; + invoiceImg?: UploadFileItem[]; /** 是否上传合同 */ contractUpload?: boolean; /** 合同照片 */ - contractImg?: string[]; + contractImg?: UploadFileItem[]; + /** 是否已付定金 */ + isDepositPaid?: boolean; + /** 定金金额 */ + depositAmount?: number; + /** 是否付款 */ + isPaid?: boolean; + /** 装车模式 1_搭架子+网垫;2_纸箱+胶带+木隔板 */ + loadingMode?: 'FRAME_WITH_NET' | 'BOX_WITH_TAPE'; }; type OrderSupplierVO = { @@ -2846,57 +3216,76 @@ declare namespace BusinessAPI { /** 订单ID */ orderId: string; /** 供应商ID */ - supplierId?: string; + supplierId: string; /** 供应商姓名 */ - name?: string; + name: string; /** 身份证号 */ - idCard?: string; + idCard: string; /** 银行卡号 */ - bankCard?: string; + bankCard: string; /** 手机号 */ - phone?: string; + phone: string; /** 微信二维码 */ - wechatQr?: string; + wechatQr: string; /** 是否最后一家 */ - isLast?: boolean; + isLast: boolean; /** 空磅是否包含纸箱 */ - isPaper?: boolean; + isPaper: boolean; /** 产品id */ - productId?: string; + productId: string; /** 产品名称 */ - productName?: string; + productName: string; + /** 装车模式:1_搭架子+网垫;2_纸箱+胶带+木隔板 */ + loadingMode: 'FRAME_WITH_NET' | 'BOX_WITH_TAPE'; /** 空车重量(kg) */ - emptyWeight?: number; + emptyWeight: number; /** 总重量(kg) */ - totalWeight?: number; + totalWeight: number; /** 毛重(斤) */ - grossWeight?: number; + grossWeight: number; /** 净重(斤) */ - netWeight?: number; + netWeight: number; /** 采购单价(元/斤) */ - purchasePrice?: number; + purchasePrice: number; /** 销售单价(元/斤) */ - salePrice?: number; + salePrice: number; /** 报价方式:1_按毛重报价;2_按净重报价; */ - pricingMethod?: boolean; + pricingMethod: 'BY_GROSS_WEIGHT' | 'BY_NET_WEIGHT'; /** 发票金额 */ - invoiceAmount?: number; + invoiceAmount: number; + /** 是否已付定金 */ + isDepositPaid: boolean; + /** 定金金额 */ + depositAmount: number; + /** 是否付款 */ + isPaid: boolean; /** 空车照片 */ - emptyWeightImg?: string; + emptyWeightImg: string; /** 满载照片 */ - totalWeightImg?: string; + totalWeightImg: string; /** 是否上传票证 */ - invoiceUpload?: boolean; + invoiceUpload: boolean; /** 发票照片 */ - invoiceImg?: string[]; + invoiceImg: UploadFileItem[]; /** 是否上传合同 */ - contractUpload?: boolean; + contractUpload: boolean; /** 合同照片 */ - contractImg?: string[]; + contractImg: UploadFileItem[]; /** 创建时间 */ - createdAt?: string; + createdAt: string; /** 车辆信息 */ - orderVehicle?: OrderVehicle; + orderVehicle: OrderVehicle; + /** 采购订单状态: 0_草稿;1_审核中;2_已完成;3_已驳回;4_已关闭; */ + poState?: + | 'DRAFT' + | 'WAITING_AUDIT' + | 'COMPLETED' + | 'REJECTED' + | 'CLOSED'; + /** 公司信息 */ + orderCompany: OrderCompany; + /** 采购订单信息 */ + purchaseOrderVO: PurchaseOrderVO; }; type OrderVehicle = { @@ -3009,6 +3398,10 @@ declare namespace BusinessAPI { materialPageQry: MaterialPageQry; }; + type pageOrderShipParams = { + orderShipPageQry: OrderShipPageQry; + }; + type pageOrderSupplierParams = { orderSupplierPageQry: OrderSupplierPageQry; }; @@ -3250,6 +3643,19 @@ declare namespace BusinessAPI { totalPages?: number; }; + type PageResponseOrderShipVO = { + success?: boolean; + errCode?: string; + errMessage?: string; + totalCount?: number; + pageSize?: number; + pageIndex?: number; + data?: OrderShipVO[]; + empty?: boolean; + notEmpty?: boolean; + totalPages?: number; + }; + type PageResponseOrderSupplierVO = { success?: boolean; errCode?: string; @@ -3328,19 +3734,6 @@ declare namespace BusinessAPI { totalPages?: number; }; - type PageResponseShipOrderVO = { - success?: boolean; - errCode?: string; - errMessage?: string; - totalCount?: number; - pageSize?: number; - pageIndex?: number; - data?: ShipOrderVO[]; - empty?: boolean; - notEmpty?: boolean; - totalPages?: number; - }; - type PageResponseSupplierVO = { success?: boolean; errCode?: string; @@ -3371,10 +3764,6 @@ declare namespace BusinessAPI { rolePageQry: RolePageQry; }; - type pageShipOrderParams = { - shipOrderPageQry: ShipOrderPageQry; - }; - type pageSupplierParams = { supplierPageQry: SupplierPageQry; }; @@ -3609,6 +3998,8 @@ declare namespace BusinessAPI { orderSupplierList: OrderSupplier[]; /** 采购订单费用信息 */ orderCostList: OrderCost[]; + /** 采购订单费用信息 */ + orderCostItemList: OrderCostItem[]; /** 采购订单包装箱信息 */ orderPackageList: OrderPackage[]; /** 是否是暂存 */ @@ -3619,6 +4010,8 @@ declare namespace BusinessAPI { orderCompany: OrderCompany; /** 返点信息 */ orderRebate: OrderRebate; + /** 发货单信息 */ + orderShipList: OrderShip[]; }; type PurchaseOrderCountQry = { @@ -3655,6 +4048,8 @@ declare namespace BusinessAPI { orderSupplierList: OrderSupplier[]; /** 采购订单费用信息 */ orderCostList: OrderCost[]; + /** 采购订单费用信息 */ + orderCostItemList: OrderCostItem[]; /** 采购订单包装箱信息 */ orderPackageList: OrderPackage[]; }; @@ -3733,6 +4128,8 @@ declare namespace BusinessAPI { status?: boolean; /** 采购订单ID */ orderId?: string; + /** 采购订单发货ID */ + orderShipId?: string; }; type PurchaseOrderStep1Cmd = { @@ -3744,8 +4141,6 @@ declare namespace BusinessAPI { orderVehicle: OrderVehicle; /** 经销商信息 */ orderDealer: OrderDealer; - /** 采购订单费用信息 */ - orderCostList: OrderCost[]; }; type PurchaseOrderStep2Cmd = { @@ -3755,8 +4150,6 @@ declare namespace BusinessAPI { active?: number; /** 供应商信息 */ orderSupplierList: OrderSupplier[]; - /** 采购订单费用信息 */ - orderCostList: OrderCost[]; }; type PurchaseOrderStep3Cmd = { @@ -3770,6 +4163,8 @@ declare namespace BusinessAPI { orderCostList: OrderCost[]; /** 采购订单包装箱信息 */ orderPackageList: OrderPackage[]; + /** 采购订单项目信息 */ + orderCostItemList: OrderCostItem[]; }; type PurchaseOrderSubmitReviewCmd = { @@ -3796,6 +4191,8 @@ declare namespace BusinessAPI { orderSupplierList: OrderSupplier[]; /** 采购订单费用信息 */ orderCostList: OrderCost[]; + /** 采购订单费用信息 */ + orderCostItemList: OrderCostItem[]; /** 采购订单包装箱信息 */ orderPackageList: OrderPackage[]; }; @@ -3808,31 +4205,13 @@ declare namespace BusinessAPI { /** 是否是草稿 */ draft: boolean; /** 步骤标识 */ - active?: number; + active: number; /** 产地负责人 */ originPrincipal?: string; /** 工头 */ foreman?: string; /** 报价方式:1_按毛重报价;2_按净重报价; */ pricingMethod?: 'BY_GROSS_WEIGHT' | 'BY_NET_WEIGHT'; - /** 销售金额 */ - saleAmount?: number; - /** 包装费 */ - packageFee?: number; - /** 平均单价(元/斤) */ - avgUnitPrice?: number; - /** 是否返点 */ - rebate?: boolean; - /** 毛重(斤) */ - grossWeight?: number; - /** 净重(斤) */ - netWeight?: number; - /** 成本合计 */ - totalCost?: number; - /** 运费 */ - freightCharge?: number; - /** 瓜农数量 */ - supplierCount?: number; /** 采购订单状态: 0_草稿;1_审核中;2_已完成;3_已驳回;4_已关闭; */ state?: 'DRAFT' | 'WAITING_AUDIT' | 'COMPLETED' | 'REJECTED' | 'CLOSED'; /** 采购单审核状态: 1_待报价审核;2_待老板审批;3_老板审批通过;4_报价审核驳回;5_老板审批驳回 */ @@ -3865,6 +4244,10 @@ declare namespace BusinessAPI { orderCostList: OrderCost[]; /** 采购订单包装箱信息 */ orderPackageList: OrderPackage[]; + /** 采购订单项目信息 */ + orderCostItemList: OrderCostItem[]; + /** 采购订单发货信息 */ + orderShipList: OrderShip[]; }; type PurchaseOrderWithdrawReviewCmd = { @@ -4090,287 +4473,6 @@ declare namespace BusinessAPI { | WxPayConfigValue; }; - type ShipOrderCreateCmd = { - /** 创建人ID */ - createdBy: string; - /** 创建人姓名 */ - createdByName?: string; - /** 发货单ID */ - shipOrderId: string; - /** 采购单ID */ - purchaseOrderId: string; - /** 发货单编号 */ - orderSn?: string; - /** 发货地址 */ - shippingAddress?: string; - /** 收货地址 */ - receivingAddress?: string; - /** 发货日期 */ - shippingDate?: string; - /** 预计到仓时间 */ - estimatedArrivalDate?: string; - /** 西瓜品级 */ - watermelonGrade?: string; - /** 司机姓名 */ - driverName?: string; - /** 司机手机号 */ - driverPhone?: string; - /** 车牌号码 */ - licensePlate?: string; - /** 运费欠款(元) */ - freightDebt?: number; - /** 草帘欠款(元) */ - strawMatDebt?: number; - /** 商标费(元) */ - trademarkFee?: number; - /** 人工费(元) */ - laborFee?: number; - /** 纸箱费(元) */ - cartonFee?: number; - /** 打码费(元) */ - codingFee?: number; - /** 计提费(元) */ - provisionFee?: number; - /** 合计金额(元) */ - totalAmount?: number; - /** 瓜农姓名逗号隔开 */ - farmerInfo?: string; - /** 公司ID */ - companyId?: string; - /** 公司名称 */ - companyName?: string; - /** 备注 */ - remark?: string; - /** 发货单明细 */ - shipOrderItemList?: ShipOrderItem[]; - /** 发货单包装信息 */ - shipOrderPackageList?: ShipOrderPackage[]; - }; - - type ShipOrderDestroyCmd = { - /** 发货单ID */ - shipOrderId: string; - }; - - type ShipOrderGenerateDocumentCmd = { - /** 发货单ID */ - shipOrderId: string; - /** 预计到仓时间 */ - estimatedArrivalDate?: string; - /** 西瓜品级 */ - watermelonGrade?: string; - /** 发货地址 */ - shippingAddress?: string; - /** 备注 */ - remark?: string; - /** 发货单明细 */ - shipOrderItemList?: ShipOrderItem[]; - /** 发货单据 */ - document?: string; - }; - - type ShipOrderItem = { - /** 发货单子项ID */ - itemId: string; - /** 发货单ID */ - shipOrderId: string; - /** 毛重(斤) */ - grossWeight?: number; - /** 箱重(斤) */ - boxWeight?: number; - /** 箱数 */ - boxCount?: number; - /** 净重(斤) */ - netWeight?: number; - /** 单价(元) */ - unitPrice?: number; - /** 总金额(元) */ - totalAmount?: number; - /** 西瓜品级 */ - watermelonGrade?: string; - /** 创建时间 */ - createdAt?: string; - }; - - type ShipOrderListQry = { - /** 状态:1_启用;0_禁用; */ - status?: boolean; - /** 发货单ID */ - shipOrderId?: string; - }; - - type ShipOrderPackage = { - /** 发货单包装信息Id */ - orderPackageId: string; - /** 发货单ID */ - shipOrderId: string; - /** 箱型ID */ - boxSpecId?: number; - /** 箱型 */ - boxSpecName?: string; - /** 箱号 */ - boxProduct?: string; - /** 数量 */ - quantity?: number; - /** 单价(元) */ - unitPrice?: number; - /** 金额(元) */ - itemAmount?: number; - /** 单重(斤) */ - singleWeight?: number; - /** 总重(斤) */ - totalWeight?: number; - /** 箱子品牌图片 */ - boxBrandImage?: string; - /** 创建时间 */ - createdAt?: string; - }; - - type ShipOrderPageQry = { - 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 */ - shipOrderId?: string; - /** 车辆编号 */ - vehicleNo?: string; - /** 采购订单编号 */ - orderSn?: string; - /** 发货单状态:1_待回款;2_部分回款;3_已回款;4_拒收完结;5_已完结; */ - state?: - | 'WAIT_PAYMENT' - | 'PARTIAL_PAYMENT' - | 'FULL_PAYMENT' - | 'REJECT_FINISH' - | 'FINISH'; - /** 供应商名称 */ - supplierName?: string; - /** 经销商ID */ - dealerId?: string; - offset?: number; - }; - - type ShipOrderShowQry = { - /** 状态:1_启用;0_禁用; */ - status?: boolean; - /** 发货单ID */ - shipOrderId?: string; - /** 采购单ID */ - purchaseOrderId?: string; - }; - - type ShipOrderUpdateCmd = { - /** 发货单ID */ - shipOrderId: string; - /** 预计到仓时间 */ - estimatedArrivalDate?: string; - /** 西瓜品级 */ - watermelonGrade?: string; - /** 发货地址 */ - shippingAddress?: string; - /** 公司ID */ - companyId?: string; - /** 公司名称 */ - companyName?: string; - /** 备注 */ - remark?: string; - /** 发货单明细 */ - shipOrderItemList?: ShipOrderItem[]; - /** 发货单据 */ - document?: string; - }; - - type ShipOrderVO = { - /** 发货单ID */ - shipOrderId: string; - /** 采购单ID */ - purchaseOrderId: string; - /** 发货单编号 */ - orderSn?: string; - /** 经销商ID */ - dealerId?: string; - /** 经销商名称 */ - dealerName?: string; - /** 仓库ID */ - warehouseId?: string; - /** 仓库名称 */ - warehouseName?: string; - /** 公司ID */ - companyId?: string; - /** 公司名称 */ - companyName?: string; - /** 车次号 */ - vehicleNo?: string; - /** 发货地址 */ - shippingAddress?: string; - /** 收货地址 */ - receivingAddress?: string; - /** 发货日期 */ - shippingDate?: string; - /** 预计到仓时间 */ - estimatedArrivalDate?: string; - /** 西瓜品级 */ - watermelonGrade?: string; - /** 司机姓名 */ - driverName?: string; - /** 司机手机号 */ - driverPhone?: string; - /** 车牌号码 */ - licensePlate?: string; - /** 运费欠款(元) */ - freightDebt?: number; - /** 草帘欠款(元) */ - strawMatDebt?: number; - /** 商标费(元) */ - trademarkFee?: number; - /** 人工费(元) */ - laborFee?: number; - /** 纸箱费(元) */ - cartonFee?: number; - /** 打码费(元) */ - codingFee?: number; - /** 计提费(元) */ - provisionFee?: number; - /** 合计金额(元) */ - totalAmount?: number; - /** 瓜农姓名逗号隔开 */ - farmerInfo?: string; - /** 发货单据 */ - document?: string; - /** 发货单状态:1_待回款;2_部分回款;3_已回款;4_拒收完结;5_已完结; */ - state?: - | 'WAIT_PAYMENT' - | 'PARTIAL_PAYMENT' - | 'FULL_PAYMENT' - | 'REJECT_FINISH' - | 'FINISH'; - /** 备注 */ - remark?: string; - /** 创建人ID */ - createdBy: string; - /** 创建人姓名 */ - createdByName?: string; - /** 创建时间 */ - createdAt?: string; - /** 发货单明细 */ - shipOrderItemList?: ShipOrderItem[]; - /** 发货单子项表 */ - shipOrderPackageList?: ShipOrderPackage[]; - /** 发货单成本项目信息 */ - orderCostList?: OrderCost[]; - }; - type showAgreementParams = { agreementShowQry: AgreementShowQry; }; @@ -4447,6 +4549,10 @@ declare namespace BusinessAPI { menuShowQry: MenuShowQry; }; + type showOrderShipParams = { + orderShipShowQry: OrderShipShowQry; + }; + type showPermissionParams = { permissionShowQry: PermissionShowQry; }; @@ -4471,10 +4577,6 @@ declare namespace BusinessAPI { settingShowQry: SettingShowQry; }; - type showShipOrderParams = { - shipOrderShowQry: ShipOrderShowQry; - }; - type showSupplierParams = { supplierShowQry: SupplierShowQry; }; @@ -4623,6 +4725,13 @@ declare namespace BusinessAPI { data?: MenuVO; }; + type SingleResponseOrderShipVO = { + success?: boolean; + errCode?: string; + errMessage?: string; + data?: OrderShipVO; + }; + type SingleResponseOrderSupplierVO = { success?: boolean; errCode?: string; @@ -4679,13 +4788,6 @@ declare namespace BusinessAPI { data?: SettingVO; }; - type SingleResponseShipOrderVO = { - success?: boolean; - errCode?: string; - errMessage?: string; - data?: ShipOrderVO; - }; - type SingleResponseString = { success?: boolean; errCode?: string; @@ -4780,6 +4882,13 @@ declare namespace BusinessAPI { name?: string; }; + 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; @@ -4892,6 +5001,17 @@ declare namespace BusinessAPI { deep?: number; }; + type UploadFileItem = { + /** 文件名 */ + fileName?: string; + /** 文件路径 */ + filePath?: string; + /** 文件大小 */ + fileSize?: number; + /** 文件类型 */ + fileType?: string; + }; + type UserCreateCmd = { /** 会员名称 */ name: string; diff --git a/packages/app-operation/src/utils/format.ts b/packages/app-operation/src/utils/format.ts index e3700ec..e29dac9 100644 --- a/packages/app-operation/src/utils/format.ts +++ b/packages/app-operation/src/utils/format.ts @@ -3,3 +3,21 @@ export const formatCurrency = (value: number) => { return Number(value || 0)?.toLocaleString(); }; + +export const formatIdCard = (idCard: string, showFull: boolean = false) => { + if (showFull) return idCard; + if (idCard.length < 8) return idCard; + return `${idCard.substring(0, 4)}********${idCard.substring(idCard.length - 4)}`; +}; + +export const formatBankCard = (bankCard: string, showFull: boolean = false) => { + if (showFull) return bankCard; + if (bankCard.length < 4) return bankCard; + return `**** **** **** ${bankCard.substring(bankCard.length - 4)}`; +}; + +export const formatPhone = (phone: string, showFull: boolean = false) => { + if (showFull) return phone; + if (phone.length < 4) return phone; + return `${phone.substring(0, 3)}****${phone.substring(phone.length - 4)}`; +}; diff --git a/packages/app-sso-server/.umirc.dev.ts b/packages/app-sso-server/.umirc.dev.ts index 97e936d..74c74f6 100644 --- a/packages/app-sso-server/.umirc.dev.ts +++ b/packages/app-sso-server/.umirc.dev.ts @@ -6,7 +6,7 @@ export default defineConfig({ '/api': { target: 'http://api.erp.xunhong168.test/', changeOrigin: true, - pathRewrite: { '^/': '' }, + pathRewrite: { '^/api': '' }, }, }, plugins: ['@umijs/max-plugin-openapi'], diff --git a/packages/app-sso-server/src/models/useUser.ts b/packages/app-sso-server/src/models/useUser.ts index 1a1b74f..63b3179 100644 --- a/packages/app-sso-server/src/models/useUser.ts +++ b/packages/app-sso-server/src/models/useUser.ts @@ -11,18 +11,8 @@ const useUser = () => { await getRedirectUrl(); }; - /** - * 扫码登录 - * @param loginForm - */ - const scanLogin = async (loginForm: any) => { - await auth.userAuth.wxMpScanLogin(loginForm); - await getRedirectUrl(); - }; - return { passwordLogin, - scanLogin, }; }; diff --git a/packages/app-sso-server/src/services/auth/typings.d.ts b/packages/app-sso-server/src/services/auth/typings.d.ts index daac26f..ea3d1a6 100644 --- a/packages/app-sso-server/src/services/auth/typings.d.ts +++ b/packages/app-sso-server/src/services/auth/typings.d.ts @@ -154,7 +154,7 @@ declare namespace AuthAPI { type RoleMenuTreeQry = { /** 角色权限 */ - roleId?: number[]; + roleId?: string[]; /** 平台ID */ platformId: string; }; @@ -304,7 +304,7 @@ declare namespace AuthAPI { /** 是否签单 */ isSign: boolean; /** 门店id */ - storeIdList?: number[]; + storeIdList?: string[]; /** 课程名称 */ spuName?: string; /** 课程已参与次数 */ diff --git a/swagger/auth.json b/swagger/auth.json index dbebeeb..783ff37 100644 --- a/swagger/auth.json +++ b/swagger/auth.json @@ -1 +1 @@ -{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"http://localhost:8082","description":"Generated server url"}],"tags":[{"name":"UserAuth","description":"认证管理"},{"name":"Captcha","description":"验证码管理"},{"name":"User","description":"用户管理"},{"name":"Channel","description":"渠道管理"}],"paths":{"/auth/updatePassword":{"post":{"tags":["UserAuth"],"summary":"修改密码","operationId":"updatePassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePasswordCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/auth/sso/logout":{"post":{"tags":["UserAuth"],"summary":"登出","operationId":"logout","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/auth/sso/isLogin":{"post":{"tags":["UserAuth"],"summary":"当前是否登录","operationId":"isLogin","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/auth/sso/getSsoAuthUrl":{"post":{"tags":["UserAuth"],"summary":"返回SSO认证中心登录地址","operationId":"getSsoAuthUrl","parameters":[{"name":"clientLoginUrl","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseString"}}}}}}},"/auth/sso/getRedirectUrl":{"post":{"tags":["UserAuth"],"summary":"获取 redirectUrl","operationId":"getRedirectUrl","parameters":[{"name":"redirect","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseString"}}}}}}},"/auth/passwordLogin":{"post":{"tags":["UserAuth"],"summary":"账号密码登录接口","operationId":"passwordLogin","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordLoginQry"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserAuthVO"}}}}}}},"/auth/openSafe":{"post":{"tags":["UserAuth"],"summary":"二次认证","operationId":"openSafe","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenSafeCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/auth/captcha/verify":{"post":{"tags":["Captcha"],"operationId":"verify","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptchaVO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseModel"}}}}}}},"/auth/captcha/get":{"post":{"tags":["Captcha"],"operationId":"get","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptchaVO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseModel"}}}}}}},"/auth/captcha/check":{"post":{"tags":["Captcha"],"operationId":"check","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptchaVO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseModel"}}}}}}},"/auth/userMenu":{"get":{"tags":["User"],"summary":"菜单列表","operationId":"userMenu","parameters":[{"name":"roleMenuTreeQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/RoleMenuTreeQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseTreeLong"}}}}}}},"/auth/userInfo":{"get":{"tags":["User"],"summary":"用户信息","operationId":"userInfo","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserAuthVO"}}}}}}},"/auth/userAdmin":{"get":{"tags":["User"],"summary":"管理员详情","operationId":"userAdmin","parameters":[{"name":"adminShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/AdminShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAdminVO"}}}}}}},"/auth/selectChannelByDomain":{"get":{"tags":["Channel"],"summary":"根据域名获取渠道","operationId":"selectChannelByDomain","parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}}}},"components":{"schemas":{"Response":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"}}},"UpdatePasswordCmd":{"type":"object","properties":{"oldPassword":{"type":"string","title":"旧密码"},"password":{"type":"string","pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"新密码"},"confirmPassword":{"type":"string","pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"确认新密码"}},"required":["confirmPassword","oldPassword","password"],"title":"重置密码"},"SingleResponseString":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"string"}}},"PasswordLoginQry":{"type":"object","properties":{"username":{"type":"string","example":18367831980,"maxLength":20,"minLength":4,"pattern":"^[\\w_-]{8,20}$","title":"登录账号"},"password":{"type":"string","example":18367831980,"maxLength":20,"minLength":8,"pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"登录密码"},"token":{"type":"string","title":"验证码 token"}},"required":["password","username"],"title":"账号密码登录请求"},"Meta":{"type":"object","properties":{"accessToken":{"type":"string","title":"TOKEN"},"tokenType":{"type":"string","title":"TOKEN类型"},"expiresIn":{"type":"integer","format":"int64","title":"过期时间"}},"title":"META扩展"},"PermissionVO":{"type":"object","properties":{"permissionId":{"type":"string","title":"权限Id"},"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"}},"required":["name","permissionId","slug"],"title":"权限"},"SingleResponseUserAuthVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/UserAuthVO"}}},"UserAuthVO":{"type":"object","properties":{"userId":{"type":"string","title":"用户编号"},"userVO":{"$ref":"#/components/schemas/UserVO","title":"用户信息"},"userRoleVOList":{"type":"array","items":{"$ref":"#/components/schemas/UserRoleVO"},"title":"用户角色信息"},"permissionVOList":{"type":"array","items":{"$ref":"#/components/schemas/PermissionVO"},"title":"权限信息"},"meta":{"$ref":"#/components/schemas/Meta","title":"META扩展"}},"required":["meta","permissionVOList","userId","userRoleVOList","userVO"],"title":"账号密码注册响应"},"UserRoleVO":{"type":"object","properties":{"name":{"type":"string","title":"角色名称"},"slug":{"type":"string","title":"角色标识"},"roleId":{"type":"string","title":"角色ID"}},"required":["name","roleId","slug"],"title":"用户角色"},"UserVO":{"type":"object","properties":{"userId":{"type":"string","title":"用户编号"},"nickname":{"type":"string","title":"昵称"},"avatar":{"type":"string","title":"头像"},"name":{"type":"string","title":"姓名"},"gender":{"type":"integer","format":"int32","title":"性别"},"birthday":{"type":"string","title":"生日"},"phone":{"type":"string","title":"手机号"},"balance":{"type":"string","title":"余额"},"point":{"type":"integer","format":"int32","title":"积分"},"remark":{"type":"string","title":"备注"},"state":{"type":"string","enum":["ENABLE","DISABLE"],"title":"状态"},"isAdmin":{"type":"boolean","title":"是否是管理员"},"createdAt":{"type":"string","title":"创建时间"},"bindPhoneAt":{"type":"string","title":"绑定手机号码时间"},"lastLoginAt":{"type":"string","title":"最后一次登录时间"},"isBindWechat":{"type":"boolean","title":"是否绑定微信"},"sourceChannel":{"type":"string","enum":["WECHAT","MANAGE_BACKEND","BOSS_END","DOUYIN","INTRODUCE"],"title":"来源渠道"},"sourceWay":{"type":"string","enum":["MANUAL_ENTRY","EXTERNAL_IMPORT","NINE_GRID_LOTTERY","ENTER_COUPON_PAGE","ENTER_HOME_PAGE"],"title":"来源方式"},"customField":{"type":"object","additionalProperties":{},"properties":{"empty":{"type":"boolean"}},"title":"自定义字段"},"lastFollowUpAt":{"type":"string","title":"上次跟进时间"},"userFollowUpDay":{"type":"integer","format":"int32","title":"上次跟进天数"},"isSign":{"type":"boolean","title":"是否签单"},"storeIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"门店id"},"spuName":{"type":"string","title":"课程名称"},"useNum":{"type":"integer","format":"int32","title":"课程已参与次数"}},"required":["avatar","balance","bindPhoneAt","birthday","createdAt","customField","gender","isAdmin","isBindWechat","isSign","lastFollowUpAt","lastLoginAt","name","nickname","phone","point","sourceChannel","sourceWay","state","userFollowUpDay","userId"],"title":"用户信息"},"OpenSafeCmd":{"type":"object","properties":{"password":{"type":"string","pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"登录密码"}},"required":["password"],"title":"管理员创建"},"CaptchaVO":{"type":"object","properties":{"captchaId":{"type":"string"},"projectCode":{"type":"string"},"captchaType":{"type":"string"},"captchaOriginalPath":{"type":"string"},"captchaFontType":{"type":"string"},"captchaFontSize":{"type":"integer","format":"int32"},"secretKey":{"type":"string"},"originalImageBase64":{"type":"string"},"point":{"$ref":"#/components/schemas/PointVO"},"jigsawImageBase64":{"type":"string"},"wordList":{"type":"array","items":{"type":"string"}},"pointList":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number","format":"double"},"y":{"type":"number","format":"double"}}}},"pointJson":{"type":"string"},"token":{"type":"string"},"result":{"type":"boolean"},"captchaVerification":{"type":"string"},"clientUid":{"type":"string"},"ts":{"type":"integer","format":"int64"},"browserInfo":{"type":"string"}}},"PointVO":{"type":"object","properties":{"secretKey":{"type":"string"},"x":{"type":"integer","format":"int32"},"y":{"type":"integer","format":"int32"}}},"ResponseModel":{"type":"object","properties":{"repCode":{"type":"string"},"repMsg":{"type":"string"},"repData":{},"success":{"type":"boolean"},"repCodeEnum":{"type":"string","enum":["SUCCESS","ERROR","EXCEPTION","BLANK_ERROR","NULL_ERROR","NOT_NULL_ERROR","NOT_EXIST_ERROR","EXIST_ERROR","PARAM_TYPE_ERROR","PARAM_FORMAT_ERROR","API_CAPTCHA_INVALID","API_CAPTCHA_COORDINATE_ERROR","API_CAPTCHA_ERROR","API_CAPTCHA_BASEMAP_NULL","API_REQ_LIMIT_GET_ERROR","API_REQ_INVALID","API_REQ_LOCK_GET_ERROR","API_REQ_LIMIT_CHECK_ERROR","API_REQ_LIMIT_VERIFY_ERROR"],"writeOnly":true}}},"RoleMenuTreeQry":{"type":"object","properties":{"roleId":{"type":"array","example":"acp","items":{"type":"integer","format":"int64"},"title":"角色权限"},"platformId":{"type":"string","title":"平台ID"}},"required":["platformId"],"title":"菜单请求"},"MultiResponseTreeLong":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TreeLong"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"TreeLong":{"type":"object","additionalProperties":{},"properties":{"name":{"type":"object","properties":{"empty":{"type":"boolean"}}},"id":{"type":"integer","format":"int64"},"parentId":{"type":"integer","format":"int64"},"config":{"$ref":"#/components/schemas/TreeNodeConfig"},"weight":{},"empty":{"type":"boolean"}}},"TreeNodeConfig":{"type":"object","properties":{"idKey":{"type":"string"},"parentIdKey":{"type":"string"},"weightKey":{"type":"string"},"nameKey":{"type":"string"},"childrenKey":{"type":"string"},"deep":{"type":"integer","format":"int32"}}},"AdminShowQry":{"type":"object","properties":{"adminId":{"type":"string","title":"管理员ID"},"userId":{"type":"string","title":"用户ID"},"type":{"type":"string","title":"管理员类型"}},"title":"管理员查询"},"AdminVO":{"type":"object","properties":{"adminId":{"type":"string","title":"管理员Id"},"name":{"type":"string","title":"管理员名称"},"userId":{"type":"string","title":"用户Id"},"type":{"type":"string","title":"管理员类型"}},"required":["adminId","name","userId"],"title":"管理员"},"SingleResponseAdminVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/AdminVO"}}},"ChannelVO":{"type":"object","properties":{"channelId":{"type":"string","title":"渠道ID"},"domain":{"type":"string","title":"域名"},"logo":{"type":"string","title":"Logo"},"title":{"type":"string","title":"标题"},"subTitle":{"type":"string","title":"副标题"},"backgroundImageUrl":{"type":"string","title":"背景图片"},"technicalSupport":{"type":"string","title":"技术支持"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"wxMpId":{"type":"string","title":"微信公众号Id"},"wxOpenId":{"type":"string","title":"第三方应用Id"}},"required":["channelId"],"title":"渠道"},"SingleResponseChannelVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/ChannelVO"}}}}}} +{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"http://localhost:8082","description":"Generated server url"}],"tags":[{"name":"UserAuth","description":"认证管理"},{"name":"Captcha","description":"验证码管理"},{"name":"User","description":"用户管理"},{"name":"Channel","description":"渠道管理"}],"paths":{"/auth/wxMaPhone":{"post":{"tags":["User"],"summary":"绑定微信手机号码","operationId":"wxMaPhone","parameters":[{"name":"wxMaPhoneQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/WxMaPhoneQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseString"}}}}}}},"/auth/wxMaPhoneBind":{"post":{"tags":["User"],"summary":"绑定微信手机号码","operationId":"wxMaPhoneBind","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WxMaPhoneBindCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/auth/wxMaCodeLogin":{"post":{"tags":["UserAuth"],"summary":"微信登录","operationId":"wxMaCodeLogin","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WxMaOpenidQry"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserAuthVO"}}}}}}},"/auth/userUpdate":{"post":{"tags":["User"],"summary":"修改用户信息","operationId":"userUpdate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/auth/userEmployeeUpdateAvatar":{"post":{"tags":["User"],"summary":"更新员工头像","operationId":"userEmployeeUpdateAvatar","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeUpdateAvatarCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/auth/updatePassword":{"post":{"tags":["UserAuth"],"summary":"修改密码","operationId":"updatePassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePasswordCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/auth/sso/logout":{"post":{"tags":["UserAuth"],"summary":"登出","operationId":"logout","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/auth/sso/isLogin":{"post":{"tags":["UserAuth"],"summary":"当前是否登录","operationId":"isLogin","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/auth/sso/getSsoAuthUrl":{"post":{"tags":["UserAuth"],"summary":"返回SSO认证中心登录地址","operationId":"getSsoAuthUrl","parameters":[{"name":"clientLoginUrl","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseString"}}}}}}},"/auth/sso/getRedirectUrl":{"post":{"tags":["UserAuth"],"summary":"获取 redirectUrl","operationId":"getRedirectUrl","parameters":[{"name":"redirect","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseString"}}}}}}},"/auth/passwordLogin":{"post":{"tags":["UserAuth"],"summary":"账号密码登录接口","operationId":"passwordLogin","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordLoginQry"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserAuthVO"}}}}}}},"/auth/openSafe":{"post":{"tags":["UserAuth"],"summary":"二次认证","operationId":"openSafe","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenSafeCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/auth/isSubscribe":{"post":{"tags":["User"],"summary":"判断是否关注公众号","operationId":"isSubscribe","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoolean"}}}}}}},"/auth/captcha/verify":{"post":{"tags":["Captcha"],"operationId":"verify","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptchaVO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseModel"}}}}}}},"/auth/captcha/get":{"post":{"tags":["Captcha"],"operationId":"get","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptchaVO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseModel"}}}}}}},"/auth/captcha/check":{"post":{"tags":["Captcha"],"operationId":"check","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptchaVO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseModel"}}}}}}},"/auth/userMenu":{"get":{"tags":["User"],"summary":"菜单列表","operationId":"userMenu","parameters":[{"name":"roleMenuTreeQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/RoleMenuTreeQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseTreeLong"}}}}}}},"/auth/userInfo":{"get":{"tags":["User"],"summary":"用户信息","operationId":"userInfo","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserAuthVO"}}}}}}},"/auth/userEmployee":{"get":{"tags":["User"],"summary":"员工详情","operationId":"userEmployee","parameters":[{"name":"employeeShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/EmployeeShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseEmployeeVO"}}}}}}},"/auth/userAdmin":{"get":{"tags":["User"],"summary":"管理员详情","operationId":"userAdmin","parameters":[{"name":"adminShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/AdminShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAdminVO"}}}}}}},"/auth/selectChannelByDomain":{"get":{"tags":["Channel"],"summary":"根据域名获取渠道","operationId":"selectChannelByDomain","parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}}}},"components":{"schemas":{"Response":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"}}},"WxMaPhoneQry":{"type":"object","properties":{"code":{"type":"string","title":"微信code"},"encryptedData":{"type":"string","title":"微信encryptedData"},"iv":{"type":"string","title":"微信iv"}},"required":["code","encryptedData","iv"],"title":"绑定微信小程序手机号码"},"SingleResponseString":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"string"}}},"WxMaPhoneBindCmd":{"type":"object","properties":{"code":{"type":"string","title":"微信code"},"encryptedData":{"type":"string","title":"微信encryptedData"},"iv":{"type":"string","title":"微信iv"}},"required":["code","encryptedData","iv"],"title":"绑定微信小程序手机号码"},"WxMaOpenidQry":{"type":"object","properties":{"code":{"type":"string","example":"0c12NPkl25WKmc46nYol2MDsdn12NPkz","minLength":1,"title":"微信code"}},"required":["code"],"title":"微信登录查询"},"Meta":{"type":"object","properties":{"accessToken":{"type":"string","title":"TOKEN"},"tokenType":{"type":"string","title":"TOKEN类型"},"expiresIn":{"type":"integer","format":"int64","title":"过期时间"}},"title":"META扩展"},"PermissionVO":{"type":"object","properties":{"permissionId":{"type":"string","title":"权限Id"},"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"}},"required":["name","permissionId","slug"],"title":"权限"},"SingleResponseUserAuthVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/UserAuthVO"}}},"UserAuthVO":{"type":"object","properties":{"userId":{"type":"string","title":"用户编号"},"userVO":{"$ref":"#/components/schemas/UserVO","title":"用户信息"},"userRoleVOList":{"type":"array","items":{"$ref":"#/components/schemas/UserRoleVO"},"title":"用户角色信息"},"permissionVOList":{"type":"array","items":{"$ref":"#/components/schemas/PermissionVO"},"title":"权限信息"},"meta":{"$ref":"#/components/schemas/Meta","title":"META扩展"}},"required":["meta","permissionVOList","userId","userRoleVOList","userVO"],"title":"账号密码注册响应"},"UserRoleVO":{"type":"object","properties":{"name":{"type":"string","title":"角色名称"},"slug":{"type":"string","title":"角色标识"},"roleId":{"type":"string","title":"角色ID"},"userId":{"type":"string","title":"用户ID"},"description":{"type":"string","title":"描述"}},"required":["description","name","roleId","slug","userId"],"title":"用户角色"},"UserVO":{"type":"object","properties":{"userId":{"type":"string","title":"用户编号"},"nickname":{"type":"string","title":"昵称"},"avatar":{"type":"string","title":"头像"},"name":{"type":"string","title":"姓名"},"gender":{"type":"integer","format":"int32","title":"性别"},"birthday":{"type":"string","title":"生日"},"phone":{"type":"string","title":"手机号"},"remark":{"type":"string","title":"备注"},"state":{"type":"string","enum":["ENABLE","DISABLE"],"title":"状态"},"isAdmin":{"type":"boolean","title":"是否是管理员"},"isPartner":{"type":"boolean","title":"是否是小区合伙人"},"createdAt":{"type":"string","title":"创建时间"},"bindPhoneAt":{"type":"string","title":"绑定手机号码时间"},"lastLoginAt":{"type":"string","title":"最后一次登录时间"},"mpOpenid":{"type":"string","title":"微信公众号openid"},"maOpenid":{"type":"string","title":"微信小程序openid"},"unionid":{"type":"string","title":"开放平台unionid"}},"required":["avatar","bindPhoneAt","birthday","createdAt","gender","isAdmin","isPartner","lastLoginAt","maOpenid","mpOpenid","name","nickname","phone","state","unionid","userId"],"title":"用户信息"},"UserUpdateCmd":{"type":"object","properties":{"name":{"type":"string","title":"会员名称"},"nickname":{"type":"string","title":"会员昵称"},"avatar":{"type":"string","title":"头像"},"phone":{"type":"string","title":"会员手机号"},"birthday":{"type":"string","title":"会员生日"},"gender":{"type":"integer","format":"int32","title":"会员性别"},"cardType":{"type":"integer","format":"int32","title":"会员卡号生成方式:1 系统生成 2 自定义"},"remark":{"type":"string","title":"备注"},"labelId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"客户标签"},"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"用户更新命令"},"EmployeeUpdateAvatarCmd":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"},"avatar":{"type":"string","title":"头像"}},"required":["employeeId"],"title":"员工信息更新"},"UpdatePasswordCmd":{"type":"object","properties":{"oldPassword":{"type":"string","title":"旧密码"},"password":{"type":"string","pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"新密码"},"confirmPassword":{"type":"string","pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"确认新密码"}},"required":["confirmPassword","oldPassword","password"],"title":"重置密码"},"PasswordLoginQry":{"type":"object","properties":{"username":{"type":"string","example":18367831980,"maxLength":20,"minLength":4,"pattern":"^[\\w_-]{8,20}$","title":"登录账号"},"password":{"type":"string","example":18367831980,"maxLength":20,"minLength":8,"pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"登录密码"},"token":{"type":"string","title":"验证码 token"}},"required":["password","username"],"title":"账号密码登录请求"},"OpenSafeCmd":{"type":"object","properties":{"password":{"type":"string","pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"登录密码"}},"required":["password"],"title":"管理员创建"},"SingleResponseBoolean":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"boolean"}}},"CaptchaVO":{"type":"object","properties":{"captchaId":{"type":"string"},"projectCode":{"type":"string"},"captchaType":{"type":"string"},"captchaOriginalPath":{"type":"string"},"captchaFontType":{"type":"string"},"captchaFontSize":{"type":"integer","format":"int32"},"secretKey":{"type":"string"},"originalImageBase64":{"type":"string"},"point":{"$ref":"#/components/schemas/PointVO"},"jigsawImageBase64":{"type":"string"},"wordList":{"type":"array","items":{"type":"string"}},"pointList":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number","format":"double"},"y":{"type":"number","format":"double"}}}},"pointJson":{"type":"string"},"token":{"type":"string"},"result":{"type":"boolean"},"captchaVerification":{"type":"string"},"clientUid":{"type":"string"},"ts":{"type":"integer","format":"int64"},"browserInfo":{"type":"string"}}},"PointVO":{"type":"object","properties":{"secretKey":{"type":"string"},"x":{"type":"integer","format":"int32"},"y":{"type":"integer","format":"int32"}}},"ResponseModel":{"type":"object","properties":{"repCode":{"type":"string"},"repMsg":{"type":"string"},"repData":{},"success":{"type":"boolean"},"repCodeEnum":{"type":"string","enum":["SUCCESS","ERROR","EXCEPTION","BLANK_ERROR","NULL_ERROR","NOT_NULL_ERROR","NOT_EXIST_ERROR","EXIST_ERROR","PARAM_TYPE_ERROR","PARAM_FORMAT_ERROR","API_CAPTCHA_INVALID","API_CAPTCHA_COORDINATE_ERROR","API_CAPTCHA_ERROR","API_CAPTCHA_BASEMAP_NULL","API_REQ_LIMIT_GET_ERROR","API_REQ_INVALID","API_REQ_LOCK_GET_ERROR","API_REQ_LIMIT_CHECK_ERROR","API_REQ_LIMIT_VERIFY_ERROR"],"writeOnly":true}}},"RoleMenuTreeQry":{"type":"object","properties":{"roleId":{"type":"array","example":"acp","items":{"type":"integer","format":"int64"},"title":"角色权限"},"platformId":{"type":"string","title":"平台ID"}},"required":["platformId"],"title":"菜单请求"},"MultiResponseTreeLong":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TreeLong"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"TreeLong":{"type":"object","additionalProperties":{},"properties":{"name":{"type":"object","properties":{"empty":{"type":"boolean"}}},"id":{"type":"integer","format":"int64"},"parentId":{"type":"integer","format":"int64"},"config":{"$ref":"#/components/schemas/TreeNodeConfig"},"weight":{},"empty":{"type":"boolean"}}},"TreeNodeConfig":{"type":"object","properties":{"idKey":{"type":"string"},"parentIdKey":{"type":"string"},"weightKey":{"type":"string"},"nameKey":{"type":"string"},"childrenKey":{"type":"string"},"deep":{"type":"integer","format":"int32"}}},"EmployeeShowQry":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"},"userId":{"type":"string","title":"用户ID"}},"title":"员工信息查询"},"EmployeeVO":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息"},"name":{"type":"string","title":"姓名"},"number":{"type":"string","title":"工号"},"avatar":{"type":"string","title":"头像"},"gender":{"type":"integer","format":"int32","title":"性别"},"phone":{"type":"string","title":"手机号"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"userId":{"type":"string","title":"用户ID"},"roleIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色ID"},"userRoleList":{"type":"array","items":{"$ref":"#/components/schemas/UserRoleVO"},"title":"角色信息"}},"required":["employeeId","gender","name","number","phone","roleIdList","userId"],"title":"员工信息"},"SingleResponseEmployeeVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/EmployeeVO"}}},"AdminShowQry":{"type":"object","properties":{"adminId":{"type":"string","title":"管理员ID"},"userId":{"type":"string","title":"用户ID"},"type":{"type":"string","title":"管理员类型"}},"title":"管理员查询"},"AdminVO":{"type":"object","properties":{"adminId":{"type":"string","title":"管理员Id"},"name":{"type":"string","title":"管理员名称"},"userId":{"type":"string","title":"用户Id"},"type":{"type":"string","title":"管理员类型"}},"required":["adminId","name","userId"],"title":"管理员"},"SingleResponseAdminVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/AdminVO"}}},"ChannelVO":{"type":"object","properties":{"channelId":{"type":"string","title":"渠道ID"},"domain":{"type":"string","title":"域名"},"logo":{"type":"string","title":"Logo"},"title":{"type":"string","title":"标题"},"subTitle":{"type":"string","title":"副标题"},"backgroundImageUrl":{"type":"string","title":"背景图片"},"technicalSupport":{"type":"string","title":"技术支持"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"wxMpId":{"type":"string","title":"微信公众号Id"},"wxOpenId":{"type":"string","title":"第三方应用Id"}},"required":["channelId"],"title":"渠道"},"SingleResponseChannelVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/ChannelVO"}}}}}} diff --git a/swagger/business.json b/swagger/business.json index e58ec6d..fa74cd1 100644 --- a/swagger/business.json +++ b/swagger/business.json @@ -1 +1 @@ -{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"http://localhost:8083","description":"Generated server url"}],"tags":[{"name":"Product","description":"产品管理"},{"name":"Permission","description":"权限管理"},{"name":"Role","description":"应用角色管理"},{"name":"OrderSupplier","description":"订单供应商管理"},{"name":"PurchaseOrder","description":"采购订单管理"},{"name":"ShipOrder","description":"发货单管理"},{"name":"Employee","description":"员工信息管理"},{"name":"Setting","description":"系统设置管理"},{"name":"BoxBrand","description":"纸箱品牌管理"},{"name":"BoxProduct","description":"纸箱产品管理"},{"name":"BoxSpec","description":"纸箱规格管理"},{"name":"Channel","description":"渠道管理"},{"name":"Extraction","description":"信息抽取"},{"name":"Dealer","description":"经销商表管理"},{"name":"Company","description":"公司管理管理"},{"name":"DealerPaymentAccount","description":"经销商付款账户管理"},{"name":"User","description":"用户管理"},{"name":"Cost","description":"费用管理"},{"name":"MaterialCategory","description":"素材分类"},{"name":"DealerWarehouse","description":"经销商仓库管理"},{"name":"Platform","description":"平台管理"},{"name":"Dictionary","description":"字典管理"},{"name":"Material","description":"素材管理"},{"name":"GiftBox","description":"礼盒管理"},{"name":"DealerRebateCustomer","description":"经销商返点客户管理"},{"name":"Menu","description":"应用菜单"},{"name":"Agreement","description":"协议管理"},{"name":"Supplier","description":"供应商管理"},{"name":"CompanyPaymentAccount","description":"公司付款账户管理"},{"name":"CostItem","description":"费用项目管理"}],"paths":{"/operation/updateUser":{"put":{"tags":["User"],"summary":"更新用户","operationId":"updateUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserVO"}}}}}},"patch":{"tags":["User"],"summary":"更新用户","operationId":"updateUser_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserVO"}}}}}}},"/operation/updateSupplier":{"put":{"tags":["Supplier"],"summary":"供应商更新","operationId":"updateSupplier","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}},"patch":{"tags":["Supplier"],"summary":"供应商更新","operationId":"updateSupplier_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}}},"/operation/updateShipOrder":{"put":{"tags":["ShipOrder"],"summary":"发货单更新","operationId":"updateShipOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseShipOrderVO"}}}}}},"patch":{"tags":["ShipOrder"],"summary":"发货单更新","operationId":"updateShipOrder_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseShipOrderVO"}}}}}}},"/operation/updateSetting":{"put":{"tags":["Setting"],"summary":"系统设置更新","operationId":"updateSetting","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSettingVO"}}}}}},"patch":{"tags":["Setting"],"summary":"系统设置更新","operationId":"updateSetting_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSettingVO"}}}}}}},"/operation/updatePurchaseOrder":{"put":{"tags":["PurchaseOrder"],"summary":"采购订单更新","operationId":"updatePurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}},"deprecated":true},"patch":{"tags":["PurchaseOrder"],"summary":"采购订单更新","operationId":"updatePurchaseOrder_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}},"deprecated":true}},"/operation/updateProduct":{"put":{"tags":["Product"],"summary":"产品更新","operationId":"updateProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseProductVO"}}}}}},"patch":{"tags":["Product"],"summary":"产品更新","operationId":"updateProduct_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseProductVO"}}}}}}},"/operation/updatePlatform":{"put":{"tags":["Platform"],"summary":"平台更新","operationId":"updatePlatform","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePlatformVO"}}}}}},"patch":{"tags":["Platform"],"summary":"平台更新","operationId":"updatePlatform_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePlatformVO"}}}}}}},"/operation/updateOrderSupplier":{"put":{"tags":["OrderSupplier"],"summary":"订单供应商更新","operationId":"updateOrderSupplier","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderSupplierUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseOrderSupplierVO"}}}}}},"patch":{"tags":["OrderSupplier"],"summary":"订单供应商更新","operationId":"updateOrderSupplier_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderSupplierUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseOrderSupplierVO"}}}}}}},"/operation/updateMenu":{"put":{"tags":["Menu"],"summary":"菜单更新","operationId":"updateMenu","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMenuVO"}}}}}},"patch":{"tags":["Menu"],"summary":"菜单更新","operationId":"updateMenu_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMenuVO"}}}}}}},"/operation/updateMaterial":{"put":{"tags":["Material"],"summary":"素材内容更新","operationId":"updateMaterial","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMaterialVO"}}}}}},"patch":{"tags":["Material"],"summary":"素材内容更新","operationId":"updateMaterial_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMaterialVO"}}}}}}},"/operation/updateMaterialCategory":{"put":{"tags":["MaterialCategory"],"summary":"更新素材分类","operationId":"updateMaterialCategory","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCategoryVO"}}}}}},"patch":{"tags":["MaterialCategory"],"summary":"更新素材分类","operationId":"updateMaterialCategory_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCategoryVO"}}}}}}},"/operation/updateGiftBox":{"put":{"tags":["GiftBox"],"summary":"礼盒更新","operationId":"updateGiftBox","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiftBoxUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseGiftBoxVO"}}}}}},"patch":{"tags":["GiftBox"],"summary":"礼盒更新","operationId":"updateGiftBox_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiftBoxUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseGiftBoxVO"}}}}}}},"/operation/updateEmployee":{"put":{"tags":["Employee"],"summary":"员工信息更新","operationId":"updateEmployee","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseEmployeeVO"}}}}}},"patch":{"tags":["Employee"],"summary":"员工信息更新","operationId":"updateEmployee_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseEmployeeVO"}}}}}}},"/operation/updateDictionary":{"put":{"tags":["Dictionary"],"summary":"字典更新","operationId":"updateDictionary","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DictionaryUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDictionaryVO"}}}}}},"patch":{"tags":["Dictionary"],"summary":"字典更新","operationId":"updateDictionary_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DictionaryUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDictionaryVO"}}}}}}},"/operation/updateDealer":{"put":{"tags":["Dealer"],"summary":"经销商表更新","operationId":"updateDealer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerVO"}}}}}},"patch":{"tags":["Dealer"],"summary":"经销商表更新","operationId":"updateDealer_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerVO"}}}}}}},"/operation/updateDealerWarehouse":{"put":{"tags":["DealerWarehouse"],"summary":"经销商仓库更新","operationId":"updateDealerWarehouse","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerWarehouseUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerWarehouseVO"}}}}}},"patch":{"tags":["DealerWarehouse"],"summary":"经销商仓库更新","operationId":"updateDealerWarehouse_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerWarehouseUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerWarehouseVO"}}}}}}},"/operation/updateDealerRebateCustomer":{"put":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户更新","operationId":"updateDealerRebateCustomer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerRebateCustomerUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerRebateCustomerVO"}}}}}},"patch":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户更新","operationId":"updateDealerRebateCustomer_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerRebateCustomerUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerRebateCustomerVO"}}}}}}},"/operation/updateDealerPaymentAccount":{"put":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户更新","operationId":"updateDealerPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerPaymentAccountUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerPaymentAccountVO"}}}}}},"patch":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户更新","operationId":"updateDealerPaymentAccount_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerPaymentAccountUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerPaymentAccountVO"}}}}}}},"/operation/updateCost":{"put":{"tags":["Cost"],"summary":"费用更新","operationId":"updateCost","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostVO"}}}}}},"patch":{"tags":["Cost"],"summary":"费用更新","operationId":"updateCost_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostVO"}}}}}}},"/operation/updateCostItem":{"put":{"tags":["CostItem"],"summary":"费用项目更新","operationId":"updateCostItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostItemVO"}}}}}},"patch":{"tags":["CostItem"],"summary":"费用项目更新","operationId":"updateCostItem_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostItemVO"}}}}}}},"/operation/updateCompany":{"put":{"tags":["Company"],"summary":"公司管理更新","operationId":"updateCompany","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyVO"}}}}}},"patch":{"tags":["Company"],"summary":"公司管理更新","operationId":"updateCompany_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyVO"}}}}}}},"/operation/updateCompanyPaymentAccount":{"put":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户更新","operationId":"updateCompanyPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyPaymentAccountVO"}}}}}},"patch":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户更新","operationId":"updateCompanyPaymentAccount_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyPaymentAccountVO"}}}}}}},"/operation/updateChannel":{"put":{"tags":["Channel"],"summary":"渠道更新","operationId":"updateChannel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}},"patch":{"tags":["Channel"],"summary":"渠道更新","operationId":"updateChannel_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}}},"/operation/updateBoxSpec":{"put":{"tags":["BoxSpec"],"summary":"纸箱规格更新","operationId":"updateBoxSpec","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxSpecUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxSpecVO"}}}}}},"patch":{"tags":["BoxSpec"],"summary":"纸箱规格更新","operationId":"updateBoxSpec_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxSpecUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxSpecVO"}}}}}}},"/operation/updateBoxProduct":{"put":{"tags":["BoxProduct"],"summary":"纸箱产品更新","operationId":"updateBoxProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxProductVO"}}}}}},"patch":{"tags":["BoxProduct"],"summary":"纸箱产品更新","operationId":"updateBoxProduct_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxProductVO"}}}}}}},"/operation/updateBoxBrand":{"put":{"tags":["BoxBrand"],"summary":"纸箱品牌更新","operationId":"updateBoxBrand","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxBrandVO"}}}}}},"patch":{"tags":["BoxBrand"],"summary":"纸箱品牌更新","operationId":"updateBoxBrand_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxBrandVO"}}}}}}},"/operation/updateAgreement":{"put":{"tags":["Agreement"],"summary":"协议更新","operationId":"updateAgreement","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAgreementVO"}}}}}},"patch":{"tags":["Agreement"],"summary":"协议更新","operationId":"updateAgreement_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAgreementVO"}}}}}}},"/operation/generateDocumentShipOrder":{"put":{"tags":["ShipOrder"],"summary":"发货单生成单据","operationId":"generateDocumentShipOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderGenerateDocumentCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["ShipOrder"],"summary":"发货单生成单据","operationId":"generateDocumentShipOrder_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderGenerateDocumentCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragProduct":{"put":{"tags":["Product"],"summary":"产品拖拽排序","operationId":"dragProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["Product"],"summary":"产品拖拽排序","operationId":"dragProduct_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragDealer":{"put":{"tags":["Dealer"],"summary":"经销商表拖拽排序","operationId":"dragDealer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["Dealer"],"summary":"经销商表拖拽排序","operationId":"dragDealer_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragCost":{"put":{"tags":["Cost"],"summary":"费用拖拽排序","operationId":"dragCost","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["Cost"],"summary":"费用拖拽排序","operationId":"dragCost_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragCostItem":{"put":{"tags":["CostItem"],"summary":"费用项目拖拽排序","operationId":"dragCostItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["CostItem"],"summary":"费用项目拖拽排序","operationId":"dragCostItem_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragBoxProduct":{"put":{"tags":["BoxProduct"],"summary":"纸箱产品拖拽排序","operationId":"dragBoxProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["BoxProduct"],"summary":"纸箱产品拖拽排序","operationId":"dragBoxProduct_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragBoxBrand":{"put":{"tags":["BoxBrand"],"summary":"纸箱品牌拖拽排序","operationId":"dragBoxBrand","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["BoxBrand"],"summary":"纸箱品牌拖拽排序","operationId":"dragBoxBrand_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/withdrawReviewPurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单撤回提审(录入员撤回提审)","operationId":"withdrawReviewPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderWithdrawReviewCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/updateRole":{"post":{"tags":["Role"],"summary":"更新应用应用角色","operationId":"updateRole","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseRoleVO"}}}}}}},"/operation/updatePermission":{"post":{"tags":["Permission"],"summary":"更新权限","operationId":"updatePermission","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePermissionVO"}}}}}}},"/operation/updateEmployeeRole":{"post":{"tags":["Employee"],"summary":"修改员工角色","operationId":"updateEmployeeRole","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRoleUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/submitReviewPurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单提审(录入员提审)","operationId":"submitReviewPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderSubmitReviewCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/savePurchaseOrderStep3":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单第三步:人工和辅料等费用信息保存","operationId":"savePurchaseOrderStep3","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderStep3Cmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/savePurchaseOrderStep2":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单第二步:供应商信息保存","operationId":"savePurchaseOrderStep2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderStep2Cmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/savePurchaseOrderStep1":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单第一步:车辆信息和经销商信息保存","operationId":"savePurchaseOrderStep1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderStep1Cmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}}}},"/operation/restEmployeePassword":{"post":{"tags":["Employee"],"summary":"重置员工密码","operationId":"restEmployeePassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeRestPasswordCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/rejectFinalPurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单驳回审批(老板驳回审批)","operationId":"rejectFinalPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderRejectFinalCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/rejectApprovePurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单驳回审核(审核员驳回审核)","operationId":"rejectApprovePurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderRejectApproveCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/finalApprovePurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单审批(老板审批)","operationId":"finalApprovePurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderFinalApproveCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/extraction/vehicle":{"post":{"tags":["Extraction"],"summary":"智能提取物流信息","operationId":"vehicleExtraction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleExtractionCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseVehicleExtractionVO"}}}}}}},"/operation/enableUser":{"post":{"tags":["User"],"summary":"启用用户","operationId":"enableUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserEnableCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragMenu":{"post":{"tags":["Menu"],"summary":"菜单拖拽","operationId":"dragMenu","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/disableUser":{"post":{"tags":["User"],"summary":"禁用用户","operationId":"disableUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDisableCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/disableEmployee":{"post":{"tags":["Employee"],"summary":"封禁员工","operationId":"disableEmployee","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeDisableCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyRole":{"post":{"tags":["Role"],"summary":"删除应用角色","operationId":"destroyRole","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyPermission":{"post":{"tags":["Permission"],"summary":"删除权限","operationId":"destroyPermission","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/createUser":{"post":{"tags":["User"],"summary":"创建会员","operationId":"createUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserVO"}}}}}}},"/operation/createSupplier":{"post":{"tags":["Supplier"],"summary":"创建供应商","operationId":"createSupplier","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}}},"/operation/createShipOrder":{"post":{"tags":["ShipOrder"],"summary":"创建发货单","operationId":"createShipOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseShipOrderVO"}}}}}}},"/operation/createRole":{"post":{"tags":["Role"],"summary":"创建应用角色","operationId":"createRole","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseRoleVO"}}}}}}},"/operation/createPurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"创建采购订单(暂存)","operationId":"createPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}},"deprecated":true}},"/operation/createProduct":{"post":{"tags":["Product"],"summary":"创建产品","operationId":"createProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseProductVO"}}}}}}},"/operation/createPlatform":{"post":{"tags":["Platform"],"summary":"创建平台","operationId":"createPlatform","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePlatformVO"}}}}}}},"/operation/createPermission":{"post":{"tags":["Permission"],"summary":"创建权限","operationId":"createPermission","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePermissionVO"}}}}}}},"/operation/createMenu":{"post":{"tags":["Menu"],"summary":"创建菜单","operationId":"createMenu","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMenuVO"}}}}}}},"/operation/createMaterial":{"post":{"tags":["Material"],"summary":"创建素材内容","operationId":"createMaterial","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMaterialVO"}}}}}}},"/operation/createMaterialCategory":{"post":{"tags":["MaterialCategory"],"summary":"创建素材分类","operationId":"createMaterialCategory","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCategoryVO"}}}}}}},"/operation/createGiftBox":{"post":{"tags":["GiftBox"],"summary":"创建礼盒","operationId":"createGiftBox","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiftBoxCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseGiftBoxVO"}}}}}}},"/operation/createEmployee":{"post":{"tags":["Employee"],"summary":"创建员工信息","operationId":"createEmployee","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseEmployeeVO"}}}}}}},"/operation/createDictionary":{"post":{"tags":["Dictionary"],"summary":"创建字典","operationId":"createDictionary","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DictionaryCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDictionaryVO"}}}}}}},"/operation/createDealer":{"post":{"tags":["Dealer"],"summary":"创建经销商表","operationId":"createDealer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerVO"}}}}}}},"/operation/createDealerWarehouse":{"post":{"tags":["DealerWarehouse"],"summary":"创建经销商仓库","operationId":"createDealerWarehouse","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerWarehouseCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerWarehouseVO"}}}}}}},"/operation/createDealerRebateCustomer":{"post":{"tags":["DealerRebateCustomer"],"summary":"创建经销商返点客户","operationId":"createDealerRebateCustomer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerRebateCustomerCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerRebateCustomerVO"}}}}}}},"/operation/createDealerPaymentAccount":{"post":{"tags":["DealerPaymentAccount"],"summary":"创建经销商付款账户","operationId":"createDealerPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerPaymentAccountCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerPaymentAccountVO"}}}}}}},"/operation/createCost":{"post":{"tags":["Cost"],"summary":"创建费用","operationId":"createCost","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostVO"}}}}}}},"/operation/createCostItem":{"post":{"tags":["CostItem"],"summary":"创建费用项目","operationId":"createCostItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostItemVO"}}}}}}},"/operation/createCompany":{"post":{"tags":["Company"],"summary":"创建公司管理","operationId":"createCompany","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyVO"}}}}}}},"/operation/createCompanyPaymentAccount":{"post":{"tags":["CompanyPaymentAccount"],"summary":"创建公司付款账户","operationId":"createCompanyPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyPaymentAccountVO"}}}}}}},"/operation/createChannel":{"post":{"tags":["Channel"],"summary":"创建渠道","operationId":"createChannel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}}},"/operation/createBoxSpec":{"post":{"tags":["BoxSpec"],"summary":"创建纸箱规格","operationId":"createBoxSpec","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxSpecCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxSpecVO"}}}}}}},"/operation/createBoxProduct":{"post":{"tags":["BoxProduct"],"summary":"创建纸箱产品","operationId":"createBoxProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxProductVO"}}}}}}},"/operation/createBoxBrand":{"post":{"tags":["BoxBrand"],"summary":"创建纸箱品牌","operationId":"createBoxBrand","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxBrandVO"}}}}}}},"/operation/createAgreement":{"post":{"tags":["Agreement"],"summary":"创建协议","operationId":"createAgreement","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAgreementVO"}}}}}}},"/operation/batchCreateMaterial":{"post":{"tags":["Material"],"summary":"创建素材内容","operationId":"batchCreateMaterial","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialBatchAddCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseMaterialVO"}}}}}}},"/operation/approvePurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单审核(审核员审核)","operationId":"approvePurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderApproveCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/treeMenu":{"get":{"tags":["Menu"],"summary":"菜单列表","operationId":"treeMenu","parameters":[{"name":"menuTreeQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MenuTreeQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseTreeLong"}}}}}}},"/operation/treeMaterialCategory":{"get":{"tags":["MaterialCategory"],"summary":"素材分类树","operationId":"treeMaterialCategory","parameters":[{"name":"categoryTreeQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CategoryTreeQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseTreeLong"}}}}}}},"/operation/showUser":{"get":{"tags":["User"],"summary":"获取用户","operationId":"showUser","parameters":[{"name":"userShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/UserShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserVO"}}}}}}},"/operation/showSupplier":{"get":{"tags":["Supplier"],"summary":"供应商详情","operationId":"showSupplier","parameters":[{"name":"supplierShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SupplierShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}}},"/operation/showShipOrder":{"get":{"tags":["ShipOrder"],"summary":"发货单详情","operationId":"showShipOrder","parameters":[{"name":"shipOrderShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ShipOrderShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseShipOrderVO"}}}}}}},"/operation/showSetting":{"get":{"tags":["Setting"],"summary":"系统设置详情","operationId":"showSetting","parameters":[{"name":"settingShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SettingShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSettingVO"}}}}}}},"/operation/showRole":{"get":{"tags":["Role"],"summary":"查看应用角色","operationId":"showRole","parameters":[{"name":"roleShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/RoleShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseRoleVO"}}}}}}},"/operation/showPurchaseOrder":{"get":{"tags":["PurchaseOrder"],"summary":"采购订单详情","operationId":"showPurchaseOrder","parameters":[{"name":"purchaseOrderShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PurchaseOrderShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}}}},"/operation/showProduct":{"get":{"tags":["Product"],"summary":"产品详情","operationId":"showProduct","parameters":[{"name":"productShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ProductShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseProductVO"}}}}}}},"/operation/showPlatform":{"get":{"tags":["Platform"],"summary":"平台详情","operationId":"showPlatform","parameters":[{"name":"platformShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PlatformShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePlatformVO"}}}}}}},"/operation/showPermission":{"get":{"tags":["Permission"],"summary":"查看权限","operationId":"showPermission","parameters":[{"name":"permissionShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PermissionShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePermissionVO"}}}}}}},"/operation/showMenu":{"get":{"tags":["Menu"],"summary":"菜单详情","operationId":"showMenu","parameters":[{"name":"menuShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MenuShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMenuVO"}}}}}}},"/operation/showMaterial":{"get":{"tags":["Material"],"summary":"素材内容详情","operationId":"showMaterial","parameters":[{"name":"materialShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MaterialShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMaterialVO"}}}}}}},"/operation/showMaterialCategory":{"get":{"tags":["MaterialCategory"],"summary":"素材分类","operationId":"showMaterialCategory","parameters":[{"name":"categoryShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CategoryShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCategoryVO"}}}}}}},"/operation/showGiftBox":{"get":{"tags":["GiftBox"],"summary":"礼盒详情","operationId":"showGiftBox","parameters":[{"name":"giftBoxShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/GiftBoxShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseGiftBoxVO"}}}}}}},"/operation/showEmployee":{"get":{"tags":["Employee"],"summary":"员工信息详情","operationId":"showEmployee","parameters":[{"name":"employeeShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/EmployeeShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseEmployeeVO"}}}}}}},"/operation/showDictionary":{"get":{"tags":["Dictionary"],"summary":"字典详情","operationId":"showDictionary","parameters":[{"name":"dictionaryShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DictionaryShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDictionaryVO"}}}}}}},"/operation/showDealer":{"get":{"tags":["Dealer"],"summary":"经销商表详情","operationId":"showDealer","parameters":[{"name":"dealerShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerVO"}}}}}}},"/operation/showDealerWarehouse":{"get":{"tags":["DealerWarehouse"],"summary":"经销商仓库详情","operationId":"showDealerWarehouse","parameters":[{"name":"dealerWarehouseShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerWarehouseShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerWarehouseVO"}}}}}}},"/operation/showDealerRebateCustomer":{"get":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户详情","operationId":"showDealerRebateCustomer","parameters":[{"name":"dealerRebateCustomerShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerRebateCustomerShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerRebateCustomerVO"}}}}}}},"/operation/showDealerPaymentAccount":{"get":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户详情","operationId":"showDealerPaymentAccount","parameters":[{"name":"dealerPaymentAccountShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerPaymentAccountShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerPaymentAccountVO"}}}}}}},"/operation/showCost":{"get":{"tags":["Cost"],"summary":"费用详情","operationId":"showCost","parameters":[{"name":"costShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostVO"}}}}}}},"/operation/showCostItem":{"get":{"tags":["CostItem"],"summary":"费用项目详情","operationId":"showCostItem","parameters":[{"name":"costItemShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostItemShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostItemVO"}}}}}}},"/operation/showCompany":{"get":{"tags":["Company"],"summary":"公司管理详情","operationId":"showCompany","parameters":[{"name":"companyShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyVO"}}}}}}},"/operation/showCompanyPaymentAccount":{"get":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户详情","operationId":"showCompanyPaymentAccount","parameters":[{"name":"companyPaymentAccountShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyPaymentAccountVO"}}}}}}},"/operation/showChannel":{"get":{"tags":["Channel"],"summary":"渠道详情","operationId":"showChannel","parameters":[{"name":"channelShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ChannelShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}}},"/operation/showBoxSpec":{"get":{"tags":["BoxSpec"],"summary":"纸箱规格详情","operationId":"showBoxSpec","parameters":[{"name":"boxSpecShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxSpecShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxSpecVO"}}}}}}},"/operation/showBoxProduct":{"get":{"tags":["BoxProduct"],"summary":"纸箱产品详情","operationId":"showBoxProduct","parameters":[{"name":"boxProductShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxProductShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxProductVO"}}}}}}},"/operation/showBoxBrand":{"get":{"tags":["BoxBrand"],"summary":"纸箱品牌详情","operationId":"showBoxBrand","parameters":[{"name":"boxBrandShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxBrandShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxBrandVO"}}}}}}},"/operation/showAgreement":{"get":{"tags":["Agreement"],"summary":"协议详情","operationId":"showAgreement","parameters":[{"name":"agreementShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/AgreementShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAgreementVO"}}}}}}},"/operation/pageUser":{"get":{"tags":["User"],"summary":"用户列表","operationId":"pageUser","parameters":[{"name":"userPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/UserPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseUserVO"}}}}}}},"/operation/pageSupplier":{"get":{"tags":["Supplier"],"summary":"供应商列表","operationId":"pageSupplier","parameters":[{"name":"supplierPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SupplierPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseSupplierVO"}}}}}}},"/operation/pageShipOrder":{"get":{"tags":["ShipOrder"],"summary":"发货单列表","operationId":"pageShipOrder","parameters":[{"name":"shipOrderPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ShipOrderPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseShipOrderVO"}}}}}}},"/operation/pageRole":{"get":{"tags":["Role"],"summary":"应用角色分页","operationId":"pageRole","parameters":[{"name":"rolePageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/RolePageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseRoleVO"}}}}}}},"/operation/pagePurchaseOrder":{"get":{"tags":["PurchaseOrder"],"summary":"采购订单列表","operationId":"pagePurchaseOrder","parameters":[{"name":"purchaseOrderPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PurchaseOrderPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponsePurchaseOrderVO"}}}}}}},"/operation/pageProduct":{"get":{"tags":["Product"],"summary":"产品列表","operationId":"pageProduct","parameters":[{"name":"productPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ProductPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseProductVO"}}}}}}},"/operation/pagePlatform":{"get":{"tags":["Platform"],"summary":"平台列表","operationId":"pagePlatform","parameters":[{"name":"platformPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PlatformPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponsePlatformVO"}}}}}}},"/operation/pagePermission":{"get":{"tags":["Permission"],"summary":"权限分页","operationId":"pagePermission","parameters":[{"name":"permissionPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PermissionPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponsePermissionVO"}}}}}}},"/operation/pageOrderSupplier":{"get":{"tags":["OrderSupplier"],"summary":"订单供应商列表","operationId":"pageOrderSupplier","parameters":[{"name":"orderSupplierPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/OrderSupplierPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseOrderSupplierVO"}}}}}}},"/operation/pageMaterial":{"get":{"tags":["Material"],"summary":"素材内容列表","operationId":"pageMaterial","parameters":[{"name":"materialPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MaterialPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseMaterialVO"}}}}}}},"/operation/pageGiftBox":{"get":{"tags":["GiftBox"],"summary":"礼盒列表","operationId":"pageGiftBox","parameters":[{"name":"giftBoxPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/GiftBoxPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseGiftBoxVO"}}}}}}},"/operation/pageEmployee":{"get":{"tags":["Employee"],"summary":"员工信息列表","operationId":"pageEmployee","parameters":[{"name":"employeePageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/EmployeePageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseEmployeeVO"}}}}}}},"/operation/pageDictionary":{"get":{"tags":["Dictionary"],"summary":"字典列表","operationId":"pageDictionary","parameters":[{"name":"dictionaryPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DictionaryPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDictionaryVO"}}}}}}},"/operation/pageDealer":{"get":{"tags":["Dealer"],"summary":"经销商表列表","operationId":"pageDealer","parameters":[{"name":"dealerPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDealerVO"}}}}}}},"/operation/pageDealerWarehouse":{"get":{"tags":["DealerWarehouse"],"summary":"经销商仓库列表","operationId":"pageDealerWarehouse","parameters":[{"name":"dealerWarehousePageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerWarehousePageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDealerWarehouseVO"}}}}}}},"/operation/pageDealerRebateCustomer":{"get":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户列表","operationId":"pageDealerRebateCustomer","parameters":[{"name":"dealerRebateCustomerPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerRebateCustomerPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDealerRebateCustomerVO"}}}}}}},"/operation/pageDealerPaymentAccount":{"get":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户列表","operationId":"pageDealerPaymentAccount","parameters":[{"name":"dealerPaymentAccountPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerPaymentAccountPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDealerPaymentAccountVO"}}}}}}},"/operation/pageCost":{"get":{"tags":["Cost"],"summary":"费用列表","operationId":"pageCost","parameters":[{"name":"costPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseCostVO"}}}}}}},"/operation/pageCostItem":{"get":{"tags":["CostItem"],"summary":"费用项目列表","operationId":"pageCostItem","parameters":[{"name":"costItemPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostItemPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseCostItemVO"}}}}}}},"/operation/pageCompany":{"get":{"tags":["Company"],"summary":"公司管理列表","operationId":"pageCompany","parameters":[{"name":"companyPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseCompanyVO"}}}}}}},"/operation/pageCompanyPaymentAccount":{"get":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户列表","operationId":"pageCompanyPaymentAccount","parameters":[{"name":"companyPaymentAccountPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseCompanyPaymentAccountVO"}}}}}}},"/operation/pageChannel":{"get":{"tags":["Channel"],"summary":"渠道分页","operationId":"pageChannel","parameters":[{"name":"channelPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ChannelPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseChannelVO"}}}}}}},"/operation/pageBoxSpec":{"get":{"tags":["BoxSpec"],"summary":"纸箱规格列表","operationId":"pageBoxSpec","parameters":[{"name":"boxSpecPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxSpecPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseBoxSpecVO"}}}}}}},"/operation/pageBoxProduct":{"get":{"tags":["BoxProduct"],"summary":"纸箱产品列表","operationId":"pageBoxProduct","parameters":[{"name":"boxProductPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxProductPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseBoxProductVO"}}}}}}},"/operation/pageBoxBrand":{"get":{"tags":["BoxBrand"],"summary":"纸箱品牌列表","operationId":"pageBoxBrand","parameters":[{"name":"boxBrandPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxBrandPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseBoxBrandVO"}}}}}}},"/operation/pageAgreement":{"get":{"tags":["Agreement"],"summary":"协议列表","operationId":"pageAgreement","parameters":[{"name":"agreementPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/AgreementPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseAgreementVO"}}}}}}},"/operation/ossToken":{"get":{"tags":["Material"],"summary":"获取OSS上传凭证","operationId":"ossToken","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseOssTokenVO"}}}}}}},"/operation/listUser":{"get":{"tags":["User"],"summary":"用户列表","operationId":"listUser","parameters":[{"name":"userListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/UserListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseUserVO"}}}}}}},"/operation/listSupplier":{"get":{"tags":["Supplier"],"summary":"供应商列表","operationId":"listSupplier","parameters":[{"name":"supplierListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SupplierListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseSupplierVO"}}}}}}},"/operation/listShipOrder":{"get":{"tags":["ShipOrder"],"summary":"发货单列表","operationId":"listShipOrder","parameters":[{"name":"shipOrderListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ShipOrderListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseShipOrderVO"}}}}}}},"/operation/listRole":{"get":{"tags":["Role"],"summary":"应用角色列表","operationId":"listRole","parameters":[{"name":"roleListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/RoleListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseRoleVO"}}}}}}},"/operation/listPurchaseOrder":{"get":{"tags":["PurchaseOrder"],"summary":"采购订单列表","operationId":"listPurchaseOrder","parameters":[{"name":"purchaseOrderListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PurchaseOrderListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponsePurchaseOrderVO"}}}}}}},"/operation/listProduct":{"get":{"tags":["Product"],"summary":"产品列表","operationId":"listProduct","parameters":[{"name":"productListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ProductListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseProductVO"}}}}}}},"/operation/listPlatform":{"get":{"tags":["Platform"],"summary":"平台列表","operationId":"listPlatform","parameters":[{"name":"platformListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PlatformListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponsePlatformVO"}}}}}}},"/operation/listPermission":{"get":{"tags":["Permission"],"summary":"权限列表","operationId":"listPermission","parameters":[{"name":"permissionListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PermissionListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponsePermissionVO"}}}}}}},"/operation/listMenu":{"get":{"tags":["Menu"],"summary":"菜单列表","operationId":"listMenu","parameters":[{"name":"menuListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MenuListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseMenuVO"}}}}}}},"/operation/listGiftBox":{"get":{"tags":["GiftBox"],"summary":"礼盒列表","operationId":"listGiftBox","parameters":[{"name":"giftBoxListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/GiftBoxListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseGiftBoxVO"}}}}}}},"/operation/listEmployee":{"get":{"tags":["Employee"],"summary":"员工信息列表","operationId":"listEmployee","parameters":[{"name":"employeeListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/EmployeeListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseEmployeeVO"}}}}}}},"/operation/listDictionary":{"get":{"tags":["Dictionary"],"summary":"字典列表","operationId":"listDictionary","parameters":[{"name":"dictionaryListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DictionaryListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDictionaryVO"}}}}}}},"/operation/listDealer":{"get":{"tags":["Dealer"],"summary":"经销商表列表","operationId":"listDealer","parameters":[{"name":"dealerListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDealerVO"}}}}}}},"/operation/listDealerWarehouse":{"get":{"tags":["DealerWarehouse"],"summary":"经销商仓库列表","operationId":"listDealerWarehouse","parameters":[{"name":"dealerWarehouseListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerWarehouseListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDealerWarehouseVO"}}}}}}},"/operation/listDealerRebateCustomer":{"get":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户列表","operationId":"listDealerRebateCustomer","parameters":[{"name":"dealerRebateCustomerListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerRebateCustomerListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDealerRebateCustomerVO"}}}}}}},"/operation/listDealerPaymentAccount":{"get":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户列表","operationId":"listDealerPaymentAccount","parameters":[{"name":"dealerPaymentAccountListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerPaymentAccountListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDealerPaymentAccountVO"}}}}}}},"/operation/listCost":{"get":{"tags":["Cost"],"summary":"费用列表","operationId":"listCost","parameters":[{"name":"costListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseCostVO"}}}}}}},"/operation/listCostItem":{"get":{"tags":["CostItem"],"summary":"费用项目列表","operationId":"listCostItem","parameters":[{"name":"costItemListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostItemListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseCostItemVO"}}}}}}},"/operation/listCompany":{"get":{"tags":["Company"],"summary":"公司管理列表","operationId":"listCompany","parameters":[{"name":"companyListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseCompanyVO"}}}}}}},"/operation/listCompanyPaymentAccount":{"get":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户列表","operationId":"listCompanyPaymentAccount","parameters":[{"name":"companyPaymentAccountListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseCompanyPaymentAccountVO"}}}}}}},"/operation/listBoxSpec":{"get":{"tags":["BoxSpec"],"summary":"纸箱规格列表","operationId":"listBoxSpec","parameters":[{"name":"boxSpecListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxSpecListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseBoxSpecVO"}}}}}}},"/operation/listBoxProduct":{"get":{"tags":["BoxProduct"],"summary":"纸箱产品列表","operationId":"listBoxProduct","parameters":[{"name":"boxProductListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxProductListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseBoxProductVO"}}}}}}},"/operation/listBoxBrand":{"get":{"tags":["BoxBrand"],"summary":"纸箱品牌列表","operationId":"listBoxBrand","parameters":[{"name":"boxBrandListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxBrandListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseBoxBrandVO"}}}}}}},"/operation/listAgreement":{"get":{"tags":["Agreement"],"summary":"协议列表","operationId":"listAgreement","parameters":[{"name":"agreementListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/AgreementListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseAgreementVO"}}}}}}},"/operation/getLastVehicleNo":{"get":{"tags":["PurchaseOrder"],"summary":"获取上一车车次号","operationId":"getLastVehicleNo","parameters":[{"name":"lastVehicleNoQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/LastVehicleNoQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseString"}}}}}}},"/operation/countPurchaseOrderByState":{"get":{"tags":["PurchaseOrder"],"summary":"获取某个状态的数量","operationId":"countPurchaseOrderByState","parameters":[{"name":"purchaseOrderCountQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PurchaseOrderCountQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseLong"}}}}}}},"/operation/checkSupplier":{"get":{"tags":["Supplier"],"summary":"检查供应商","operationId":"checkSupplier","parameters":[{"name":"supplierCheckQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SupplierCheckQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}}},"/operation/destroyUser":{"delete":{"tags":["User"],"summary":"删除用户","operationId":"destroyUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroySupplier":{"delete":{"tags":["Supplier"],"summary":"供应商删除","operationId":"destroySupplier","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyShipOrder":{"delete":{"tags":["ShipOrder"],"summary":"发货单删除","operationId":"destroyShipOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipOrderDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyPurchaseOrder":{"delete":{"tags":["PurchaseOrder"],"summary":"采购订单删除","operationId":"destroyPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyProduct":{"delete":{"tags":["Product"],"summary":"产品删除","operationId":"destroyProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyPlatform":{"delete":{"tags":["Platform"],"summary":"平台删除","operationId":"destroyPlatform","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyMenu":{"delete":{"tags":["Menu"],"summary":"菜单更新","operationId":"destroyMenu","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyMaterial":{"delete":{"tags":["Material"],"summary":"删除素材内容","operationId":"destroyMaterial","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyMaterialCategory":{"delete":{"tags":["MaterialCategory"],"summary":"删除素材分类","operationId":"destroyMaterialCategory","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyGiftBox":{"delete":{"tags":["GiftBox"],"summary":"礼盒删除","operationId":"destroyGiftBox","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiftBoxDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyEmployee":{"delete":{"tags":["Employee"],"summary":"员工信息删除","operationId":"destroyEmployee","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDictionary":{"delete":{"tags":["Dictionary"],"summary":"字典删除","operationId":"destroyDictionary","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DictionaryDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDealer":{"delete":{"tags":["Dealer"],"summary":"经销商表删除","operationId":"destroyDealer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDealerWarehouse":{"delete":{"tags":["DealerWarehouse"],"summary":"经销商仓库删除","operationId":"destroyDealerWarehouse","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerWarehouseDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDealerRebateCustomer":{"delete":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户删除","operationId":"destroyDealerRebateCustomer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerRebateCustomerDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDealerPaymentAccount":{"delete":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户删除","operationId":"destroyDealerPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerPaymentAccountDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyCost":{"delete":{"tags":["Cost"],"summary":"费用删除","operationId":"destroyCost","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyCostItem":{"delete":{"tags":["CostItem"],"summary":"费用项目删除","operationId":"destroyCostItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyCompany":{"delete":{"tags":["Company"],"summary":"公司管理删除","operationId":"destroyCompany","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyCompanyPaymentAccount":{"delete":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户删除","operationId":"destroyCompanyPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyChannel":{"delete":{"tags":["Channel"],"summary":"渠道删除","operationId":"destroyChannel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyBoxSpec":{"delete":{"tags":["BoxSpec"],"summary":"纸箱规格删除","operationId":"destroyBoxSpec","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxSpecDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyBoxProduct":{"delete":{"tags":["BoxProduct"],"summary":"纸箱产品删除","operationId":"destroyBoxProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyBoxBrand":{"delete":{"tags":["BoxBrand"],"summary":"纸箱品牌删除","operationId":"destroyBoxBrand","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyAgreement":{"delete":{"tags":["Agreement"],"summary":"协议删除","operationId":"destroyAgreement","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}},"components":{"schemas":{"Response":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"}}},"UserUpdateCmd":{"type":"object","properties":{"name":{"type":"string","title":"会员名称"},"nickname":{"type":"string","title":"会员昵称"},"avatar":{"type":"string","title":"头像"},"phone":{"type":"string","title":"会员手机号"},"birthday":{"type":"string","title":"会员生日"},"gender":{"type":"integer","format":"int32","title":"会员性别"},"cardType":{"type":"integer","format":"int32","title":"会员卡号生成方式:1 系统生成 2 自定义"},"remark":{"type":"string","title":"备注"},"labelId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"客户标签"},"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"用户更新命令"},"SingleResponseUserVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/UserVO"}}},"UserVO":{"type":"object","properties":{"userId":{"type":"string","title":"用户编号"},"nickname":{"type":"string","title":"昵称"},"avatar":{"type":"string","title":"头像"},"name":{"type":"string","title":"姓名"},"gender":{"type":"integer","format":"int32","title":"性别"},"birthday":{"type":"string","title":"生日"},"phone":{"type":"string","title":"手机号"},"remark":{"type":"string","title":"备注"},"state":{"type":"string","enum":["ENABLE","DISABLE"],"title":"状态"},"isAdmin":{"type":"boolean","title":"是否是管理员"},"isPartner":{"type":"boolean","title":"是否是小区合伙人"},"createdAt":{"type":"string","title":"创建时间"},"bindPhoneAt":{"type":"string","title":"绑定手机号码时间"},"lastLoginAt":{"type":"string","title":"最后一次登录时间"},"mpOpenid":{"type":"string","title":"微信公众号openid"},"maOpenid":{"type":"string","title":"微信小程序openid"},"unionid":{"type":"string","title":"开放平台unionid"}},"required":["avatar","bindPhoneAt","birthday","createdAt","gender","isAdmin","isPartner","lastLoginAt","maOpenid","mpOpenid","name","nickname","phone","state","unionid","userId"],"title":"用户信息"},"SupplierUpdateCmd":{"type":"object","properties":{"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"姓名"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"bankCard":{"type":"string","title":"银行卡号"},"wechatQr":{"type":"string","title":"微信收款码URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["bankCard","idCard","name","phone","status","supplierId"],"title":"供应商更新"},"SingleResponseSupplierVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/SupplierVO"}}},"SupplierVO":{"type":"object","properties":{"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"姓名"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"bankCard":{"type":"string","title":"银行卡号"},"wechatQr":{"type":"string","title":"微信收款码URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"createdBy":{"type":"string","title":"创建人ID"},"createdByName":{"type":"string","title":"创建人姓名"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["bankCard","createdBy","idCard","name","phone","status","supplierId"],"title":"供应商"},"ShipOrderItem":{"type":"object","properties":{"itemId":{"type":"string","title":"发货单子项ID"},"shipOrderId":{"type":"string","title":"发货单ID"},"grossWeight":{"type":"number","title":"毛重(斤)"},"boxWeight":{"type":"number","title":"箱重(斤)"},"boxCount":{"type":"integer","format":"int32","title":"箱数"},"netWeight":{"type":"number","title":"净重(斤)"},"unitPrice":{"type":"number","title":"单价(元)"},"totalAmount":{"type":"number","title":"总金额(元)"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["itemId","shipOrderId"],"title":"发货单子项表"},"ShipOrderUpdateCmd":{"type":"object","properties":{"shipOrderId":{"type":"string","title":"发货单ID"},"estimatedArrivalDate":{"type":"string","format":"date","title":"预计到仓时间"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"shippingAddress":{"type":"string","title":"发货地址"},"companyId":{"type":"string","title":"公司ID"},"companyName":{"type":"string","title":"公司名称"},"remark":{"type":"string","title":"备注"},"shipOrderItemList":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderItem"},"title":"发货单明细"},"document":{"type":"string","title":"发货单据"}},"required":["shipOrderId"],"title":"发货单更新"},"OrderCost":{"type":"object","properties":{"orderCostId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"costItemId":{"type":"string","title":"成本项目ID"},"name":{"type":"string","title":"成本项目名称"},"price":{"type":"number","title":"单价"},"unit":{"type":"string","title":"单位"},"count":{"type":"integer","format":"int32","title":"数量"},"payerType":{"type":"string","enum":["US","OTHER"],"title":"付款方类型:1-我方,2-对方"},"principal":{"type":"string","title":"负责人"},"requireQuantityAndPrice":{"type":"boolean","title":"是否需要数量和价格"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE"],"title":"项目类型:1_辅料类型;2_人工类型;"}},"required":["costItemId","count","name","orderCostId","price","type","unit"],"title":"采购订单成本项目信息创建"},"ShipOrderPackage":{"type":"object","properties":{"orderPackageId":{"type":"string","title":"发货单包装信息Id"},"shipOrderId":{"type":"string","title":"发货单ID"},"boxSpecId":{"type":"integer","format":"int64","title":"箱型ID"},"boxSpecName":{"type":"string","title":"箱型"},"boxProduct":{"type":"string","title":"箱号"},"quantity":{"type":"integer","format":"int32","title":"数量"},"unitPrice":{"type":"number","title":"单价(元)"},"itemAmount":{"type":"number","title":"金额(元)"},"singleWeight":{"type":"number","title":"单重(斤)"},"totalWeight":{"type":"number","title":"总重(斤)"},"boxBrandImage":{"type":"string","title":"箱子品牌图片"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["orderPackageId","shipOrderId"],"title":"发货单包装表"},"ShipOrderVO":{"type":"object","properties":{"shipOrderId":{"type":"string","title":"发货单ID"},"purchaseOrderId":{"type":"string","title":"采购单ID"},"orderSn":{"type":"string","title":"发货单编号"},"dealerId":{"type":"string","title":"经销商ID"},"dealerName":{"type":"string","title":"经销商名称"},"warehouseId":{"type":"string","title":"仓库ID"},"warehouseName":{"type":"string","title":"仓库名称"},"companyId":{"type":"string","title":"公司ID"},"companyName":{"type":"string","title":"公司名称"},"vehicleNo":{"type":"string","title":"车次号"},"shippingAddress":{"type":"string","title":"发货地址"},"receivingAddress":{"type":"string","title":"收货地址"},"shippingDate":{"type":"string","format":"date","title":"发货日期"},"estimatedArrivalDate":{"type":"string","format":"date","title":"预计到仓时间"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"driverName":{"type":"string","title":"司机姓名"},"driverPhone":{"type":"string","title":"司机手机号"},"licensePlate":{"type":"string","title":"车牌号码"},"freightDebt":{"type":"number","title":"运费欠款(元)"},"strawMatDebt":{"type":"number","title":"草帘欠款(元)"},"trademarkFee":{"type":"number","title":"商标费(元)"},"laborFee":{"type":"number","title":"人工费(元)"},"cartonFee":{"type":"number","title":"纸箱费(元)"},"codingFee":{"type":"number","title":"打码费(元)"},"provisionFee":{"type":"number","title":"计提费(元)"},"totalAmount":{"type":"number","title":"合计金额(元)"},"farmerInfo":{"type":"string","title":"瓜农姓名逗号隔开"},"document":{"type":"string","title":"发货单据"},"state":{"type":"string","enum":["WAIT_PAYMENT","PARTIAL_PAYMENT","FULL_PAYMENT","REJECT_FINISH","FINISH"],"title":"发货单状态:1_待回款;2_部分回款;3_已回款;4_拒收完结;5_已完结;"},"remark":{"type":"string","title":"备注"},"createdBy":{"type":"string","title":"创建人ID"},"createdByName":{"type":"string","title":"创建人姓名"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"shipOrderItemList":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderItem"},"title":"发货单明细"},"shipOrderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderPackage"},"title":"发货单子项表"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"发货单成本项目信息"}},"required":["createdBy","purchaseOrderId","shipOrderId"],"title":"发货单"},"SingleResponseShipOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/ShipOrderVO"}}},"AliPayConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"appId":{"type":"string","title":"支付宝appid"},"privateKey":{"type":"string","title":"支付宝私钥"},"publicKey":{"type":"string","title":"支付宝公钥"},"gatewayUrl":{"type":"string","title":"支付宝网关地址"},"notifyUrl":{"type":"string","title":"支付宝回调地址"}}}],"required":["appId","gatewayUrl","notifyUrl","privateKey","publicKey"],"title":"支付宝配置"},"ChargingPilePurchaseConfig":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"title":{"type":"string","title":"标题"},"description":{"type":"string","title":"描述"},"price":{"type":"number","title":"购买价格"},"linePrice":{"type":"number","title":"划线价格"},"image":{"type":"array","items":{"type":"string"},"title":"图片"},"content":{"type":"string","title":"设备内容"}}}],"required":["content","description","image","linePrice","price","title"],"title":"充电桩设备购买配置"},"CustomMenuConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"menuItems":{"type":"array","items":{"$ref":"#/components/schemas/MenuItem"},"title":"菜单列表"}}}],"required":["menuItems"],"title":"自定义菜单配置"},"CustomThemeConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"themeName":{"type":"string","title":"主题名称"},"primaryColor":{"type":"string","title":"主题颜色"},"secondaryColor":{"type":"string","title":"次要颜色"}}}],"required":["primaryColor","secondaryColor","themeName"],"title":"自定义主题配置"},"MenuItem":{"type":"object","properties":{"menuId":{"type":"string","title":"菜单Id"},"menuName":{"type":"string","title":"菜单名称"},"menuIcon":{"type":"string","title":"菜单图标"},"menuRedirect":{"type":"object","additionalProperties":{},"properties":{"empty":{"type":"boolean"}},"title":"菜单路径"},"menuSort":{"type":"integer","format":"int32","title":"菜单排序"}},"required":["menuIcon","menuId","menuName","menuRedirect","menuSort"],"title":"菜单项"},"SettingUpdateCmd":{"type":"object","properties":{"settingId":{"type":"string","title":"系统设置项ID"},"settingKey":{"type":"string","enum":["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"],"title":"系统设置项key"},"settingValue":{"oneOf":[{"$ref":"#/components/schemas/AliPayConfigValue"},{"$ref":"#/components/schemas/ChargingPilePurchaseConfig"},{"$ref":"#/components/schemas/CustomMenuConfigValue"},{"$ref":"#/components/schemas/CustomThemeConfigValue"},{"$ref":"#/components/schemas/SmartRecognitionPromptValue"},{"$ref":"#/components/schemas/TencentMapConfigValue"},{"$ref":"#/components/schemas/WxCpNotifyConfigValue"},{"$ref":"#/components/schemas/WxMaCodeUploadConfigValue"},{"$ref":"#/components/schemas/WxMaConfigValue"},{"$ref":"#/components/schemas/WxMaMessagePushConfigValue"},{"$ref":"#/components/schemas/WxMaSubscribeMessageConfigValue"},{"$ref":"#/components/schemas/WxMpConfigValue"},{"$ref":"#/components/schemas/WxMpMessagePushConfigValue"},{"$ref":"#/components/schemas/WxPayConfigValue"}],"title":"系统设置项内容"}},"required":["settingKey","settingValue"],"title":"系统设置更新"},"SettingValue":{"discriminator":{"propertyName":"settingKey"},"properties":{"settingKey":{"type":"string"}},"required":["settingKey"]},"SmartRecognitionPromptValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"prompt":{"type":"string","title":"提示词"}}}],"required":["prompt"],"title":"智能识别提示词"},"TencentMapConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"appKey":{"type":"string","title":"腾讯地图AppKey"}}}],"required":["appKey"],"title":"腾讯地图配置"},"WxCpNotifyConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"communityApplyNotifyKey":{"type":"string","title":"小区申请通知key"}}}],"required":["communityApplyNotifyKey"],"title":"企业微信通知配置"},"WxMaCodeUploadConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"appId":{"type":"string","title":"小程序APPID"},"version":{"type":"string","title":"当前版本号"},"desc":{"type":"string","title":"更新描述"},"ipWhiteList":{"type":"string","title":"上传IP白名单"},"pagePath":{"type":"string","title":"页面路径"},"orderCenterPath":{"type":"string","title":"小程序订单中心path"},"codeUploadKey":{"type":"string","title":"小程序代码上传密钥"}}}],"required":["appId","codeUploadKey","desc","ipWhiteList","orderCenterPath","pagePath","version"],"title":"小程序代码上传配置"},"WxMaConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"wxMaName":{"type":"string","title":"小程序名称"},"wxMaOriginalId":{"type":"string","title":"小程序原始ID"},"wxMaLogo":{"type":"string","title":"小程序Logo"},"wxMaCheckFile":{"type":"string","title":"校验文件"},"appId":{"type":"string","title":"AppID(小程序ID)"},"appSecret":{"type":"string","title":"AppSecret(小程序密钥)"}}}],"required":["appId","appSecret","wxMaCheckFile","wxMaLogo","wxMaName","wxMaOriginalId"],"title":"分类创建"},"WxMaMessagePushConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"token":{"type":"string","title":"Token(令牌)"},"encodingAESKey":{"type":"string","title":"EncodingAESKey"},"msgEncryptMode":{"type":"string","title":"消息加密方式"},"dataFormat":{"type":"string","title":"数据格式"},"ipWhiteList":{"type":"string","title":"IP白名单"},"url":{"type":"string","title":"URL(服务器地址)"}}}],"required":["dataFormat","encodingAESKey","ipWhiteList","msgEncryptMode","token","url"],"title":"小程序消息推送配置"},"WxMaSubscribeMessageConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"}],"title":"小程序订阅消息配置"},"WxMpConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"wxMpName":{"type":"string","title":"公众号名称"},"wxMpOriginalId":{"type":"string","title":"公众号原始ID"},"wxMpLogo":{"type":"string","title":"公众号Logo"},"appId":{"type":"string","title":"AppID(公众号ID)"},"appSecret":{"type":"string","title":"AppSecret(公众号密钥)"}}}],"required":["appId","appSecret","wxMpLogo","wxMpName","wxMpOriginalId"],"title":"微信公众号配置"},"WxMpMessagePushConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"token":{"type":"string","title":"Token(令牌)"},"encodingAESKey":{"type":"string","title":"EncodingAESKey"},"msgEncryptMode":{"type":"string","title":"消息加密方式"},"dataFormat":{"type":"string","title":"数据格式"},"ipWhiteList":{"type":"string","title":"IP白名单"},"url":{"type":"string","title":"URL(服务器地址)"}}}],"required":["dataFormat","encodingAESKey","ipWhiteList","msgEncryptMode","token","url"],"title":"公众号消息推送配置"},"WxPayConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"appId":{"type":"string","title":"微信公众号或者小程序等的appid"},"mchId":{"type":"string","title":"微信支付商户号"},"mchKey":{"type":"string","title":"微信支付商户密钥"},"keyPath":{"type":"string","title":"apiclient_cert.p12文件的绝对路径"},"apiV3Key":{"type":"string","title":"apiV3 秘钥值"},"certSerialNo":{"type":"string","title":"apiV3 证书序列号值"},"privateCertString":{"type":"string","title":"apiclient_cert.pem证书文件"},"privateKeyString":{"type":"string","title":"apiclient_key.pem证书文件"},"publicKeyString":{"type":"string","title":"微信支付公钥,pub_key.pem证书文件"},"publicKeyId":{"type":"string","title":"微信支付公钥ID"},"notifyUrl":{"type":"string","title":"微信支付回调地址"}}}],"required":["apiV3Key","appId","certSerialNo","keyPath","mchId","mchKey","notifyUrl","privateCertString","privateKeyString","publicKeyId","publicKeyString"],"title":"微信支付配置"},"SettingVO":{"type":"object","properties":{"settingKey":{"type":"string","enum":["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"],"title":"系统设置项key"},"settingValue":{"oneOf":[{"$ref":"#/components/schemas/AliPayConfigValue"},{"$ref":"#/components/schemas/ChargingPilePurchaseConfig"},{"$ref":"#/components/schemas/CustomMenuConfigValue"},{"$ref":"#/components/schemas/CustomThemeConfigValue"},{"$ref":"#/components/schemas/SmartRecognitionPromptValue"},{"$ref":"#/components/schemas/TencentMapConfigValue"},{"$ref":"#/components/schemas/WxCpNotifyConfigValue"},{"$ref":"#/components/schemas/WxMaCodeUploadConfigValue"},{"$ref":"#/components/schemas/WxMaConfigValue"},{"$ref":"#/components/schemas/WxMaMessagePushConfigValue"},{"$ref":"#/components/schemas/WxMaSubscribeMessageConfigValue"},{"$ref":"#/components/schemas/WxMpConfigValue"},{"$ref":"#/components/schemas/WxMpMessagePushConfigValue"},{"$ref":"#/components/schemas/WxPayConfigValue"}],"title":"系统设置项内容"}},"required":["settingKey","settingValue"],"title":"系统设置"},"SingleResponseSettingVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/SettingVO"}}},"OrderDealer":{"type":"object","properties":{"orderDealerId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"采购订单ID"},"dealerId":{"type":"string","title":"经销商ID"},"shortName":{"type":"string","title":"经销商简称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"},"shareAdjusted":{"type":"boolean","title":"是否可调整比例"},"taxSubsidy":{"type":"number","title":"税费补贴"},"taxProvision":{"type":"number","title":"计提税金"},"costDifference":{"type":"number","title":"成本差异"},"profitSharing":{"type":"number","title":"利润分成"}},"required":["dealerId","dealerType","shortName"],"title":"采购订单经销商信息创建"},"OrderPackage":{"type":"object","properties":{"orderPackageId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"采购订单记录ID"},"orderSupplierId":{"type":"string","title":"供应商记录ID"},"boxBrandId":{"type":"string","title":"箱子品牌ID"},"boxBrandName":{"type":"string","title":"箱子品牌名称"},"boxBrandImage":{"type":"string","title":"箱子品牌图片"},"boxBrandType":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"箱子品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"},"boxSpecId":{"type":"string","title":"箱子规格ID"},"boxSpecName":{"type":"string","title":"箱子规格名称"},"boxProductId":{"type":"string","title":"箱子产品ID"},"boxProductName":{"type":"string","title":"箱子产品名称"},"boxProductWeight":{"type":"number","title":"单个箱子重量(kg)"},"boxCount":{"type":"integer","format":"int32","title":"箱子数量"},"boxCostPrice":{"type":"number","title":"成本单价(元/个)"},"boxSalePrice":{"type":"number","title":"销售单价(元/个)"},"boxType":{"type":"string","enum":["USED","EXTRA","EXTRA_USED","REMAIN","OWN","EMPTY"],"title":"箱子类型:1_本次使用;2_额外运输;3_已使用额外运输;4_车上剩余;5_瓜农纸箱;6_空箱;"}},"required":["boxBrandId","boxBrandName","boxBrandType","boxCount","boxProductId","boxProductName","boxProductWeight","boxSpecId","boxSpecName","boxType"],"title":"采购订单包装箱信息创建"},"OrderSupplier":{"type":"object","properties":{"orderSupplierId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商姓名"},"idCard":{"type":"string","title":"身份证号"},"bankCard":{"type":"string","title":"银行卡号"},"phone":{"type":"string","title":"手机号"},"wechatQr":{"type":"string","title":"微信二维码"},"isLast":{"type":"boolean","title":"是否最后一家"},"isPaper":{"type":"boolean","title":"空磅是否包含纸箱"},"emptyWeight":{"type":"number","title":"空车重量(kg)"},"totalWeight":{"type":"number","title":"总重量(kg)"},"grossWeight":{"type":"number","title":"毛重(kg)"},"netWeight":{"type":"number","title":"净重(kg)"},"purchasePrice":{"type":"number","title":"采购单价(元/斤)"},"salePrice":{"type":"number","title":"销售单价(元/斤)"},"invoiceAmount":{"type":"number","title":"发票金额"},"emptyWeightImg":{"type":"string","title":"空车照片"},"totalWeightImg":{"type":"string","title":"满载照片"},"invoiceUpload":{"type":"boolean","title":"是否上传票证"},"invoiceImg":{"type":"array","items":{"type":"string"},"title":"发票"},"contractUpload":{"type":"boolean","title":"是否上传合同"},"contractImg":{"type":"array","items":{"type":"string"},"title":"合同"},"productId":{"type":"string","title":"产品ID"},"productName":{"type":"string","title":"产品名称"},"orderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/OrderPackage"},"title":"采购订单包装箱信息"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"采购订单车辆信息"}},"required":["bankCard","contractUpload","emptyWeight","grossWeight","idCard","invoiceAmount","invoiceUpload","isLast","isPaper","name","netWeight","orderSupplierId","phone","purchasePrice","salePrice","totalWeight"],"title":"采购订单供应商信息创建"},"OrderVehicle":{"type":"object","properties":{"vehicleId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"vehicleNo":{"type":"string","title":"车货编码"},"plate":{"type":"string","title":"车牌号"},"driver":{"type":"string","title":"司机姓名"},"phone":{"type":"string","title":"司机电话"},"origin":{"type":"string","title":"出发地"},"destination":{"type":"string","title":"目的地"},"priceType":{"type":"string","enum":["MAIN_FREIGHT","SHORT_TRANSPORT"],"title":"运费类型:1-主运费;2-短驳费;"},"price":{"type":"number","title":"运输价格"},"dealerId":{"type":"string","title":"经销商ID"},"dealerName":{"type":"string","title":"经销商名称"},"openStrawCurtain":{"type":"boolean","title":"是否开启草帘"},"strawCurtainPrice":{"type":"number","title":"草帘费用"},"deliveryTime":{"type":"string","format":"date","title":"采购日期"}},"required":["dealerName","deliveryTime","destination","driver","openStrawCurtain","origin","phone","plate","price"],"title":"采购订单车辆运输信息创建"},"PurchaseOrderUpdateCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"originPrincipal":{"type":"string","title":"产地负责人"},"foreman":{"type":"string","title":"工头"},"remark":{"type":"string","title":"备注"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"},"orderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/OrderPackage"},"title":"采购订单包装箱信息"}},"required":["orderCostList","orderDealer","orderId","orderPackageList","orderSupplierList","orderVehicle"],"title":"采购订单更新"},"OrderCompany":{"type":"object","properties":{"orderCompanyId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"companyId":{"type":"string","title":"公司ID"},"shortName":{"type":"string","title":"公司简称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"address":{"type":"string","title":"发货地址"},"accountId":{"type":"string","title":"账户ID"},"bankName":{"type":"string","title":"银行名称"},"branchName":{"type":"string","title":"支行名称"},"accountName":{"type":"string","title":"账户名称"},"accountNumber":{"type":"string","title":"银行账号"}},"required":["address","companyId","contactPerson","contactPhone","fullName","orderCompanyId","orderId","shortName","taxNumber"],"title":"采购订单公司信息创建"},"OrderRebate":{"type":"object","properties":{"orderRebateId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"customerId":{"type":"string","title":"客户ID"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT"],"title":"返点计算方式:1_按净重计算;2_固定金额;"},"netWeight":{"type":"number","title":"返点净重"},"unitPrice":{"type":"number","title":"返点单价"},"amount":{"type":"number","title":"返点金额"}}},"PurchaseOrderVO":{"type":"object","properties":{"orderId":{"type":"string","title":"订单ID"},"orderSn":{"type":"string","title":"订单编号"},"draft":{"type":"boolean","title":"是否是草稿"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"originPrincipal":{"type":"string","title":"产地负责人"},"foreman":{"type":"string","title":"工头"},"pricingMethod":{"type":"string","enum":["BY_GROSS_WEIGHT","BY_NET_WEIGHT"],"title":"报价方式:1_按毛重报价;2_按净重报价;"},"saleAmount":{"type":"number","title":"销售金额"},"packageFee":{"type":"number","title":"包装费"},"avgUnitPrice":{"type":"number","title":"平均单价(元/斤)"},"rebate":{"type":"boolean","title":"是否返点"},"grossWeight":{"type":"number","title":"毛重(斤)"},"netWeight":{"type":"number","title":"净重(斤)"},"totalCost":{"type":"number","title":"成本合计"},"freightCharge":{"type":"number","title":"运费"},"supplierCount":{"type":"integer","format":"int32","title":"瓜农数量"},"state":{"type":"string","enum":["DRAFT","WAITING_AUDIT","COMPLETED","REJECTED","CLOSED"],"title":"采购订单状态: 0_草稿;1_审核中;2_已完成;3_已驳回;4_已关闭;"},"auditState":{"type":"string","enum":["NONE","PENDING_QUOTE_APPROVAL","PENDING_BOSS_APPROVAL","BOSS_APPROVED","QUOTE_REJECTED","BOSS_REJECTED"],"title":"采购单审核状态: 1_待报价审核;2_待老板审批;3_老板审批通过;4_报价审核驳回;5_老板审批驳回"},"remark":{"type":"string","title":"备注"},"createdBy":{"type":"string","title":"创建人ID"},"createdByName":{"type":"string","title":"创建人姓名"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"orderRebate":{"$ref":"#/components/schemas/OrderRebate","title":"返点信息"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderCompany":{"$ref":"#/components/schemas/OrderCompany","title":"公司信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"},"orderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/OrderPackage"},"title":"采购订单包装箱信息"}},"required":["createdBy","draft","orderCompany","orderCostList","orderDealer","orderId","orderPackageList","orderRebate","orderSn","orderSupplierList","orderVehicle"],"title":"采购订单"},"SingleResponsePurchaseOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/PurchaseOrderVO"}}},"ProductUpdateCmd":{"type":"object","properties":{"productId":{"type":"string","title":"产品表ID"},"name":{"type":"string","title":"产品名称"},"costIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联成本费用id"},"costTemplate":{"type":"string","title":"成本模板"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["name","productId","sort","status"],"title":"产品表更新"},"CostItemVO":{"type":"object","properties":{"costItemId":{"type":"string","title":"项目ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE"],"title":"项目类型:1_辅料类型;2_人工类型;"},"name":{"type":"string","title":"项目名称"},"price":{"type":"number","title":"单价"},"unit":{"type":"string","title":"单位"},"rule":{"type":"string","enum":["INPUT_QUANTITY","SELECT_BOX","INPUT_QUANTITY_AND_AMOUNT"],"title":"录入规则:1_填数量;2_选纸箱;"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["costItemId","name","rule","sort","status","type"],"title":"费用项目表"},"CostVO":{"type":"object","properties":{"costId":{"type":"string","title":"费用ID"},"type":{"type":"string","title":"费用类型"},"belong":{"type":"string","enum":["NONE_TYPE","WORKER_TYPE","PRODUCTION_TYPE"],"title":"费用归属:1_工头;2_产地;"},"name":{"type":"string","title":"费用名称"},"price":{"type":"number","title":"单价"},"unit":{"type":"string","title":"单位"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"项目id集合"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"costItemVOList":{"type":"array","items":{"$ref":"#/components/schemas/CostItemVO"},"title":"项目列表"}},"required":["belong","costId","name","sort","status","type"],"title":"费用"},"ProductVO":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"产品名称"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"costIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"成本ID集合"},"costVOList":{"type":"array","items":{"$ref":"#/components/schemas/CostVO"},"title":"成本费用"},"costTemplate":{"type":"string","title":"成本模板"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["name","productId","sort","status"],"title":"产品表"},"SingleResponseProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/ProductVO"}}},"PlatformUpdateCmd":{"type":"object","properties":{"platformName":{"type":"string","title":"平台名称"},"homePage":{"type":"string","title":"首页"},"platformId":{"type":"string","title":"平台ID"}},"required":["homePage","platformId","platformName"],"title":"平台更新"},"PlatformVO":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"platformName":{"type":"string","title":"平台名称"},"homePage":{"type":"string","title":"应用首页"}},"required":["homePage","platformId","platformName"],"title":"平台"},"SingleResponsePlatformVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/PlatformVO"}}},"OrderSupplierUpdateCmd":{"type":"object","properties":{"orderSupplierId":{"type":"string","title":"订单供应商ID"},"invoiceUpload":{"type":"boolean","title":"是否上传票证"},"invoiceImg":{"type":"array","items":{"type":"string"},"title":"发票照片"},"contractUpload":{"type":"boolean","title":"是否上传合同"},"contractImg":{"type":"array","items":{"type":"string"},"title":"合同照片"}},"required":["orderSupplierId"],"title":"订单供应商更新"},"OrderSupplierVO":{"type":"object","properties":{"orderSupplierId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商姓名"},"idCard":{"type":"string","title":"身份证号"},"bankCard":{"type":"string","title":"银行卡号"},"phone":{"type":"string","title":"手机号"},"wechatQr":{"type":"string","title":"微信二维码"},"isLast":{"type":"boolean","title":"是否最后一家"},"isPaper":{"type":"boolean","title":"空磅是否包含纸箱"},"productId":{"type":"string","title":"产品id"},"productName":{"type":"string","title":"产品名称"},"emptyWeight":{"type":"number","title":"空车重量(kg)"},"totalWeight":{"type":"number","title":"总重量(kg)"},"grossWeight":{"type":"number","title":"毛重(斤)"},"netWeight":{"type":"number","title":"净重(斤)"},"purchasePrice":{"type":"number","title":"采购单价(元/斤)"},"salePrice":{"type":"number","title":"销售单价(元/斤)"},"pricingMethod":{"type":"boolean","title":"报价方式:1_按毛重报价;2_按净重报价;"},"invoiceAmount":{"type":"number","title":"发票金额"},"emptyWeightImg":{"type":"string","title":"空车照片"},"totalWeightImg":{"type":"string","title":"满载照片"},"invoiceUpload":{"type":"boolean","title":"是否上传票证"},"invoiceImg":{"type":"array","items":{"type":"string"},"title":"发票照片"},"contractUpload":{"type":"boolean","title":"是否上传合同"},"contractImg":{"type":"array","items":{"type":"string"},"title":"合同照片"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"}},"required":["orderId","orderSupplierId"],"title":"订单供应商"},"SingleResponseOrderSupplierVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/OrderSupplierVO"}}},"MenuUpdateCmd":{"type":"object","properties":{"path":{"type":"string","title":"路径"},"component":{"type":"string","title":"组件"},"name":{"type":"string","title":"菜单名称"},"pid":{"type":"string","title":"上级菜单Id"},"type":{"type":"string","title":"菜单类型"},"platformId":{"type":"string","title":"平台id"},"roleId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色Id"},"hideInMenu":{"type":"boolean","title":"是否隐藏"},"permissionId":{"type":"integer","format":"int64","title":"权限Id"},"icon":{"type":"string","title":"菜单图标"},"iconColor":{"type":"string","title":"图标颜色"},"bgColorClass":{"type":"string","title":"背景颜色类名"},"menuId":{"type":"string","title":"菜单Id"}},"required":["component","menuId","name","path","platformId","type"],"title":"更新菜单"},"MenuVO":{"type":"object","properties":{"menuId":{"type":"string","title":"菜单id"},"path":{"type":"string","title":"菜单路径"},"component":{"type":"string","title":"组件"},"name":{"type":"string","title":"菜单名称"},"pid":{"type":"string","title":"父菜单id"},"sort":{"type":"string","title":"排序"},"type":{"type":"string","enum":["MENU","PAGE","BUTTON"],"title":"菜单类型"},"platformId":{"type":"string","title":"平台id"},"hideInMenu":{"type":"boolean","title":"是否隐藏"},"routes":{"type":"array","items":{"required":["component","hideInMenu","menuId","name","path","pid","platformId","sort","type"],"title":"菜单"},"title":"子菜单"},"permissionId":{"type":"integer","format":"int64","title":"权限id"},"icon":{"type":"string","title":"菜单图标"},"iconColor":{"type":"string","title":"图标颜色"},"bgColorClass":{"type":"string","title":"背景颜色类名"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["component","hideInMenu","menuId","name","path","permissionId","pid","platformId","sort","type"],"title":"菜单"},"SingleResponseMenuVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/MenuVO"}}},"MaterialUpdateCmd":{"type":"object","properties":{"name":{"type":"string","title":"素材内容标题"},"categoryId":{"type":"string","title":"分类ID"},"path":{"type":"string","title":"素材内容路劲"},"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"title":"素材类型"},"materialId":{"type":"string","title":"素材内容ID"}},"title":"更新素材内容"},"CategoryVO":{"type":"object","properties":{"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"example":"视频","title":"分类类型"},"categoryId":{"type":"string","title":"分类"},"name":{"type":"string","example":"名称","title":"分类名称"},"pid":{"type":"string","example":"名称","title":"上级分类id"},"sort":{"type":"string","example":"名称","title":"排序号"},"children":{"type":"array","items":{"required":["categoryId","name"],"title":"分类响应"},"title":"下级分类"},"count":{"type":"integer","format":"int32","title":"分类关联数量"}},"required":["categoryId","count","name"],"title":"分类响应"},"MaterialVO":{"type":"object","properties":{"materialId":{"type":"string","title":"素材内容ID"},"name":{"type":"string","title":"素材内容标题"},"path":{"type":"string","title":"素材内容路劲"},"url":{"type":"string","title":"素材内容地址"},"categoryId":{"type":"string","title":"上级分类id"},"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"title":"素材类型"},"categoryVO":{"$ref":"#/components/schemas/CategoryVO","title":"分类内容"}},"required":["categoryId","materialId","name","path","type","url"],"title":"素材内容"},"SingleResponseMaterialVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/MaterialVO"}}},"CategoryUpdateCmd":{"type":"object","properties":{"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"example":"视频","title":"分类类型"},"name":{"type":"string","example":"名称","title":"分类名称"},"pid":{"type":"string","example":"名称","title":"上级分类id"},"sort":{"type":"integer","format":"int32","example":"排序","title":"排序"},"categoryId":{"type":"string","title":"分类Id"}},"required":["categoryId"],"title":"分类"},"SingleResponseCategoryVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CategoryVO"}}},"GiftBoxUpdateCmd":{"type":"object","properties":{"boxId":{"type":"string","title":"礼盒ID"},"name":{"type":"string","title":"礼盒名称"},"costPrice":{"type":"number","title":"成本价"},"weight":{"type":"number","title":"重量(kg)"},"salePrice":{"type":"number","title":"售价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["boxId","costPrice","name","salePrice","status","weight"],"title":"礼盒更新"},"GiftBoxVO":{"type":"object","properties":{"boxId":{"type":"string","title":"礼盒ID"},"name":{"type":"string","title":"礼盒名称"},"costPrice":{"type":"number","title":"成本价"},"weight":{"type":"number","title":"重量(kg)"},"salePrice":{"type":"number","title":"售价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["boxId","costPrice","name","salePrice","status","weight"],"title":"礼盒"},"SingleResponseGiftBoxVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/GiftBoxVO"}}},"EmployeeUpdateCmd":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"},"name":{"type":"string","minLength":1,"title":"姓名"},"number":{"type":"string","minLength":1,"title":"工号"},"gender":{"type":"integer","format":"int32","title":"性别"},"avatar":{"type":"string","title":"头像"},"phone":{"type":"string","minLength":1,"pattern":"^(1[3-9])\\d{9}$","title":"手机号"},"remark":{"type":"string","maxLength":200,"minLength":0,"title":"备注"}},"required":["employeeId","gender","name","number","phone"],"title":"员工信息更新"},"EmployeeVO":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息"},"name":{"type":"string","title":"姓名"},"number":{"type":"string","title":"工号"},"avatar":{"type":"string","title":"头像"},"gender":{"type":"integer","format":"int32","title":"性别"},"phone":{"type":"string","title":"手机号"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"userId":{"type":"string","title":"用户ID"},"roleIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色ID"},"userRoleList":{"type":"array","items":{"$ref":"#/components/schemas/UserRoleVO"},"title":"角色信息"}},"required":["employeeId","gender","name","number","phone","roleIdList","userId"],"title":"员工信息"},"SingleResponseEmployeeVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/EmployeeVO"}}},"UserRoleVO":{"type":"object","properties":{"name":{"type":"string","title":"角色名称"},"slug":{"type":"string","title":"角色标识"},"roleId":{"type":"string","title":"角色ID"},"userId":{"type":"string","title":"用户ID"},"description":{"type":"string","title":"描述"},"platformId":{"type":"string","title":"平台ID"}},"required":["description","name","platformId","roleId","slug","userId"],"title":"用户角色"},"DictionaryUpdateCmd":{"type":"object","properties":{"id":{"type":"integer","format":"int32","title":"自增id"},"code":{"type":"string","title":"代码"},"name":{"type":"string","title":"字典名称"},"parentId":{"type":"string","title":"上级id"},"sortNo":{"type":"integer","format":"int32","title":"排序号"},"type":{"type":"string","title":"类型"},"dictionaryId":{"type":"string","title":"字典ID"}},"required":["dictionaryId"],"title":"字典更新"},"DictionaryVO":{"type":"object","properties":{"dictionaryId":{"type":"integer","format":"int32","title":"自增id"},"code":{"type":"string","title":"代码"},"name":{"type":"string","title":"字典名称"},"parentId":{"type":"string","title":"上级id"},"sortNo":{"type":"integer","format":"int32","title":"排序号"},"type":{"type":"string","title":"类型"}},"title":"字典"},"SingleResponseDictionaryVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DictionaryVO"}}},"DealerUpdateCmd":{"type":"object","properties":{"dealerId":{"type":"string","title":"经销商表ID"},"shortName":{"type":"string","title":"经销商简称"},"fullName":{"type":"string","title":"经销商全称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"receivable":{"type":"number","title":"应收金额"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"},"shareAdjusted":{"type":"boolean","title":"是否可调整比例"},"deliveryTemplate":{"type":"string","title":"发货单模板"}},"required":["dealerId","dealerType","shortName","status"],"title":"经销商表更新"},"DealerPaymentAccountVO":{"type":"object","properties":{"accountId":{"type":"string","title":"账户ID"},"dealerId":{"type":"string","title":"经销商ID"},"companyName":{"type":"string","title":"公司名称"},"taxNumber":{"type":"string","title":"税号"},"bankAccount":{"type":"string","title":"银行账号"},"companyAddress":{"type":"string","title":"单位地址"},"phone":{"type":"string","title":"电话"},"openingBank":{"type":"string","title":"开户行"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"dealerVO":{"required":["dealerId","dealerType","shortName","status"],"title":"经销商信息"}},"required":["accountId","bankAccount","companyName","dealerId","taxNumber"],"title":"经销商付款账户"},"DealerVO":{"type":"object","properties":{"dealerId":{"type":"string","title":"经销商ID"},"shortName":{"type":"string","title":"经销商简称"},"fullName":{"type":"string","title":"经销商全称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"receivable":{"type":"number","title":"应收金额"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"deliveryTemplate":{"type":"string","title":"发货单模板"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"dealerPaymentAccountVOList":{"type":"array","items":{"$ref":"#/components/schemas/DealerPaymentAccountVO"},"title":"经销商账户列表"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"},"shareAdjusted":{"type":"boolean","title":"是否可调整比例"}},"required":["dealerId","dealerType","shortName","status"],"title":"经销商表"},"SingleResponseDealerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DealerVO"}}},"DealerWarehouseUpdateCmd":{"type":"object","properties":{"warehouseId":{"type":"string","title":"经销商仓库ID"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商账户ID"},"name":{"type":"string","title":"仓库名称"},"address":{"type":"string","title":"仓库地址"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"receiverName":{"type":"string","title":"收货人姓名"},"receiverPhone":{"type":"string","title":"收货人电话"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"}},"required":["accountId","address","dealerId","name","status","warehouseId"],"title":"经销商仓库更新"},"DealerWarehouseVO":{"type":"object","properties":{"warehouseId":{"type":"string","title":"仓库ID"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商账户ID"},"name":{"type":"string","title":"仓库名称"},"address":{"type":"string","title":"仓库地址"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"receiverName":{"type":"string","title":"收货人姓名"},"receiverPhone":{"type":"string","title":"收货人电话"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"dealerVO":{"$ref":"#/components/schemas/DealerVO","title":"经销商信息"},"dealerPaymentAccountVO":{"$ref":"#/components/schemas/DealerPaymentAccountVO","title":"经销商账户信息"}},"required":["accountId","address","dealerId","name","status","warehouseId"],"title":"经销商仓库"},"SingleResponseDealerWarehouseVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DealerWarehouseVO"}}},"DealerRebateCustomerUpdateCmd":{"type":"object","properties":{"customerId":{"type":"string","title":"经销商返点客户ID"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式:1_按净重计算;2_固定金额;3_不固定"},"unitPrice":{"type":"number","title":"返点单价"},"amount":{"type":"number","title":"返点金额"}},"required":["customerId","dealerId","name","status"],"title":"经销商返点客户更新"},"DealerRebateCustomerVO":{"type":"object","properties":{"customerId":{"type":"string","title":"客户ID"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"dealerVO":{"$ref":"#/components/schemas/DealerVO","title":"经销商信息"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式:1_按净重计算;2_固定金额;3_不固定"},"unitPrice":{"type":"number","title":"返点单价"},"amount":{"type":"number","title":"返点金额"}},"required":["customerId","dealerId","name","status"],"title":"经销商返点客户"},"SingleResponseDealerRebateCustomerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DealerRebateCustomerVO"}}},"DealerPaymentAccountUpdateCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"经销商付款账户ID"},"dealerId":{"type":"string","title":"经销商ID"},"companyName":{"type":"string","title":"公司名称"},"taxNumber":{"type":"string","title":"税号"},"bankAccount":{"type":"string","title":"银行账号"},"companyAddress":{"type":"string","title":"单位地址"},"phone":{"type":"string","title":"电话"},"openingBank":{"type":"string","title":"开户行"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["accountId","bankAccount","companyName","dealerId","taxNumber"],"title":"经销商付款账户更新"},"SingleResponseDealerPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DealerPaymentAccountVO"}}},"CostUpdateCmd":{"type":"object","properties":{"costId":{"type":"string","title":"费用ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE","PRODUCTION_TYPE","OTHER_TYPE"],"title":"费用类型:1_辅料类型;2_人工类型;3_产地类型;4_其他类型"},"belong":{"type":"string","enum":["NONE_TYPE","WORKER_TYPE","PRODUCTION_TYPE"],"title":"费用归属:1_工头;2_产地;"},"name":{"type":"string","title":"费用名称"},"price":{"type":"number","title":"单价"},"unit":{"type":"string","title":"单位"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"成本项ID"}},"required":["belong","costId","name","sort","status","type"],"title":"费用更新"},"SingleResponseCostVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CostVO"}}},"CostItemUpdateCmd":{"type":"object","properties":{"costItemId":{"type":"string","title":"费用项目ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE"],"title":"项目类型:1_辅料类型;2_人工类型;"},"rule":{"type":"string","enum":["INPUT_QUANTITY","SELECT_BOX","INPUT_QUANTITY_AND_AMOUNT"],"title":"录入规则:1_填数量;2_选纸箱;"},"costId":{"type":"integer","format":"int64","title":"费用ID"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["costId","costItemId","name","price","rule","status","type","unit"],"title":"费用项目更新"},"SingleResponseCostItemVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CostItemVO"}}},"CompanyUpdateCmd":{"type":"object","properties":{"companyId":{"type":"string","title":"公司管理ID"},"logo":{"type":"string","title":"公司logo"},"shortName":{"type":"string","title":"公司简称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"address":{"type":"string","title":"发货地址"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["address","companyId","contactPerson","contactPhone","fullName","shortName","status","taxNumber"],"title":"公司管理更新"},"CompanyVO":{"type":"object","properties":{"companyId":{"type":"string","title":"公司ID"},"logo":{"type":"string","title":"公司logo"},"shortName":{"type":"string","title":"公司简称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"address":{"type":"string","title":"发货地址"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["address","companyId","contactPerson","contactPhone","fullName","logo","shortName","status","taxNumber"],"title":"公司管理"},"SingleResponseCompanyVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CompanyVO"}}},"CompanyPaymentAccountUpdateCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"公司付款账户ID"},"companyId":{"type":"string","title":"公司ID"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"},"accountType":{"type":"string","enum":["BANK_CARD","ALIPAY","WECHAT"],"title":"账户类型:1_银行卡;2_支付宝;3_微信"},"bankName":{"type":"string","title":"银行名称"},"branchName":{"type":"string","title":"支行名称"},"publicAccountType":{"type":"string","enum":["BASIC_ACCOUNT","GENERAL_ACCOUNT","SPECIAL_ACCOUNT","TEMPORARY_ACCOUNT"],"title":"对公账户类型:1_基本户;2_一般户;3_专用账户;4_临时户"},"accountName":{"type":"string","title":"开户公司名称、支付宝昵称、微信号"},"accountNumber":{"type":"string","title":"银行账号、支付宝账号、微信账号"},"isPrimary":{"type":"boolean","title":"是否主付款账户:0_否;1_是"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;2_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["accountCategory","accountId","accountName","accountNumber","accountType","companyId","isPrimary","status"],"title":"公司付款账户更新"},"CompanyPaymentAccountVO":{"type":"object","properties":{"accountId":{"type":"string","title":"账户ID"},"companyId":{"type":"string","title":"公司ID"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"},"accountType":{"type":"string","enum":["BANK_CARD","ALIPAY","WECHAT"],"title":"账户类型:1_银行卡;2_支付宝;3_微信"},"bankName":{"type":"string","title":"银行名称"},"branchName":{"type":"string","title":"支行名称"},"publicAccountType":{"type":"string","enum":["BASIC_ACCOUNT","GENERAL_ACCOUNT","SPECIAL_ACCOUNT","TEMPORARY_ACCOUNT"],"title":"对公账户类型:1_基本户;2_一般户;3_专用账户;4_临时户"},"accountName":{"type":"string","title":"开户公司名称、支付宝昵称、微信号"},"accountNumber":{"type":"string","title":"银行账号、支付宝账号、微信账号"},"isPrimary":{"type":"boolean","title":"是否主付款账户:0_否;1_是"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;2_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"companyVO":{"$ref":"#/components/schemas/CompanyVO","title":"公司信息"}},"required":["accountCategory","accountId","accountName","accountNumber","accountType","companyId","isPrimary","status"],"title":"公司付款账户"},"SingleResponseCompanyPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CompanyPaymentAccountVO"}}},"ChannelUpdateCmd":{"type":"object","properties":{"domain":{"type":"string","title":"域名"},"logo":{"type":"string","title":"Logo"},"title":{"type":"string","title":"标题"},"subTitle":{"type":"string","title":"副标题"},"backgroundImageUrl":{"type":"string","title":"背景图片"},"technicalSupport":{"type":"string","title":"技术支持"},"channelId":{"type":"string","title":"渠道ID"}},"required":["channelId"],"title":"渠道更新"},"ChannelVO":{"type":"object","properties":{"channelId":{"type":"string","title":"渠道ID"},"domain":{"type":"string","title":"域名"},"logo":{"type":"string","title":"Logo"},"title":{"type":"string","title":"标题"},"subTitle":{"type":"string","title":"副标题"},"backgroundImageUrl":{"type":"string","title":"背景图片"},"technicalSupport":{"type":"string","title":"技术支持"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"wxMpId":{"type":"string","title":"微信公众号Id"},"wxOpenId":{"type":"string","title":"第三方应用Id"}},"required":["channelId"],"title":"渠道"},"SingleResponseChannelVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/ChannelVO"}}},"BoxSpecUpdateCmd":{"type":"object","properties":{"specId":{"type":"string","title":"纸箱规格ID"},"name":{"type":"string","title":"规格名称"},"sort":{"type":"number","title":"排序号"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["name","sort","specId","status"],"title":"纸箱规格更新"},"BoxSpecVO":{"type":"object","properties":{"specId":{"type":"string","title":"规格ID"},"name":{"type":"string","title":"规格名称"},"sort":{"type":"number","title":"排序号"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["name","sort","specId","status"],"title":"纸箱规格"},"SingleResponseBoxSpecVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/BoxSpecVO"}}},"BoxProductUpdateCmd":{"type":"object","properties":{"productId":{"type":"string","title":"纸箱产品ID"},"name":{"type":"string","title":"纸箱名称"},"weight":{"type":"number","title":"重量(kg)"},"costPrice":{"type":"number","title":"成本价"},"salePrice":{"type":"number","title":"销售价"},"specId":{"type":"string","title":"规格ID"},"specName":{"type":"string","title":"规格名称"},"brandId":{"type":"string","title":"品牌ID"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"required":["brandId","name","productId","status","type"],"title":"纸箱产品更新"},"BoxProductVO":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"纸箱名称"},"weight":{"type":"number","title":"重量(kg)"},"costPrice":{"type":"number","title":"成本价"},"salePrice":{"type":"number","title":"销售价"},"specId":{"type":"string","title":"规格ID"},"specName":{"type":"string","title":"规格名称"},"brandId":{"type":"string","title":"品牌ID"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["brandId","costPrice","name","productId","salePrice","specId","specName","status","type","weight"],"title":"纸箱产品"},"SingleResponseBoxProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/BoxProductVO"}}},"BoxBrandUpdateCmd":{"type":"object","properties":{"brandId":{"type":"string","title":"纸箱品牌ID"},"name":{"type":"string","title":"品牌名称"},"image":{"type":"string","title":"品牌图片URL"},"specIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"纸箱规格ID"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"required":["brandId","name","status","type"],"title":"纸箱品牌更新"},"BoxBrandVO":{"type":"object","properties":{"brandId":{"type":"string","title":"品牌ID"},"name":{"type":"string","title":"品牌名称"},"image":{"type":"string","title":"品牌图片URL"},"specIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"纸箱规格ID"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"},"boxProductVOList":{"type":"array","items":{"$ref":"#/components/schemas/BoxProductVO"},"title":"纸箱产品列表"},"boxSpecVOList":{"type":"array","items":{"$ref":"#/components/schemas/BoxSpecVO"},"title":"纸箱规格列表"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["brandId","name","status","type"],"title":"纸箱品牌"},"SingleResponseBoxBrandVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/BoxBrandVO"}}},"AgreementUpdateCmd":{"type":"object","properties":{"agreementId":{"type":"string","title":"协议ID"},"scene":{"type":"array","items":{"type":"string","enum":["STAKEHOLDER_SETUP","CUSTOMER_SETUP","PERSONAL_CENTER"]},"title":"使用场景"},"title":{"type":"string","title":"协议标题"},"subTitle":{"type":"string","title":"副标题"},"content":{"type":"string","title":"协议内容"}},"required":["agreementId"],"title":"协议更新"},"AgreementVO":{"type":"object","properties":{"agreementId":{"type":"string","title":"协议id"},"scene":{"type":"array","items":{"type":"string","enum":["STAKEHOLDER_SETUP","CUSTOMER_SETUP","PERSONAL_CENTER"]},"title":"使用场景"},"title":{"type":"string","title":"协议标题"},"subTitle":{"type":"string","title":"副标题"},"content":{"type":"string","title":"协议内容"}},"required":["agreementId"],"title":"协议"},"SingleResponseAgreementVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/AgreementVO"}}},"ShipOrderGenerateDocumentCmd":{"type":"object","properties":{"shipOrderId":{"type":"string","title":"发货单ID"},"estimatedArrivalDate":{"type":"string","format":"date","title":"预计到仓时间"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"shippingAddress":{"type":"string","title":"发货地址"},"remark":{"type":"string","title":"备注"},"shipOrderItemList":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderItem"},"title":"发货单明细"},"document":{"type":"string","title":"发货单据"}},"required":["shipOrderId"],"title":"发货单生成单据"},"ProductDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"产品拖拽"},"DealerDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"经销商拖拽"},"CostDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"费用项目拖拽"},"CostItemDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"费用项目拖拽"},"BoxProductDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"纸箱产品拖拽"},"BoxBrandDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"纸箱品牌拖拽"},"PurchaseOrderWithdrawReviewCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"采购订单撤回提审(录入员撤回提审)"},"RoleUpdateCmd":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"slug":{"type":"string","title":"角色标识"},"name":{"type":"string","title":"角色名称"},"type":{"type":"string","title":"角色类型"},"description":{"type":"string","title":"角色详情"},"menuId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色id"},"roleId":{"type":"string","title":"角色ID"}},"required":["menuId","name","platformId","roleId","slug","type"],"title":"角色新增"},"RoleVO":{"type":"object","properties":{"roleId":{"type":"string","title":"角色id"},"slug":{"type":"string","title":"标识"},"name":{"type":"string","title":"名称"},"type":{"type":"string","title":"类型"},"description":{"type":"string","title":"描述"},"platformId":{"type":"string","title":"平台id"},"platformVO":{"$ref":"#/components/schemas/PlatformVO","title":"平台"},"permissionId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"权限列表"},"menuId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"菜单列表"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["createdAt","menuId","name","permissionId","platformId","roleId","slug","type"],"title":"角色"},"SingleResponseRoleVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/RoleVO"}}},"PermissionUpdateCmd":{"type":"object","properties":{"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"},"permissionId":{"type":"string","title":"权限Id"}},"required":["name","permissionId","slug"],"title":"权限更新"},"PermissionVO":{"type":"object","properties":{"permissionId":{"type":"string","title":"权限Id"},"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"}},"required":["name","permissionId","slug"],"title":"权限"},"SingleResponsePermissionVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/PermissionVO"}}},"UserRoleUpdateCmd":{"type":"object","properties":{"userId":{"type":"string","title":"用户ID"},"roleIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色ID"},"cover":{"type":"boolean","title":"是否覆盖"}},"required":["cover","userId"],"title":"用户角色更新"},"PurchaseOrderSubmitReviewCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"采购订单提审(录入员提审)"},"PurchaseOrderStep3Cmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"foreman":{"type":"string","title":"工头"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"},"orderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/OrderPackage"},"title":"采购订单包装箱信息"}},"required":["orderCostList","orderId","orderPackageList"],"title":"采购订单第三步:人工和辅料等费用信息保存"},"PurchaseOrderStep2Cmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"}},"required":["orderCostList","orderId","orderSupplierList"],"title":"采购订单第二步:供应商信息保存"},"PurchaseOrderStep1Cmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"}},"required":["orderCostList","orderDealer","orderVehicle"],"title":"采购订单第一步:车辆信息和经销商信息保存"},"EmployeeRestPasswordCmd":{"type":"object","properties":{"password":{"type":"string","pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"新密码"},"userId":{"type":"string","title":"用户id"}},"required":["password","userId"],"title":"员工信息更新"},"PurchaseOrderRejectFinalCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"rejectReason":{"type":"string","title":"驳回原因"}},"required":["orderId","rejectReason"],"title":"采购订单驳回审批(老板驳回审批)"},"PurchaseOrderRejectApproveCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"rejectReason":{"type":"string","title":"审核原因"}},"required":["orderId","rejectReason"],"title":"采购订单驳回审核(审核员驳回审核)"},"PurchaseOrderFinalApproveCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"采购订单审批(老板审批)"},"VehicleExtractionCmd":{"type":"object","properties":{"message":{"type":"string","title":"消息内容"},"dealerNames":{"type":"string","title":"经销商信息"}},"required":["dealerNames","message"],"title":"车辆信息抽取"},"SingleResponseVehicleExtractionVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/VehicleExtractionVO"}}},"VehicleExtractionVO":{"type":"object","properties":{"plate":{"type":"string","title":"车牌"},"driver":{"type":"string","title":"司机"},"phone":{"type":"string","title":"手机"},"origin":{"type":"string","title":"出发地"},"destination":{"type":"string","title":"目的地"},"price":{"type":"number","title":"价格"},"dealerName":{"type":"string","title":"经销商"},"dealerId":{"type":"string","title":"经销商ID"},"dealerVO":{"$ref":"#/components/schemas/DealerVO","title":"经销商信息"}},"required":["dealerId"],"title":"车辆信息抽取"},"UserEnableCmd":{"type":"object","properties":{"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"用户启用"},"MenuDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"菜单拖拽"},"UserDisableCmd":{"type":"object","properties":{"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"用户封禁"},"EmployeeDisableCmd":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"}},"required":["employeeId"],"title":"员工封禁"},"RoleDestroyCmd":{"type":"object","properties":{"roleId":{"type":"string","title":"角色ID"}},"title":"角色新增"},"PermissionDestroyCmd":{"type":"object","properties":{"permissionId":{"type":"string","title":"权限Id"}},"required":["permissionId"],"title":"权限删除"},"UserCreateCmd":{"type":"object","properties":{"name":{"type":"string","title":"会员名称"},"nickname":{"type":"string","title":"会员昵称"},"avatar":{"type":"string","title":"头像"},"phone":{"type":"string","title":"会员手机号"},"birthday":{"type":"string","title":"会员生日"},"gender":{"type":"integer","format":"int32","title":"会员性别"},"cardType":{"type":"integer","format":"int32","title":"会员卡号生成方式:1 系统生成 2 自定义"},"remark":{"type":"string","title":"备注"},"labelId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"客户标签"}},"required":["name","phone"],"title":"用户更新命令"},"SupplierCreateCmd":{"type":"object","properties":{"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"姓名"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"bankCard":{"type":"string","title":"银行卡号"},"wechatQr":{"type":"string","title":"微信收款码URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["bankCard","idCard","name","phone","status","supplierId"],"title":"供应商创建"},"ShipOrderCreateCmd":{"type":"object","properties":{"createdBy":{"type":"string","title":"创建人ID"},"createdByName":{"type":"string","title":"创建人姓名"},"shipOrderId":{"type":"string","title":"发货单ID"},"purchaseOrderId":{"type":"string","title":"采购单ID"},"orderSn":{"type":"string","title":"发货单编号"},"shippingAddress":{"type":"string","title":"发货地址"},"receivingAddress":{"type":"string","title":"收货地址"},"shippingDate":{"type":"string","format":"date","title":"发货日期"},"estimatedArrivalDate":{"type":"string","format":"date","title":"预计到仓时间"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"driverName":{"type":"string","title":"司机姓名"},"driverPhone":{"type":"string","title":"司机手机号"},"licensePlate":{"type":"string","title":"车牌号码"},"freightDebt":{"type":"number","title":"运费欠款(元)"},"strawMatDebt":{"type":"number","title":"草帘欠款(元)"},"trademarkFee":{"type":"number","title":"商标费(元)"},"laborFee":{"type":"number","title":"人工费(元)"},"cartonFee":{"type":"number","title":"纸箱费(元)"},"codingFee":{"type":"number","title":"打码费(元)"},"provisionFee":{"type":"number","title":"计提费(元)"},"totalAmount":{"type":"number","title":"合计金额(元)"},"farmerInfo":{"type":"string","title":"瓜农姓名逗号隔开"},"companyId":{"type":"string","title":"公司ID"},"companyName":{"type":"string","title":"公司名称"},"remark":{"type":"string","title":"备注"},"shipOrderItemList":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderItem"},"title":"发货单明细"},"shipOrderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderPackage"},"title":"发货单包装信息"}},"required":["createdBy","purchaseOrderId","shipOrderId"],"title":"发货单创建"},"RoleCreateCmd":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"slug":{"type":"string","title":"角色标识"},"name":{"type":"string","title":"角色名称"},"type":{"type":"string","title":"角色类型"},"description":{"type":"string","title":"角色详情"},"menuId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色id"}},"required":["menuId","name","platformId","slug","type"],"title":"角色新增"},"PurchaseOrderCreateCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"originPrincipal":{"type":"string","title":"产地负责人"},"foreman":{"type":"string","title":"工头"},"remark":{"type":"string","title":"备注"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"},"orderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/OrderPackage"},"title":"采购订单包装箱信息"}},"required":["orderCostList","orderDealer","orderPackageList","orderSupplierList","orderVehicle"],"title":"采购订单创建"},"ProductCreateCmd":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"产品名称"},"costIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联成本费用id"},"costTemplate":{"type":"string","title":"成本模板"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["name","productId","sort","status"],"title":"产品表创建"},"PlatformCreateCmd":{"type":"object","properties":{"platformName":{"type":"string","title":"平台名称"},"homePage":{"type":"string","title":"首页"}},"required":["homePage","platformName"],"title":"平台创建"},"PermissionCreateCmd":{"type":"object","properties":{"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"}},"required":["name","slug"],"title":"权限创建"},"MenuCreateCmd":{"type":"object","properties":{"path":{"type":"string","title":"路径"},"component":{"type":"string","title":"组件"},"name":{"type":"string","title":"菜单名称"},"pid":{"type":"string","title":"上级菜单Id"},"type":{"type":"string","title":"菜单类型"},"platformId":{"type":"string","title":"平台id"},"roleId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色Id"},"hideInMenu":{"type":"boolean","title":"是否隐藏"},"permissionId":{"type":"integer","format":"int64","title":"权限Id"},"icon":{"type":"string","title":"菜单图标"},"iconColor":{"type":"string","title":"图标颜色"},"bgColorClass":{"type":"string","title":"背景颜色类名"}},"required":["component","name","path","platformId","type"],"title":"创建菜单请求"},"MaterialCreateCmd":{"type":"object","properties":{"name":{"type":"string","title":"素材内容标题"},"categoryId":{"type":"string","title":"分类ID"},"path":{"type":"string","title":"素材内容路劲"},"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"title":"素材类型"}},"title":"创建素材内容"},"CategoryCreateCmd":{"type":"object","properties":{"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"example":"视频","title":"分类类型"},"name":{"type":"string","example":"名称","title":"分类名称"},"pid":{"type":"string","example":"名称","title":"上级分类id"},"sort":{"type":"integer","format":"int32","example":"排序","title":"排序"}},"title":"分类创建"},"GiftBoxCreateCmd":{"type":"object","properties":{"boxId":{"type":"string","title":"礼盒ID"},"name":{"type":"string","title":"礼盒名称"},"costPrice":{"type":"number","title":"成本价"},"weight":{"type":"number","title":"重量(kg)"},"salePrice":{"type":"number","title":"售价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["boxId","costPrice","name","salePrice","status","weight"],"title":"礼盒创建"},"EmployeeCreateCmd":{"type":"object","properties":{"name":{"type":"string","minLength":1,"title":"姓名"},"number":{"type":"string","minLength":1,"title":"工号"},"gender":{"type":"integer","format":"int32","title":"性别"},"phone":{"type":"string","minLength":1,"pattern":"^(1[3-9])\\d{9}$","title":"手机号"},"remark":{"type":"string","maxLength":200,"minLength":0,"title":"备注"},"status":{"type":"boolean","title":"状态"},"username":{"type":"string","example":18367831980,"maxLength":20,"minLength":4,"title":"登录账号"},"password":{"type":"string","example":18367831980,"maxLength":20,"minLength":8,"pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"登录密码"},"roleId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色ID"}},"required":["gender","name","number","password","phone","roleId","status","username"],"title":"员工信息创建"},"DictionaryCreateCmd":{"type":"object","properties":{"id":{"type":"integer","format":"int32","title":"自增id"},"code":{"type":"string","title":"代码"},"name":{"type":"string","title":"字典名称"},"parentId":{"type":"string","title":"上级id"},"sortNo":{"type":"integer","format":"int32","title":"排序号"},"type":{"type":"string","title":"类型"}},"title":"字典创建"},"DealerCreateCmd":{"type":"object","properties":{"dealerId":{"type":"string","title":"经销商ID"},"shortName":{"type":"string","title":"经销商简称"},"fullName":{"type":"string","title":"经销商全称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"receivable":{"type":"number","title":"应收金额"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"},"shareAdjusted":{"type":"boolean","title":"是否可调整比例"}},"required":["dealerId","dealerType","shortName","status"],"title":"经销商表创建"},"DealerWarehouseCreateCmd":{"type":"object","properties":{"warehouseId":{"type":"string","title":"仓库ID"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商账户ID"},"name":{"type":"string","title":"仓库名称"},"address":{"type":"string","title":"仓库地址"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"receiverName":{"type":"string","title":"收货人姓名"},"receiverPhone":{"type":"string","title":"收货人电话"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"}},"required":["accountId","address","dealerId","name","status","warehouseId"],"title":"经销商仓库创建"},"DealerRebateCustomerCreateCmd":{"type":"object","properties":{"customerId":{"type":"string","title":"客户ID"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式:1_按净重计算;2_固定金额;3_不固定"},"unitPrice":{"type":"number","title":"返点单价"},"amount":{"type":"number","title":"返点金额"}},"required":["customerId","dealerId","name","status"],"title":"经销商返点客户创建"},"DealerPaymentAccountCreateCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"账户ID"},"dealerId":{"type":"string","title":"经销商ID"},"companyName":{"type":"string","title":"公司名称"},"taxNumber":{"type":"string","title":"税号"},"bankAccount":{"type":"string","title":"银行账号"},"companyAddress":{"type":"string","title":"单位地址"},"phone":{"type":"string","title":"电话"},"openingBank":{"type":"string","title":"开户行"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["accountId","bankAccount","companyName","dealerId","taxNumber"],"title":"经销商付款账户创建"},"CostCreateCmd":{"type":"object","properties":{"costId":{"type":"string","title":"费用ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE","PRODUCTION_TYPE","OTHER_TYPE"],"title":"费用类型:1_辅料类型;2_人工类型;3_产地类型;4_其他类型"},"belong":{"type":"string","enum":["NONE_TYPE","WORKER_TYPE","PRODUCTION_TYPE"],"title":"费用归属:1_工头;2_产地;"},"name":{"type":"string","title":"费用名称"},"price":{"type":"number","title":"单价"},"unit":{"type":"string","title":"单位"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"成本项ID"}},"required":["belong","costId","name","sort","status","type"],"title":"费用创建"},"CostItemCreateCmd":{"type":"object","properties":{"costItemId":{"type":"string","title":"项目ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE"],"title":"项目类型:1_辅料类型;2_人工类型;"},"rule":{"type":"string","enum":["INPUT_QUANTITY","SELECT_BOX","INPUT_QUANTITY_AND_AMOUNT"],"title":"录入规则:1_填数量;2_选纸箱;"},"costId":{"type":"integer","format":"int64","title":"费用ID"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["costId","costItemId","name","price","rule","status","type","unit"],"title":"费用项目创建"},"CompanyCreateCmd":{"type":"object","properties":{"companyId":{"type":"string","title":"公司ID"},"logo":{"type":"string","title":"公司logo"},"shortName":{"type":"string","title":"公司简称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"address":{"type":"string","title":"发货地址"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["address","companyId","contactPerson","contactPhone","fullName","shortName","status","taxNumber"],"title":"公司管理创建"},"CompanyPaymentAccountCreateCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"账户ID"},"companyId":{"type":"string","title":"公司ID"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"},"accountType":{"type":"string","enum":["BANK_CARD","ALIPAY","WECHAT"],"title":"账户类型:1_银行卡;2_支付宝;3_微信"},"bankName":{"type":"string","title":"银行名称"},"branchName":{"type":"string","title":"支行名称"},"publicAccountType":{"type":"string","enum":["BASIC_ACCOUNT","GENERAL_ACCOUNT","SPECIAL_ACCOUNT","TEMPORARY_ACCOUNT"],"title":"对公账户类型:1_基本户;2_一般户;3_专用账户;4_临时户"},"accountName":{"type":"string","title":"开户公司名称、支付宝昵称、微信号"},"accountNumber":{"type":"string","title":"银行账号、支付宝账号、微信账号"},"isPrimary":{"type":"boolean","title":"是否主付款账户:0_否;1_是"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;2_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["accountCategory","accountId","accountName","accountNumber","accountType","companyId","isPrimary","status"],"title":"公司付款账户创建"},"ChannelCreateCmd":{"type":"object","properties":{"domain":{"type":"string","title":"域名"},"logo":{"type":"string","title":"Logo"},"title":{"type":"string","title":"标题"},"subTitle":{"type":"string","title":"副标题"},"backgroundImageUrl":{"type":"string","title":"背景图片"},"technicalSupport":{"type":"string","title":"技术支持"}},"title":"渠道新增"},"BoxSpecCreateCmd":{"type":"object","properties":{"specId":{"type":"string","title":"规格ID"},"name":{"type":"string","title":"规格名称"},"sort":{"type":"number","title":"排序号"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["name","sort","specId","status"],"title":"纸箱规格创建"},"BoxProductCreateCmd":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"纸箱名称"},"weight":{"type":"number","title":"重量(kg)"},"costPrice":{"type":"number","title":"成本价"},"salePrice":{"type":"number","title":"销售价"},"specId":{"type":"string","title":"规格ID"},"specName":{"type":"string","title":"规格名称"},"brandId":{"type":"string","title":"品牌ID"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"required":["brandId","name","productId","status","type"],"title":"纸箱产品创建"},"BoxBrandCreateCmd":{"type":"object","properties":{"brandId":{"type":"string","title":"品牌ID"},"name":{"type":"string","title":"品牌名称"},"image":{"type":"string","title":"品牌图片URL"},"specIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"纸箱规格ID"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"required":["brandId","name","status","type"],"title":"纸箱品牌创建"},"AgreementCreateCmd":{"type":"object","properties":{"agreementId":{"type":"string","title":"协议id"},"scene":{"type":"array","items":{"type":"string","enum":["STAKEHOLDER_SETUP","CUSTOMER_SETUP","PERSONAL_CENTER"]},"title":"使用场景"},"title":{"type":"string","title":"协议标题"},"subTitle":{"type":"string","title":"副标题"},"content":{"type":"string","title":"协议内容"}},"required":["agreementId"],"title":"协议创建"},"MaterialBatchAddCmd":{"type":"object","properties":{"materialCreateCmdList":{"type":"array","items":{"$ref":"#/components/schemas/MaterialCreateCmd"},"title":"创建素材内容"}},"title":"创建素材内容"},"MultiResponseMaterialVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MaterialVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"PurchaseOrderApproveCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"originPrincipal":{"type":"string","title":"产地负责人"},"foreman":{"type":"string","title":"工头"},"remark":{"type":"string","title":"备注"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"},"orderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/OrderPackage"},"title":"采购订单包装箱信息"},"draft":{"type":"boolean","title":"是否是暂存"},"pricingMethod":{"type":"string","enum":["BY_GROSS_WEIGHT","BY_NET_WEIGHT"],"title":"报价方式:1_按毛重报价;2_按净重报价;"},"orderCompany":{"$ref":"#/components/schemas/OrderCompany","title":"公司信息"},"orderRebate":{"$ref":"#/components/schemas/OrderRebate","title":"返点信息"}},"required":["draft","orderCompany","orderCostList","orderDealer","orderId","orderPackageList","orderRebate","orderSupplierList","orderVehicle"],"title":"采购订单审核(审核员审核)"},"MenuTreeQry":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"pid":{"type":"string","title":"父级id"}},"title":"菜单请求"},"MultiResponseTreeLong":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TreeLong"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"TreeLong":{"type":"object","additionalProperties":{},"properties":{"name":{"type":"object","properties":{"empty":{"type":"boolean"}}},"id":{"type":"integer","format":"int64"},"parentId":{"type":"integer","format":"int64"},"config":{"$ref":"#/components/schemas/TreeNodeConfig"},"weight":{},"empty":{"type":"boolean"}}},"TreeNodeConfig":{"type":"object","properties":{"idKey":{"type":"string"},"parentIdKey":{"type":"string"},"weightKey":{"type":"string"},"nameKey":{"type":"string"},"childrenKey":{"type":"string"},"deep":{"type":"integer","format":"int32"}}},"CategoryTreeQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"typeList":{"type":"array","items":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"]},"title":"分类类型"},"name":{"type":"string","title":"分类名称"}},"title":"分类"},"UserShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"查询用户请求"},"SupplierShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"supplierId":{"type":"string","title":"供应商ID"}},"title":"供应商查询"},"ShipOrderShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"shipOrderId":{"type":"string","title":"发货单ID"},"purchaseOrderId":{"type":"string","title":"采购单ID"}},"title":"发货单查询"},"SettingShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"settingKey":{"type":"string","enum":["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"],"title":"系统设置项key"}},"required":["settingKey"],"title":"设置查询"},"RoleShowQry":{"type":"object","properties":{"roleId":{"type":"string","title":"角色编号"}},"title":"角色查询"},"PurchaseOrderShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"orderId":{"type":"string","title":"采购订单ID"}},"title":"采购订单查询"},"ProductShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"产品表ID"}},"title":"产品表查询"},"PlatformShowQry":{"type":"object","properties":{"platformId":{"type":"string","title":"平台ID"}},"required":["platformId"],"title":"平台查询"},"PermissionShowQry":{"type":"object","properties":{"permissionId":{"type":"string","title":"权限Id"}},"required":["permissionId"],"title":"权限查询"},"MenuShowQry":{"type":"object","properties":{"menuId":{"type":"string","title":"菜单Id"}},"required":["menuId"],"title":"菜单详情"},"MaterialShowQry":{"type":"object","properties":{"materialId":{"type":"string","title":"素材内容ID"}},"required":["materialId"],"title":"素材内容请求"},"CategoryShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"categoryId":{"type":"string","title":"分类Id"}},"required":["categoryId"],"title":"分类"},"GiftBoxShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"boxId":{"type":"string","title":"礼盒ID"}},"title":"礼盒查询"},"EmployeeShowQry":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"},"userId":{"type":"string","title":"用户ID"},"platformId":{"type":"string","title":"平台ID"}},"title":"员工信息查询"},"DictionaryShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dictionaryId":{"type":"string","title":"字典ID"}},"title":"字典查询"},"DealerShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商表ID"}},"title":"经销商表查询"},"DealerWarehouseShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"warehouseId":{"type":"string","title":"经销商仓库ID"},"accountId":{"type":"string","title":"经销商付款账户ID"},"dealerId":{"type":"string","title":"经销商ID"}},"title":"经销商仓库查询"},"DealerRebateCustomerShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"customerId":{"type":"string","title":"经销商返点客户ID"},"dealerId":{"type":"string","title":"经销商ID"}},"title":"经销商返点客户查询"},"DealerPaymentAccountShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"accountId":{"type":"string","title":"经销商付款账户ID"},"dealerId":{"type":"string","title":"经销商ID"}},"title":"经销商付款账户查询"},"CostShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"costId":{"type":"string","title":"费用ID"}},"title":"费用查询"},"CostItemShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"costItemId":{"type":"string","title":"费用项目ID"}},"title":"费用项目查询"},"CompanyShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"companyId":{"type":"string","title":"公司管理ID"}},"title":"公司管理查询"},"CompanyPaymentAccountShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"accountId":{"type":"string","title":"公司付款账户ID"}},"title":"公司付款账户查询"},"ChannelShowQry":{"type":"object","properties":{"channelId":{"type":"string","title":"渠道编号"},"domain":{"type":"string","title":"域名"}},"required":["channelId"],"title":"渠道查询"},"BoxSpecShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"specId":{"type":"string","title":"纸箱规格ID"}},"title":"纸箱规格查询"},"BoxProductShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"纸箱产品ID"}},"title":"纸箱产品查询"},"BoxBrandShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"brandId":{"type":"string","title":"纸箱品牌ID"}},"title":"纸箱品牌查询"},"AgreementShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"agreementId":{"type":"string","title":"协议ID"}},"title":"协议查询"},"UserPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"keyword":{"type":"string","title":"关键词"},"cardNo":{"type":"string","title":"会员卡号"},"phone":{"type":"string","title":"会员手机号码"},"name":{"type":"string","title":"会员名称"},"nickname":{"type":"string","title":"会员昵称"},"createdAt":{"type":"array","items":{"type":"string","format":"date-time"},"title":"查询创建时间"},"isBindPhone":{"type":"boolean","title":"是否绑定手机号码"},"gender":{"type":"integer","format":"int32","title":"性别"},"bindPhoneAt":{"type":"array","items":{"type":"string","format":"date-time"},"title":"查询绑定手机号码时间"},"state":{"type":"array","items":{"type":"string","enum":["ENABLE","DISABLE"]},"title":"状态"},"isAdmin":{"type":"boolean","title":"是否是管理员"},"userIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"会员id列表"},"excludeUserIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"排除的用户id列表"},"communityId":{"type":"integer","format":"int64","title":"小区id"},"offset":{"type":"integer","format":"int32"}},"title":"查询用户分页请求"},"PageResponseUserVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/UserVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"SupplierPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商名称"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"bankCard":{"type":"string","title":"银行卡号"},"offset":{"type":"integer","format":"int32"}},"title":"供应商分页查询"},"PageResponseSupplierVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SupplierVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"ShipOrderPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"shipOrderId":{"type":"string","title":"发货单ID"},"vehicleNo":{"type":"string","title":"车辆编号"},"orderSn":{"type":"string","title":"采购订单编号"},"state":{"type":"string","enum":["WAIT_PAYMENT","PARTIAL_PAYMENT","FULL_PAYMENT","REJECT_FINISH","FINISH"],"title":"发货单状态:1_待回款;2_部分回款;3_已回款;4_拒收完结;5_已完结;"},"supplierName":{"type":"string","title":"供应商名称"},"dealerId":{"type":"string","title":"经销商ID"},"offset":{"type":"integer","format":"int32"}},"title":"发货单分页查询"},"PageResponseShipOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"RolePageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"name":{"type":"string","title":"角色名称"},"slug":{"type":"string","title":"角色标识"},"type":{"type":"string","title":"角色类型"},"roleId":{"type":"string","title":"角色编号"},"platformId":{"type":"string","title":"平台id"},"offset":{"type":"integer","format":"int32"}},"title":"角色分页查询"},"PageResponseRoleVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RoleVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"PurchaseOrderPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"orderId":{"type":"string","title":"采购订单ID"},"vehicleNo":{"type":"string","title":"车辆编号"},"orderSn":{"type":"string","title":"采购订单编号"},"state":{"type":"string","enum":["DRAFT","WAITING_AUDIT","COMPLETED","REJECTED","CLOSED"],"title":"采购订单状态: 0_草稿;1_审核中;2_已完成;3_已驳回;4_已关闭;"},"auditState":{"type":"string","enum":["NONE","PENDING_QUOTE_APPROVAL","PENDING_BOSS_APPROVAL","BOSS_APPROVED","QUOTE_REJECTED","BOSS_REJECTED"],"title":"采购单审核状态: 1_待报价审核;2_待老板审批;3_老板审批通过;4_报价审核驳回;5_老板审批驳回"},"supplierName":{"type":"string","title":"供应商名称"},"dealerId":{"type":"string","title":"经销商ID"},"offset":{"type":"integer","format":"int32"}},"title":"采购订单分页查询"},"PageResponsePurchaseOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PurchaseOrderVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"ProductPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"产品表ID"},"offset":{"type":"integer","format":"int32"}},"title":"产品表分页查询"},"PageResponseProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ProductVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"PlatformPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"platformId":{"type":"string","title":"平台ID"},"offset":{"type":"integer","format":"int32"}},"required":["platformId"],"title":"平台分页查询"},"PageResponsePlatformVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PlatformVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"PermissionPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"},"offset":{"type":"integer","format":"int32"}},"title":"权限分页查询"},"PageResponsePermissionVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PermissionVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"OrderSupplierPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"orderSupplierId":{"type":"string","title":"订单供应商ID"},"orderId":{"type":"string","title":"订单ID"},"supplierId":{"type":"string","title":"供应商id"},"deliveryTime":{"type":"array","items":{"type":"string","format":"date-time"},"title":"发货日期"},"offset":{"type":"integer","format":"int32"}},"title":"订单供应商分页查询"},"PageResponseOrderSupplierVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplierVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"MaterialPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"title":{"type":"string","title":"素材内容标题"},"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"title":"素材类型"},"materialId":{"type":"string","title":"素材内容ID"},"categoryId":{"type":"string","title":"分类ID"},"offset":{"type":"integer","format":"int32"}},"title":"素材内容分页请求"},"PageResponseMaterialVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MaterialVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"GiftBoxPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"boxId":{"type":"string","title":"礼盒ID"},"name":{"type":"string","title":"礼盒名称"},"offset":{"type":"integer","format":"int32"}},"title":"礼盒分页查询"},"PageResponseGiftBoxVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/GiftBoxVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"EmployeePageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"employeeId":{"type":"string","title":"员工信息ID"},"name":{"type":"string","title":"姓名"},"number":{"type":"string","title":"工号"},"phone":{"type":"string","title":"手机号"},"status":{"type":"integer","format":"int32","title":"状态"},"offset":{"type":"integer","format":"int32"}},"required":["employeeId","name","number","phone"],"title":"员工信息分页查询"},"PageResponseEmployeeVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/EmployeeVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DictionaryPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dictionaryId":{"type":"string","title":"字典ID"},"name":{"type":"string","title":"字典名称"},"type":{"type":"string","title":"字典类型"},"offset":{"type":"integer","format":"int32"}},"title":"字典分页查询"},"PageResponseDictionaryVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DictionaryVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DealerPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"shortName":{"type":"string","title":"经销商简称"},"fullName":{"type":"string","title":"经销商全称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"offset":{"type":"integer","format":"int32"}},"title":"经销商表分页查询"},"PageResponseDealerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DealerWarehousePageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商付款账户ID"},"offset":{"type":"integer","format":"int32"}},"title":"经销商仓库分页查询"},"PageResponseDealerWarehouseVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerWarehouseVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DealerRebateCustomerPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式"},"offset":{"type":"integer","format":"int32"}},"title":"经销商返点客户分页查询"},"PageResponseDealerRebateCustomerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerRebateCustomerVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DealerPaymentAccountPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"offset":{"type":"integer","format":"int32"}},"title":"经销商付款账户分页查询"},"PageResponseDealerPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerPaymentAccountVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"CostPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"costId":{"type":"string","title":"费用ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE","PRODUCTION_TYPE","OTHER_TYPE"],"title":"费用类型:1_辅料类型;2_人工类型;3_产地类型;4_其他类型"},"belong":{"type":"string","enum":["NONE_TYPE","WORKER_TYPE","PRODUCTION_TYPE"],"title":"费用归属:1_工头;2_产地;"},"offset":{"type":"integer","format":"int32"}},"title":"费用分页查询"},"PageResponseCostVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CostVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"CostItemPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"costItemId":{"type":"string","title":"费用项目ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE"],"title":"项目类型:1_辅料类型;2_人工类型;"},"name":{"type":"string","title":"项目名称"},"offset":{"type":"integer","format":"int32"}},"title":"费用项目分页查询"},"PageResponseCostItemVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CostItemVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"CompanyPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"companyId":{"type":"string","title":"公司管理ID"},"shortName":{"type":"string","title":"公司名称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"offset":{"type":"integer","format":"int32"}},"title":"公司管理分页查询"},"PageResponseCompanyVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"CompanyPaymentAccountPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"accountId":{"type":"string","title":"公司付款账户ID"},"companyId":{"type":"string","title":"公司ID"},"accountName":{"type":"string","title":"付款账户名称"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"},"offset":{"type":"integer","format":"int32"}},"title":"公司付款账户分页查询"},"PageResponseCompanyPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyPaymentAccountVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"ChannelPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"domain":{"type":"string","title":"域名"},"offset":{"type":"integer","format":"int32"}},"title":"渠道分页查询"},"PageResponseChannelVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ChannelVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"BoxSpecPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"specId":{"type":"string","title":"纸箱规格ID"},"offset":{"type":"integer","format":"int32"}},"title":"纸箱规格分页查询"},"PageResponseBoxSpecVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxSpecVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"BoxProductPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"纸箱产品ID"},"name":{"type":"string","title":"纸箱产品名称"},"brandId":{"type":"string","title":"纸箱品牌ID"},"specId":{"type":"string","title":"规格ID"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"},"offset":{"type":"integer","format":"int32"}},"title":"纸箱产品分页查询"},"PageResponseBoxProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxProductVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"BoxBrandPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"brandId":{"type":"string","title":"纸箱品牌ID"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"},"offset":{"type":"integer","format":"int32"}},"title":"纸箱品牌分页查询"},"PageResponseBoxBrandVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxBrandVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"AgreementPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"agreementId":{"type":"string","title":"协议ID"},"scene":{"type":"string","title":"协议类型"},"offset":{"type":"integer","format":"int32"}},"title":"协议分页查询"},"PageResponseAgreementVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AgreementVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"OssTokenVO":{"type":"object","properties":{"securityToken":{"type":"string"},"accessKeySecret":{"type":"string"},"accessKeyId":{"type":"string"},"domain":{"type":"string"},"bucket":{"type":"string"},"region":{"type":"string"}},"title":"商家响应"},"SingleResponseOssTokenVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/OssTokenVO"}}},"UserListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"userIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"用户ID"},"name":{"type":"string","title":"用户名"}},"title":"查询用户请求"},"MultiResponseUserVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/UserVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"SupplierListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商名称"}},"title":"供应商列表查询"},"MultiResponseSupplierVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SupplierVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"ShipOrderListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"shipOrderId":{"type":"string","title":"发货单ID"}},"title":"发货单列表查询"},"MultiResponseShipOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ShipOrderVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"RoleListQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"name":{"type":"string","title":"角色名称"},"userId":{"type":"string","title":"用户Id"},"roleId":{"type":"string","title":"角色编号"},"roleIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"应用角色Id"},"platformId":{"type":"string","title":"平台Id"},"platformIdList":{"type":"string","title":"平台Id"},"type":{"type":"integer","format":"int32","title":"角色类型"},"offset":{"type":"integer","format":"int32"}},"title":"角色查询"},"MultiResponseRoleVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RoleVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"PurchaseOrderListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"orderId":{"type":"string","title":"采购订单ID"}},"title":"采购订单列表查询"},"MultiResponsePurchaseOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PurchaseOrderVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"ProductListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"产品表ID"}},"title":"产品表列表查询"},"MultiResponseProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ProductVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"PlatformListQry":{"title":"平台列表查询"},"MultiResponsePlatformVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PlatformVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"PermissionListQry":{"title":"权限查询"},"MultiResponsePermissionVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PermissionVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"MenuListQry":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"pid":{"type":"string","title":"父级id"}},"title":"菜单请求"},"MultiResponseMenuVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MenuVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"GiftBoxListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"boxId":{"type":"string","title":"礼盒ID"}},"title":"礼盒列表查询"},"MultiResponseGiftBoxVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/GiftBoxVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"EmployeeListQry":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"}},"required":["employeeId"],"title":"员工信息列表查询"},"MultiResponseEmployeeVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/EmployeeVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DictionaryListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dictionaryId":{"type":"string","title":"字典ID"},"type":{"type":"string","title":"字典类型"}},"title":"字典列表查询"},"MultiResponseDictionaryVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DictionaryVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DealerListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商表ID"},"shortName":{"type":"string","title":"经销商简称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"]}},"title":"经销商表列表查询"},"MultiResponseDealerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DealerWarehouseListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商付款账户ID"},"name":{"type":"string","title":"仓库名称"}},"title":"经销商仓库列表查询"},"MultiResponseDealerWarehouseVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerWarehouseVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DealerRebateCustomerListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式"}},"title":"经销商返点客户列表查询"},"MultiResponseDealerRebateCustomerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerRebateCustomerVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DealerPaymentAccountListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"keyword":{"type":"string","title":"关键词"}},"title":"经销商付款账户列表查询"},"MultiResponseDealerPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerPaymentAccountVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"CostListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"costId":{"type":"string","title":"费用ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE","PRODUCTION_TYPE","OTHER_TYPE"],"title":"费用类型:1_辅料类型;2_人工类型;3_产地类型;4_其他类型"},"belong":{"type":"string","enum":["NONE_TYPE","WORKER_TYPE","PRODUCTION_TYPE"],"title":"费用归属:1_工头;2_产地;"}},"title":"费用列表查询"},"MultiResponseCostVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CostVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"CostItemListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"costItemId":{"type":"string","title":"费用项目ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE"],"title":"项目类型:1_辅料类型;2_人工类型;"}},"title":"费用项目列表查询"},"MultiResponseCostItemVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CostItemVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"CompanyListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"companyId":{"type":"string","title":"公司管理ID"}},"title":"公司管理列表查询"},"MultiResponseCompanyVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"CompanyPaymentAccountListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"accountId":{"type":"string","title":"公司付款账户ID"},"accountName":{"type":"string","title":"公司付款账户名称"},"companyName":{"type":"string","title":"公司名称"},"companyId":{"type":"string","title":"公司ID"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"}},"title":"公司付款账户列表查询"},"MultiResponseCompanyPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyPaymentAccountVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"BoxSpecListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"specId":{"type":"string","title":"纸箱规格ID"}},"title":"纸箱规格列表查询"},"MultiResponseBoxSpecVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxSpecVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"BoxProductListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"纸箱产品ID"},"name":{"type":"string","title":"纸箱产品名称"},"brandId":{"type":"string","title":"纸箱品牌ID"},"specId":{"type":"string","title":"规格ID"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"title":"纸箱产品列表查询"},"MultiResponseBoxProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxProductVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"BoxBrandListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"纸箱品牌状态"},"brandId":{"type":"string","title":"纸箱品牌ID"},"withProduct":{"type":"boolean","title":"是否包含纸箱产品"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"title":"纸箱品牌列表查询"},"MultiResponseBoxBrandVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxBrandVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"AgreementListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"agreementId":{"type":"string","title":"协议ID"},"scene":{"type":"string","enum":["STAKEHOLDER_SETUP","CUSTOMER_SETUP","PERSONAL_CENTER"],"title":"协议类型"}},"title":"协议列表查询"},"MultiResponseAgreementVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AgreementVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"LastVehicleNoQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"title":"上一车车次号查询参数"},"SingleResponseString":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"string"}}},"PurchaseOrderCountQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"state":{"type":"string","enum":["DRAFT","WAITING_AUDIT","COMPLETED","REJECTED","CLOSED"],"title":"采购订单状态: 0_草稿;1_审核中;2_已完成;3_已驳回;4_已关闭;"},"auditState":{"type":"string","enum":["NONE","PENDING_QUOTE_APPROVAL","PENDING_BOSS_APPROVAL","BOSS_APPROVED","QUOTE_REJECTED","BOSS_REJECTED"],"title":"采购单审核状态: 1_待报价审核;2_待老板审批;3_老板审批通过;4_报价审核驳回;5_老板审批驳回"}},"title":"采购订单数量查询"},"SingleResponseLong":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"integer","format":"int64"}}},"SupplierCheckQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商名称"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"offset":{"type":"integer","format":"int32"}},"title":"供应商检测"},"UserDestroyCmd":{"type":"object","properties":{"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"用户删除命令"},"SupplierDestroyCmd":{"type":"object","properties":{"supplierId":{"type":"string","title":"供应商ID"}},"required":["supplierId"],"title":"删除供应商"},"ShipOrderDestroyCmd":{"type":"object","properties":{"shipOrderId":{"type":"string","title":"发货单ID"}},"required":["shipOrderId"],"title":"删除发货单"},"PurchaseOrderDestroyCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"删除采购订单"},"ProductDestroyCmd":{"type":"object","properties":{"productId":{"type":"string","title":"产品表ID"}},"required":["productId"],"title":"删除产品表"},"PlatformDestroyCmd":{"type":"object","properties":{"platformId":{"type":"string","title":"平台ID"}},"required":["platformId"],"title":"删除平台"},"MenuDestroyCmd":{"type":"object","properties":{"menuId":{"type":"string","title":"菜单Id"}},"required":["menuId"],"title":"菜单删除"},"MaterialDestroyCmd":{"type":"object","properties":{"materialId":{"type":"string","title":"素材Id"}},"required":["materialId"],"title":"素材删除"},"CategoryDestroyCmd":{"type":"object","properties":{"categoryId":{"type":"string","title":"分类Id"}},"required":["categoryId"],"title":"分类删除"},"GiftBoxDestroyCmd":{"type":"object","properties":{"boxId":{"type":"string","title":"礼盒ID"}},"required":["boxId"],"title":"删除礼盒"},"EmployeeDestroyCmd":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"}},"required":["employeeId"],"title":"删除员工信息"},"DictionaryDestroyCmd":{"type":"object","properties":{"dictionaryId":{"type":"string","title":"字典ID"}},"required":["dictionaryId"],"title":"删除字典"},"DealerDestroyCmd":{"type":"object","properties":{"dealerId":{"type":"string","title":"经销商表ID"}},"required":["dealerId"],"title":"删除经销商表"},"DealerWarehouseDestroyCmd":{"type":"object","properties":{"warehouseId":{"type":"string","title":"经销商仓库ID"}},"required":["warehouseId"],"title":"删除经销商仓库"},"DealerRebateCustomerDestroyCmd":{"type":"object","properties":{"customerId":{"type":"string","title":"经销商返点客户ID"}},"required":["customerId"],"title":"删除经销商返点客户"},"DealerPaymentAccountDestroyCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"经销商付款账户ID"}},"required":["accountId"],"title":"删除经销商付款账户"},"CostDestroyCmd":{"type":"object","properties":{"costId":{"type":"string","title":"费用ID"}},"required":["costId"],"title":"删除费用"},"CostItemDestroyCmd":{"type":"object","properties":{"costItemId":{"type":"string","title":"费用项目ID"}},"required":["costItemId"],"title":"删除费用项目"},"CompanyDestroyCmd":{"type":"object","properties":{"companyId":{"type":"string","title":"公司管理ID"}},"required":["companyId"],"title":"删除公司管理"},"CompanyPaymentAccountDestroyCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"公司付款账户ID"}},"required":["accountId"],"title":"删除公司付款账户"},"ChannelDestroyCmd":{"type":"object","properties":{"channelId":{"type":"string","title":"渠道ID"}},"required":["channelId"],"title":"渠道删除"},"BoxSpecDestroyCmd":{"type":"object","properties":{"specId":{"type":"string","title":"纸箱规格ID"}},"required":["specId"],"title":"删除纸箱规格"},"BoxProductDestroyCmd":{"type":"object","properties":{"productId":{"type":"string","title":"纸箱产品ID"}},"required":["productId"],"title":"删除纸箱产品"},"BoxBrandDestroyCmd":{"type":"object","properties":{"brandId":{"type":"string","title":"纸箱品牌ID"}},"required":["brandId"],"title":"删除纸箱品牌"},"AgreementDestroyCmd":{"type":"object","properties":{"agreementId":{"type":"string","title":"协议ID"}},"required":["agreementId"],"title":"删除协议"}}}} +{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"http://localhost:8083","description":"Generated server url"}],"tags":[{"name":"Product","description":"产品管理"},{"name":"Permission","description":"权限管理"},{"name":"Role","description":"应用角色管理"},{"name":"OrderSupplier","description":"订单供应商管理"},{"name":"PurchaseOrder","description":"采购订单管理"},{"name":"Employee","description":"员工信息管理"},{"name":"OrderShip","description":"发货单管理"},{"name":"Setting","description":"系统设置管理"},{"name":"BoxBrand","description":"纸箱品牌管理"},{"name":"BoxProduct","description":"纸箱产品管理"},{"name":"BoxSpec","description":"纸箱规格管理"},{"name":"Channel","description":"渠道管理"},{"name":"Extraction","description":"信息抽取"},{"name":"Dealer","description":"经销商表管理"},{"name":"Company","description":"公司管理管理"},{"name":"DealerPaymentAccount","description":"经销商付款账户管理"},{"name":"User","description":"用户管理"},{"name":"Cost","description":"费用管理"},{"name":"MaterialCategory","description":"素材分类"},{"name":"DealerWarehouse","description":"经销商仓库管理"},{"name":"Platform","description":"平台管理"},{"name":"Dictionary","description":"字典管理"},{"name":"Material","description":"素材管理"},{"name":"GiftBox","description":"礼盒管理"},{"name":"DealerRebateCustomer","description":"经销商返点客户管理"},{"name":"Menu","description":"应用菜单"},{"name":"Agreement","description":"协议管理"},{"name":"Supplier","description":"供应商管理"},{"name":"CompanyPaymentAccount","description":"公司付款账户管理"},{"name":"CostItem","description":"费用项目管理"}],"paths":{"/operation/updateUser":{"put":{"tags":["User"],"summary":"更新用户","operationId":"updateUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserVO"}}}}}},"patch":{"tags":["User"],"summary":"更新用户","operationId":"updateUser_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserVO"}}}}}}},"/operation/updateSupplier":{"put":{"tags":["Supplier"],"summary":"供应商更新","operationId":"updateSupplier","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}},"patch":{"tags":["Supplier"],"summary":"供应商更新","operationId":"updateSupplier_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}}},"/operation/updateSetting":{"put":{"tags":["Setting"],"summary":"系统设置更新","operationId":"updateSetting","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSettingVO"}}}}}},"patch":{"tags":["Setting"],"summary":"系统设置更新","operationId":"updateSetting_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSettingVO"}}}}}}},"/operation/updatePurchaseOrder":{"put":{"tags":["PurchaseOrder"],"summary":"采购订单更新","operationId":"updatePurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}},"deprecated":true},"patch":{"tags":["PurchaseOrder"],"summary":"采购订单更新","operationId":"updatePurchaseOrder_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}},"deprecated":true}},"/operation/updateProduct":{"put":{"tags":["Product"],"summary":"产品更新","operationId":"updateProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseProductVO"}}}}}},"patch":{"tags":["Product"],"summary":"产品更新","operationId":"updateProduct_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseProductVO"}}}}}}},"/operation/updatePlatform":{"put":{"tags":["Platform"],"summary":"平台更新","operationId":"updatePlatform","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePlatformVO"}}}}}},"patch":{"tags":["Platform"],"summary":"平台更新","operationId":"updatePlatform_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePlatformVO"}}}}}}},"/operation/updateOrderSupplier":{"put":{"tags":["OrderSupplier"],"summary":"订单供应商更新","operationId":"updateOrderSupplier","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderSupplierUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseOrderSupplierVO"}}}}}},"patch":{"tags":["OrderSupplier"],"summary":"订单供应商更新","operationId":"updateOrderSupplier_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderSupplierUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseOrderSupplierVO"}}}}}}},"/operation/updateOrderShip":{"put":{"tags":["OrderShip"],"summary":"发货单更新","operationId":"updateOrderShip","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderShipUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseOrderShipVO"}}}}}},"patch":{"tags":["OrderShip"],"summary":"发货单更新","operationId":"updateOrderShip_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderShipUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseOrderShipVO"}}}}}}},"/operation/updateMenu":{"put":{"tags":["Menu"],"summary":"菜单更新","operationId":"updateMenu","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMenuVO"}}}}}},"patch":{"tags":["Menu"],"summary":"菜单更新","operationId":"updateMenu_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMenuVO"}}}}}}},"/operation/updateMaterial":{"put":{"tags":["Material"],"summary":"素材内容更新","operationId":"updateMaterial","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMaterialVO"}}}}}},"patch":{"tags":["Material"],"summary":"素材内容更新","operationId":"updateMaterial_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMaterialVO"}}}}}}},"/operation/updateMaterialCategory":{"put":{"tags":["MaterialCategory"],"summary":"更新素材分类","operationId":"updateMaterialCategory","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCategoryVO"}}}}}},"patch":{"tags":["MaterialCategory"],"summary":"更新素材分类","operationId":"updateMaterialCategory_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCategoryVO"}}}}}}},"/operation/updateGiftBox":{"put":{"tags":["GiftBox"],"summary":"礼盒更新","operationId":"updateGiftBox","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiftBoxUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseGiftBoxVO"}}}}}},"patch":{"tags":["GiftBox"],"summary":"礼盒更新","operationId":"updateGiftBox_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiftBoxUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseGiftBoxVO"}}}}}}},"/operation/updateEmployee":{"put":{"tags":["Employee"],"summary":"员工信息更新","operationId":"updateEmployee","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseEmployeeVO"}}}}}},"patch":{"tags":["Employee"],"summary":"员工信息更新","operationId":"updateEmployee_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseEmployeeVO"}}}}}}},"/operation/updateDictionary":{"put":{"tags":["Dictionary"],"summary":"字典更新","operationId":"updateDictionary","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DictionaryUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDictionaryVO"}}}}}},"patch":{"tags":["Dictionary"],"summary":"字典更新","operationId":"updateDictionary_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DictionaryUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDictionaryVO"}}}}}}},"/operation/updateDealer":{"put":{"tags":["Dealer"],"summary":"经销商表更新","operationId":"updateDealer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerVO"}}}}}},"patch":{"tags":["Dealer"],"summary":"经销商表更新","operationId":"updateDealer_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerVO"}}}}}}},"/operation/updateDealerWarehouse":{"put":{"tags":["DealerWarehouse"],"summary":"经销商仓库更新","operationId":"updateDealerWarehouse","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerWarehouseUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerWarehouseVO"}}}}}},"patch":{"tags":["DealerWarehouse"],"summary":"经销商仓库更新","operationId":"updateDealerWarehouse_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerWarehouseUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerWarehouseVO"}}}}}}},"/operation/updateDealerRebateCustomer":{"put":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户更新","operationId":"updateDealerRebateCustomer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerRebateCustomerUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerRebateCustomerVO"}}}}}},"patch":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户更新","operationId":"updateDealerRebateCustomer_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerRebateCustomerUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerRebateCustomerVO"}}}}}}},"/operation/updateDealerPaymentAccount":{"put":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户更新","operationId":"updateDealerPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerPaymentAccountUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerPaymentAccountVO"}}}}}},"patch":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户更新","operationId":"updateDealerPaymentAccount_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerPaymentAccountUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerPaymentAccountVO"}}}}}}},"/operation/updateCost":{"put":{"tags":["Cost"],"summary":"费用更新","operationId":"updateCost","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostVO"}}}}}},"patch":{"tags":["Cost"],"summary":"费用更新","operationId":"updateCost_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostVO"}}}}}}},"/operation/updateCostItem":{"put":{"tags":["CostItem"],"summary":"费用项目更新","operationId":"updateCostItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostItemVO"}}}}}},"patch":{"tags":["CostItem"],"summary":"费用项目更新","operationId":"updateCostItem_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostItemVO"}}}}}}},"/operation/updateCompany":{"put":{"tags":["Company"],"summary":"公司管理更新","operationId":"updateCompany","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyVO"}}}}}},"patch":{"tags":["Company"],"summary":"公司管理更新","operationId":"updateCompany_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyVO"}}}}}}},"/operation/updateCompanyPaymentAccount":{"put":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户更新","operationId":"updateCompanyPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyPaymentAccountVO"}}}}}},"patch":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户更新","operationId":"updateCompanyPaymentAccount_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyPaymentAccountVO"}}}}}}},"/operation/updateChannel":{"put":{"tags":["Channel"],"summary":"渠道更新","operationId":"updateChannel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}},"patch":{"tags":["Channel"],"summary":"渠道更新","operationId":"updateChannel_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}}},"/operation/updateBoxSpec":{"put":{"tags":["BoxSpec"],"summary":"纸箱规格更新","operationId":"updateBoxSpec","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxSpecUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxSpecVO"}}}}}},"patch":{"tags":["BoxSpec"],"summary":"纸箱规格更新","operationId":"updateBoxSpec_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxSpecUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxSpecVO"}}}}}}},"/operation/updateBoxProduct":{"put":{"tags":["BoxProduct"],"summary":"纸箱产品更新","operationId":"updateBoxProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxProductVO"}}}}}},"patch":{"tags":["BoxProduct"],"summary":"纸箱产品更新","operationId":"updateBoxProduct_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxProductVO"}}}}}}},"/operation/updateBoxBrand":{"put":{"tags":["BoxBrand"],"summary":"纸箱品牌更新","operationId":"updateBoxBrand","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxBrandVO"}}}}}},"patch":{"tags":["BoxBrand"],"summary":"纸箱品牌更新","operationId":"updateBoxBrand_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxBrandVO"}}}}}}},"/operation/updateAgreement":{"put":{"tags":["Agreement"],"summary":"协议更新","operationId":"updateAgreement","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAgreementVO"}}}}}},"patch":{"tags":["Agreement"],"summary":"协议更新","operationId":"updateAgreement_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAgreementVO"}}}}}}},"/operation/generateDocumentOrderShip":{"put":{"tags":["OrderShip"],"summary":"发货单生成单据","operationId":"generateDocumentOrderShip","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderShipGenerateDocumentCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["OrderShip"],"summary":"发货单生成单据","operationId":"generateDocumentOrderShip_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderShipGenerateDocumentCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragProduct":{"put":{"tags":["Product"],"summary":"产品拖拽排序","operationId":"dragProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["Product"],"summary":"产品拖拽排序","operationId":"dragProduct_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragDealer":{"put":{"tags":["Dealer"],"summary":"经销商表拖拽排序","operationId":"dragDealer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["Dealer"],"summary":"经销商表拖拽排序","operationId":"dragDealer_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragCost":{"put":{"tags":["Cost"],"summary":"费用拖拽排序","operationId":"dragCost","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["Cost"],"summary":"费用拖拽排序","operationId":"dragCost_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragCostItem":{"put":{"tags":["CostItem"],"summary":"费用项目拖拽排序","operationId":"dragCostItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["CostItem"],"summary":"费用项目拖拽排序","operationId":"dragCostItem_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragBoxProduct":{"put":{"tags":["BoxProduct"],"summary":"纸箱产品拖拽排序","operationId":"dragBoxProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["BoxProduct"],"summary":"纸箱产品拖拽排序","operationId":"dragBoxProduct_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragBoxBrand":{"put":{"tags":["BoxBrand"],"summary":"纸箱品牌拖拽排序","operationId":"dragBoxBrand","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}},"patch":{"tags":["BoxBrand"],"summary":"纸箱品牌拖拽排序","operationId":"dragBoxBrand_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/withdrawReviewPurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单撤回提审(录入员撤回提审)","operationId":"withdrawReviewPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderWithdrawReviewCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/updateRole":{"post":{"tags":["Role"],"summary":"更新应用应用角色","operationId":"updateRole","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseRoleVO"}}}}}}},"/operation/updatePermission":{"post":{"tags":["Permission"],"summary":"更新权限","operationId":"updatePermission","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePermissionVO"}}}}}}},"/operation/updateEmployeeRole":{"post":{"tags":["Employee"],"summary":"修改员工角色","operationId":"updateEmployeeRole","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRoleUpdateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/submitReviewPurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单提审(录入员提审)","operationId":"submitReviewPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderSubmitReviewCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/savePurchaseOrderStep3":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单第三步:人工和辅料等费用信息保存","operationId":"savePurchaseOrderStep3","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderStep3Cmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/savePurchaseOrderStep2":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单第二步:供应商信息保存","operationId":"savePurchaseOrderStep2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderStep2Cmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/savePurchaseOrderStep1":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单第一步:车辆信息和经销商信息保存","operationId":"savePurchaseOrderStep1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderStep1Cmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}}}},"/operation/restEmployeePassword":{"post":{"tags":["Employee"],"summary":"重置员工密码","operationId":"restEmployeePassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeRestPasswordCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/rejectFinalPurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单驳回审批(老板驳回审批)","operationId":"rejectFinalPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderRejectFinalCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/rejectApprovePurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单驳回审核(审核员驳回审核)","operationId":"rejectApprovePurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderRejectApproveCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/finalApprovePurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单审批(老板审批)","operationId":"finalApprovePurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderFinalApproveCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/extraction/vehicle":{"post":{"tags":["Extraction"],"summary":"智能提取物流信息","operationId":"vehicleExtraction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleExtractionCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseVehicleExtractionVO"}}}}}}},"/operation/enableUser":{"post":{"tags":["User"],"summary":"启用用户","operationId":"enableUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserEnableCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/dragMenu":{"post":{"tags":["Menu"],"summary":"菜单拖拽","operationId":"dragMenu","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuDragCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/disableUser":{"post":{"tags":["User"],"summary":"禁用用户","operationId":"disableUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDisableCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/disableEmployee":{"post":{"tags":["Employee"],"summary":"封禁员工","operationId":"disableEmployee","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeDisableCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyRole":{"post":{"tags":["Role"],"summary":"删除应用角色","operationId":"destroyRole","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyPermission":{"post":{"tags":["Permission"],"summary":"删除权限","operationId":"destroyPermission","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/createUser":{"post":{"tags":["User"],"summary":"创建会员","operationId":"createUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserVO"}}}}}}},"/operation/createSupplier":{"post":{"tags":["Supplier"],"summary":"创建供应商","operationId":"createSupplier","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}}},"/operation/createRole":{"post":{"tags":["Role"],"summary":"创建应用角色","operationId":"createRole","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseRoleVO"}}}}}}},"/operation/createPurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"创建采购订单(暂存)","operationId":"createPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}},"deprecated":true}},"/operation/createProduct":{"post":{"tags":["Product"],"summary":"创建产品","operationId":"createProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseProductVO"}}}}}}},"/operation/createPlatform":{"post":{"tags":["Platform"],"summary":"创建平台","operationId":"createPlatform","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePlatformVO"}}}}}}},"/operation/createPermission":{"post":{"tags":["Permission"],"summary":"创建权限","operationId":"createPermission","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePermissionVO"}}}}}}},"/operation/createOrderShip":{"post":{"tags":["OrderShip"],"summary":"创建发货单","operationId":"createOrderShip","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderShipCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseOrderShipVO"}}}}}}},"/operation/createMenu":{"post":{"tags":["Menu"],"summary":"创建菜单","operationId":"createMenu","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMenuVO"}}}}}}},"/operation/createMaterial":{"post":{"tags":["Material"],"summary":"创建素材内容","operationId":"createMaterial","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMaterialVO"}}}}}}},"/operation/createMaterialCategory":{"post":{"tags":["MaterialCategory"],"summary":"创建素材分类","operationId":"createMaterialCategory","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCategoryVO"}}}}}}},"/operation/createGiftBox":{"post":{"tags":["GiftBox"],"summary":"创建礼盒","operationId":"createGiftBox","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiftBoxCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseGiftBoxVO"}}}}}}},"/operation/createEmployee":{"post":{"tags":["Employee"],"summary":"创建员工信息","operationId":"createEmployee","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseEmployeeVO"}}}}}}},"/operation/createDictionary":{"post":{"tags":["Dictionary"],"summary":"创建字典","operationId":"createDictionary","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DictionaryCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDictionaryVO"}}}}}}},"/operation/createDealer":{"post":{"tags":["Dealer"],"summary":"创建经销商表","operationId":"createDealer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerVO"}}}}}}},"/operation/createDealerWarehouse":{"post":{"tags":["DealerWarehouse"],"summary":"创建经销商仓库","operationId":"createDealerWarehouse","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerWarehouseCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerWarehouseVO"}}}}}}},"/operation/createDealerRebateCustomer":{"post":{"tags":["DealerRebateCustomer"],"summary":"创建经销商返点客户","operationId":"createDealerRebateCustomer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerRebateCustomerCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerRebateCustomerVO"}}}}}}},"/operation/createDealerPaymentAccount":{"post":{"tags":["DealerPaymentAccount"],"summary":"创建经销商付款账户","operationId":"createDealerPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerPaymentAccountCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerPaymentAccountVO"}}}}}}},"/operation/createCost":{"post":{"tags":["Cost"],"summary":"创建费用","operationId":"createCost","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostVO"}}}}}}},"/operation/createCostItem":{"post":{"tags":["CostItem"],"summary":"创建费用项目","operationId":"createCostItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostItemVO"}}}}}}},"/operation/createCompany":{"post":{"tags":["Company"],"summary":"创建公司管理","operationId":"createCompany","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyVO"}}}}}}},"/operation/createCompanyPaymentAccount":{"post":{"tags":["CompanyPaymentAccount"],"summary":"创建公司付款账户","operationId":"createCompanyPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyPaymentAccountVO"}}}}}}},"/operation/createChannel":{"post":{"tags":["Channel"],"summary":"创建渠道","operationId":"createChannel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}}},"/operation/createBoxSpec":{"post":{"tags":["BoxSpec"],"summary":"创建纸箱规格","operationId":"createBoxSpec","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxSpecCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxSpecVO"}}}}}}},"/operation/createBoxProduct":{"post":{"tags":["BoxProduct"],"summary":"创建纸箱产品","operationId":"createBoxProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxProductVO"}}}}}}},"/operation/createBoxBrand":{"post":{"tags":["BoxBrand"],"summary":"创建纸箱品牌","operationId":"createBoxBrand","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxBrandVO"}}}}}}},"/operation/createAgreement":{"post":{"tags":["Agreement"],"summary":"创建协议","operationId":"createAgreement","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementCreateCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAgreementVO"}}}}}}},"/operation/batchUploadInvoice":{"post":{"tags":["OrderSupplier"],"summary":"批量上传供应商发票","operationId":"batchUploadInvoice","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderSupplierBatchInvoiceUploadCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/batchCreateMaterial":{"post":{"tags":["Material"],"summary":"创建素材内容","operationId":"batchCreateMaterial","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialBatchAddCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseMaterialVO"}}}}}}},"/operation/approvePurchaseOrder":{"post":{"tags":["PurchaseOrder"],"summary":"采购订单审核(审核员审核)","operationId":"approvePurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderApproveCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/treeMenu":{"get":{"tags":["Menu"],"summary":"菜单列表","operationId":"treeMenu","parameters":[{"name":"menuTreeQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MenuTreeQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseTreeLong"}}}}}}},"/operation/treeMaterialCategory":{"get":{"tags":["MaterialCategory"],"summary":"素材分类树","operationId":"treeMaterialCategory","parameters":[{"name":"categoryTreeQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CategoryTreeQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseTreeLong"}}}}}}},"/operation/showUser":{"get":{"tags":["User"],"summary":"获取用户","operationId":"showUser","parameters":[{"name":"userShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/UserShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseUserVO"}}}}}}},"/operation/showSupplier":{"get":{"tags":["Supplier"],"summary":"供应商详情","operationId":"showSupplier","parameters":[{"name":"supplierShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SupplierShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}}},"/operation/showSetting":{"get":{"tags":["Setting"],"summary":"系统设置详情","operationId":"showSetting","parameters":[{"name":"settingShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SettingShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSettingVO"}}}}}}},"/operation/showRole":{"get":{"tags":["Role"],"summary":"查看应用角色","operationId":"showRole","parameters":[{"name":"roleShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/RoleShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseRoleVO"}}}}}}},"/operation/showPurchaseOrder":{"get":{"tags":["PurchaseOrder"],"summary":"采购订单详情","operationId":"showPurchaseOrder","parameters":[{"name":"purchaseOrderShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PurchaseOrderShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePurchaseOrderVO"}}}}}}},"/operation/showProduct":{"get":{"tags":["Product"],"summary":"产品详情","operationId":"showProduct","parameters":[{"name":"productShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ProductShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseProductVO"}}}}}}},"/operation/showPlatform":{"get":{"tags":["Platform"],"summary":"平台详情","operationId":"showPlatform","parameters":[{"name":"platformShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PlatformShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePlatformVO"}}}}}}},"/operation/showPermission":{"get":{"tags":["Permission"],"summary":"查看权限","operationId":"showPermission","parameters":[{"name":"permissionShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PermissionShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponsePermissionVO"}}}}}}},"/operation/showOrderShip":{"get":{"tags":["OrderShip"],"summary":"发货单详情","operationId":"showOrderShip","parameters":[{"name":"orderShipShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/OrderShipShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseOrderShipVO"}}}}}}},"/operation/showMenu":{"get":{"tags":["Menu"],"summary":"菜单详情","operationId":"showMenu","parameters":[{"name":"menuShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MenuShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMenuVO"}}}}}}},"/operation/showMaterial":{"get":{"tags":["Material"],"summary":"素材内容详情","operationId":"showMaterial","parameters":[{"name":"materialShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MaterialShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseMaterialVO"}}}}}}},"/operation/showMaterialCategory":{"get":{"tags":["MaterialCategory"],"summary":"素材分类","operationId":"showMaterialCategory","parameters":[{"name":"categoryShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CategoryShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCategoryVO"}}}}}}},"/operation/showGiftBox":{"get":{"tags":["GiftBox"],"summary":"礼盒详情","operationId":"showGiftBox","parameters":[{"name":"giftBoxShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/GiftBoxShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseGiftBoxVO"}}}}}}},"/operation/showEmployee":{"get":{"tags":["Employee"],"summary":"员工信息详情","operationId":"showEmployee","parameters":[{"name":"employeeShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/EmployeeShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseEmployeeVO"}}}}}}},"/operation/showDictionary":{"get":{"tags":["Dictionary"],"summary":"字典详情","operationId":"showDictionary","parameters":[{"name":"dictionaryShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DictionaryShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDictionaryVO"}}}}}}},"/operation/showDealer":{"get":{"tags":["Dealer"],"summary":"经销商表详情","operationId":"showDealer","parameters":[{"name":"dealerShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerVO"}}}}}}},"/operation/showDealerWarehouse":{"get":{"tags":["DealerWarehouse"],"summary":"经销商仓库详情","operationId":"showDealerWarehouse","parameters":[{"name":"dealerWarehouseShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerWarehouseShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerWarehouseVO"}}}}}}},"/operation/showDealerRebateCustomer":{"get":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户详情","operationId":"showDealerRebateCustomer","parameters":[{"name":"dealerRebateCustomerShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerRebateCustomerShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerRebateCustomerVO"}}}}}}},"/operation/showDealerPaymentAccount":{"get":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户详情","operationId":"showDealerPaymentAccount","parameters":[{"name":"dealerPaymentAccountShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerPaymentAccountShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseDealerPaymentAccountVO"}}}}}}},"/operation/showCost":{"get":{"tags":["Cost"],"summary":"费用详情","operationId":"showCost","parameters":[{"name":"costShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostVO"}}}}}}},"/operation/showCostItem":{"get":{"tags":["CostItem"],"summary":"费用项目详情","operationId":"showCostItem","parameters":[{"name":"costItemShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostItemShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCostItemVO"}}}}}}},"/operation/showCompany":{"get":{"tags":["Company"],"summary":"公司管理详情","operationId":"showCompany","parameters":[{"name":"companyShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyVO"}}}}}}},"/operation/showCompanyPaymentAccount":{"get":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户详情","operationId":"showCompanyPaymentAccount","parameters":[{"name":"companyPaymentAccountShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseCompanyPaymentAccountVO"}}}}}}},"/operation/showChannel":{"get":{"tags":["Channel"],"summary":"渠道详情","operationId":"showChannel","parameters":[{"name":"channelShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ChannelShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseChannelVO"}}}}}}},"/operation/showBoxSpec":{"get":{"tags":["BoxSpec"],"summary":"纸箱规格详情","operationId":"showBoxSpec","parameters":[{"name":"boxSpecShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxSpecShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxSpecVO"}}}}}}},"/operation/showBoxProduct":{"get":{"tags":["BoxProduct"],"summary":"纸箱产品详情","operationId":"showBoxProduct","parameters":[{"name":"boxProductShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxProductShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxProductVO"}}}}}}},"/operation/showBoxBrand":{"get":{"tags":["BoxBrand"],"summary":"纸箱品牌详情","operationId":"showBoxBrand","parameters":[{"name":"boxBrandShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxBrandShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseBoxBrandVO"}}}}}}},"/operation/showAgreement":{"get":{"tags":["Agreement"],"summary":"协议详情","operationId":"showAgreement","parameters":[{"name":"agreementShowQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/AgreementShowQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseAgreementVO"}}}}}}},"/operation/pageUser":{"get":{"tags":["User"],"summary":"用户列表","operationId":"pageUser","parameters":[{"name":"userPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/UserPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseUserVO"}}}}}}},"/operation/pageSupplier":{"get":{"tags":["Supplier"],"summary":"供应商列表","operationId":"pageSupplier","parameters":[{"name":"supplierPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SupplierPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseSupplierVO"}}}}}}},"/operation/pageRole":{"get":{"tags":["Role"],"summary":"应用角色分页","operationId":"pageRole","parameters":[{"name":"rolePageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/RolePageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseRoleVO"}}}}}}},"/operation/pagePurchaseOrder":{"get":{"tags":["PurchaseOrder"],"summary":"采购订单列表","operationId":"pagePurchaseOrder","parameters":[{"name":"purchaseOrderPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PurchaseOrderPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponsePurchaseOrderVO"}}}}}}},"/operation/pageProduct":{"get":{"tags":["Product"],"summary":"产品列表","operationId":"pageProduct","parameters":[{"name":"productPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ProductPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseProductVO"}}}}}}},"/operation/pagePlatform":{"get":{"tags":["Platform"],"summary":"平台列表","operationId":"pagePlatform","parameters":[{"name":"platformPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PlatformPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponsePlatformVO"}}}}}}},"/operation/pagePermission":{"get":{"tags":["Permission"],"summary":"权限分页","operationId":"pagePermission","parameters":[{"name":"permissionPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PermissionPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponsePermissionVO"}}}}}}},"/operation/pageOrderSupplier":{"get":{"tags":["OrderSupplier"],"summary":"订单供应商列表","operationId":"pageOrderSupplier","parameters":[{"name":"orderSupplierPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/OrderSupplierPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseOrderSupplierVO"}}}}}}},"/operation/pageOrderShip":{"get":{"tags":["OrderShip"],"summary":"发货单列表","operationId":"pageOrderShip","parameters":[{"name":"orderShipPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/OrderShipPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseOrderShipVO"}}}}}}},"/operation/pageMaterial":{"get":{"tags":["Material"],"summary":"素材内容列表","operationId":"pageMaterial","parameters":[{"name":"materialPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MaterialPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseMaterialVO"}}}}}}},"/operation/pageGiftBox":{"get":{"tags":["GiftBox"],"summary":"礼盒列表","operationId":"pageGiftBox","parameters":[{"name":"giftBoxPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/GiftBoxPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseGiftBoxVO"}}}}}}},"/operation/pageEmployee":{"get":{"tags":["Employee"],"summary":"员工信息列表","operationId":"pageEmployee","parameters":[{"name":"employeePageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/EmployeePageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseEmployeeVO"}}}}}}},"/operation/pageDictionary":{"get":{"tags":["Dictionary"],"summary":"字典列表","operationId":"pageDictionary","parameters":[{"name":"dictionaryPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DictionaryPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDictionaryVO"}}}}}}},"/operation/pageDealer":{"get":{"tags":["Dealer"],"summary":"经销商表列表","operationId":"pageDealer","parameters":[{"name":"dealerPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDealerVO"}}}}}}},"/operation/pageDealerWarehouse":{"get":{"tags":["DealerWarehouse"],"summary":"经销商仓库列表","operationId":"pageDealerWarehouse","parameters":[{"name":"dealerWarehousePageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerWarehousePageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDealerWarehouseVO"}}}}}}},"/operation/pageDealerRebateCustomer":{"get":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户列表","operationId":"pageDealerRebateCustomer","parameters":[{"name":"dealerRebateCustomerPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerRebateCustomerPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDealerRebateCustomerVO"}}}}}}},"/operation/pageDealerPaymentAccount":{"get":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户列表","operationId":"pageDealerPaymentAccount","parameters":[{"name":"dealerPaymentAccountPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerPaymentAccountPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseDealerPaymentAccountVO"}}}}}}},"/operation/pageCost":{"get":{"tags":["Cost"],"summary":"费用列表","operationId":"pageCost","parameters":[{"name":"costPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseCostVO"}}}}}}},"/operation/pageCostItem":{"get":{"tags":["CostItem"],"summary":"费用项目列表","operationId":"pageCostItem","parameters":[{"name":"costItemPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostItemPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseCostItemVO"}}}}}}},"/operation/pageCompany":{"get":{"tags":["Company"],"summary":"公司管理列表","operationId":"pageCompany","parameters":[{"name":"companyPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseCompanyVO"}}}}}}},"/operation/pageCompanyPaymentAccount":{"get":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户列表","operationId":"pageCompanyPaymentAccount","parameters":[{"name":"companyPaymentAccountPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseCompanyPaymentAccountVO"}}}}}}},"/operation/pageChannel":{"get":{"tags":["Channel"],"summary":"渠道分页","operationId":"pageChannel","parameters":[{"name":"channelPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ChannelPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseChannelVO"}}}}}}},"/operation/pageBoxSpec":{"get":{"tags":["BoxSpec"],"summary":"纸箱规格列表","operationId":"pageBoxSpec","parameters":[{"name":"boxSpecPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxSpecPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseBoxSpecVO"}}}}}}},"/operation/pageBoxProduct":{"get":{"tags":["BoxProduct"],"summary":"纸箱产品列表","operationId":"pageBoxProduct","parameters":[{"name":"boxProductPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxProductPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseBoxProductVO"}}}}}}},"/operation/pageBoxBrand":{"get":{"tags":["BoxBrand"],"summary":"纸箱品牌列表","operationId":"pageBoxBrand","parameters":[{"name":"boxBrandPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxBrandPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseBoxBrandVO"}}}}}}},"/operation/pageAgreement":{"get":{"tags":["Agreement"],"summary":"协议列表","operationId":"pageAgreement","parameters":[{"name":"agreementPageQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/AgreementPageQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageResponseAgreementVO"}}}}}}},"/operation/ossToken":{"get":{"tags":["Material"],"summary":"获取OSS上传凭证","operationId":"ossToken","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseOssTokenVO"}}}}}}},"/operation/listUser":{"get":{"tags":["User"],"summary":"用户列表","operationId":"listUser","parameters":[{"name":"userListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/UserListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseUserVO"}}}}}}},"/operation/listSupplier":{"get":{"tags":["Supplier"],"summary":"供应商列表","operationId":"listSupplier","parameters":[{"name":"supplierListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SupplierListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseSupplierVO"}}}}}}},"/operation/listRole":{"get":{"tags":["Role"],"summary":"应用角色列表","operationId":"listRole","parameters":[{"name":"roleListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/RoleListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseRoleVO"}}}}}}},"/operation/listPurchaseOrder":{"get":{"tags":["PurchaseOrder"],"summary":"采购订单列表","operationId":"listPurchaseOrder","parameters":[{"name":"purchaseOrderListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PurchaseOrderListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponsePurchaseOrderVO"}}}}}}},"/operation/listProduct":{"get":{"tags":["Product"],"summary":"产品列表","operationId":"listProduct","parameters":[{"name":"productListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ProductListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseProductVO"}}}}}}},"/operation/listPlatform":{"get":{"tags":["Platform"],"summary":"平台列表","operationId":"listPlatform","parameters":[{"name":"platformListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PlatformListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponsePlatformVO"}}}}}}},"/operation/listPermission":{"get":{"tags":["Permission"],"summary":"权限列表","operationId":"listPermission","parameters":[{"name":"permissionListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PermissionListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponsePermissionVO"}}}}}}},"/operation/listOrderShip":{"get":{"tags":["OrderShip"],"summary":"发货单列表","operationId":"listOrderShip","parameters":[{"name":"orderShipListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/OrderShipListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseOrderShipVO"}}}}}}},"/operation/listMenu":{"get":{"tags":["Menu"],"summary":"菜单列表","operationId":"listMenu","parameters":[{"name":"menuListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/MenuListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseMenuVO"}}}}}}},"/operation/listGiftBox":{"get":{"tags":["GiftBox"],"summary":"礼盒列表","operationId":"listGiftBox","parameters":[{"name":"giftBoxListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/GiftBoxListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseGiftBoxVO"}}}}}}},"/operation/listEmployee":{"get":{"tags":["Employee"],"summary":"员工信息列表","operationId":"listEmployee","parameters":[{"name":"employeeListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/EmployeeListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseEmployeeVO"}}}}}}},"/operation/listDictionary":{"get":{"tags":["Dictionary"],"summary":"字典列表","operationId":"listDictionary","parameters":[{"name":"dictionaryListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DictionaryListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDictionaryVO"}}}}}}},"/operation/listDealer":{"get":{"tags":["Dealer"],"summary":"经销商表列表","operationId":"listDealer","parameters":[{"name":"dealerListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDealerVO"}}}}}}},"/operation/listDealerWarehouse":{"get":{"tags":["DealerWarehouse"],"summary":"经销商仓库列表","operationId":"listDealerWarehouse","parameters":[{"name":"dealerWarehouseListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerWarehouseListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDealerWarehouseVO"}}}}}}},"/operation/listDealerRebateCustomer":{"get":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户列表","operationId":"listDealerRebateCustomer","parameters":[{"name":"dealerRebateCustomerListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerRebateCustomerListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDealerRebateCustomerVO"}}}}}}},"/operation/listDealerPaymentAccount":{"get":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户列表","operationId":"listDealerPaymentAccount","parameters":[{"name":"dealerPaymentAccountListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/DealerPaymentAccountListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseDealerPaymentAccountVO"}}}}}}},"/operation/listCost":{"get":{"tags":["Cost"],"summary":"费用列表","operationId":"listCost","parameters":[{"name":"costListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseCostVO"}}}}}}},"/operation/listCostItem":{"get":{"tags":["CostItem"],"summary":"费用项目列表","operationId":"listCostItem","parameters":[{"name":"costItemListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CostItemListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseCostItemVO"}}}}}}},"/operation/listCompany":{"get":{"tags":["Company"],"summary":"公司管理列表","operationId":"listCompany","parameters":[{"name":"companyListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseCompanyVO"}}}}}}},"/operation/listCompanyPaymentAccount":{"get":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户列表","operationId":"listCompanyPaymentAccount","parameters":[{"name":"companyPaymentAccountListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseCompanyPaymentAccountVO"}}}}}}},"/operation/listBoxSpec":{"get":{"tags":["BoxSpec"],"summary":"纸箱规格列表","operationId":"listBoxSpec","parameters":[{"name":"boxSpecListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxSpecListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseBoxSpecVO"}}}}}}},"/operation/listBoxProduct":{"get":{"tags":["BoxProduct"],"summary":"纸箱产品列表","operationId":"listBoxProduct","parameters":[{"name":"boxProductListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxProductListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseBoxProductVO"}}}}}}},"/operation/listBoxBrand":{"get":{"tags":["BoxBrand"],"summary":"纸箱品牌列表","operationId":"listBoxBrand","parameters":[{"name":"boxBrandListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BoxBrandListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseBoxBrandVO"}}}}}}},"/operation/listAgreement":{"get":{"tags":["Agreement"],"summary":"协议列表","operationId":"listAgreement","parameters":[{"name":"agreementListQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/AgreementListQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MultiResponseAgreementVO"}}}}}}},"/operation/getLastVehicleNo":{"get":{"tags":["PurchaseOrder"],"summary":"获取上一车车次号","operationId":"getLastVehicleNo","parameters":[{"name":"lastVehicleNoQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/LastVehicleNoQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseString"}}}}}}},"/operation/countPurchaseOrderByState":{"get":{"tags":["PurchaseOrder"],"summary":"获取某个状态的数量","operationId":"countPurchaseOrderByState","parameters":[{"name":"purchaseOrderCountQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PurchaseOrderCountQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseLong"}}}}}}},"/operation/checkSupplier":{"get":{"tags":["Supplier"],"summary":"检查供应商","operationId":"checkSupplier","parameters":[{"name":"supplierCheckQry","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SupplierCheckQry"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SingleResponseSupplierVO"}}}}}}},"/operation/destroyUser":{"delete":{"tags":["User"],"summary":"删除用户","operationId":"destroyUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroySupplier":{"delete":{"tags":["Supplier"],"summary":"供应商删除","operationId":"destroySupplier","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyPurchaseOrder":{"delete":{"tags":["PurchaseOrder"],"summary":"采购订单删除","operationId":"destroyPurchaseOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyProduct":{"delete":{"tags":["Product"],"summary":"产品删除","operationId":"destroyProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyPlatform":{"delete":{"tags":["Platform"],"summary":"平台删除","operationId":"destroyPlatform","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyOrderShip":{"delete":{"tags":["OrderShip"],"summary":"发货单删除","operationId":"destroyOrderShip","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderShipDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyMenu":{"delete":{"tags":["Menu"],"summary":"菜单更新","operationId":"destroyMenu","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyMaterial":{"delete":{"tags":["Material"],"summary":"删除素材内容","operationId":"destroyMaterial","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyMaterialCategory":{"delete":{"tags":["MaterialCategory"],"summary":"删除素材分类","operationId":"destroyMaterialCategory","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyGiftBox":{"delete":{"tags":["GiftBox"],"summary":"礼盒删除","operationId":"destroyGiftBox","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiftBoxDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyEmployee":{"delete":{"tags":["Employee"],"summary":"员工信息删除","operationId":"destroyEmployee","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDictionary":{"delete":{"tags":["Dictionary"],"summary":"字典删除","operationId":"destroyDictionary","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DictionaryDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDealer":{"delete":{"tags":["Dealer"],"summary":"经销商表删除","operationId":"destroyDealer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDealerWarehouse":{"delete":{"tags":["DealerWarehouse"],"summary":"经销商仓库删除","operationId":"destroyDealerWarehouse","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerWarehouseDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDealerRebateCustomer":{"delete":{"tags":["DealerRebateCustomer"],"summary":"经销商返点客户删除","operationId":"destroyDealerRebateCustomer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerRebateCustomerDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyDealerPaymentAccount":{"delete":{"tags":["DealerPaymentAccount"],"summary":"经销商付款账户删除","operationId":"destroyDealerPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealerPaymentAccountDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyCost":{"delete":{"tags":["Cost"],"summary":"费用删除","operationId":"destroyCost","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyCostItem":{"delete":{"tags":["CostItem"],"summary":"费用项目删除","operationId":"destroyCostItem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostItemDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyCompany":{"delete":{"tags":["Company"],"summary":"公司管理删除","operationId":"destroyCompany","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyCompanyPaymentAccount":{"delete":{"tags":["CompanyPaymentAccount"],"summary":"公司付款账户删除","operationId":"destroyCompanyPaymentAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPaymentAccountDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyChannel":{"delete":{"tags":["Channel"],"summary":"渠道删除","operationId":"destroyChannel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyBoxSpec":{"delete":{"tags":["BoxSpec"],"summary":"纸箱规格删除","operationId":"destroyBoxSpec","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxSpecDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyBoxProduct":{"delete":{"tags":["BoxProduct"],"summary":"纸箱产品删除","operationId":"destroyBoxProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxProductDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyBoxBrand":{"delete":{"tags":["BoxBrand"],"summary":"纸箱品牌删除","operationId":"destroyBoxBrand","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoxBrandDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}},"/operation/destroyAgreement":{"delete":{"tags":["Agreement"],"summary":"协议删除","operationId":"destroyAgreement","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreementDestroyCmd"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}},"components":{"schemas":{"Response":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"}}},"UserUpdateCmd":{"type":"object","properties":{"name":{"type":"string","title":"会员名称"},"nickname":{"type":"string","title":"会员昵称"},"avatar":{"type":"string","title":"头像"},"phone":{"type":"string","title":"会员手机号"},"birthday":{"type":"string","title":"会员生日"},"gender":{"type":"integer","format":"int32","title":"会员性别"},"cardType":{"type":"integer","format":"int32","title":"会员卡号生成方式:1 系统生成 2 自定义"},"remark":{"type":"string","title":"备注"},"labelId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"客户标签"},"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"用户更新命令"},"SingleResponseUserVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/UserVO"}}},"UserVO":{"type":"object","properties":{"userId":{"type":"string","title":"用户编号"},"nickname":{"type":"string","title":"昵称"},"avatar":{"type":"string","title":"头像"},"name":{"type":"string","title":"姓名"},"gender":{"type":"integer","format":"int32","title":"性别"},"birthday":{"type":"string","title":"生日"},"phone":{"type":"string","title":"手机号"},"remark":{"type":"string","title":"备注"},"state":{"type":"string","enum":["ENABLE","DISABLE"],"title":"状态"},"isAdmin":{"type":"boolean","title":"是否是管理员"},"isPartner":{"type":"boolean","title":"是否是小区合伙人"},"createdAt":{"type":"string","title":"创建时间"},"bindPhoneAt":{"type":"string","title":"绑定手机号码时间"},"lastLoginAt":{"type":"string","title":"最后一次登录时间"},"mpOpenid":{"type":"string","title":"微信公众号openid"},"maOpenid":{"type":"string","title":"微信小程序openid"},"unionid":{"type":"string","title":"开放平台unionid"}},"required":["avatar","bindPhoneAt","birthday","createdAt","gender","isAdmin","isPartner","lastLoginAt","maOpenid","mpOpenid","name","nickname","phone","state","unionid","userId"],"title":"用户信息"},"SupplierUpdateCmd":{"type":"object","properties":{"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"姓名"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"bankCard":{"type":"string","title":"银行卡号"},"wechatQr":{"type":"string","title":"微信收款码URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["bankCard","idCard","name","phone","status","supplierId"],"title":"供应商更新"},"SingleResponseSupplierVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/SupplierVO"}}},"SupplierVO":{"type":"object","properties":{"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"姓名"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"bankCard":{"type":"string","title":"银行卡号"},"wechatQr":{"type":"string","title":"微信收款码URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"createdBy":{"type":"string","title":"创建人ID"},"createdByName":{"type":"string","title":"创建人姓名"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["bankCard","createdBy","idCard","name","phone","status","supplierId"],"title":"供应商"},"AliPayConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"appId":{"type":"string","title":"支付宝appid"},"privateKey":{"type":"string","title":"支付宝私钥"},"publicKey":{"type":"string","title":"支付宝公钥"},"gatewayUrl":{"type":"string","title":"支付宝网关地址"},"notifyUrl":{"type":"string","title":"支付宝回调地址"}}}],"required":["appId","gatewayUrl","notifyUrl","privateKey","publicKey"],"title":"支付宝配置"},"ChargingPilePurchaseConfig":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"title":{"type":"string","title":"标题"},"description":{"type":"string","title":"描述"},"price":{"type":"number","title":"购买价格"},"linePrice":{"type":"number","title":"划线价格"},"image":{"type":"array","items":{"type":"string"},"title":"图片"},"content":{"type":"string","title":"设备内容"}}}],"required":["content","description","image","linePrice","price","title"],"title":"充电桩设备购买配置"},"CustomMenuConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"menuItems":{"type":"array","items":{"$ref":"#/components/schemas/MenuItem"},"title":"菜单列表"}}}],"required":["menuItems"],"title":"自定义菜单配置"},"CustomThemeConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"themeName":{"type":"string","title":"主题名称"},"primaryColor":{"type":"string","title":"主题颜色"},"secondaryColor":{"type":"string","title":"次要颜色"}}}],"required":["primaryColor","secondaryColor","themeName"],"title":"自定义主题配置"},"MenuItem":{"type":"object","properties":{"menuId":{"type":"string","title":"菜单Id"},"menuName":{"type":"string","title":"菜单名称"},"menuIcon":{"type":"string","title":"菜单图标"},"menuRedirect":{"type":"object","additionalProperties":{},"properties":{"empty":{"type":"boolean"}},"title":"菜单路径"},"menuSort":{"type":"integer","format":"int32","title":"菜单排序"}},"required":["menuIcon","menuId","menuName","menuRedirect","menuSort"],"title":"菜单项"},"SettingUpdateCmd":{"type":"object","properties":{"settingId":{"type":"string","title":"系统设置项ID"},"settingKey":{"type":"string","enum":["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"],"title":"系统设置项key"},"settingValue":{"oneOf":[{"$ref":"#/components/schemas/AliPayConfigValue"},{"$ref":"#/components/schemas/ChargingPilePurchaseConfig"},{"$ref":"#/components/schemas/CustomMenuConfigValue"},{"$ref":"#/components/schemas/CustomThemeConfigValue"},{"$ref":"#/components/schemas/SmartRecognitionPromptValue"},{"$ref":"#/components/schemas/TencentMapConfigValue"},{"$ref":"#/components/schemas/WxCpNotifyConfigValue"},{"$ref":"#/components/schemas/WxMaCodeUploadConfigValue"},{"$ref":"#/components/schemas/WxMaConfigValue"},{"$ref":"#/components/schemas/WxMaMessagePushConfigValue"},{"$ref":"#/components/schemas/WxMaSubscribeMessageConfigValue"},{"$ref":"#/components/schemas/WxMpConfigValue"},{"$ref":"#/components/schemas/WxMpMessagePushConfigValue"},{"$ref":"#/components/schemas/WxPayConfigValue"}],"title":"系统设置项内容"}},"required":["settingKey","settingValue"],"title":"系统设置更新"},"SettingValue":{"discriminator":{"propertyName":"settingKey"},"properties":{"settingKey":{"type":"string"}},"required":["settingKey"]},"SmartRecognitionPromptValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"prompt":{"type":"string","title":"提示词"}}}],"required":["prompt"],"title":"智能识别提示词"},"TencentMapConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"appKey":{"type":"string","title":"腾讯地图AppKey"}}}],"required":["appKey"],"title":"腾讯地图配置"},"WxCpNotifyConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"communityApplyNotifyKey":{"type":"string","title":"小区申请通知key"}}}],"required":["communityApplyNotifyKey"],"title":"企业微信通知配置"},"WxMaCodeUploadConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"appId":{"type":"string","title":"小程序APPID"},"version":{"type":"string","title":"当前版本号"},"desc":{"type":"string","title":"更新描述"},"ipWhiteList":{"type":"string","title":"上传IP白名单"},"pagePath":{"type":"string","title":"页面路径"},"orderCenterPath":{"type":"string","title":"小程序订单中心path"},"codeUploadKey":{"type":"string","title":"小程序代码上传密钥"}}}],"required":["appId","codeUploadKey","desc","ipWhiteList","orderCenterPath","pagePath","version"],"title":"小程序代码上传配置"},"WxMaConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"wxMaName":{"type":"string","title":"小程序名称"},"wxMaOriginalId":{"type":"string","title":"小程序原始ID"},"wxMaLogo":{"type":"string","title":"小程序Logo"},"wxMaCheckFile":{"type":"string","title":"校验文件"},"appId":{"type":"string","title":"AppID(小程序ID)"},"appSecret":{"type":"string","title":"AppSecret(小程序密钥)"}}}],"required":["appId","appSecret","wxMaCheckFile","wxMaLogo","wxMaName","wxMaOriginalId"],"title":"分类创建"},"WxMaMessagePushConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"token":{"type":"string","title":"Token(令牌)"},"encodingAESKey":{"type":"string","title":"EncodingAESKey"},"msgEncryptMode":{"type":"string","title":"消息加密方式"},"dataFormat":{"type":"string","title":"数据格式"},"ipWhiteList":{"type":"string","title":"IP白名单"},"url":{"type":"string","title":"URL(服务器地址)"}}}],"required":["dataFormat","encodingAESKey","ipWhiteList","msgEncryptMode","token","url"],"title":"小程序消息推送配置"},"WxMaSubscribeMessageConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"}],"title":"小程序订阅消息配置"},"WxMpConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"wxMpName":{"type":"string","title":"公众号名称"},"wxMpOriginalId":{"type":"string","title":"公众号原始ID"},"wxMpLogo":{"type":"string","title":"公众号Logo"},"appId":{"type":"string","title":"AppID(公众号ID)"},"appSecret":{"type":"string","title":"AppSecret(公众号密钥)"}}}],"required":["appId","appSecret","wxMpLogo","wxMpName","wxMpOriginalId"],"title":"微信公众号配置"},"WxMpMessagePushConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"token":{"type":"string","title":"Token(令牌)"},"encodingAESKey":{"type":"string","title":"EncodingAESKey"},"msgEncryptMode":{"type":"string","title":"消息加密方式"},"dataFormat":{"type":"string","title":"数据格式"},"ipWhiteList":{"type":"string","title":"IP白名单"},"url":{"type":"string","title":"URL(服务器地址)"}}}],"required":["dataFormat","encodingAESKey","ipWhiteList","msgEncryptMode","token","url"],"title":"公众号消息推送配置"},"WxPayConfigValue":{"allOf":[{"$ref":"#/components/schemas/SettingValue"},{"type":"object","properties":{"appId":{"type":"string","title":"微信公众号或者小程序等的appid"},"mchId":{"type":"string","title":"微信支付商户号"},"mchKey":{"type":"string","title":"微信支付商户密钥"},"keyPath":{"type":"string","title":"apiclient_cert.p12文件的绝对路径"},"apiV3Key":{"type":"string","title":"apiV3 秘钥值"},"certSerialNo":{"type":"string","title":"apiV3 证书序列号值"},"privateCertString":{"type":"string","title":"apiclient_cert.pem证书文件"},"privateKeyString":{"type":"string","title":"apiclient_key.pem证书文件"},"publicKeyString":{"type":"string","title":"微信支付公钥,pub_key.pem证书文件"},"publicKeyId":{"type":"string","title":"微信支付公钥ID"},"notifyUrl":{"type":"string","title":"微信支付回调地址"}}}],"required":["apiV3Key","appId","certSerialNo","keyPath","mchId","mchKey","notifyUrl","privateCertString","privateKeyString","publicKeyId","publicKeyString"],"title":"微信支付配置"},"SettingVO":{"type":"object","properties":{"settingKey":{"type":"string","enum":["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"],"title":"系统设置项key"},"settingValue":{"oneOf":[{"$ref":"#/components/schemas/AliPayConfigValue"},{"$ref":"#/components/schemas/ChargingPilePurchaseConfig"},{"$ref":"#/components/schemas/CustomMenuConfigValue"},{"$ref":"#/components/schemas/CustomThemeConfigValue"},{"$ref":"#/components/schemas/SmartRecognitionPromptValue"},{"$ref":"#/components/schemas/TencentMapConfigValue"},{"$ref":"#/components/schemas/WxCpNotifyConfigValue"},{"$ref":"#/components/schemas/WxMaCodeUploadConfigValue"},{"$ref":"#/components/schemas/WxMaConfigValue"},{"$ref":"#/components/schemas/WxMaMessagePushConfigValue"},{"$ref":"#/components/schemas/WxMaSubscribeMessageConfigValue"},{"$ref":"#/components/schemas/WxMpConfigValue"},{"$ref":"#/components/schemas/WxMpMessagePushConfigValue"},{"$ref":"#/components/schemas/WxPayConfigValue"}],"title":"系统设置项内容"}},"required":["settingKey","settingValue"],"title":"系统设置"},"SingleResponseSettingVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/SettingVO"}}},"OrderCompany":{"type":"object","properties":{"orderCompanyId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"companyId":{"type":"string","title":"公司ID"},"shortName":{"type":"string","title":"公司简称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"address":{"type":"string","title":"发货地址"},"accountId":{"type":"string","title":"账户ID"},"bankName":{"type":"string","title":"银行名称"},"branchName":{"type":"string","title":"支行名称"},"accountName":{"type":"string","title":"账户名称"},"accountNumber":{"type":"string","title":"银行账号"}},"required":["address","companyId","contactPerson","contactPhone","fullName","orderCompanyId","orderId","shortName","taxNumber"],"title":"采购订单公司信息创建"},"OrderCost":{"type":"object","properties":{"orderCostId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"costId":{"type":"string","title":"费用Id"},"name":{"type":"string","title":"成本项目名称"},"price":{"type":"number","title":"单价"},"unit":{"type":"string","title":"单位"},"count":{"type":"integer","format":"int32","title":"数量"},"belong":{"type":"string","enum":["NONE_TYPE","WORKER_TYPE","PRODUCTION_TYPE"],"title":"费用归属:1_工头;2_产地"},"principal":{"type":"string","title":"负责人"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE","PRODUCTION_TYPE","OTHER_TYPE"],"title":"费用类型:1_辅料类型;2_人工类型;3_产地类型;4_其他类型"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联项目id"},"selected":{"type":"boolean","title":"是否选中"}},"required":["costId","count","name","orderCostId","price","selected","type","unit"],"title":"采购订单成本项目信息创建"},"OrderCostItem":{"type":"object","properties":{"orderCostItemId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"costItemId":{"type":"string","title":"成本项目ID"},"name":{"type":"string","title":"成本项目名称"},"price":{"type":"number","title":"单价"},"unit":{"type":"string","title":"单位"},"count":{"type":"integer","format":"int32","title":"数量"},"payerType":{"type":"string","enum":["US","OTHER"],"title":"费用承担方:1-我方,2-对方"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE"],"title":"项目类型:1_辅料类型;2_人工类型"},"rule":{"type":"string","enum":["INPUT_QUANTITY","SELECT_BOX","INPUT_QUANTITY_AND_AMOUNT"],"title":"录入规则:1_填数量;2_选纸箱;3_数量和金额"},"selected":{"type":"boolean","title":"是否选中"}},"required":["orderCostItemId","orderId","rule","selected"],"title":"采购订单成本项目信息"},"OrderDealer":{"type":"object","properties":{"orderDealerId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"采购订单ID"},"dealerId":{"type":"string","title":"经销商ID"},"shortName":{"type":"string","title":"经销商简称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"},"shareAdjusted":{"type":"boolean","title":"是否可调整比例"},"taxSubsidy":{"type":"number","title":"税费补贴"},"taxProvision":{"type":"number","title":"计提税金"},"costDifference":{"type":"number","title":"成本差异"},"profitSharing":{"type":"number","title":"利润分成"},"enableLoss":{"type":"boolean","title":"是否开启损耗"},"lossAmount":{"type":"number","title":"损耗金额"}},"required":["dealerId","dealerType","shortName"],"title":"采购订单经销商信息创建"},"OrderPackage":{"type":"object","properties":{"orderPackageId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"采购订单记录ID"},"orderSupplierId":{"type":"string","title":"供应商记录ID"},"boxBrandId":{"type":"string","title":"箱子品牌ID"},"boxBrandName":{"type":"string","title":"箱子品牌名称"},"boxBrandImage":{"type":"string","title":"箱子品牌图片"},"boxBrandType":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"箱子品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"},"boxSpecId":{"type":"string","title":"箱子规格ID"},"boxSpecName":{"type":"string","title":"箱子规格名称"},"boxProductId":{"type":"string","title":"箱子产品ID"},"boxProductName":{"type":"string","title":"箱子产品名称"},"boxProductWeight":{"type":"number","title":"单个箱子重量(kg)"},"boxCount":{"type":"integer","format":"int32","title":"箱子数量"},"boxCostPrice":{"type":"number","title":"成本单价(元/个)"},"boxSalePrice":{"type":"number","title":"销售单价(元/个)"},"boxType":{"type":"string","enum":["USED","EXTRA","EXTRA_USED","REMAIN","OWN","EMPTY"],"title":"箱子类型:1_本次使用;2_额外运输;3_已使用额外运输;4_车上剩余;5_瓜农纸箱;6_空箱;"}},"required":["boxBrandId","boxBrandName","boxBrandType","boxCount","boxProductId","boxProductName","boxProductWeight","boxSpecId","boxSpecName","boxType"],"title":"采购订单包装箱信息创建"},"OrderSupplier":{"type":"object","properties":{"orderSupplierId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商姓名"},"idCard":{"type":"string","title":"身份证号"},"bankCard":{"type":"string","title":"银行卡号"},"phone":{"type":"string","title":"手机号"},"wechatQr":{"type":"string","title":"微信二维码"},"isLast":{"type":"boolean","title":"是否最后一家"},"isPaper":{"type":"boolean","title":"空磅是否包含纸箱"},"emptyWeight":{"type":"number","title":"空车重量(kg)"},"totalWeight":{"type":"number","title":"总重量(kg)"},"grossWeight":{"type":"number","title":"毛重(kg)"},"netWeight":{"type":"number","title":"净重(kg)"},"purchasePrice":{"type":"number","title":"采购单价(元/斤)"},"packageUsage":{"type":"array","items":{"$ref":"#/components/schemas/SupplierPackageUsage"},"title":"箱子类型"},"loadingMode":{"type":"string","description":"1_搭架子+网垫;2_纸箱+胶带+木隔板","enum":["FRAME_WITH_NET","BOX_WITH_TAPE"],"title":"装车模式"},"salePrice":{"type":"number","title":"销售单价(元/斤)"},"pricingMethod":{"type":"string","enum":["BY_GROSS_WEIGHT","BY_NET_WEIGHT"],"title":"报价方式:1_按毛重报价;2_按净重报价;"},"invoiceAmount":{"type":"number","title":"发票金额"},"emptyWeightImg":{"type":"string","title":"空车照片"},"totalWeightImg":{"type":"string","title":"满载照片"},"invoiceUpload":{"type":"boolean","title":"是否上传票证"},"invoiceImg":{"type":"array","items":{"$ref":"#/components/schemas/UploadFileItem"},"title":"发票"},"contractUpload":{"type":"boolean","title":"是否上传合同"},"contractImg":{"type":"array","items":{"$ref":"#/components/schemas/UploadFileItem"},"title":"合同"},"productId":{"type":"string","title":"产品ID"},"productName":{"type":"string","title":"产品名称"},"costIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联费用id"},"costTemplate":{"type":"string","title":"成本模板"},"isDepositPaid":{"type":"boolean","title":"是否已付定金"},"depositAmount":{"type":"number","title":"定金金额"},"isPaid":{"type":"boolean","title":"是否付款"},"orderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/OrderPackage"},"title":"采购订单包装箱信息"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"采购订单车辆信息"},"orderCompany":{"$ref":"#/components/schemas/OrderCompany","title":"采购订单公司信息"},"selected":{"type":"boolean","title":"是否选中"},"poState":{"type":"string","enum":["DRAFT","WAITING_AUDIT","COMPLETED","REJECTED","CLOSED"],"title":"采购订单状态: 0_草稿;1_审核中;2_已完成;3_已驳回;4_已关闭;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["bankCard","contractUpload","emptyWeight","grossWeight","idCard","invoiceAmount","invoiceUpload","isLast","isPaper","name","netWeight","orderSupplierId","packageUsage","phone","purchasePrice","salePrice","selected","totalWeight"],"title":"采购订单供应商信息创建"},"OrderVehicle":{"type":"object","properties":{"vehicleId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"vehicleNo":{"type":"string","title":"车货编码"},"plate":{"type":"string","title":"车牌号"},"driver":{"type":"string","title":"司机姓名"},"phone":{"type":"string","title":"司机电话"},"origin":{"type":"string","title":"出发地"},"destination":{"type":"string","title":"目的地"},"priceType":{"type":"string","enum":["MAIN_FREIGHT","SHORT_TRANSPORT"],"title":"运费类型:1-主运费;2-短驳费;"},"price":{"type":"number","title":"运输价格"},"dealerId":{"type":"string","title":"经销商ID"},"dealerName":{"type":"string","title":"经销商名称"},"openStrawCurtain":{"type":"boolean","title":"是否开启草帘"},"strawCurtainPrice":{"type":"number","title":"草帘费用"},"deliveryTime":{"type":"string","format":"date","title":"采购日期"}},"required":["dealerName","deliveryTime","destination","driver","openStrawCurtain","origin","phone","plate","price"],"title":"采购订单车辆运输信息创建"},"PurchaseOrderUpdateCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"originPrincipal":{"type":"string","title":"产地负责人"},"foreman":{"type":"string","title":"工头"},"remark":{"type":"string","title":"备注"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"},"orderCostItemList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCostItem"},"title":"采购订单费用信息"},"orderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/OrderPackage"},"title":"采购订单包装箱信息"}},"required":["orderCostItemList","orderCostList","orderDealer","orderId","orderPackageList","orderSupplierList","orderVehicle"],"title":"采购订单更新"},"SupplierPackageUsage":{"type":"object","properties":{"boxType":{"type":"string","enum":["USED","EXTRA","EXTRA_USED","REMAIN","OWN","EMPTY"],"title":"箱子类型:1_本次使用;2_额外运输;3_已使用额外运输;4_车上剩余;5_瓜农纸箱;6_空箱;"},"isUsed":{"type":"integer","format":"int32","title":"是否使用:0_未回答;1_使用;2_未使用"}},"title":"采购订单供应商纸箱使用情况"},"UploadFileItem":{"type":"object","properties":{"fileName":{"type":"string","title":"文件名"},"filePath":{"type":"string","title":"文件路径"},"fileSize":{"type":"integer","format":"int64","title":"文件大小"},"fileType":{"type":"string","title":"文件类型"}},"title":"文件上传"},"OrderRebate":{"type":"object","properties":{"orderRebateId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"customerId":{"type":"string","title":"客户ID"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT"],"title":"返点计算方式:1_按净重计算;2_固定金额;"},"netWeight":{"type":"number","title":"返点净重"},"unitPrice":{"type":"number","title":"返点单价"},"amount":{"type":"number","title":"返点金额"}}},"OrderShip":{"type":"object","properties":{"orderShipId":{"type":"string","title":"发货单ID"},"orderId":{"type":"string","title":"采购单ID"},"orderSn":{"type":"string","title":"发货单编号"},"dealerId":{"type":"string","title":"经销商ID"},"dealerName":{"type":"string","title":"经销商名称"},"warehouseId":{"type":"string","title":"仓库ID"},"warehouseName":{"type":"string","title":"仓库名称"},"companyId":{"type":"string","title":"公司ID"},"companyName":{"type":"string","title":"公司名称"},"shippingAddress":{"type":"string","title":"发货地址"},"receivingAddress":{"type":"string","title":"收货地址"},"shippingDate":{"type":"string","title":"发货日期"},"estimatedArrivalDate":{"type":"string","title":"预计到仓时间"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"farmerInfo":{"type":"string","title":"瓜农姓名逗号隔开"},"document":{"type":"string","title":"发货单据"},"state":{"type":"string","enum":["DRAFT","WAIT_SHIPMENT","WAIT_PAYMENT","WAIT_CHANGE","PARTIAL_PAYMENT","FULL_PAYMENT","REJECT_FINISH","FINISH"],"title":"发货单状态:0_草稿;1_待发货;2_待回款;3_待改签;4_部分回款;5_已回款;6_拒收完结;7_已完结;"},"remark":{"type":"string","title":"备注"},"orderShipItemList":{"type":"array","items":{"$ref":"#/components/schemas/OrderShipItem"},"title":"发货单明细"}},"required":["companyId","companyName","document","estimatedArrivalDate","orderId","orderShipId","orderSn","receivingAddress","shippingAddress","shippingDate","state","watermelonGrade"],"title":"采购单发货"},"OrderShipItem":{"type":"object","properties":{"itemId":{"type":"string","title":"发货单子项ID"},"orderShipId":{"type":"string","title":"发货单ID"},"orderId":{"type":"string","title":"采购订单ID"},"grossWeight":{"type":"number","title":"毛重(斤)"},"boxWeight":{"type":"number","title":"箱重(斤)"},"boxCount":{"type":"integer","format":"int32","title":"箱数"},"netWeight":{"type":"number","title":"净重(斤)"},"unitPrice":{"type":"number","title":"单价(元)"},"totalAmount":{"type":"number","title":"总金额(元)"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["itemId","orderId","orderShipId"],"title":"发货单子项表"},"PurchaseOrderVO":{"type":"object","properties":{"orderId":{"type":"string","title":"订单ID"},"orderSn":{"type":"string","title":"订单编号"},"draft":{"type":"boolean","title":"是否是草稿"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"originPrincipal":{"type":"string","title":"产地负责人"},"foreman":{"type":"string","title":"工头"},"pricingMethod":{"type":"string","enum":["BY_GROSS_WEIGHT","BY_NET_WEIGHT"],"title":"报价方式:1_按毛重报价;2_按净重报价;"},"state":{"type":"string","enum":["DRAFT","WAITING_AUDIT","COMPLETED","REJECTED","CLOSED"],"title":"采购订单状态: 0_草稿;1_审核中;2_已完成;3_已驳回;4_已关闭;"},"auditState":{"type":"string","enum":["NONE","PENDING_QUOTE_APPROVAL","PENDING_BOSS_APPROVAL","BOSS_APPROVED","QUOTE_REJECTED","BOSS_REJECTED"],"title":"采购单审核状态: 1_待报价审核;2_待老板审批;3_老板审批通过;4_报价审核驳回;5_老板审批驳回"},"remark":{"type":"string","title":"备注"},"createdBy":{"type":"string","title":"创建人ID"},"createdByName":{"type":"string","title":"创建人姓名"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"orderRebate":{"$ref":"#/components/schemas/OrderRebate","title":"返点信息"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderCompany":{"$ref":"#/components/schemas/OrderCompany","title":"公司信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"},"orderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/OrderPackage"},"title":"采购订单包装箱信息"},"orderCostItemList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCostItem"},"title":"采购订单项目信息"},"orderShipList":{"type":"array","items":{"$ref":"#/components/schemas/OrderShip"},"title":"采购订单发货信息"}},"required":["active","createdBy","draft","orderCompany","orderCostItemList","orderCostList","orderDealer","orderId","orderPackageList","orderRebate","orderShipList","orderSn","orderSupplierList","orderVehicle"],"title":"采购订单"},"SingleResponsePurchaseOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/PurchaseOrderVO"}}},"ProductUpdateCmd":{"type":"object","properties":{"productId":{"type":"string","title":"产品表ID"},"name":{"type":"string","title":"产品名称"},"costIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联成本费用id"},"costTemplate":{"type":"string","title":"成本模板"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["name","productId","sort","status"],"title":"产品表更新"},"CostItemVO":{"type":"object","properties":{"costItemId":{"type":"string","title":"项目ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE"],"title":"项目类型:1_辅料类型;2_人工类型;"},"name":{"type":"string","title":"项目名称"},"price":{"type":"number","title":"单价"},"unit":{"type":"string","title":"单位"},"rule":{"type":"string","enum":["INPUT_QUANTITY","SELECT_BOX","INPUT_QUANTITY_AND_AMOUNT"],"title":"录入规则:1_填数量;2_选纸箱;"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["costItemId","name","rule","sort","status","type"],"title":"费用项目表"},"CostVO":{"type":"object","properties":{"costId":{"type":"string","title":"费用ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE","PRODUCTION_TYPE","OTHER_TYPE"],"title":"费用类型"},"belong":{"type":"string","enum":["NONE_TYPE","WORKER_TYPE","PRODUCTION_TYPE"],"title":"费用归属:1_工头;2_产地;"},"name":{"type":"string","title":"费用名称"},"price":{"type":"number","title":"单价"},"unit":{"type":"string","title":"单位"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"项目id集合"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"costItemVOList":{"type":"array","items":{"$ref":"#/components/schemas/CostItemVO"},"title":"项目列表"}},"required":["belong","costId","name","sort","status","type"],"title":"费用"},"ProductVO":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"产品名称"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"costIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"成本ID集合"},"costVOList":{"type":"array","items":{"$ref":"#/components/schemas/CostVO"},"title":"成本费用"},"costTemplate":{"type":"string","title":"成本模板"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["name","productId","sort","status"],"title":"产品表"},"SingleResponseProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/ProductVO"}}},"PlatformUpdateCmd":{"type":"object","properties":{"platformName":{"type":"string","title":"平台名称"},"homePage":{"type":"string","title":"首页"},"platformId":{"type":"string","title":"平台ID"}},"required":["homePage","platformId","platformName"],"title":"平台更新"},"PlatformVO":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"platformName":{"type":"string","title":"平台名称"},"homePage":{"type":"string","title":"应用首页"}},"required":["homePage","platformId","platformName"],"title":"平台"},"SingleResponsePlatformVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/PlatformVO"}}},"OrderSupplierUpdateCmd":{"type":"object","properties":{"orderSupplierId":{"type":"string","title":"订单供应商ID"},"invoiceUpload":{"type":"boolean","title":"是否上传票证"},"invoiceImg":{"type":"array","items":{"$ref":"#/components/schemas/UploadFileItem"},"title":"发票照片"},"contractUpload":{"type":"boolean","title":"是否上传合同"},"contractImg":{"type":"array","items":{"$ref":"#/components/schemas/UploadFileItem"},"title":"合同照片"},"isDepositPaid":{"type":"boolean","title":"是否已付定金"},"depositAmount":{"type":"number","title":"定金金额"},"isPaid":{"type":"boolean","title":"是否付款"},"loadingMode":{"type":"string","description":"1_搭架子+网垫;2_纸箱+胶带+木隔板","enum":["FRAME_WITH_NET","BOX_WITH_TAPE"],"title":"装车模式"}},"required":["orderSupplierId"],"title":"订单供应商更新"},"OrderSupplierVO":{"type":"object","properties":{"orderSupplierId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"订单ID"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商姓名"},"idCard":{"type":"string","title":"身份证号"},"bankCard":{"type":"string","title":"银行卡号"},"phone":{"type":"string","title":"手机号"},"wechatQr":{"type":"string","title":"微信二维码"},"isLast":{"type":"boolean","title":"是否最后一家"},"isPaper":{"type":"boolean","title":"空磅是否包含纸箱"},"productId":{"type":"string","title":"产品id"},"productName":{"type":"string","title":"产品名称"},"loadingMode":{"type":"string","enum":["FRAME_WITH_NET","BOX_WITH_TAPE"],"title":"装车模式:1_搭架子+网垫;2_纸箱+胶带+木隔板"},"emptyWeight":{"type":"number","title":"空车重量(kg)"},"totalWeight":{"type":"number","title":"总重量(kg)"},"grossWeight":{"type":"number","title":"毛重(斤)"},"netWeight":{"type":"number","title":"净重(斤)"},"purchasePrice":{"type":"number","title":"采购单价(元/斤)"},"salePrice":{"type":"number","title":"销售单价(元/斤)"},"pricingMethod":{"type":"string","enum":["BY_GROSS_WEIGHT","BY_NET_WEIGHT"],"title":"报价方式:1_按毛重报价;2_按净重报价;"},"invoiceAmount":{"type":"number","title":"发票金额"},"isDepositPaid":{"type":"boolean","title":"是否已付定金"},"depositAmount":{"type":"number","title":"定金金额"},"isPaid":{"type":"boolean","title":"是否付款"},"emptyWeightImg":{"type":"string","title":"空车照片"},"totalWeightImg":{"type":"string","title":"满载照片"},"invoiceUpload":{"type":"boolean","title":"是否上传票证"},"invoiceImg":{"type":"array","items":{"$ref":"#/components/schemas/UploadFileItem"},"title":"发票照片"},"contractUpload":{"type":"boolean","title":"是否上传合同"},"contractImg":{"type":"array","items":{"$ref":"#/components/schemas/UploadFileItem"},"title":"合同照片"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"poState":{"type":"string","enum":["DRAFT","WAITING_AUDIT","COMPLETED","REJECTED","CLOSED"],"title":"采购订单状态: 0_草稿;1_审核中;2_已完成;3_已驳回;4_已关闭;"},"orderCompany":{"$ref":"#/components/schemas/OrderCompany","title":"公司信息"},"purchaseOrderVO":{"$ref":"#/components/schemas/PurchaseOrderVO","title":"采购订单信息"}},"required":["bankCard","contractImg","contractUpload","createdAt","depositAmount","emptyWeight","emptyWeightImg","grossWeight","idCard","invoiceAmount","invoiceImg","invoiceUpload","isDepositPaid","isLast","isPaid","isPaper","loadingMode","name","netWeight","orderCompany","orderId","orderSupplierId","orderVehicle","phone","pricingMethod","productId","productName","purchaseOrderVO","purchasePrice","salePrice","supplierId","totalWeight","totalWeightImg","wechatQr"],"title":"订单供应商"},"SingleResponseOrderSupplierVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/OrderSupplierVO"}}},"OrderShipUpdateCmd":{"type":"object","properties":{"orderShipId":{"type":"string","title":"发货单ID"},"estimatedArrivalDate":{"type":"string","format":"date","title":"预计到仓时间"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"shippingAddress":{"type":"string","title":"发货地址"},"companyId":{"type":"string","title":"公司ID"},"companyName":{"type":"string","title":"公司名称"},"remark":{"type":"string","title":"备注"},"orderShipItemList":{"type":"array","items":{"$ref":"#/components/schemas/OrderShipItem"},"title":"发货单明细"},"document":{"type":"string","title":"发货单据"}},"required":["orderShipId"],"title":"发货单更新"},"OrderShipVO":{"type":"object","properties":{"orderShipId":{"type":"string","title":"发货单ID"},"orderId":{"type":"string","title":"采购单ID"},"dealerId":{"type":"string","title":"经销商ID"},"dealerName":{"type":"string","title":"经销商名称"},"orderSn":{"type":"string","title":"发货单编号"},"warehouseId":{"type":"string","title":"仓库ID"},"warehouseName":{"type":"string","title":"仓库名称"},"companyId":{"type":"string","title":"公司ID"},"companyName":{"type":"string","title":"公司名称"},"shippingAddress":{"type":"string","title":"发货地址"},"receivingAddress":{"type":"string","title":"收货地址"},"shippingDate":{"type":"string","format":"date","title":"发货日期"},"estimatedArrivalDate":{"type":"string","format":"date","title":"预计到仓时间"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"farmerInfo":{"type":"string","title":"瓜农姓名逗号隔开"},"document":{"type":"string","title":"发货单据"},"state":{"type":"string","enum":["DRAFT","WAIT_SHIPMENT","WAIT_PAYMENT","WAIT_CHANGE","PARTIAL_PAYMENT","FULL_PAYMENT","REJECT_FINISH","FINISH"],"title":"发货单状态:0_草稿;1_待发货;2_待回款;3_待改签;4_部分回款;5_已回款;6_拒收完结;7_已完结;"},"remark":{"type":"string","title":"备注"},"createdBy":{"type":"string","title":"创建人ID"},"createdByName":{"type":"string","title":"创建人姓名"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"orderShipItemList":{"type":"array","items":{"$ref":"#/components/schemas/OrderShipItem"},"title":"发货单明细"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"发货单成本项目信息"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"采购订单车辆运输信息"}},"required":["createdBy","orderId","orderShipId"],"title":"发货单"},"SingleResponseOrderShipVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/OrderShipVO"}}},"MenuUpdateCmd":{"type":"object","properties":{"path":{"type":"string","title":"路径"},"component":{"type":"string","title":"组件"},"name":{"type":"string","title":"菜单名称"},"pid":{"type":"string","title":"上级菜单Id"},"type":{"type":"string","title":"菜单类型"},"platformId":{"type":"string","title":"平台id"},"roleId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色Id"},"hideInMenu":{"type":"boolean","title":"是否隐藏"},"permissionId":{"type":"integer","format":"int64","title":"权限Id"},"icon":{"type":"string","title":"菜单图标"},"iconColor":{"type":"string","title":"图标颜色"},"bgColorClass":{"type":"string","title":"背景颜色类名"},"menuId":{"type":"string","title":"菜单Id"}},"required":["component","menuId","name","path","platformId","type"],"title":"更新菜单"},"MenuVO":{"type":"object","properties":{"menuId":{"type":"string","title":"菜单id"},"path":{"type":"string","title":"菜单路径"},"component":{"type":"string","title":"组件"},"name":{"type":"string","title":"菜单名称"},"pid":{"type":"string","title":"父菜单id"},"sort":{"type":"string","title":"排序"},"type":{"type":"string","enum":["MENU","PAGE","BUTTON"],"title":"菜单类型"},"platformId":{"type":"string","title":"平台id"},"hideInMenu":{"type":"boolean","title":"是否隐藏"},"routes":{"type":"array","items":{"required":["component","hideInMenu","menuId","name","path","pid","platformId","sort","type"],"title":"菜单"},"title":"子菜单"},"permissionId":{"type":"integer","format":"int64","title":"权限id"},"icon":{"type":"string","title":"菜单图标"},"iconColor":{"type":"string","title":"图标颜色"},"bgColorClass":{"type":"string","title":"背景颜色类名"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["component","hideInMenu","menuId","name","path","permissionId","pid","platformId","sort","type"],"title":"菜单"},"SingleResponseMenuVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/MenuVO"}}},"MaterialUpdateCmd":{"type":"object","properties":{"name":{"type":"string","title":"素材内容标题"},"categoryId":{"type":"string","title":"分类ID"},"path":{"type":"string","title":"素材内容路劲"},"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"title":"素材类型"},"materialId":{"type":"string","title":"素材内容ID"}},"title":"更新素材内容"},"CategoryVO":{"type":"object","properties":{"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"example":"视频","title":"分类类型"},"categoryId":{"type":"string","title":"分类"},"name":{"type":"string","example":"名称","title":"分类名称"},"pid":{"type":"string","example":"名称","title":"上级分类id"},"sort":{"type":"string","example":"名称","title":"排序号"},"children":{"type":"array","items":{"required":["categoryId","name"],"title":"分类响应"},"title":"下级分类"},"count":{"type":"integer","format":"int32","title":"分类关联数量"}},"required":["categoryId","count","name"],"title":"分类响应"},"MaterialVO":{"type":"object","properties":{"materialId":{"type":"string","title":"素材内容ID"},"name":{"type":"string","title":"素材内容标题"},"path":{"type":"string","title":"素材内容路劲"},"url":{"type":"string","title":"素材内容地址"},"categoryId":{"type":"string","title":"上级分类id"},"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"title":"素材类型"},"categoryVO":{"$ref":"#/components/schemas/CategoryVO","title":"分类内容"}},"required":["categoryId","materialId","name","path","type","url"],"title":"素材内容"},"SingleResponseMaterialVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/MaterialVO"}}},"CategoryUpdateCmd":{"type":"object","properties":{"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"example":"视频","title":"分类类型"},"name":{"type":"string","example":"名称","title":"分类名称"},"pid":{"type":"string","example":"名称","title":"上级分类id"},"sort":{"type":"integer","format":"int32","example":"排序","title":"排序"},"categoryId":{"type":"string","title":"分类Id"}},"required":["categoryId"],"title":"分类"},"SingleResponseCategoryVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CategoryVO"}}},"GiftBoxUpdateCmd":{"type":"object","properties":{"boxId":{"type":"string","title":"礼盒ID"},"name":{"type":"string","title":"礼盒名称"},"costPrice":{"type":"number","title":"成本价"},"weight":{"type":"number","title":"重量(kg)"},"salePrice":{"type":"number","title":"售价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["boxId","costPrice","name","salePrice","status","weight"],"title":"礼盒更新"},"GiftBoxVO":{"type":"object","properties":{"boxId":{"type":"string","title":"礼盒ID"},"name":{"type":"string","title":"礼盒名称"},"costPrice":{"type":"number","title":"成本价"},"weight":{"type":"number","title":"重量(kg)"},"salePrice":{"type":"number","title":"售价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["boxId","costPrice","name","salePrice","status","weight"],"title":"礼盒"},"SingleResponseGiftBoxVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/GiftBoxVO"}}},"EmployeeUpdateCmd":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"},"name":{"type":"string","minLength":1,"title":"姓名"},"number":{"type":"string","minLength":1,"title":"工号"},"gender":{"type":"integer","format":"int32","title":"性别"},"avatar":{"type":"string","title":"头像"},"phone":{"type":"string","minLength":1,"pattern":"^(1[3-9])\\d{9}$","title":"手机号"},"remark":{"type":"string","maxLength":200,"minLength":0,"title":"备注"}},"required":["employeeId","gender","name","number","phone"],"title":"员工信息更新"},"EmployeeVO":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息"},"name":{"type":"string","title":"姓名"},"number":{"type":"string","title":"工号"},"avatar":{"type":"string","title":"头像"},"gender":{"type":"integer","format":"int32","title":"性别"},"phone":{"type":"string","title":"手机号"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"userId":{"type":"string","title":"用户ID"},"roleIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色ID"},"userRoleList":{"type":"array","items":{"$ref":"#/components/schemas/UserRoleVO"},"title":"角色信息"}},"required":["employeeId","gender","name","number","phone","roleIdList","userId"],"title":"员工信息"},"SingleResponseEmployeeVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/EmployeeVO"}}},"UserRoleVO":{"type":"object","properties":{"name":{"type":"string","title":"角色名称"},"slug":{"type":"string","title":"角色标识"},"roleId":{"type":"string","title":"角色ID"},"userId":{"type":"string","title":"用户ID"},"description":{"type":"string","title":"描述"},"platformId":{"type":"string","title":"平台ID"}},"required":["description","name","platformId","roleId","slug","userId"],"title":"用户角色"},"DictionaryUpdateCmd":{"type":"object","properties":{"id":{"type":"integer","format":"int32","title":"自增id"},"code":{"type":"string","title":"代码"},"name":{"type":"string","title":"字典名称"},"parentId":{"type":"string","title":"上级id"},"sortNo":{"type":"integer","format":"int32","title":"排序号"},"type":{"type":"string","title":"类型"},"dictionaryId":{"type":"string","title":"字典ID"}},"required":["dictionaryId"],"title":"字典更新"},"DictionaryVO":{"type":"object","properties":{"dictionaryId":{"type":"integer","format":"int32","title":"自增id"},"code":{"type":"string","title":"代码"},"name":{"type":"string","title":"字典名称"},"parentId":{"type":"string","title":"上级id"},"sortNo":{"type":"integer","format":"int32","title":"排序号"},"type":{"type":"string","title":"类型"}},"title":"字典"},"SingleResponseDictionaryVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DictionaryVO"}}},"DealerUpdateCmd":{"type":"object","properties":{"dealerId":{"type":"string","title":"经销商表ID"},"shortName":{"type":"string","title":"经销商简称"},"fullName":{"type":"string","title":"经销商全称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"receivable":{"type":"number","title":"应收金额"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"},"shareAdjusted":{"type":"boolean","title":"是否可调整比例"},"enableLoss":{"type":"boolean","title":"是否开启损耗"},"lossAmount":{"type":"number","title":"损耗金额"},"deliveryTemplate":{"type":"string","title":"发货单模板"}},"required":["dealerId","dealerType","shortName","status"],"title":"经销商表更新"},"DealerPaymentAccountVO":{"type":"object","properties":{"accountId":{"type":"string","title":"账户ID"},"dealerId":{"type":"string","title":"经销商ID"},"companyName":{"type":"string","title":"公司名称"},"taxNumber":{"type":"string","title":"税号"},"bankAccount":{"type":"string","title":"银行账号"},"companyAddress":{"type":"string","title":"单位地址"},"phone":{"type":"string","title":"电话"},"openingBank":{"type":"string","title":"开户行"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"dealerVO":{"required":["dealerId","dealerType","shortName","status"],"title":"经销商信息"}},"required":["accountId","bankAccount","companyName","dealerId","taxNumber"],"title":"经销商付款账户"},"DealerVO":{"type":"object","properties":{"dealerId":{"type":"string","title":"经销商ID"},"shortName":{"type":"string","title":"经销商简称"},"fullName":{"type":"string","title":"经销商全称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"receivable":{"type":"number","title":"应收金额"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"deliveryTemplate":{"type":"string","title":"发货单模板"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"dealerPaymentAccountVOList":{"type":"array","items":{"$ref":"#/components/schemas/DealerPaymentAccountVO"},"title":"经销商账户列表"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"},"shareAdjusted":{"type":"boolean","title":"是否可调整比例"},"enableLoss":{"type":"boolean","title":"是否开启损耗"},"lossAmount":{"type":"number","title":"损耗金额"}},"required":["dealerId","dealerType","shortName","status"],"title":"经销商表"},"SingleResponseDealerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DealerVO"}}},"DealerWarehouseUpdateCmd":{"type":"object","properties":{"warehouseId":{"type":"string","title":"经销商仓库ID"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商账户ID"},"name":{"type":"string","title":"仓库名称"},"address":{"type":"string","title":"仓库地址"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"receiverName":{"type":"string","title":"收货人姓名"},"receiverPhone":{"type":"string","title":"收货人电话"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"}},"required":["accountId","address","dealerId","name","status","warehouseId"],"title":"经销商仓库更新"},"DealerWarehouseVO":{"type":"object","properties":{"warehouseId":{"type":"string","title":"仓库ID"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商账户ID"},"name":{"type":"string","title":"仓库名称"},"address":{"type":"string","title":"仓库地址"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"receiverName":{"type":"string","title":"收货人姓名"},"receiverPhone":{"type":"string","title":"收货人电话"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"dealerVO":{"$ref":"#/components/schemas/DealerVO","title":"经销商信息"},"dealerPaymentAccountVO":{"$ref":"#/components/schemas/DealerPaymentAccountVO","title":"经销商账户信息"}},"required":["accountId","address","dealerId","name","status","warehouseId"],"title":"经销商仓库"},"SingleResponseDealerWarehouseVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DealerWarehouseVO"}}},"DealerRebateCustomerUpdateCmd":{"type":"object","properties":{"customerId":{"type":"string","title":"经销商返点客户ID"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式:1_按净重计算;2_固定金额;3_不固定"},"unitPrice":{"type":"number","title":"返点单价"},"amount":{"type":"number","title":"返点金额"}},"required":["customerId","dealerId","name","status"],"title":"经销商返点客户更新"},"DealerRebateCustomerVO":{"type":"object","properties":{"customerId":{"type":"string","title":"客户ID"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"dealerVO":{"$ref":"#/components/schemas/DealerVO","title":"经销商信息"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式:1_按净重计算;2_固定金额;3_不固定"},"unitPrice":{"type":"number","title":"返点单价"},"amount":{"type":"number","title":"返点金额"}},"required":["customerId","dealerId","name","status"],"title":"经销商返点客户"},"SingleResponseDealerRebateCustomerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DealerRebateCustomerVO"}}},"DealerPaymentAccountUpdateCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"经销商付款账户ID"},"dealerId":{"type":"string","title":"经销商ID"},"companyName":{"type":"string","title":"公司名称"},"taxNumber":{"type":"string","title":"税号"},"bankAccount":{"type":"string","title":"银行账号"},"companyAddress":{"type":"string","title":"单位地址"},"phone":{"type":"string","title":"电话"},"openingBank":{"type":"string","title":"开户行"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["accountId","bankAccount","companyName","dealerId","taxNumber"],"title":"经销商付款账户更新"},"SingleResponseDealerPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/DealerPaymentAccountVO"}}},"CostUpdateCmd":{"type":"object","properties":{"costId":{"type":"string","title":"费用ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE","PRODUCTION_TYPE","OTHER_TYPE"],"title":"费用类型:1_辅料类型;2_人工类型;3_产地类型;4_其他类型"},"belong":{"type":"string","enum":["NONE_TYPE","WORKER_TYPE","PRODUCTION_TYPE"],"title":"费用归属:1_工头;2_产地;"},"name":{"type":"string","title":"费用名称"},"price":{"type":"number","title":"单价"},"unit":{"type":"string","title":"单位"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"成本项ID"}},"required":["belong","costId","name","sort","status","type"],"title":"费用更新"},"SingleResponseCostVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CostVO"}}},"CostItemUpdateCmd":{"type":"object","properties":{"costItemId":{"type":"string","title":"费用项目ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE"],"title":"项目类型:1_辅料类型;2_人工类型;"},"rule":{"type":"string","enum":["INPUT_QUANTITY","SELECT_BOX","INPUT_QUANTITY_AND_AMOUNT"],"title":"录入规则:1_填数量;2_选纸箱;"},"costId":{"type":"integer","format":"int64","title":"费用ID"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["costId","costItemId","name","price","rule","status","type","unit"],"title":"费用项目更新"},"SingleResponseCostItemVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CostItemVO"}}},"CompanyUpdateCmd":{"type":"object","properties":{"companyId":{"type":"string","title":"公司管理ID"},"logo":{"type":"string","title":"公司logo"},"shortName":{"type":"string","title":"公司简称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"address":{"type":"string","title":"发货地址"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["address","companyId","contactPerson","contactPhone","fullName","shortName","status","taxNumber"],"title":"公司管理更新"},"CompanyVO":{"type":"object","properties":{"companyId":{"type":"string","title":"公司ID"},"logo":{"type":"string","title":"公司logo"},"shortName":{"type":"string","title":"公司简称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"address":{"type":"string","title":"发货地址"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["address","companyId","contactPerson","contactPhone","fullName","logo","shortName","status","taxNumber"],"title":"公司管理"},"SingleResponseCompanyVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CompanyVO"}}},"CompanyPaymentAccountUpdateCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"公司付款账户ID"},"companyId":{"type":"string","title":"公司ID"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"},"accountType":{"type":"string","enum":["BANK_CARD","ALIPAY","WECHAT"],"title":"账户类型:1_银行卡;2_支付宝;3_微信"},"bankName":{"type":"string","title":"银行名称"},"branchName":{"type":"string","title":"支行名称"},"publicAccountType":{"type":"string","enum":["BASIC_ACCOUNT","GENERAL_ACCOUNT","SPECIAL_ACCOUNT","TEMPORARY_ACCOUNT"],"title":"对公账户类型:1_基本户;2_一般户;3_专用账户;4_临时户"},"accountName":{"type":"string","title":"开户公司名称、支付宝昵称、微信号"},"accountNumber":{"type":"string","title":"银行账号、支付宝账号、微信账号"},"isPrimary":{"type":"boolean","title":"是否主付款账户:0_否;1_是"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;2_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["accountCategory","accountId","accountName","accountNumber","accountType","companyId","isPrimary","status"],"title":"公司付款账户更新"},"CompanyPaymentAccountVO":{"type":"object","properties":{"accountId":{"type":"string","title":"账户ID"},"companyId":{"type":"string","title":"公司ID"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"},"accountType":{"type":"string","enum":["BANK_CARD","ALIPAY","WECHAT"],"title":"账户类型:1_银行卡;2_支付宝;3_微信"},"bankName":{"type":"string","title":"银行名称"},"branchName":{"type":"string","title":"支行名称"},"publicAccountType":{"type":"string","enum":["BASIC_ACCOUNT","GENERAL_ACCOUNT","SPECIAL_ACCOUNT","TEMPORARY_ACCOUNT"],"title":"对公账户类型:1_基本户;2_一般户;3_专用账户;4_临时户"},"accountName":{"type":"string","title":"开户公司名称、支付宝昵称、微信号"},"accountNumber":{"type":"string","title":"银行账号、支付宝账号、微信账号"},"isPrimary":{"type":"boolean","title":"是否主付款账户:0_否;1_是"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;2_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"companyVO":{"$ref":"#/components/schemas/CompanyVO","title":"公司信息"}},"required":["accountCategory","accountId","accountName","accountNumber","accountType","companyId","isPrimary","status"],"title":"公司付款账户"},"SingleResponseCompanyPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/CompanyPaymentAccountVO"}}},"ChannelUpdateCmd":{"type":"object","properties":{"domain":{"type":"string","title":"域名"},"logo":{"type":"string","title":"Logo"},"title":{"type":"string","title":"标题"},"subTitle":{"type":"string","title":"副标题"},"backgroundImageUrl":{"type":"string","title":"背景图片"},"technicalSupport":{"type":"string","title":"技术支持"},"channelId":{"type":"string","title":"渠道ID"}},"required":["channelId"],"title":"渠道更新"},"ChannelVO":{"type":"object","properties":{"channelId":{"type":"string","title":"渠道ID"},"domain":{"type":"string","title":"域名"},"logo":{"type":"string","title":"Logo"},"title":{"type":"string","title":"标题"},"subTitle":{"type":"string","title":"副标题"},"backgroundImageUrl":{"type":"string","title":"背景图片"},"technicalSupport":{"type":"string","title":"技术支持"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"},"wxMpId":{"type":"string","title":"微信公众号Id"},"wxOpenId":{"type":"string","title":"第三方应用Id"}},"required":["channelId"],"title":"渠道"},"SingleResponseChannelVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/ChannelVO"}}},"BoxSpecUpdateCmd":{"type":"object","properties":{"specId":{"type":"string","title":"纸箱规格ID"},"name":{"type":"string","title":"规格名称"},"sort":{"type":"number","title":"排序号"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["name","sort","specId","status"],"title":"纸箱规格更新"},"BoxSpecVO":{"type":"object","properties":{"specId":{"type":"string","title":"规格ID"},"name":{"type":"string","title":"规格名称"},"sort":{"type":"number","title":"排序号"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["name","sort","specId","status"],"title":"纸箱规格"},"SingleResponseBoxSpecVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/BoxSpecVO"}}},"BoxProductUpdateCmd":{"type":"object","properties":{"productId":{"type":"string","title":"纸箱产品ID"},"name":{"type":"string","title":"纸箱名称"},"weight":{"type":"number","title":"重量(kg)"},"costPrice":{"type":"number","title":"成本价"},"salePrice":{"type":"number","title":"销售价"},"specId":{"type":"string","title":"规格ID"},"specName":{"type":"string","title":"规格名称"},"brandId":{"type":"string","title":"品牌ID"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"required":["brandId","name","productId","status","type"],"title":"纸箱产品更新"},"BoxProductVO":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"纸箱名称"},"weight":{"type":"number","title":"重量(kg)"},"costPrice":{"type":"number","title":"成本价"},"salePrice":{"type":"number","title":"销售价"},"specId":{"type":"string","title":"规格ID"},"specName":{"type":"string","title":"规格名称"},"brandId":{"type":"string","title":"品牌ID"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["brandId","costPrice","name","productId","salePrice","specId","specName","status","type","weight"],"title":"纸箱产品"},"SingleResponseBoxProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/BoxProductVO"}}},"BoxBrandUpdateCmd":{"type":"object","properties":{"brandId":{"type":"string","title":"纸箱品牌ID"},"name":{"type":"string","title":"品牌名称"},"image":{"type":"string","title":"品牌图片URL"},"specIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"纸箱规格ID"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"required":["brandId","name","status","type"],"title":"纸箱品牌更新"},"BoxBrandVO":{"type":"object","properties":{"brandId":{"type":"string","title":"品牌ID"},"name":{"type":"string","title":"品牌名称"},"image":{"type":"string","title":"品牌图片URL"},"specIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"纸箱规格ID"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"},"boxProductVOList":{"type":"array","items":{"$ref":"#/components/schemas/BoxProductVO"},"title":"纸箱产品列表"},"boxSpecVOList":{"type":"array","items":{"$ref":"#/components/schemas/BoxSpecVO"},"title":"纸箱规格列表"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["brandId","name","status","type"],"title":"纸箱品牌"},"SingleResponseBoxBrandVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/BoxBrandVO"}}},"AgreementUpdateCmd":{"type":"object","properties":{"agreementId":{"type":"string","title":"协议ID"},"scene":{"type":"array","items":{"type":"string","enum":["STAKEHOLDER_SETUP","CUSTOMER_SETUP","PERSONAL_CENTER"]},"title":"使用场景"},"title":{"type":"string","title":"协议标题"},"subTitle":{"type":"string","title":"副标题"},"content":{"type":"string","title":"协议内容"}},"required":["agreementId"],"title":"协议更新"},"AgreementVO":{"type":"object","properties":{"agreementId":{"type":"string","title":"协议id"},"scene":{"type":"array","items":{"type":"string","enum":["STAKEHOLDER_SETUP","CUSTOMER_SETUP","PERSONAL_CENTER"]},"title":"使用场景"},"title":{"type":"string","title":"协议标题"},"subTitle":{"type":"string","title":"副标题"},"content":{"type":"string","title":"协议内容"}},"required":["agreementId"],"title":"协议"},"SingleResponseAgreementVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/AgreementVO"}}},"OrderShipGenerateDocumentCmd":{"type":"object","properties":{"orderShipId":{"type":"string","title":"发货单ID"},"estimatedArrivalDate":{"type":"string","format":"date","title":"预计到仓时间"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"shippingAddress":{"type":"string","title":"发货地址"},"remark":{"type":"string","title":"备注"},"orderShipItemList":{"type":"array","items":{"$ref":"#/components/schemas/OrderShipItem"},"title":"发货单明细"},"document":{"type":"string","title":"发货单据"}},"required":["orderShipId"],"title":"发货单生成单据"},"ProductDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"产品拖拽"},"DealerDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"经销商拖拽"},"CostDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"费用项目拖拽"},"CostItemDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"费用项目拖拽"},"BoxProductDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"纸箱产品拖拽"},"BoxBrandDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"纸箱品牌拖拽"},"PurchaseOrderWithdrawReviewCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"采购订单撤回提审(录入员撤回提审)"},"RoleUpdateCmd":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"slug":{"type":"string","title":"角色标识"},"name":{"type":"string","title":"角色名称"},"type":{"type":"string","title":"角色类型"},"description":{"type":"string","title":"角色详情"},"menuId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色id"},"roleId":{"type":"string","title":"角色ID"}},"required":["menuId","name","platformId","roleId","slug","type"],"title":"角色新增"},"RoleVO":{"type":"object","properties":{"roleId":{"type":"string","title":"角色id"},"slug":{"type":"string","title":"标识"},"name":{"type":"string","title":"名称"},"type":{"type":"string","title":"类型"},"description":{"type":"string","title":"描述"},"platformId":{"type":"string","title":"平台id"},"platformVO":{"$ref":"#/components/schemas/PlatformVO","title":"平台"},"permissionId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"权限列表"},"menuId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"菜单列表"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["createdAt","menuId","name","permissionId","platformId","roleId","slug","type"],"title":"角色"},"SingleResponseRoleVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/RoleVO"}}},"PermissionUpdateCmd":{"type":"object","properties":{"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"},"permissionId":{"type":"string","title":"权限Id"}},"required":["name","permissionId","slug"],"title":"权限更新"},"PermissionVO":{"type":"object","properties":{"permissionId":{"type":"string","title":"权限Id"},"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"}},"required":["name","permissionId","slug"],"title":"权限"},"SingleResponsePermissionVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/PermissionVO"}}},"UserRoleUpdateCmd":{"type":"object","properties":{"userId":{"type":"string","title":"用户ID"},"roleIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色ID"},"cover":{"type":"boolean","title":"是否覆盖"}},"required":["cover","userId"],"title":"用户角色更新"},"PurchaseOrderSubmitReviewCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"采购订单提审(录入员提审)"},"PurchaseOrderStep3Cmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"foreman":{"type":"string","title":"工头"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"},"orderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/OrderPackage"},"title":"采购订单包装箱信息"},"orderCostItemList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCostItem"},"title":"采购订单项目信息"}},"required":["orderCostItemList","orderCostList","orderId","orderPackageList"],"title":"采购订单第三步:人工和辅料等费用信息保存"},"PurchaseOrderStep2Cmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"}},"required":["orderId","orderSupplierList"],"title":"采购订单第二步:供应商信息保存"},"PurchaseOrderStep1Cmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"}},"required":["orderDealer","orderVehicle"],"title":"采购订单第一步:车辆信息和经销商信息保存"},"EmployeeRestPasswordCmd":{"type":"object","properties":{"password":{"type":"string","pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"新密码"},"userId":{"type":"string","title":"用户id"}},"required":["password","userId"],"title":"员工信息更新"},"PurchaseOrderRejectFinalCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"rejectReason":{"type":"string","title":"驳回原因"}},"required":["orderId","rejectReason"],"title":"采购订单驳回审批(老板驳回审批)"},"PurchaseOrderRejectApproveCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"rejectReason":{"type":"string","title":"审核原因"}},"required":["orderId","rejectReason"],"title":"采购订单驳回审核(审核员驳回审核)"},"PurchaseOrderFinalApproveCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"采购订单审批(老板审批)"},"VehicleExtractionCmd":{"type":"object","properties":{"message":{"type":"string","title":"消息内容"},"dealerNames":{"type":"string","title":"经销商信息"}},"required":["dealerNames","message"],"title":"车辆信息抽取"},"SingleResponseVehicleExtractionVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/VehicleExtractionVO"}}},"VehicleExtractionVO":{"type":"object","properties":{"plate":{"type":"string","title":"车牌"},"driver":{"type":"string","title":"司机"},"phone":{"type":"string","title":"手机"},"origin":{"type":"string","title":"出发地"},"destination":{"type":"string","title":"目的地"},"price":{"type":"number","title":"价格"},"dealerName":{"type":"string","title":"经销商"},"dealerId":{"type":"string","title":"经销商ID"},"dealerVO":{"$ref":"#/components/schemas/DealerVO","title":"经销商信息"}},"required":["dealerId"],"title":"车辆信息抽取"},"UserEnableCmd":{"type":"object","properties":{"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"用户启用"},"MenuDragCmd":{"type":"object","properties":{"prevId":{"type":"integer","format":"int64","title":"相邻元素前"},"nextId":{"type":"integer","format":"int64","title":"相邻元素后"},"currentId":{"type":"integer","format":"int64","title":"当前元素"}},"title":"菜单拖拽"},"UserDisableCmd":{"type":"object","properties":{"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"用户封禁"},"EmployeeDisableCmd":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"}},"required":["employeeId"],"title":"员工封禁"},"RoleDestroyCmd":{"type":"object","properties":{"roleId":{"type":"string","title":"角色ID"}},"title":"角色新增"},"PermissionDestroyCmd":{"type":"object","properties":{"permissionId":{"type":"string","title":"权限Id"}},"required":["permissionId"],"title":"权限删除"},"UserCreateCmd":{"type":"object","properties":{"name":{"type":"string","title":"会员名称"},"nickname":{"type":"string","title":"会员昵称"},"avatar":{"type":"string","title":"头像"},"phone":{"type":"string","title":"会员手机号"},"birthday":{"type":"string","title":"会员生日"},"gender":{"type":"integer","format":"int32","title":"会员性别"},"cardType":{"type":"integer","format":"int32","title":"会员卡号生成方式:1 系统生成 2 自定义"},"remark":{"type":"string","title":"备注"},"labelId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"客户标签"}},"required":["name","phone"],"title":"用户更新命令"},"SupplierCreateCmd":{"type":"object","properties":{"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"姓名"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"bankCard":{"type":"string","title":"银行卡号"},"wechatQr":{"type":"string","title":"微信收款码URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["bankCard","idCard","name","phone","status","supplierId"],"title":"供应商创建"},"RoleCreateCmd":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"slug":{"type":"string","title":"角色标识"},"name":{"type":"string","title":"角色名称"},"type":{"type":"string","title":"角色类型"},"description":{"type":"string","title":"角色详情"},"menuId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色id"}},"required":["menuId","name","platformId","slug","type"],"title":"角色新增"},"PurchaseOrderCreateCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"originPrincipal":{"type":"string","title":"产地负责人"},"foreman":{"type":"string","title":"工头"},"remark":{"type":"string","title":"备注"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"},"orderCostItemList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCostItem"},"title":"采购订单费用信息"},"orderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/OrderPackage"},"title":"采购订单包装箱信息"}},"required":["orderCostItemList","orderCostList","orderDealer","orderPackageList","orderSupplierList","orderVehicle"],"title":"采购订单创建"},"ProductCreateCmd":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"产品名称"},"costIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联成本费用id"},"costTemplate":{"type":"string","title":"成本模板"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["name","productId","sort","status"],"title":"产品表创建"},"PlatformCreateCmd":{"type":"object","properties":{"platformName":{"type":"string","title":"平台名称"},"homePage":{"type":"string","title":"首页"}},"required":["homePage","platformName"],"title":"平台创建"},"PermissionCreateCmd":{"type":"object","properties":{"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"}},"required":["name","slug"],"title":"权限创建"},"OrderShipCreateCmd":{"type":"object","properties":{"createdBy":{"type":"string","title":"创建人ID"},"createdByName":{"type":"string","title":"创建人姓名"},"orderShipId":{"type":"string","title":"发货单ID"},"orderId":{"type":"string","title":"采购单ID"},"orderSn":{"type":"string","title":"发货单编号"},"shippingAddress":{"type":"string","title":"发货地址"},"receivingAddress":{"type":"string","title":"收货地址"},"shippingDate":{"type":"string","format":"date","title":"发货日期"},"estimatedArrivalDate":{"type":"string","format":"date","title":"预计到仓时间"},"watermelonGrade":{"type":"string","title":"西瓜品级"},"farmerInfo":{"type":"string","title":"瓜农姓名逗号隔开"},"companyId":{"type":"string","title":"公司ID"},"companyName":{"type":"string","title":"公司名称"},"remark":{"type":"string","title":"备注"},"orderShipItemList":{"type":"array","items":{"$ref":"#/components/schemas/OrderShipItem"},"title":"发货单明细"}},"required":["createdBy","orderId","orderShipId"],"title":"发货单创建"},"MenuCreateCmd":{"type":"object","properties":{"path":{"type":"string","title":"路径"},"component":{"type":"string","title":"组件"},"name":{"type":"string","title":"菜单名称"},"pid":{"type":"string","title":"上级菜单Id"},"type":{"type":"string","title":"菜单类型"},"platformId":{"type":"string","title":"平台id"},"roleId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色Id"},"hideInMenu":{"type":"boolean","title":"是否隐藏"},"permissionId":{"type":"integer","format":"int64","title":"权限Id"},"icon":{"type":"string","title":"菜单图标"},"iconColor":{"type":"string","title":"图标颜色"},"bgColorClass":{"type":"string","title":"背景颜色类名"}},"required":["component","name","path","platformId","type"],"title":"创建菜单请求"},"MaterialCreateCmd":{"type":"object","properties":{"name":{"type":"string","title":"素材内容标题"},"categoryId":{"type":"string","title":"分类ID"},"path":{"type":"string","title":"素材内容路劲"},"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"title":"素材类型"}},"title":"创建素材内容"},"CategoryCreateCmd":{"type":"object","properties":{"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"example":"视频","title":"分类类型"},"name":{"type":"string","example":"名称","title":"分类名称"},"pid":{"type":"string","example":"名称","title":"上级分类id"},"sort":{"type":"integer","format":"int32","example":"排序","title":"排序"}},"title":"分类创建"},"GiftBoxCreateCmd":{"type":"object","properties":{"boxId":{"type":"string","title":"礼盒ID"},"name":{"type":"string","title":"礼盒名称"},"costPrice":{"type":"number","title":"成本价"},"weight":{"type":"number","title":"重量(kg)"},"salePrice":{"type":"number","title":"售价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["boxId","costPrice","name","salePrice","status","weight"],"title":"礼盒创建"},"EmployeeCreateCmd":{"type":"object","properties":{"name":{"type":"string","minLength":1,"title":"姓名"},"number":{"type":"string","minLength":1,"title":"工号"},"gender":{"type":"integer","format":"int32","title":"性别"},"phone":{"type":"string","minLength":1,"pattern":"^(1[3-9])\\d{9}$","title":"手机号"},"remark":{"type":"string","maxLength":200,"minLength":0,"title":"备注"},"status":{"type":"boolean","title":"状态"},"username":{"type":"string","example":18367831980,"maxLength":20,"minLength":4,"title":"登录账号"},"password":{"type":"string","example":18367831980,"maxLength":20,"minLength":8,"pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"登录密码"},"roleId":{"type":"array","items":{"type":"integer","format":"int64"},"title":"角色ID"}},"required":["gender","name","number","password","phone","roleId","status","username"],"title":"员工信息创建"},"DictionaryCreateCmd":{"type":"object","properties":{"id":{"type":"integer","format":"int32","title":"自增id"},"code":{"type":"string","title":"代码"},"name":{"type":"string","title":"字典名称"},"parentId":{"type":"string","title":"上级id"},"sortNo":{"type":"integer","format":"int32","title":"排序号"},"type":{"type":"string","title":"类型"}},"title":"字典创建"},"DealerCreateCmd":{"type":"object","properties":{"dealerId":{"type":"string","title":"经销商ID"},"shortName":{"type":"string","title":"经销商简称"},"fullName":{"type":"string","title":"经销商全称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"receivable":{"type":"number","title":"应收金额"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"},"shareAdjusted":{"type":"boolean","title":"是否可调整比例"},"enableLoss":{"type":"boolean","title":"是否开启损耗"},"lossAmount":{"type":"number","title":"损耗金额"}},"required":["dealerId","dealerType","shortName","status"],"title":"经销商表创建"},"DealerWarehouseCreateCmd":{"type":"object","properties":{"warehouseId":{"type":"string","title":"仓库ID"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商账户ID"},"name":{"type":"string","title":"仓库名称"},"address":{"type":"string","title":"仓库地址"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"receiverName":{"type":"string","title":"收货人姓名"},"receiverPhone":{"type":"string","title":"收货人电话"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"}},"required":["accountId","address","dealerId","name","status","warehouseId"],"title":"经销商仓库创建"},"DealerRebateCustomerCreateCmd":{"type":"object","properties":{"customerId":{"type":"string","title":"客户ID"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"remark":{"type":"string","title":"备注"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式:1_按净重计算;2_固定金额;3_不固定"},"unitPrice":{"type":"number","title":"返点单价"},"amount":{"type":"number","title":"返点金额"}},"required":["customerId","dealerId","name","status"],"title":"经销商返点客户创建"},"DealerPaymentAccountCreateCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"账户ID"},"dealerId":{"type":"string","title":"经销商ID"},"companyName":{"type":"string","title":"公司名称"},"taxNumber":{"type":"string","title":"税号"},"bankAccount":{"type":"string","title":"银行账号"},"companyAddress":{"type":"string","title":"单位地址"},"phone":{"type":"string","title":"电话"},"openingBank":{"type":"string","title":"开户行"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["accountId","bankAccount","companyName","dealerId","taxNumber"],"title":"经销商付款账户创建"},"CostCreateCmd":{"type":"object","properties":{"costId":{"type":"string","title":"费用ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE","PRODUCTION_TYPE","OTHER_TYPE"],"title":"费用类型:1_辅料类型;2_人工类型;3_产地类型;4_其他类型"},"belong":{"type":"string","enum":["NONE_TYPE","WORKER_TYPE","PRODUCTION_TYPE"],"title":"费用归属:1_工头;2_产地;"},"name":{"type":"string","title":"费用名称"},"price":{"type":"number","title":"单价"},"unit":{"type":"string","title":"单位"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"成本项ID"}},"required":["belong","costId","name","sort","status","type"],"title":"费用创建"},"CostItemCreateCmd":{"type":"object","properties":{"costItemId":{"type":"string","title":"项目ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE"],"title":"项目类型:1_辅料类型;2_人工类型;"},"rule":{"type":"string","enum":["INPUT_QUANTITY","SELECT_BOX","INPUT_QUANTITY_AND_AMOUNT"],"title":"录入规则:1_填数量;2_选纸箱;"},"costId":{"type":"integer","format":"int64","title":"费用ID"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["costId","costItemId","name","price","rule","status","type","unit"],"title":"费用项目创建"},"CompanyCreateCmd":{"type":"object","properties":{"companyId":{"type":"string","title":"公司ID"},"logo":{"type":"string","title":"公司logo"},"shortName":{"type":"string","title":"公司简称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"contactPerson":{"type":"string","title":"联系人"},"contactPhone":{"type":"string","title":"联系电话"},"address":{"type":"string","title":"发货地址"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"}},"required":["address","companyId","contactPerson","contactPhone","fullName","shortName","status","taxNumber"],"title":"公司管理创建"},"CompanyPaymentAccountCreateCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"账户ID"},"companyId":{"type":"string","title":"公司ID"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"},"accountType":{"type":"string","enum":["BANK_CARD","ALIPAY","WECHAT"],"title":"账户类型:1_银行卡;2_支付宝;3_微信"},"bankName":{"type":"string","title":"银行名称"},"branchName":{"type":"string","title":"支行名称"},"publicAccountType":{"type":"string","enum":["BASIC_ACCOUNT","GENERAL_ACCOUNT","SPECIAL_ACCOUNT","TEMPORARY_ACCOUNT"],"title":"对公账户类型:1_基本户;2_一般户;3_专用账户;4_临时户"},"accountName":{"type":"string","title":"开户公司名称、支付宝昵称、微信号"},"accountNumber":{"type":"string","title":"银行账号、支付宝账号、微信账号"},"isPrimary":{"type":"boolean","title":"是否主付款账户:0_否;1_是"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;2_禁用;"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["accountCategory","accountId","accountName","accountNumber","accountType","companyId","isPrimary","status"],"title":"公司付款账户创建"},"ChannelCreateCmd":{"type":"object","properties":{"domain":{"type":"string","title":"域名"},"logo":{"type":"string","title":"Logo"},"title":{"type":"string","title":"标题"},"subTitle":{"type":"string","title":"副标题"},"backgroundImageUrl":{"type":"string","title":"背景图片"},"technicalSupport":{"type":"string","title":"技术支持"}},"title":"渠道新增"},"BoxSpecCreateCmd":{"type":"object","properties":{"specId":{"type":"string","title":"规格ID"},"name":{"type":"string","title":"规格名称"},"sort":{"type":"number","title":"排序号"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["name","sort","specId","status"],"title":"纸箱规格创建"},"BoxProductCreateCmd":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"纸箱名称"},"weight":{"type":"number","title":"重量(kg)"},"costPrice":{"type":"number","title":"成本价"},"salePrice":{"type":"number","title":"销售价"},"specId":{"type":"string","title":"规格ID"},"specName":{"type":"string","title":"规格名称"},"brandId":{"type":"string","title":"品牌ID"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"required":["brandId","name","productId","status","type"],"title":"纸箱产品创建"},"BoxBrandCreateCmd":{"type":"object","properties":{"brandId":{"type":"string","title":"品牌ID"},"name":{"type":"string","title":"品牌名称"},"image":{"type":"string","title":"品牌图片URL"},"specIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"纸箱规格ID"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"required":["brandId","name","status","type"],"title":"纸箱品牌创建"},"AgreementCreateCmd":{"type":"object","properties":{"agreementId":{"type":"string","title":"协议id"},"scene":{"type":"array","items":{"type":"string","enum":["STAKEHOLDER_SETUP","CUSTOMER_SETUP","PERSONAL_CENTER"]},"title":"使用场景"},"title":{"type":"string","title":"协议标题"},"subTitle":{"type":"string","title":"副标题"},"content":{"type":"string","title":"协议内容"}},"required":["agreementId"],"title":"协议创建"},"OrderSupplierBatchInvoiceUploadCmd":{"type":"object","description":"订单供应商批量上传发票命令","properties":{"orderSupplierIdList":{"type":"array","description":"供应商ID列表","items":{"type":"integer","format":"int64"}},"invoiceUpload":{"type":"boolean","title":"是否上传票证"},"invoiceImg":{"type":"array","items":{"$ref":"#/components/schemas/UploadFileItem"},"title":"发票照片"}},"required":["orderSupplierIdList"]},"MaterialBatchAddCmd":{"type":"object","properties":{"materialCreateCmdList":{"type":"array","items":{"$ref":"#/components/schemas/MaterialCreateCmd"},"title":"创建素材内容"}},"title":"创建素材内容"},"MultiResponseMaterialVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MaterialVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"PurchaseOrderApproveCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"originPrincipal":{"type":"string","title":"产地负责人"},"foreman":{"type":"string","title":"工头"},"remark":{"type":"string","title":"备注"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"},"orderCostItemList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCostItem"},"title":"采购订单费用信息"},"orderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/OrderPackage"},"title":"采购订单包装箱信息"},"draft":{"type":"boolean","title":"是否是暂存"},"pricingMethod":{"type":"string","enum":["BY_GROSS_WEIGHT","BY_NET_WEIGHT"],"title":"报价方式:1_按毛重报价;2_按净重报价;"},"orderCompany":{"$ref":"#/components/schemas/OrderCompany","title":"公司信息"},"orderRebate":{"$ref":"#/components/schemas/OrderRebate","title":"返点信息"},"orderShipList":{"type":"array","items":{"$ref":"#/components/schemas/OrderShip"},"title":"发货单信息"}},"required":["draft","orderCompany","orderCostItemList","orderCostList","orderDealer","orderId","orderPackageList","orderRebate","orderShipList","orderSupplierList","orderVehicle"],"title":"采购订单审核(审核员审核)"},"MenuTreeQry":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"pid":{"type":"string","title":"父级id"}},"title":"菜单请求"},"MultiResponseTreeLong":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TreeLong"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"TreeLong":{"type":"object","additionalProperties":{},"properties":{"name":{"type":"object","properties":{"empty":{"type":"boolean"}}},"id":{"type":"integer","format":"int64"},"parentId":{"type":"integer","format":"int64"},"config":{"$ref":"#/components/schemas/TreeNodeConfig"},"weight":{},"empty":{"type":"boolean"}}},"TreeNodeConfig":{"type":"object","properties":{"idKey":{"type":"string"},"parentIdKey":{"type":"string"},"weightKey":{"type":"string"},"nameKey":{"type":"string"},"childrenKey":{"type":"string"},"deep":{"type":"integer","format":"int32"}}},"CategoryTreeQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"typeList":{"type":"array","items":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"]},"title":"分类类型"},"name":{"type":"string","title":"分类名称"}},"title":"分类"},"UserShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"查询用户请求"},"SupplierShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"supplierId":{"type":"string","title":"供应商ID"}},"title":"供应商查询"},"SettingShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"settingKey":{"type":"string","enum":["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"],"title":"系统设置项key"}},"required":["settingKey"],"title":"设置查询"},"RoleShowQry":{"type":"object","properties":{"roleId":{"type":"string","title":"角色编号"}},"title":"角色查询"},"PurchaseOrderShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"orderId":{"type":"string","title":"采购订单ID"},"orderShipId":{"type":"string","title":"采购订单发货ID"}},"title":"采购订单查询"},"ProductShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"产品表ID"}},"title":"产品表查询"},"PlatformShowQry":{"type":"object","properties":{"platformId":{"type":"string","title":"平台ID"}},"required":["platformId"],"title":"平台查询"},"PermissionShowQry":{"type":"object","properties":{"permissionId":{"type":"string","title":"权限Id"}},"required":["permissionId"],"title":"权限查询"},"OrderShipShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"orderShipId":{"type":"string","title":"发货单ID"},"purchaseOrderId":{"type":"string","title":"采购单ID"}},"title":"发货单查询"},"MenuShowQry":{"type":"object","properties":{"menuId":{"type":"string","title":"菜单Id"}},"required":["menuId"],"title":"菜单详情"},"MaterialShowQry":{"type":"object","properties":{"materialId":{"type":"string","title":"素材内容ID"}},"required":["materialId"],"title":"素材内容请求"},"CategoryShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"categoryId":{"type":"string","title":"分类Id"}},"required":["categoryId"],"title":"分类"},"GiftBoxShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"boxId":{"type":"string","title":"礼盒ID"}},"title":"礼盒查询"},"EmployeeShowQry":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"},"userId":{"type":"string","title":"用户ID"},"platformId":{"type":"string","title":"平台ID"}},"title":"员工信息查询"},"DictionaryShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dictionaryId":{"type":"string","title":"字典ID"}},"title":"字典查询"},"DealerShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商表ID"}},"title":"经销商表查询"},"DealerWarehouseShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"warehouseId":{"type":"string","title":"经销商仓库ID"},"accountId":{"type":"string","title":"经销商付款账户ID"},"dealerId":{"type":"string","title":"经销商ID"}},"title":"经销商仓库查询"},"DealerRebateCustomerShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"customerId":{"type":"string","title":"经销商返点客户ID"},"dealerId":{"type":"string","title":"经销商ID"}},"title":"经销商返点客户查询"},"DealerPaymentAccountShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"accountId":{"type":"string","title":"经销商付款账户ID"},"dealerId":{"type":"string","title":"经销商ID"}},"title":"经销商付款账户查询"},"CostShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"costId":{"type":"string","title":"费用ID"}},"title":"费用查询"},"CostItemShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"costItemId":{"type":"string","title":"费用项目ID"}},"title":"费用项目查询"},"CompanyShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"companyId":{"type":"string","title":"公司管理ID"}},"title":"公司管理查询"},"CompanyPaymentAccountShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"accountId":{"type":"string","title":"公司付款账户ID"}},"title":"公司付款账户查询"},"ChannelShowQry":{"type":"object","properties":{"channelId":{"type":"string","title":"渠道编号"},"domain":{"type":"string","title":"域名"}},"required":["channelId"],"title":"渠道查询"},"BoxSpecShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"specId":{"type":"string","title":"纸箱规格ID"}},"title":"纸箱规格查询"},"BoxProductShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"纸箱产品ID"}},"title":"纸箱产品查询"},"BoxBrandShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"brandId":{"type":"string","title":"纸箱品牌ID"}},"title":"纸箱品牌查询"},"AgreementShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"agreementId":{"type":"string","title":"协议ID"}},"title":"协议查询"},"UserPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"keyword":{"type":"string","title":"关键词"},"cardNo":{"type":"string","title":"会员卡号"},"phone":{"type":"string","title":"会员手机号码"},"name":{"type":"string","title":"会员名称"},"nickname":{"type":"string","title":"会员昵称"},"createdAt":{"type":"array","items":{"type":"string","format":"date-time"},"title":"查询创建时间"},"isBindPhone":{"type":"boolean","title":"是否绑定手机号码"},"gender":{"type":"integer","format":"int32","title":"性别"},"bindPhoneAt":{"type":"array","items":{"type":"string","format":"date-time"},"title":"查询绑定手机号码时间"},"state":{"type":"array","items":{"type":"string","enum":["ENABLE","DISABLE"]},"title":"状态"},"isAdmin":{"type":"boolean","title":"是否是管理员"},"userIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"会员id列表"},"excludeUserIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"排除的用户id列表"},"communityId":{"type":"integer","format":"int64","title":"小区id"},"offset":{"type":"integer","format":"int32"}},"title":"查询用户分页请求"},"PageResponseUserVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/UserVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"SupplierPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商名称"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"bankCard":{"type":"string","title":"银行卡号"},"offset":{"type":"integer","format":"int32"}},"title":"供应商分页查询"},"PageResponseSupplierVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SupplierVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"RolePageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"name":{"type":"string","title":"角色名称"},"slug":{"type":"string","title":"角色标识"},"type":{"type":"string","title":"角色类型"},"roleId":{"type":"string","title":"角色编号"},"platformId":{"type":"string","title":"平台id"},"offset":{"type":"integer","format":"int32"}},"title":"角色分页查询"},"PageResponseRoleVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RoleVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"PurchaseOrderPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"orderId":{"type":"string","title":"采购订单ID"},"vehicleNo":{"type":"string","title":"车辆编号"},"orderSn":{"type":"string","title":"采购订单编号"},"state":{"type":"string","enum":["DRAFT","WAITING_AUDIT","COMPLETED","REJECTED","CLOSED"],"title":"采购订单状态: 0_草稿;1_审核中;2_已完成;3_已驳回;4_已关闭;"},"auditState":{"type":"string","enum":["NONE","PENDING_QUOTE_APPROVAL","PENDING_BOSS_APPROVAL","BOSS_APPROVED","QUOTE_REJECTED","BOSS_REJECTED"],"title":"采购单审核状态: 1_待报价审核;2_待老板审批;3_老板审批通过;4_报价审核驳回;5_老板审批驳回"},"supplierName":{"type":"string","title":"供应商名称"},"dealerId":{"type":"string","title":"经销商ID"},"offset":{"type":"integer","format":"int32"}},"title":"采购订单分页查询"},"PageResponsePurchaseOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PurchaseOrderVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"ProductPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"产品表ID"},"offset":{"type":"integer","format":"int32"}},"title":"产品表分页查询"},"PageResponseProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ProductVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"PlatformPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"platformId":{"type":"string","title":"平台ID"},"offset":{"type":"integer","format":"int32"}},"required":["platformId"],"title":"平台分页查询"},"PageResponsePlatformVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PlatformVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"PermissionPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"slug":{"type":"string","title":"权限标识"},"name":{"type":"string","title":"权限名称"},"offset":{"type":"integer","format":"int32"}},"title":"权限分页查询"},"PageResponsePermissionVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PermissionVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"OrderSupplierPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"orderSupplierId":{"type":"string","title":"订单供应商ID"},"orderId":{"type":"string","title":"订单ID"},"supplierId":{"type":"string","title":"供应商id"},"deliveryTime":{"type":"array","items":{"type":"string","format":"date-time"},"title":"发货日期"},"invoiceUpload":{"type":"boolean","title":"发票上传"},"poStates":{"type":"array","items":{"type":"string","enum":["DRAFT","WAITING_AUDIT","COMPLETED","REJECTED","CLOSED"]},"title":"订单状态"},"isPaid":{"type":"boolean","title":"是否支付"},"offset":{"type":"integer","format":"int32"}},"title":"订单供应商分页查询"},"PageResponseOrderSupplierVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplierVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"OrderShipPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"orderShipId":{"type":"string","title":"发货单ID"},"vehicleNo":{"type":"string","title":"车辆编号"},"orderSn":{"type":"string","title":"采购订单编号"},"state":{"type":"string","enum":["DRAFT","WAIT_SHIPMENT","WAIT_PAYMENT","WAIT_CHANGE","PARTIAL_PAYMENT","FULL_PAYMENT","REJECT_FINISH","FINISH"],"title":"发货单状态:0_草稿;1_待发货;2_待回款;3_待改签;4_部分回款;5_已回款;6_拒收完结;7_已完结;"},"supplierName":{"type":"string","title":"供应商名称"},"dealerId":{"type":"string","title":"经销商ID"},"offset":{"type":"integer","format":"int32"}},"title":"发货单分页查询"},"PageResponseOrderShipVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/OrderShipVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"MaterialPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"title":{"type":"string","title":"素材内容标题"},"type":{"type":"string","enum":["FILE_IMAGE","FILE_VIDEO","PRODUCT","CUSTOMER_INTENTION","COURSE","ROOM","SPEECH"],"title":"素材类型"},"materialId":{"type":"string","title":"素材内容ID"},"categoryId":{"type":"string","title":"分类ID"},"offset":{"type":"integer","format":"int32"}},"title":"素材内容分页请求"},"PageResponseMaterialVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MaterialVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"GiftBoxPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"boxId":{"type":"string","title":"礼盒ID"},"name":{"type":"string","title":"礼盒名称"},"offset":{"type":"integer","format":"int32"}},"title":"礼盒分页查询"},"PageResponseGiftBoxVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/GiftBoxVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"EmployeePageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"employeeId":{"type":"string","title":"员工信息ID"},"name":{"type":"string","title":"姓名"},"number":{"type":"string","title":"工号"},"phone":{"type":"string","title":"手机号"},"status":{"type":"integer","format":"int32","title":"状态"},"offset":{"type":"integer","format":"int32"}},"required":["employeeId","name","number","phone"],"title":"员工信息分页查询"},"PageResponseEmployeeVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/EmployeeVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DictionaryPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dictionaryId":{"type":"string","title":"字典ID"},"name":{"type":"string","title":"字典名称"},"type":{"type":"string","title":"字典类型"},"offset":{"type":"integer","format":"int32"}},"title":"字典分页查询"},"PageResponseDictionaryVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DictionaryVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DealerPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"shortName":{"type":"string","title":"经销商简称"},"fullName":{"type":"string","title":"经销商全称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"offset":{"type":"integer","format":"int32"}},"title":"经销商表分页查询"},"PageResponseDealerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DealerWarehousePageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商付款账户ID"},"offset":{"type":"integer","format":"int32"}},"title":"经销商仓库分页查询"},"PageResponseDealerWarehouseVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerWarehouseVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DealerRebateCustomerPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式"},"offset":{"type":"integer","format":"int32"}},"title":"经销商返点客户分页查询"},"PageResponseDealerRebateCustomerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerRebateCustomerVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"DealerPaymentAccountPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"offset":{"type":"integer","format":"int32"}},"title":"经销商付款账户分页查询"},"PageResponseDealerPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerPaymentAccountVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"CostPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"costId":{"type":"string","title":"费用ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE","PRODUCTION_TYPE","OTHER_TYPE"],"title":"费用类型:1_辅料类型;2_人工类型;3_产地类型;4_其他类型"},"belong":{"type":"string","enum":["NONE_TYPE","WORKER_TYPE","PRODUCTION_TYPE"],"title":"费用归属:1_工头;2_产地;"},"offset":{"type":"integer","format":"int32"}},"title":"费用分页查询"},"PageResponseCostVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CostVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"CostItemPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"costItemId":{"type":"string","title":"费用项目ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE"],"title":"项目类型:1_辅料类型;2_人工类型;"},"name":{"type":"string","title":"项目名称"},"offset":{"type":"integer","format":"int32"}},"title":"费用项目分页查询"},"PageResponseCostItemVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CostItemVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"CompanyPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"companyId":{"type":"string","title":"公司管理ID"},"shortName":{"type":"string","title":"公司名称"},"fullName":{"type":"string","title":"公司全称"},"taxNumber":{"type":"string","title":"税号"},"offset":{"type":"integer","format":"int32"}},"title":"公司管理分页查询"},"PageResponseCompanyVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"CompanyPaymentAccountPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"accountId":{"type":"string","title":"公司付款账户ID"},"companyId":{"type":"string","title":"公司ID"},"accountName":{"type":"string","title":"付款账户名称"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"},"offset":{"type":"integer","format":"int32"}},"title":"公司付款账户分页查询"},"PageResponseCompanyPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyPaymentAccountVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"ChannelPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"domain":{"type":"string","title":"域名"},"offset":{"type":"integer","format":"int32"}},"title":"渠道分页查询"},"PageResponseChannelVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ChannelVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"BoxSpecPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"specId":{"type":"string","title":"纸箱规格ID"},"offset":{"type":"integer","format":"int32"}},"title":"纸箱规格分页查询"},"PageResponseBoxSpecVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxSpecVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"BoxProductPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"纸箱产品ID"},"name":{"type":"string","title":"纸箱产品名称"},"brandId":{"type":"string","title":"纸箱品牌ID"},"specId":{"type":"string","title":"规格ID"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"},"offset":{"type":"integer","format":"int32"}},"title":"纸箱产品分页查询"},"PageResponseBoxProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxProductVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"BoxBrandPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"brandId":{"type":"string","title":"纸箱品牌ID"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"},"offset":{"type":"integer","format":"int32"}},"title":"纸箱品牌分页查询"},"PageResponseBoxBrandVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxBrandVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"AgreementPageQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"agreementId":{"type":"string","title":"协议ID"},"scene":{"type":"string","title":"协议类型"},"offset":{"type":"integer","format":"int32"}},"title":"协议分页查询"},"PageResponseAgreementVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"totalCount":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AgreementVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"},"totalPages":{"type":"integer","format":"int32"}}},"OssTokenVO":{"type":"object","properties":{"securityToken":{"type":"string"},"accessKeySecret":{"type":"string"},"accessKeyId":{"type":"string"},"domain":{"type":"string"},"bucket":{"type":"string"},"region":{"type":"string"}},"title":"商家响应"},"SingleResponseOssTokenVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/OssTokenVO"}}},"UserListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"userIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"用户ID"},"name":{"type":"string","title":"用户名"}},"title":"查询用户请求"},"MultiResponseUserVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/UserVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"SupplierListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商名称"}},"title":"供应商列表查询"},"MultiResponseSupplierVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SupplierVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"RoleListQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"name":{"type":"string","title":"角色名称"},"userId":{"type":"string","title":"用户Id"},"roleId":{"type":"string","title":"角色编号"},"roleIdList":{"type":"array","items":{"type":"integer","format":"int64"},"title":"应用角色Id"},"platformId":{"type":"string","title":"平台Id"},"platformIdList":{"type":"string","title":"平台Id"},"type":{"type":"integer","format":"int32","title":"角色类型"},"offset":{"type":"integer","format":"int32"}},"title":"角色查询"},"MultiResponseRoleVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RoleVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"PurchaseOrderListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"orderId":{"type":"string","title":"采购订单ID"}},"title":"采购订单列表查询"},"MultiResponsePurchaseOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PurchaseOrderVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"ProductListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"产品表ID"}},"title":"产品表列表查询"},"MultiResponseProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ProductVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"PlatformListQry":{"title":"平台列表查询"},"MultiResponsePlatformVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PlatformVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"PermissionListQry":{"title":"权限查询"},"MultiResponsePermissionVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PermissionVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"OrderShipListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"orderShipId":{"type":"string","title":"发货单ID"}},"title":"发货单列表查询"},"MultiResponseOrderShipVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/OrderShipVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"MenuListQry":{"type":"object","properties":{"platformId":{"type":"string","title":"平台id"},"pid":{"type":"string","title":"父级id"}},"title":"菜单请求"},"MultiResponseMenuVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MenuVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"GiftBoxListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"boxId":{"type":"string","title":"礼盒ID"}},"title":"礼盒列表查询"},"MultiResponseGiftBoxVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/GiftBoxVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"EmployeeListQry":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"}},"required":["employeeId"],"title":"员工信息列表查询"},"MultiResponseEmployeeVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/EmployeeVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DictionaryListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dictionaryId":{"type":"string","title":"字典ID"},"type":{"type":"string","title":"字典类型"}},"title":"字典列表查询"},"MultiResponseDictionaryVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DictionaryVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DealerListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商表ID"},"shortName":{"type":"string","title":"经销商简称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"]}},"title":"经销商表列表查询"},"MultiResponseDealerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DealerWarehouseListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"accountId":{"type":"string","title":"经销商付款账户ID"},"name":{"type":"string","title":"仓库名称"}},"title":"经销商仓库列表查询"},"MultiResponseDealerWarehouseVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerWarehouseVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DealerRebateCustomerListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"name":{"type":"string","title":"客户名称"},"calcMethod":{"type":"string","enum":["NET_WEIGHT","FIXED_AMOUNT","NOT_FIXED"],"title":"返点计算方式"}},"title":"经销商返点客户列表查询"},"MultiResponseDealerRebateCustomerVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerRebateCustomerVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"DealerPaymentAccountListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"},"keyword":{"type":"string","title":"关键词"}},"title":"经销商付款账户列表查询"},"MultiResponseDealerPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DealerPaymentAccountVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"CostListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"costId":{"type":"string","title":"费用ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE","PRODUCTION_TYPE","OTHER_TYPE"],"title":"费用类型:1_辅料类型;2_人工类型;3_产地类型;4_其他类型"},"belong":{"type":"string","enum":["NONE_TYPE","WORKER_TYPE","PRODUCTION_TYPE"],"title":"费用归属:1_工头;2_产地;"}},"title":"费用列表查询"},"MultiResponseCostVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CostVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"CostItemListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"costItemId":{"type":"string","title":"费用项目ID"},"type":{"type":"string","enum":["MATERIAL_TYPE","ARTIFICIAL_TYPE"],"title":"项目类型:1_辅料类型;2_人工类型;"}},"title":"费用项目列表查询"},"MultiResponseCostItemVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CostItemVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"CompanyListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"companyId":{"type":"string","title":"公司管理ID"}},"title":"公司管理列表查询"},"MultiResponseCompanyVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"CompanyPaymentAccountListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"accountId":{"type":"string","title":"公司付款账户ID"},"accountName":{"type":"string","title":"公司付款账户名称"},"companyName":{"type":"string","title":"公司名称"},"companyId":{"type":"string","title":"公司ID"},"accountCategory":{"type":"string","enum":["COMPANY_ACCOUNT","PRIVATE_ACCOUNT"],"title":"账户类别:1_对公账户;2_私人账户"}},"title":"公司付款账户列表查询"},"MultiResponseCompanyPaymentAccountVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyPaymentAccountVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"BoxSpecListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"specId":{"type":"string","title":"纸箱规格ID"}},"title":"纸箱规格列表查询"},"MultiResponseBoxSpecVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxSpecVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"BoxProductListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"纸箱产品ID"},"name":{"type":"string","title":"纸箱产品名称"},"brandId":{"type":"string","title":"纸箱品牌ID"},"specId":{"type":"string","title":"规格ID"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"title":"纸箱产品列表查询"},"MultiResponseBoxProductVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxProductVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"BoxBrandListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"纸箱品牌状态"},"brandId":{"type":"string","title":"纸箱品牌ID"},"withProduct":{"type":"boolean","title":"是否包含纸箱产品"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX","GIFT_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱;4_礼盒;"}},"title":"纸箱品牌列表查询"},"MultiResponseBoxBrandVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BoxBrandVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"AgreementListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"agreementId":{"type":"string","title":"协议ID"},"scene":{"type":"string","enum":["STAKEHOLDER_SETUP","CUSTOMER_SETUP","PERSONAL_CENTER"],"title":"协议类型"}},"title":"协议列表查询"},"MultiResponseAgreementVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AgreementVO"}},"empty":{"type":"boolean"},"notEmpty":{"type":"boolean"}}},"LastVehicleNoQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"dealerId":{"type":"string","title":"经销商ID"}},"required":["dealerId"],"title":"上一车车次号查询参数"},"SingleResponseString":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"string"}}},"PurchaseOrderCountQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"state":{"type":"string","enum":["DRAFT","WAITING_AUDIT","COMPLETED","REJECTED","CLOSED"],"title":"采购订单状态: 0_草稿;1_审核中;2_已完成;3_已驳回;4_已关闭;"},"auditState":{"type":"string","enum":["NONE","PENDING_QUOTE_APPROVAL","PENDING_BOSS_APPROVAL","BOSS_APPROVED","QUOTE_REJECTED","BOSS_REJECTED"],"title":"采购单审核状态: 1_待报价审核;2_待老板审批;3_老板审批通过;4_报价审核驳回;5_老板审批驳回"}},"title":"采购订单数量查询"},"SingleResponseLong":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"type":"integer","format":"int64"}}},"SupplierCheckQry":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageIndex":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"orderDirection":{"type":"string"},"groupBy":{"type":"string"},"needTotalCount":{"type":"boolean"},"customFieldKey":{"type":"string","title":"自定义字段key"},"customFieldValue":{"type":"string","title":"自定义字段value"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"supplierId":{"type":"string","title":"供应商ID"},"name":{"type":"string","title":"供应商名称"},"idCard":{"type":"string","title":"身份证号"},"phone":{"type":"string","title":"手机号"},"offset":{"type":"integer","format":"int32"}},"title":"供应商检测"},"UserDestroyCmd":{"type":"object","properties":{"userId":{"type":"string","title":"用户ID"}},"required":["userId"],"title":"用户删除命令"},"SupplierDestroyCmd":{"type":"object","properties":{"supplierId":{"type":"string","title":"供应商ID"}},"required":["supplierId"],"title":"删除供应商"},"PurchaseOrderDestroyCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"title":"删除采购订单"},"ProductDestroyCmd":{"type":"object","properties":{"productId":{"type":"string","title":"产品表ID"}},"required":["productId"],"title":"删除产品表"},"PlatformDestroyCmd":{"type":"object","properties":{"platformId":{"type":"string","title":"平台ID"}},"required":["platformId"],"title":"删除平台"},"OrderShipDestroyCmd":{"type":"object","properties":{"orderShipId":{"type":"string","title":"发货单ID"}},"required":["orderShipId"],"title":"删除发货单"},"MenuDestroyCmd":{"type":"object","properties":{"menuId":{"type":"string","title":"菜单Id"}},"required":["menuId"],"title":"菜单删除"},"MaterialDestroyCmd":{"type":"object","properties":{"materialId":{"type":"string","title":"素材Id"}},"required":["materialId"],"title":"素材删除"},"CategoryDestroyCmd":{"type":"object","properties":{"categoryId":{"type":"string","title":"分类Id"}},"required":["categoryId"],"title":"分类删除"},"GiftBoxDestroyCmd":{"type":"object","properties":{"boxId":{"type":"string","title":"礼盒ID"}},"required":["boxId"],"title":"删除礼盒"},"EmployeeDestroyCmd":{"type":"object","properties":{"employeeId":{"type":"string","title":"员工信息ID"}},"required":["employeeId"],"title":"删除员工信息"},"DictionaryDestroyCmd":{"type":"object","properties":{"dictionaryId":{"type":"string","title":"字典ID"}},"required":["dictionaryId"],"title":"删除字典"},"DealerDestroyCmd":{"type":"object","properties":{"dealerId":{"type":"string","title":"经销商表ID"}},"required":["dealerId"],"title":"删除经销商表"},"DealerWarehouseDestroyCmd":{"type":"object","properties":{"warehouseId":{"type":"string","title":"经销商仓库ID"}},"required":["warehouseId"],"title":"删除经销商仓库"},"DealerRebateCustomerDestroyCmd":{"type":"object","properties":{"customerId":{"type":"string","title":"经销商返点客户ID"}},"required":["customerId"],"title":"删除经销商返点客户"},"DealerPaymentAccountDestroyCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"经销商付款账户ID"}},"required":["accountId"],"title":"删除经销商付款账户"},"CostDestroyCmd":{"type":"object","properties":{"costId":{"type":"string","title":"费用ID"}},"required":["costId"],"title":"删除费用"},"CostItemDestroyCmd":{"type":"object","properties":{"costItemId":{"type":"string","title":"费用项目ID"}},"required":["costItemId"],"title":"删除费用项目"},"CompanyDestroyCmd":{"type":"object","properties":{"companyId":{"type":"string","title":"公司管理ID"}},"required":["companyId"],"title":"删除公司管理"},"CompanyPaymentAccountDestroyCmd":{"type":"object","properties":{"accountId":{"type":"string","title":"公司付款账户ID"}},"required":["accountId"],"title":"删除公司付款账户"},"ChannelDestroyCmd":{"type":"object","properties":{"channelId":{"type":"string","title":"渠道ID"}},"required":["channelId"],"title":"渠道删除"},"BoxSpecDestroyCmd":{"type":"object","properties":{"specId":{"type":"string","title":"纸箱规格ID"}},"required":["specId"],"title":"删除纸箱规格"},"BoxProductDestroyCmd":{"type":"object","properties":{"productId":{"type":"string","title":"纸箱产品ID"}},"required":["productId"],"title":"删除纸箱产品"},"BoxBrandDestroyCmd":{"type":"object","properties":{"brandId":{"type":"string","title":"纸箱品牌ID"}},"required":["brandId"],"title":"删除纸箱品牌"},"AgreementDestroyCmd":{"type":"object","properties":{"agreementId":{"type":"string","title":"协议ID"}},"required":["agreementId"],"title":"删除协议"}}}}