diff --git a/packages/app-client/src/app.config.ts b/packages/app-client/src/app.config.ts index 6faf6d0..c1a83bf 100644 --- a/packages/app-client/src/app.config.ts +++ b/packages/app-client/src/app.config.ts @@ -18,24 +18,40 @@ config = { { root: "pages/purchase", pages: [ - "history", - - // 采购员(市场/产地) - "purchaser/create", - "purchaser/preview", - "purchaser/result", - // 采购员(草稿) - "purchaser/draft/list", - - // 审核员(报价) - "reviewer/audit/audit", - "reviewer/audit/list", - "reviewer/audit/result", - - // 审批员(老板) - "approver/audit/audit", - "approver/audit/list", - "approver/audit/result", + // 全部采购 + "enter/all", + // 创建采购单 + "enter/create", + // 预览采购单 + "enter/preview", + // 采购单提审结果页面 + "enter/result", + // 采购单草稿箱 + "enter/drafts", + // 采购单审核 + "audit/audit", + // 采购单待审核 + "audit/pending", + // 采购单审核中 + "audit/reviewing", + // 采购单审核结果页面 + "audit/result", + // 采购单审核拒绝 + "audit/rejected", + // 全部采购单审核 + "audit/all", + // 采购单审批 + "approval/audit", + // 采购单待审批 + "approval/pending", + // 采购单审批中 + "approval/reviewing", + // 采购单审批结果页面 + "approval/result", + // 采购单审批拒绝 + "approval/rejected", + // 全部采购单审批 + "approval/all", ], }, // 发货单 @@ -46,7 +62,12 @@ config = { // 瓜农 { root: "pages/supplier", - pages: ["list", "purchase/invoice"], + pages: ["create", "all"], + }, + // 发票 + { + root: "pages/invoice", + pages: ["upload", "all", "pending"], }, ], permission: { diff --git a/packages/app-client/src/components/biz/PageList.tsx b/packages/app-client/src/components/biz/PageList.tsx index d5a1292..5e21821 100644 --- a/packages/app-client/src/components/biz/PageList.tsx +++ b/packages/app-client/src/components/biz/PageList.tsx @@ -18,6 +18,7 @@ import { } from "@nutui/nutui-react-taro"; import { Icon } from "@/components"; import classNames from "classnames"; +import { globalStore } from "@/store/global-store"; import { ActionType, IRecordListProps, Query, Record } from "./typing"; export default ( @@ -47,8 +48,7 @@ export default ( toolbar?.search?.defaultActiveKey || "", ); - const [loading, setLoading] = useState(true); - + const { loading, setLoading } = globalStore((state: any) => state); const [lightTheme, setLightTheme] = useState(false); const [data, setData] = useState[]>(); const [query, setQuery] = useState(); diff --git a/packages/app-client/src/components/purchase/PurchaseOrderApprovalList.tsx b/packages/app-client/src/components/purchase/PurchaseOrderApprovalList.tsx new file mode 100644 index 0000000..6826ce6 --- /dev/null +++ b/packages/app-client/src/components/purchase/PurchaseOrderApprovalList.tsx @@ -0,0 +1,256 @@ +import { + ActionType, + DealerPicker, + Icon, + PageList, + PurchaseOrderRejectFinal, + State, + SupplierPicker, + ToolBar, +} from "@/components"; +import React, { useRef, useState } from "react"; +import { business } from "@/services"; +import { Label, Text, View } from "@tarojs/components"; +import { buildUrl } from "@/utils"; +import { Button } from "@nutui/nutui-react-taro"; +import dayjs from "dayjs"; +import purchaseOrder from "@/constant/purchaseOrder"; +import Taro from "@tarojs/taro"; + +interface IPurchaseOrderApprovalListProps { + params: BusinessAPI.PurchaseOrderPageQry; + toolbar?: ToolBar; + actionRef?: React.MutableRefObject; +} + +export default function PurchaseOrderApprovalList( + props: IPurchaseOrderApprovalListProps, +) { + const { + params: bizParams, + toolbar: defaultToolbar, + actionRef: externalActionRef, + } = props; + const internalActionRef = useRef(); + const actionRef = externalActionRef || internalActionRef; + const [dealerVO, setDealerVO] = useState(); + const [supplierVO, setSupplierVO] = useState(); + const toolbar: ToolBar = { + ...defaultToolbar, + search: { + activeKey: "plate", + defaultActiveKey: "plate", + items: [ + { + key: "plate", + name: "车牌号", + placeholder: "请输入车牌号", + }, + ], + }, + render: () => ( + + + { + setDealerVO(dealerVO); + actionRef.current?.reload(); + }} + trigger={ + + + {dealerVO?.shortName || "经销商"} + + {dealerVO?.shortName ? ( + { + setDealerVO(undefined); + actionRef.current?.reload(); + event.stopPropagation(); + }} + /> + ) : ( + + )} + + } + /> + + + { + setSupplierVO(supplierVO); + actionRef.current?.reload(); + }} + trigger={ + + + {supplierVO?.name || "瓜农"} + + {supplierVO?.name ? ( + { + setSupplierVO(undefined); + actionRef.current?.reload(); + event.stopPropagation(); + }} + /> + ) : ( + + )} + + } + /> + + + ), + }; + + return ( + + rowId={"purchaseOrderId"} + itemHeight={182} + toolbar={toolbar} + type={"infinite"} + actionRef={actionRef} + render={(purchaseOrderVO: BusinessAPI.PurchaseOrderVO, index) => { + return ( + + + + + + + + {/* 复制 */} + + {purchaseOrderVO.orderVehicle.dealerName}{" "} + {purchaseOrderVO.orderVehicle?.vehicleNo + ? "第" + + purchaseOrderVO.orderVehicle?.vehicleNo + + "车" + : "暂未生成车次"} + + + + {purchaseOrderVO.orderVehicle?.origin} {" 至 "} + {purchaseOrderVO.orderVehicle?.destination} + + + + + + + + + + + {purchaseOrderVO.orderSn} + + + + + + {purchaseOrderVO.createdByName} + + + + + + {dayjs(purchaseOrderVO.createdAt).format("MM-DD HH:mm")} + + + + + + + + {purchaseOrderVO.state === "WAITING_AUDIT" && + purchaseOrderVO.auditState === "PENDING_BOSS_APPROVAL" && ( + + { + actionRef.current?.reload(); + }} + /> + + + )} + + + + + ); + }} + request={async (params) => { + const { + data: { data, success, notEmpty }, + } = await business.purchaseOrder.pagePurchaseOrder({ + purchaseOrderPageQry: { + ...params, + ...bizParams, + }, + }); + + return { + data, + success, + hasMore: notEmpty, + }; + }} + pagination={{ + pageSize: 10, + }} + /> + ); +} diff --git a/packages/app-client/src/components/purchase/PurchaseOrderAuditList.tsx b/packages/app-client/src/components/purchase/PurchaseOrderAuditList.tsx new file mode 100644 index 0000000..2047613 --- /dev/null +++ b/packages/app-client/src/components/purchase/PurchaseOrderAuditList.tsx @@ -0,0 +1,256 @@ +import { + ActionType, + DealerPicker, + Icon, + PageList, + PurchaseOrderRejectApprove, + State, + SupplierPicker, + ToolBar, +} from "@/components"; +import React, { useRef, useState } from "react"; +import { business } from "@/services"; +import { Label, Text, View } from "@tarojs/components"; +import { buildUrl } from "@/utils"; +import { Button } from "@nutui/nutui-react-taro"; +import dayjs from "dayjs"; +import purchaseOrder from "@/constant/purchaseOrder"; +import Taro from "@tarojs/taro"; + +interface IPurchaseOrderAuditListProps { + params: BusinessAPI.PurchaseOrderPageQry; + toolbar?: ToolBar; + actionRef?: React.MutableRefObject; +} + +export default function PurchaseOrderAuditList( + props: IPurchaseOrderAuditListProps, +) { + const { + params: bizParams, + toolbar: defaultToolbar, + actionRef: externalActionRef, + } = props; + const internalActionRef = useRef(); + const actionRef = externalActionRef || internalActionRef; + const [dealerVO, setDealerVO] = useState(); + const [supplierVO, setSupplierVO] = useState(); + const toolbar: ToolBar = { + ...defaultToolbar, + search: { + activeKey: "plate", + defaultActiveKey: "plate", + items: [ + { + key: "plate", + name: "车牌号", + placeholder: "请输入车牌号", + }, + ], + }, + render: () => ( + + + { + setDealerVO(dealerVO); + actionRef.current?.reload(); + }} + trigger={ + + + {dealerVO?.shortName || "经销商"} + + {dealerVO?.shortName ? ( + { + setDealerVO(undefined); + actionRef.current?.reload(); + event.stopPropagation(); + }} + /> + ) : ( + + )} + + } + /> + + + { + setSupplierVO(supplierVO); + actionRef.current?.reload(); + }} + trigger={ + + + {supplierVO?.name || "瓜农"} + + {supplierVO?.name ? ( + { + setSupplierVO(undefined); + actionRef.current?.reload(); + event.stopPropagation(); + }} + /> + ) : ( + + )} + + } + /> + + + ), + }; + + return ( + + rowId={"purchaseOrderId"} + itemHeight={182} + toolbar={toolbar} + type={"infinite"} + actionRef={actionRef} + render={(purchaseOrderVO: BusinessAPI.PurchaseOrderVO, index) => { + return ( + + + + + + + + {/* 复制 */} + + {purchaseOrderVO.orderVehicle.dealerName}{" "} + {purchaseOrderVO.orderVehicle?.vehicleNo + ? "第" + + purchaseOrderVO.orderVehicle?.vehicleNo + + "车" + : "暂未生成车次"} + + + + {purchaseOrderVO.orderVehicle?.origin} {" 至 "} + {purchaseOrderVO.orderVehicle?.destination} + + + + + + + + + + + {purchaseOrderVO.orderSn} + + + + + + {purchaseOrderVO.createdByName} + + + + + + {dayjs(purchaseOrderVO.createdAt).format("MM-DD HH:mm")} + + + + + + + + {purchaseOrderVO.state === "WAITING_AUDIT" && + purchaseOrderVO.auditState === "PENDING_QUOTE_APPROVAL" && ( + + { + actionRef.current?.reload(); + }} + /> + + + )} + + + + + ); + }} + request={async (params) => { + const { + data: { data, success, notEmpty }, + } = await business.purchaseOrder.pagePurchaseOrder({ + purchaseOrderPageQry: { + ...params, + ...bizParams, + }, + }); + + return { + data, + success, + hasMore: notEmpty, + }; + }} + pagination={{ + pageSize: 10, + }} + /> + ); +} diff --git a/packages/app-client/src/components/purchase/PurchaseOrderList.tsx b/packages/app-client/src/components/purchase/PurchaseOrderList.tsx new file mode 100644 index 0000000..9442a4c --- /dev/null +++ b/packages/app-client/src/components/purchase/PurchaseOrderList.tsx @@ -0,0 +1,400 @@ +import { + ActionType, + CopyText, + DealerPicker, + Icon, + PageList, + PurchaseOrderWithdrawReview, + State, + SupplierPicker, + ToolBar, +} from "@/components"; +import React, { useRef, useState } from "react"; +import { business } from "@/services"; +import { Label, Text, View } from "@tarojs/components"; +import { buildUrl } from "@/utils"; +import { Button, Dialog, Toast } from "@nutui/nutui-react-taro"; +import dayjs from "dayjs"; +import purchaseOrder from "@/constant/purchaseOrder"; +import Taro from "@tarojs/taro"; + +interface IPurchaseOrderListProps { + params: BusinessAPI.PurchaseOrderPageQry; + create?: boolean; + toolbar?: ToolBar; + actionRef?: React.MutableRefObject; +} + +export default function PurchaseOrderList(props: IPurchaseOrderListProps) { + const { + params: bizParams, + create = false, + toolbar: defaultToolbar, + actionRef: externalActionRef, + } = props; + const internalActionRef = useRef(); + const actionRef = externalActionRef || internalActionRef; + const [dealerVO, setDealerVO] = useState(); + const [supplierVO, setSupplierVO] = useState(); + const toolbar: ToolBar = { + ...defaultToolbar, + search: { + activeKey: "plate", + defaultActiveKey: "plate", + items: [ + { + key: "plate", + name: "车牌号", + placeholder: "请输入车牌号", + }, + ], + }, + render: () => ( + + + { + setDealerVO(dealerVO); + actionRef.current?.reload(); + }} + trigger={ + + + {dealerVO?.shortName || "经销商"} + + {dealerVO?.shortName ? ( + { + setDealerVO(undefined); + actionRef.current?.reload(); + event.stopPropagation(); + }} + /> + ) : ( + + )} + + } + /> + + + { + setSupplierVO(supplierVO); + actionRef.current?.reload(); + }} + trigger={ + + + {supplierVO?.name || "瓜农"} + + {supplierVO?.name ? ( + { + setSupplierVO(undefined); + actionRef.current?.reload(); + event.stopPropagation(); + }} + /> + ) : ( + + )} + + } + /> + + + ), + actions: [ + create && ( + + + { + Taro.navigateTo({ + url: buildUrl("/pages/purchase/enter/create"), + }); + }} + > + 新建采购单 + + + + ), + ], + }; + + // 删除采购订单 + const handleDelete = (purchaseOrderVO: BusinessAPI.PurchaseOrderVO) => { + Dialog.open("dialog", { + title: "删除采购单", + content: `确定要删除这个采购单吗?删除后就找不回来了!`, + confirmText: "确定", + cancelText: "取消", + onConfirm: async () => { + try { + const { data } = await business.purchaseOrder.destroyPurchaseOrder({ + orderId: purchaseOrderVO.orderId, + }); + + if (data.success) { + Toast.show("toast", { + icon: "success", + title: "提示", + content: "采购单删除成功", + }); + actionRef.current?.reload(); + } else { + Toast.show("toast", { + icon: "fail", + title: "提示", + content: data.errMessage || "删除失败", + }); + } + } catch (error) { + Toast.show("toast", { + icon: "fail", + title: "提示", + content: "删除失败", + }); + } finally { + Dialog.close("dialog"); + } + }, + onCancel: () => { + Dialog.close("dialog"); + }, + }); + }; + + return ( + + rowId={"purchaseOrderId"} + itemHeight={182} + type={"infinite"} + actionRef={actionRef} + render={(purchaseOrderVO: BusinessAPI.PurchaseOrderVO, index) => { + return ( + + + { + if (purchaseOrderVO.active === 7) { + Taro.navigateTo({ + url: buildUrl("/pages/purchase/enter/preview", { + orderId: purchaseOrderVO.orderId, + }), + }); + event.stopPropagation(); + } + }} + > + + + + + + {purchaseOrderVO.orderVehicle?.origin} {" 至 "} + {purchaseOrderVO.orderVehicle?.destination} + + + + + {purchaseOrderVO.orderSn} + + + + + + + + + + + + {dayjs(purchaseOrderVO.createdAt).format("MM-DD HH:mm")} + + + + + + {dayjs( + purchaseOrderVO.orderVehicle?.deliveryTime, + ).format("YYYY年MM月DD日")} + + + + + + {purchaseOrderVO.orderVehicle.dealerName} + + + + + + {purchaseOrderVO.orderVehicle?.driver} ( + {purchaseOrderVO.orderVehicle?.plate}) + + + + + + {purchaseOrderVO.orderSupplierList + .map((item) => item.name) + .join(",")} + + + + + + + + {purchaseOrderVO.state === "DRAFT" && ( + <> + + {/* 联系司机 */} + {purchaseOrderVO.orderVehicle.phone && ( + + )} + + {purchaseOrderVO.active === 7 && ( + + )} + + )} + {purchaseOrderVO.state === "WAITING_AUDIT" && ( + <> + { + actionRef.current?.reload(); + }} + /> + + )} + + + + + ); + }} + toolbar={toolbar} + request={async (params) => { + const { + data: { data, success, notEmpty }, + } = await business.purchaseOrder.pagePurchaseOrder({ + purchaseOrderPageQry: { + ...params, + ...bizParams, + }, + }); + + return { + data, + success, + hasMore: notEmpty, + }; + }} + pagination={{ + pageSize: 10, + }} + /> + ); +} diff --git a/packages/app-client/src/components/purchase/button/PurchaseOrderSubmitReview.tsx b/packages/app-client/src/components/purchase/button/PurchaseOrderSubmitReview.tsx index ccd983c..86d82c2 100644 --- a/packages/app-client/src/components/purchase/button/PurchaseOrderSubmitReview.tsx +++ b/packages/app-client/src/components/purchase/button/PurchaseOrderSubmitReview.tsx @@ -88,7 +88,7 @@ export default function PurchaseOrderSubmitReview( cancelText: "取消", onConfirm: async () => { Taro.redirectTo({ - url: buildUrl("/pages/purchase/purchaser/create", { + url: buildUrl("/pages/purchase/enter/create", { orderId: purchaseOrderVO.orderId, supplierId: lastSupplier.supplierId, step: "2", @@ -120,7 +120,7 @@ export default function PurchaseOrderSubmitReview( cancelText: "取消", onConfirm: async () => { Taro.redirectTo({ - url: buildUrl("/pages/purchase/purchaser/create", { + url: buildUrl("/pages/purchase/enter/create", { orderId: purchaseOrderVO.orderId, supplierId: hasNoUpdateContractSupplier.supplierId, step: "5", diff --git a/packages/app-client/src/components/purchase/index.ts b/packages/app-client/src/components/purchase/index.ts index 0da477a..7d56815 100644 --- a/packages/app-client/src/components/purchase/index.ts +++ b/packages/app-client/src/components/purchase/index.ts @@ -41,3 +41,7 @@ export { default as PurchaseStep1Form } from "./document/Step1Form"; export type { Step1FormRef as PurchaseStep1FormRef } from "./document/Step1Form"; export { default as PurchaseStep2Preview } from "./document/Step2Preview"; export { default as PurchaseStep3Success } from "./document/Step3Success"; + +export { default as PurchaseOrderList } from "./PurchaseOrderList"; +export { default as PurchaseOrderAuditList } from "./PurchaseOrderAuditList"; +export { default as PurchaseOrderApprovalList } from "./PurchaseOrderApprovalList"; diff --git a/packages/app-client/src/constant/purchaseOrder.ts b/packages/app-client/src/constant/purchaseOrder.ts index f540c3d..643508f 100644 --- a/packages/app-client/src/constant/purchaseOrder.ts +++ b/packages/app-client/src/constant/purchaseOrder.ts @@ -1,41 +1,15 @@ - /** - * 采购订单状态: 0_草稿;1_审核中;2_审批中;3_待发货;4_已发货;5_已付款;6_已完结;7_已驳回;8_已关闭 - - DRAFT(0, "草稿"), - WAITING_AUDIT(1, "审核中"), - WAITING_APPROVE(2, "审批中"), - WAITING_SHIPMENT(3, "待发货"), - SHIPPED(4, "已发货"), - PAID(5, "已付款"), - COMPLETED(6, "已完结"), - REJECTED(7, "已驳回"), + * 采购订单录入 */ const stateList = [ { - title: "全部", - value: "ALL", + title: "草稿", + value: "DRAFT", }, { title: "审核中", value: "WAITING_AUDIT", }, - { - title: "审批中", - value: "WAITING_APPROVE", - }, - { - title: "待发货", - value: "WAITING_SHIPMENT", - }, - { - title: "已发货", - value: "SHIPPED", - }, - { - title: "已付款", - value: "PAID", - }, { title: "已完结", value: "COMPLETED", @@ -44,9 +18,11 @@ const stateList = [ title: "已驳回", value: "REJECTED", }, + { + title: "已关闭", + value: "CLOSED", + }, ]; - -// 定义需求状态映射 - 优化颜色方案 const stateMap = { DRAFT: { label: "草稿", @@ -55,35 +31,11 @@ const stateMap = { borderColor: "#EA580C", }, WAITING_AUDIT: { - label: "待审核", + label: "审核中", color: "#1E40AF", bgColor: "#DBEAFE", borderColor: "#3B82F6", }, - WAITING_APPROVE: { - label: "待老板审批", - color: "#7C2D12", - bgColor: "#FDE68A", - borderColor: "#F59E0B", - }, - WAITING_SHIPMENT: { - label: "待发货", - color: "#7C2D12", - bgColor: "#FDE68A", - borderColor: "#F59E0B", - }, - SHIPPED: { - label: "已发货(待付款)", - color: "#86198F", - bgColor: "#F3E8FF", - borderColor: "#A855F7", - }, - PAID: { - label: "已付款", - color: "#065F46", - bgColor: "#A7F3D0", - borderColor: "#10B981", - }, COMPLETED: { label: "已完结", color: "#374151", @@ -95,10 +47,106 @@ const stateMap = { color: "#991B1B", bgColor: "#FEE2E2", borderColor: "#EF4444", - } + }, + CLOSED: { + label: "已关闭", + color: "#6B7280", + bgColor: "#F3F4F6", + borderColor: "#6B7280", + }, +}; + +/** + * 采购订单审核 + */ +const auditStateList = [ + { + title: "待我审核", + value: "PENDING_QUOTE_APPROVAL", + }, + { + title: "审批中", + value: "PENDING_BOSS_APPROVAL", + }, + { + title: "已通过", + value: "BOSS_APPROVED", + }, + { + title: "已驳回", + value: "BOSS_REJECTED", + }, +]; +const auditStateMap = { + PENDING_QUOTE_APPROVAL: { + label: "待我审核", + color: "#7C2D12", + bgColor: "#FED7AA", + borderColor: "#EA580C", + }, + PENDING_BOSS_APPROVAL: { + label: "审批中", + color: "#1E40AF", + bgColor: "#DBEAFE", + borderColor: "#3B82F6", + }, + BOSS_APPROVED: { + label: "已通过", + color: "#374151", + bgColor: "#E5E7EB", + borderColor: "#6B7280", + }, + BOSS_REJECTED: { + label: "已驳回", + color: "#6B7280", + bgColor: "#F3F4F6", + borderColor: "#6B7280", + }, +}; + +/** + * 采购订单审批 + */ +const approvalStateList = [ + { + title: "待我审批", + value: "PENDING_BOSS_APPROVAL", + }, + { + title: "已通过", + value: "BOSS_APPROVED", + }, + { + title: "已驳回", + value: "BOSS_REJECTED", + }, +]; +const approvalStateMap = { + PENDING_BOSS_APPROVAL: { + label: "待我审批", + color: "#7C2D12", + bgColor: "#FED7AA", + borderColor: "#EA580C", + }, + BOSS_APPROVED: { + label: "已通过", + color: "#374151", + bgColor: "#E5E7EB", + borderColor: "#6B7280", + }, + BOSS_REJECTED: { + label: "已驳回", + color: "#991B1B", + bgColor: "#FEE2E2", + borderColor: "#EF4444", + }, }; export default { stateList, - stateMap: stateMap, + stateMap, + auditStateList, + auditStateMap, + approvalStateList, + approvalStateMap, }; diff --git a/packages/app-client/src/constant/workbench.ts b/packages/app-client/src/constant/workbench.ts index 9ffe47a..cb311c9 100644 --- a/packages/app-client/src/constant/workbench.ts +++ b/packages/app-client/src/constant/workbench.ts @@ -170,7 +170,7 @@ const quickActionMap = { icon: "file-signature", iconColor: "var(--color-primary)", bgColorClass: "bg-primary/10", - path: "/pages/purchase/reviewer/audit/list", + path: "/pages/purchase/audit/pending", }, { id: "history", diff --git a/packages/app-client/src/hocs/auth.tsx b/packages/app-client/src/hocs/auth.tsx index 61ab0e8..30b9339 100644 --- a/packages/app-client/src/hocs/auth.tsx +++ b/packages/app-client/src/hocs/auth.tsx @@ -16,11 +16,12 @@ const hocAuth = ( base((props: any) => { const { options, router } = props; const user = userStore(useShallow((state) => state.user)); - const { userRoleVO, setUserRoleVO } = globalStore((state: any) => state); + const { userRoleVO, setUserRoleVO, loading, setLoading } = globalStore( + (state: any) => state, + ); const [longitude, setLongitude] = useState(); const [latitude, setLatitude] = useState(); - const [loading, setLoading] = useState(false); // 控制是否已初始化 const [isInitialized, setIsInitialized] = useState(false); diff --git a/packages/app-client/src/pages/supplier/purchase/invoice.config.ts b/packages/app-client/src/pages/invoice/all.config.ts similarity index 100% rename from packages/app-client/src/pages/supplier/purchase/invoice.config.ts rename to packages/app-client/src/pages/invoice/all.config.ts diff --git a/packages/app-client/src/pages/supplier/purchase/invoice.tsx b/packages/app-client/src/pages/invoice/all.tsx similarity index 100% rename from packages/app-client/src/pages/supplier/purchase/invoice.tsx rename to packages/app-client/src/pages/invoice/all.tsx diff --git a/packages/app-client/src/pages/invoice/pending.config.ts b/packages/app-client/src/pages/invoice/pending.config.ts new file mode 100644 index 0000000..d117c07 --- /dev/null +++ b/packages/app-client/src/pages/invoice/pending.config.ts @@ -0,0 +1,4 @@ +export default definePageConfig({ + navigationBarTitleText: "上传发票", + navigationBarBackgroundColor: "#fff", +}); diff --git a/packages/app-client/src/pages/invoice/pending.tsx b/packages/app-client/src/pages/invoice/pending.tsx new file mode 100644 index 0000000..adb7a48 --- /dev/null +++ b/packages/app-client/src/pages/invoice/pending.tsx @@ -0,0 +1,362 @@ +import { + ActionType, + Icon, + PageList, + SupplierPicker, + ToolBar, +} from "@/components"; +import { useShareAppMessage } from "@tarojs/taro"; +import { useRef, useState } from "react"; +import { business } from "@/services"; +import hocAuth from "@/hocs/auth"; +import { CommonComponent } from "@/types/typings"; +import { View } from "@tarojs/components"; +import dayjs from "dayjs"; +import { + Button, + Popup, + SafeArea, + Toast, + Uploader, + UploaderFileItem, +} from "@nutui/nutui-react-taro"; +import { uploadFile } from "@/utils"; + +export default hocAuth(function Page(props: CommonComponent) { + const { shareOptions } = props; + + const [supplierVO, setSupplierVO] = useState(); + const [popupVisible, setPopupVisible] = useState(false); + const [selectedOrders, setSelectedOrders] = useState< + BusinessAPI.OrderSupplierVO[] + >([]); + const [contractFiles, setContractFiles] = useState([]); + const [invoiceFiles, setInvoiceFiles] = useState([]); + + // 发票照片 + const [invoiceImgList, setInvoiceImgList] = useState([]); + // 合同照片 + const [contractImgList, setContractImgList] = useState( + [], + ); + + // 发票照片变更处理函数 + const handleInvoiceImgChange = (files: UploaderFileItem[]) => { + setInvoiceImgList(files); + + // 如果有文件且上传成功,保存URL到supplierVO + if (files.length > 0 && files[0].url) { + setSupplierVO((prev) => ({ + ...prev!, + invoiceImg: [files[0].url!], + invoiceUpload: true, + })); + } else { + // 如果没有文件,清空URL + setSupplierVO((prev) => ({ + ...prev!, + invoiceImg: undefined, + invoiceUpload: false, + })); + } + }; + + // 合同照片变更处理函数 + const handleContractImgChange = (files: UploaderFileItem[]) => { + setContractImgList(files); + + // 保存所有文件URL到supplierVO + const urls = files.map((file) => file.url).filter((url) => url) as string[]; + setSupplierVO((prev) => ({ + ...prev!, + contractImg: urls, + contractUpload: urls.length > 0, + })); + }; + + const actionRef = useRef(); + const toolbar: ToolBar = { + selectRow: { + onClick: async (orderSupplierVOList: BusinessAPI.OrderSupplierVO[]) => { + console.log("orderSupplierVOList", orderSupplierVOList); + // 点击弹出popup + setSelectedOrders(orderSupplierVOList); + setPopupVisible(true); + }, + }, + search: { + activeKey: "vehicleNo", + defaultActiveKey: "vehicleNo", + items: [ + { + key: "vehicleNo", + name: "车次号", + placeholder: "请输入车次号", + }, + { + key: "plate", + name: "车牌号", + placeholder: "请输入车牌号", + }, + ], + }, + render: () => ( + <> + {/* Popup 弹窗 */} + setPopupVisible(false)} + onOverlayClick={() => setPopupVisible(false)} + lockScroll + round + > + + {/* 统计信息 */} + + + 已选{" "} + + {selectedOrders.length} + {" "} + 车次 + + + 总重量: + {totalWeight} 斤 + + + 总金额:{" "} + + {totalAmount.toFixed(2)} + + + + + {/* 上传发票 */} + + + } + uploadLabel={ + + 拍照上传发票 + + 仅支持单张照片 + + + } + maxCount={1} + //@ts-ignore + upload={uploadFile} + multiple + /> + + + + {/* 上传合同 */} + + + } + uploadLabel={ + + 拍照上传合同 + + 支持多张照片 + + + } + maxCount={9} + //@ts-ignore + upload={uploadFile} + multiple + /> + + + + + + + + {/* 提交按钮 */} + + + + + + + + + { + setSupplierVO(supplierVO); + actionRef.current?.reload(); + }} + trigger={ + + + {supplierVO?.name || "瓜农"} + + {supplierVO?.name ? ( + { + setSupplierVO(undefined); + actionRef.current?.reload(); + event.stopPropagation(); + }} + /> + ) : ( + + )} + + } + /> + + + ), + }; + + useShareAppMessage((res) => { + console.log("useShareAppMessage1", res, shareOptions); + // 如果是按钮触发的转发,使用默认配置 + if (res.from === "button") { + return shareOptions; + } + // 页面转发使用设置的配置 + return {}; + }); + + // 计算选中车次的总重量和总金额 + const calculateTotals = () => { + return selectedOrders.reduce( + (totals, order) => { + totals.totalWeight += order.netWeight || 0; + totals.totalAmount += order.invoiceAmount || 0; + return totals; + }, + { totalWeight: 0, totalAmount: 0 }, + ); + }; + + const { totalWeight, totalAmount } = calculateTotals(); + + // 提交申请 + const handleSubmit = async () => { + // 这里添加提交申请的逻辑 + Toast.show("提交申请成功", { duration: 1500 }); + setPopupVisible(false); + // 重置状态 + setContractFiles([]); + setInvoiceFiles([]); + }; + + return ( + <> + + rowId={"orderSupplierId"} + itemHeight={182} + type={"infinite"} + actionRef={actionRef} + render={(orderSupplierVO: BusinessAPI.OrderSupplierVO, index) => ( + + + + + + + {orderSupplierVO.name} ( + {orderSupplierVO.orderVehicle?.origin}- + {orderSupplierVO.orderVehicle?.destination}) + + + {/**/} + {/* 草稿*/} + {/**/} + + + + {orderSupplierVO.orderVehicle?.vehicleNo + ? "第" + orderSupplierVO.orderVehicle?.vehicleNo + "车" + : "暂未生成车次"} + + + {dayjs(orderSupplierVO.orderVehicle?.deliveryTime).format( + "MM-DD", + )} + + | + {orderSupplierVO.netWeight}斤 + | + ¥{orderSupplierVO.invoiceAmount} + + + {`${orderSupplierVO.productName} | 品种:`} + + + + + )} + toolbar={toolbar} + request={async (params) => { + const { + data: { data, success, notEmpty }, + } = await business.orderSupplier.pageOrderSupplier({ + orderSupplierPageQry: { + ...params, + ...(supplierVO + ? { + supplierId: supplierVO.supplierId, + } + : {}), + }, + }); + + return { + data, + success, + hasMore: notEmpty, + }; + }} + pagination={{ + pageSize: 10, + }} + /> + + ); +}); diff --git a/packages/app-client/src/pages/invoice/upload.config.ts b/packages/app-client/src/pages/invoice/upload.config.ts new file mode 100644 index 0000000..d117c07 --- /dev/null +++ b/packages/app-client/src/pages/invoice/upload.config.ts @@ -0,0 +1,4 @@ +export default definePageConfig({ + navigationBarTitleText: "上传发票", + navigationBarBackgroundColor: "#fff", +}); diff --git a/packages/app-client/src/pages/invoice/upload.tsx b/packages/app-client/src/pages/invoice/upload.tsx new file mode 100644 index 0000000..adb7a48 --- /dev/null +++ b/packages/app-client/src/pages/invoice/upload.tsx @@ -0,0 +1,362 @@ +import { + ActionType, + Icon, + PageList, + SupplierPicker, + ToolBar, +} from "@/components"; +import { useShareAppMessage } from "@tarojs/taro"; +import { useRef, useState } from "react"; +import { business } from "@/services"; +import hocAuth from "@/hocs/auth"; +import { CommonComponent } from "@/types/typings"; +import { View } from "@tarojs/components"; +import dayjs from "dayjs"; +import { + Button, + Popup, + SafeArea, + Toast, + Uploader, + UploaderFileItem, +} from "@nutui/nutui-react-taro"; +import { uploadFile } from "@/utils"; + +export default hocAuth(function Page(props: CommonComponent) { + const { shareOptions } = props; + + const [supplierVO, setSupplierVO] = useState(); + const [popupVisible, setPopupVisible] = useState(false); + const [selectedOrders, setSelectedOrders] = useState< + BusinessAPI.OrderSupplierVO[] + >([]); + const [contractFiles, setContractFiles] = useState([]); + const [invoiceFiles, setInvoiceFiles] = useState([]); + + // 发票照片 + const [invoiceImgList, setInvoiceImgList] = useState([]); + // 合同照片 + const [contractImgList, setContractImgList] = useState( + [], + ); + + // 发票照片变更处理函数 + const handleInvoiceImgChange = (files: UploaderFileItem[]) => { + setInvoiceImgList(files); + + // 如果有文件且上传成功,保存URL到supplierVO + if (files.length > 0 && files[0].url) { + setSupplierVO((prev) => ({ + ...prev!, + invoiceImg: [files[0].url!], + invoiceUpload: true, + })); + } else { + // 如果没有文件,清空URL + setSupplierVO((prev) => ({ + ...prev!, + invoiceImg: undefined, + invoiceUpload: false, + })); + } + }; + + // 合同照片变更处理函数 + const handleContractImgChange = (files: UploaderFileItem[]) => { + setContractImgList(files); + + // 保存所有文件URL到supplierVO + const urls = files.map((file) => file.url).filter((url) => url) as string[]; + setSupplierVO((prev) => ({ + ...prev!, + contractImg: urls, + contractUpload: urls.length > 0, + })); + }; + + const actionRef = useRef(); + const toolbar: ToolBar = { + selectRow: { + onClick: async (orderSupplierVOList: BusinessAPI.OrderSupplierVO[]) => { + console.log("orderSupplierVOList", orderSupplierVOList); + // 点击弹出popup + setSelectedOrders(orderSupplierVOList); + setPopupVisible(true); + }, + }, + search: { + activeKey: "vehicleNo", + defaultActiveKey: "vehicleNo", + items: [ + { + key: "vehicleNo", + name: "车次号", + placeholder: "请输入车次号", + }, + { + key: "plate", + name: "车牌号", + placeholder: "请输入车牌号", + }, + ], + }, + render: () => ( + <> + {/* Popup 弹窗 */} + setPopupVisible(false)} + onOverlayClick={() => setPopupVisible(false)} + lockScroll + round + > + + {/* 统计信息 */} + + + 已选{" "} + + {selectedOrders.length} + {" "} + 车次 + + + 总重量: + {totalWeight} 斤 + + + 总金额:{" "} + + {totalAmount.toFixed(2)} + + + + + {/* 上传发票 */} + + + } + uploadLabel={ + + 拍照上传发票 + + 仅支持单张照片 + + + } + maxCount={1} + //@ts-ignore + upload={uploadFile} + multiple + /> + + + + {/* 上传合同 */} + + + } + uploadLabel={ + + 拍照上传合同 + + 支持多张照片 + + + } + maxCount={9} + //@ts-ignore + upload={uploadFile} + multiple + /> + + + + + + + + {/* 提交按钮 */} + + + + + + + + + { + setSupplierVO(supplierVO); + actionRef.current?.reload(); + }} + trigger={ + + + {supplierVO?.name || "瓜农"} + + {supplierVO?.name ? ( + { + setSupplierVO(undefined); + actionRef.current?.reload(); + event.stopPropagation(); + }} + /> + ) : ( + + )} + + } + /> + + + ), + }; + + useShareAppMessage((res) => { + console.log("useShareAppMessage1", res, shareOptions); + // 如果是按钮触发的转发,使用默认配置 + if (res.from === "button") { + return shareOptions; + } + // 页面转发使用设置的配置 + return {}; + }); + + // 计算选中车次的总重量和总金额 + const calculateTotals = () => { + return selectedOrders.reduce( + (totals, order) => { + totals.totalWeight += order.netWeight || 0; + totals.totalAmount += order.invoiceAmount || 0; + return totals; + }, + { totalWeight: 0, totalAmount: 0 }, + ); + }; + + const { totalWeight, totalAmount } = calculateTotals(); + + // 提交申请 + const handleSubmit = async () => { + // 这里添加提交申请的逻辑 + Toast.show("提交申请成功", { duration: 1500 }); + setPopupVisible(false); + // 重置状态 + setContractFiles([]); + setInvoiceFiles([]); + }; + + return ( + <> + + rowId={"orderSupplierId"} + itemHeight={182} + type={"infinite"} + actionRef={actionRef} + render={(orderSupplierVO: BusinessAPI.OrderSupplierVO, index) => ( + + + + + + + {orderSupplierVO.name} ( + {orderSupplierVO.orderVehicle?.origin}- + {orderSupplierVO.orderVehicle?.destination}) + + + {/**/} + {/* 草稿*/} + {/**/} + + + + {orderSupplierVO.orderVehicle?.vehicleNo + ? "第" + orderSupplierVO.orderVehicle?.vehicleNo + "车" + : "暂未生成车次"} + + + {dayjs(orderSupplierVO.orderVehicle?.deliveryTime).format( + "MM-DD", + )} + + | + {orderSupplierVO.netWeight}斤 + | + ¥{orderSupplierVO.invoiceAmount} + + + {`${orderSupplierVO.productName} | 品种:`} + + + + + )} + toolbar={toolbar} + request={async (params) => { + const { + data: { data, success, notEmpty }, + } = await business.orderSupplier.pageOrderSupplier({ + orderSupplierPageQry: { + ...params, + ...(supplierVO + ? { + supplierId: supplierVO.supplierId, + } + : {}), + }, + }); + + return { + data, + success, + hasMore: notEmpty, + }; + }} + pagination={{ + pageSize: 10, + }} + /> + + ); +}); diff --git a/packages/app-client/src/pages/main/index/index.tsx b/packages/app-client/src/pages/main/index/index.tsx index 8d6f41d..706725c 100644 --- a/packages/app-client/src/pages/main/index/index.tsx +++ b/packages/app-client/src/pages/main/index/index.tsx @@ -55,7 +55,7 @@ export default hocAuth(function Page(props: CommonComponent) { className="bg-primary flex w-full flex-col items-center justify-center space-y-2 rounded-xl py-2.5 text-white" onClick={() => { Taro.navigateTo({ - url: buildUrl("/pages/purchase/purchaser/create"), + url: buildUrl("/pages/purchase/enter/create"), }); }} > diff --git a/packages/app-client/src/pages/purchase/history.config.ts b/packages/app-client/src/pages/purchase/approval/all.config.ts similarity index 100% rename from packages/app-client/src/pages/purchase/history.config.ts rename to packages/app-client/src/pages/purchase/approval/all.config.ts diff --git a/packages/app-client/src/pages/purchase/approval/all.tsx b/packages/app-client/src/pages/purchase/approval/all.tsx new file mode 100644 index 0000000..695d6f1 --- /dev/null +++ b/packages/app-client/src/pages/purchase/approval/all.tsx @@ -0,0 +1,49 @@ +import { ActionType, PurchaseOrderApprovalList } from "@/components"; +import { useShareAppMessage } from "@tarojs/taro"; +import { useRef, useState } from "react"; +import hocAuth from "@/hocs/auth"; +import { CommonComponent } from "@/types/typings"; +import purchaseOrder from "@/constant/purchaseOrder"; + +export default hocAuth(function Page(props: CommonComponent) { + const { shareOptions } = props; + + const [auditState, setAuditState] = useState< + BusinessAPI.PurchaseOrderPageQry["auditState"] + >("PENDING_BOSS_APPROVAL"); + + const actionRef = useRef(); + + useShareAppMessage((res) => { + console.log("useShareAppMessage1", res, shareOptions); + // 如果是按钮触发的转发,使用默认配置 + if (res.from === "button") { + return shareOptions; + } + // 页面转发使用设置的配置 + return {}; + }); + + return ( + { + setAuditState( + item as BusinessAPI.PurchaseOrderPageQry["auditState"], + ); + actionRef.current?.reload(); + }, + }, + }} + params={{ + state: "WAITING_AUDIT", + auditState: auditState, + }} + /> + ); +}); diff --git a/packages/app-client/src/pages/purchase/approver/audit/audit.config.ts b/packages/app-client/src/pages/purchase/approval/audit.config.ts similarity index 100% rename from packages/app-client/src/pages/purchase/approver/audit/audit.config.ts rename to packages/app-client/src/pages/purchase/approval/audit.config.ts diff --git a/packages/app-client/src/pages/purchase/approver/audit/audit.tsx b/packages/app-client/src/pages/purchase/approval/audit.tsx similarity index 84% rename from packages/app-client/src/pages/purchase/approver/audit/audit.tsx rename to packages/app-client/src/pages/purchase/approval/audit.tsx index 254cd3c..0474def 100644 --- a/packages/app-client/src/pages/purchase/approver/audit/audit.tsx +++ b/packages/app-client/src/pages/purchase/approval/audit.tsx @@ -178,36 +178,37 @@ export default hocAuth(function Page(props: CommonComponent) { {/* 按钮操作 */} - {purchaseOrderVO.state === "WAITING_APPROVE" && ( - <> - - { - // 返回首页 - Taro.redirectTo({ - url: "/pages/purchase/approver/audit/list", - }); - }} - /> - - - { - // 关闭当前页面并跳转到采购单审核通过页面 - Taro.redirectTo({ - url: buildUrl(`/pages/purchase/approver/audit/result`, { - orderId: purchaseOrderVO?.orderId, - }), - }); - }} - /> - - - )} + {purchaseOrderVO.state === "WAITING_AUDIT" && + purchaseOrderVO.auditState === "PENDING_BOSS_APPROVAL" && ( + <> + + { + // 返回首页 + Taro.redirectTo({ + url: "/pages/purchase/approver/audit/list", + }); + }} + /> + + + { + // 关闭当前页面并跳转到采购单审核通过页面 + Taro.redirectTo({ + url: buildUrl(`/pages/purchase/approver/audit/result`, { + orderId: purchaseOrderVO?.orderId, + }), + }); + }} + /> + + + )} diff --git a/packages/app-client/src/pages/purchase/approver/audit/list.config.ts b/packages/app-client/src/pages/purchase/approval/pending.config.ts similarity index 100% rename from packages/app-client/src/pages/purchase/approver/audit/list.config.ts rename to packages/app-client/src/pages/purchase/approval/pending.config.ts diff --git a/packages/app-client/src/pages/purchase/approval/pending.tsx b/packages/app-client/src/pages/purchase/approval/pending.tsx new file mode 100644 index 0000000..4bc70ff --- /dev/null +++ b/packages/app-client/src/pages/purchase/approval/pending.tsx @@ -0,0 +1,27 @@ +import { PurchaseOrderApprovalList } from "@/components"; +import { useShareAppMessage } from "@tarojs/taro"; +import hocAuth from "@/hocs/auth"; +import { CommonComponent } from "@/types/typings"; + +export default hocAuth(function Page(props: CommonComponent) { + const { shareOptions } = props; + + useShareAppMessage((res) => { + console.log("useShareAppMessage1", res, shareOptions); + // 如果是按钮触发的转发,使用默认配置 + if (res.from === "button") { + return shareOptions; + } + // 页面转发使用设置的配置 + return {}; + }); + + return ( + + ); +}); diff --git a/packages/app-client/src/pages/purchase/approval/rejected.config.ts b/packages/app-client/src/pages/purchase/approval/rejected.config.ts new file mode 100644 index 0000000..d818e57 --- /dev/null +++ b/packages/app-client/src/pages/purchase/approval/rejected.config.ts @@ -0,0 +1,4 @@ +export default definePageConfig({ + navigationBarTitleText: "采购单驳回", + navigationBarBackgroundColor: "#fff", +}); diff --git a/packages/app-client/src/pages/purchase/approval/rejected.tsx b/packages/app-client/src/pages/purchase/approval/rejected.tsx new file mode 100644 index 0000000..a366dbb --- /dev/null +++ b/packages/app-client/src/pages/purchase/approval/rejected.tsx @@ -0,0 +1,27 @@ +import { PurchaseOrderApprovalList } from "@/components"; +import { useShareAppMessage } from "@tarojs/taro"; +import hocAuth from "@/hocs/auth"; +import { CommonComponent } from "@/types/typings"; + +export default hocAuth(function Page(props: CommonComponent) { + const { shareOptions } = props; + + useShareAppMessage((res) => { + console.log("useShareAppMessage1", res, shareOptions); + // 如果是按钮触发的转发,使用默认配置 + if (res.from === "button") { + return shareOptions; + } + // 页面转发使用设置的配置 + return {}; + }); + + return ( + + ); +}); diff --git a/packages/app-client/src/pages/purchase/approver/audit/result.config.ts b/packages/app-client/src/pages/purchase/approval/result.config.ts similarity index 100% rename from packages/app-client/src/pages/purchase/approver/audit/result.config.ts rename to packages/app-client/src/pages/purchase/approval/result.config.ts diff --git a/packages/app-client/src/pages/purchase/approver/audit/result.tsx b/packages/app-client/src/pages/purchase/approval/result.tsx similarity index 100% rename from packages/app-client/src/pages/purchase/approver/audit/result.tsx rename to packages/app-client/src/pages/purchase/approval/result.tsx diff --git a/packages/app-client/src/pages/purchase/reviewer/audit/audit.config.ts b/packages/app-client/src/pages/purchase/approval/reviewing.config.ts similarity index 100% rename from packages/app-client/src/pages/purchase/reviewer/audit/audit.config.ts rename to packages/app-client/src/pages/purchase/approval/reviewing.config.ts diff --git a/packages/app-client/src/pages/purchase/approval/reviewing.tsx b/packages/app-client/src/pages/purchase/approval/reviewing.tsx new file mode 100644 index 0000000..de11307 --- /dev/null +++ b/packages/app-client/src/pages/purchase/approval/reviewing.tsx @@ -0,0 +1,27 @@ +import { PurchaseOrderAuditList } from "@/components"; +import { useShareAppMessage } from "@tarojs/taro"; +import hocAuth from "@/hocs/auth"; +import { CommonComponent } from "@/types/typings"; + +export default hocAuth(function Page(props: CommonComponent) { + const { shareOptions } = props; + + useShareAppMessage((res) => { + console.log("useShareAppMessage1", res, shareOptions); + // 如果是按钮触发的转发,使用默认配置 + if (res.from === "button") { + return shareOptions; + } + // 页面转发使用设置的配置 + return {}; + }); + + return ( + + ); +}); diff --git a/packages/app-client/src/pages/purchase/approver/audit/list.tsx b/packages/app-client/src/pages/purchase/approver/audit/list.tsx deleted file mode 100644 index 0786c5c..0000000 --- a/packages/app-client/src/pages/purchase/approver/audit/list.tsx +++ /dev/null @@ -1,224 +0,0 @@ -import { - ActionType, - PageList, - PurchaseOrderRejectFinal, - State, -} from "@/components"; -import Taro, { useShareAppMessage } from "@tarojs/taro"; -import { useRef } from "react"; -import { business } from "@/services"; -import hocAuth from "@/hocs/auth"; -import { CommonComponent } from "@/types/typings"; -import { Label, Text, View } from "@tarojs/components"; -import { buildUrl, formatCurrency, PurchaseOrderCalculator } from "@/utils"; -import { Button } from "@nutui/nutui-react-taro"; -import purchaseOrder from "@/constant/purchaseOrder"; -import dayjs from "dayjs"; - -export default hocAuth(function Page(props: CommonComponent) { - const { shareOptions } = props; - - const actionRef = useRef(); - - useShareAppMessage((res) => { - console.log("useShareAppMessage1", res, shareOptions); - // 如果是按钮触发的转发,使用默认配置 - if (res.from === "button") { - return shareOptions; - } - // 页面转发使用设置的配置 - return {}; - }); - - return ( - - rowId={"purchaseOrderId"} - itemHeight={182} - type={"infinite"} - actionRef={actionRef} - render={(purchaseOrderVO: BusinessAPI.PurchaseOrderVO, index) => { - const calculator = new PurchaseOrderCalculator(purchaseOrderVO); - - return ( - - - - - - - - {/* 复制 */} - - {purchaseOrderVO.orderVehicle?.vehicleNo - ? "第" + - purchaseOrderVO.orderVehicle?.vehicleNo + - "车" - : "暂未生成车次"} - - - - {purchaseOrderVO.orderSn} - - - - - - - - - - - {purchaseOrderVO.createdByName} - - - - - - {dayjs(purchaseOrderVO.createdAt).format("MM-DD HH:mm")} - - - - - - {purchaseOrderVO.orderVehicle?.origin} {"->"} - {purchaseOrderVO.orderVehicle?.destination} - - - - - - {purchaseOrderVO.orderVehicle.dealerName} - - - - - - {purchaseOrderVO.orderVehicle?.plate} - - - - - - {purchaseOrderVO.orderSupplierList.length} 位 - - - - - - 毛重 {formatCurrency(calculator.getTotalGrossWeight())}{" "} - 斤 / 净重{" "} - {formatCurrency(calculator.getTotalNetWeight())} 斤 - - - - - - - - {purchaseOrderVO.state === "WAITING_APPROVE" && ( - - { - actionRef.current?.reload(); - }} - /> - - - )} - - - - - ); - }} - request={async (params) => { - const { - data: { data, success, notEmpty }, - } = await business.purchaseOrder.pagePurchaseOrder({ - purchaseOrderPageQry: { - ...params, - state: "WAITING_APPROVE", - }, - }); - - return { - data, - success, - hasMore: notEmpty, - }; - }} - pagination={{ - pageSize: 10, - }} - /> - ); -}); diff --git a/packages/app-client/src/pages/purchase/audit/all.config.ts b/packages/app-client/src/pages/purchase/audit/all.config.ts new file mode 100644 index 0000000..21e0f9e --- /dev/null +++ b/packages/app-client/src/pages/purchase/audit/all.config.ts @@ -0,0 +1,4 @@ +export default definePageConfig({ + navigationBarTitleText: "采购单", + navigationBarBackgroundColor: "#fff", +}); diff --git a/packages/app-client/src/pages/purchase/audit/all.tsx b/packages/app-client/src/pages/purchase/audit/all.tsx new file mode 100644 index 0000000..98bdfe5 --- /dev/null +++ b/packages/app-client/src/pages/purchase/audit/all.tsx @@ -0,0 +1,49 @@ +import { ActionType, PurchaseOrderAuditList } from "@/components"; +import { useShareAppMessage } from "@tarojs/taro"; +import { useRef, useState } from "react"; +import hocAuth from "@/hocs/auth"; +import { CommonComponent } from "@/types/typings"; +import purchaseOrder from "@/constant/purchaseOrder"; + +export default hocAuth(function Page(props: CommonComponent) { + const { shareOptions } = props; + + const [auditState, setAuditState] = useState< + BusinessAPI.PurchaseOrderPageQry["auditState"] + >("PENDING_QUOTE_APPROVAL"); + + const actionRef = useRef(); + + useShareAppMessage((res) => { + console.log("useShareAppMessage1", res, shareOptions); + // 如果是按钮触发的转发,使用默认配置 + if (res.from === "button") { + return shareOptions; + } + // 页面转发使用设置的配置 + return {}; + }); + + return ( + { + setAuditState( + item as BusinessAPI.PurchaseOrderPageQry["auditState"], + ); + actionRef.current?.reload(); + }, + }, + }} + params={{ + state: "WAITING_AUDIT", + auditState: auditState, + }} + /> + ); +}); diff --git a/packages/app-client/src/pages/purchase/reviewer/audit/list.config.ts b/packages/app-client/src/pages/purchase/audit/audit.config.ts similarity index 100% rename from packages/app-client/src/pages/purchase/reviewer/audit/list.config.ts rename to packages/app-client/src/pages/purchase/audit/audit.config.ts diff --git a/packages/app-client/src/pages/purchase/reviewer/audit/audit.tsx b/packages/app-client/src/pages/purchase/audit/audit.tsx similarity index 91% rename from packages/app-client/src/pages/purchase/reviewer/audit/audit.tsx rename to packages/app-client/src/pages/purchase/audit/audit.tsx index e50aae6..ebcffcf 100644 --- a/packages/app-client/src/pages/purchase/reviewer/audit/audit.tsx +++ b/packages/app-client/src/pages/purchase/audit/audit.tsx @@ -217,7 +217,7 @@ export default hocAuth(function Page(props: CommonComponent) { setTimeout(() => { Taro.redirectTo({ - url: buildUrl("/pages/purchase/reviewer/audit/list"), + url: buildUrl("/pages/purchase/audit/pending"), }); }, 1000); @@ -281,7 +281,7 @@ export default hocAuth(function Page(props: CommonComponent) { content: "暂存成功", }); // 返回采购单页面 - Taro.redirectTo({ url: "/pages/purchase/reviewer/audit/list" }); + Taro.redirectTo({ url: "/pages/purchase/audit/pending" }); } }; @@ -322,7 +322,7 @@ export default hocAuth(function Page(props: CommonComponent) { }); // 跳转到提交结果页面 Taro.redirectTo({ - url: buildUrl("/pages/purchase/reviewer/audit/result", { + url: buildUrl("/pages/purchase/audit/result", { orderId: purchaseOrderVO!.orderId, }), }); @@ -544,48 +544,50 @@ export default hocAuth(function Page(props: CommonComponent) { {/* 按钮操作 */} - {purchaseOrderVO.state === "WAITING_AUDIT" && ( - <> - - - - - - - - )} - {purchaseOrderVO.state === "WAITING_APPROVE" && ( - <> - - - - - )} + {purchaseOrderVO.state === "WAITING_AUDIT" && + purchaseOrderVO.auditState === "PENDING_QUOTE_APPROVAL" && ( + <> + + + + + + + + )} + {purchaseOrderVO.state === "WAITING_AUDIT" && + purchaseOrderVO.auditState === "PENDING_BOSS_APPROVAL" && ( + <> + + + + + )} diff --git a/packages/app-client/src/pages/purchase/audit/pending.config.ts b/packages/app-client/src/pages/purchase/audit/pending.config.ts new file mode 100644 index 0000000..0b00b54 --- /dev/null +++ b/packages/app-client/src/pages/purchase/audit/pending.config.ts @@ -0,0 +1,4 @@ +export default definePageConfig({ + navigationBarTitleText: "采购单审核", + navigationBarBackgroundColor: "#fff", +}); diff --git a/packages/app-client/src/pages/purchase/audit/pending.tsx b/packages/app-client/src/pages/purchase/audit/pending.tsx new file mode 100644 index 0000000..3865126 --- /dev/null +++ b/packages/app-client/src/pages/purchase/audit/pending.tsx @@ -0,0 +1,27 @@ +import { PurchaseOrderAuditList } from "@/components"; +import { useShareAppMessage } from "@tarojs/taro"; +import hocAuth from "@/hocs/auth"; +import { CommonComponent } from "@/types/typings"; + +export default hocAuth(function Page(props: CommonComponent) { + const { shareOptions } = props; + + useShareAppMessage((res) => { + console.log("useShareAppMessage1", res, shareOptions); + // 如果是按钮触发的转发,使用默认配置 + if (res.from === "button") { + return shareOptions; + } + // 页面转发使用设置的配置 + return {}; + }); + + return ( + + ); +}); diff --git a/packages/app-client/src/pages/purchase/audit/rejected.config.ts b/packages/app-client/src/pages/purchase/audit/rejected.config.ts new file mode 100644 index 0000000..d818e57 --- /dev/null +++ b/packages/app-client/src/pages/purchase/audit/rejected.config.ts @@ -0,0 +1,4 @@ +export default definePageConfig({ + navigationBarTitleText: "采购单驳回", + navigationBarBackgroundColor: "#fff", +}); diff --git a/packages/app-client/src/pages/purchase/audit/rejected.tsx b/packages/app-client/src/pages/purchase/audit/rejected.tsx new file mode 100644 index 0000000..2d4249c --- /dev/null +++ b/packages/app-client/src/pages/purchase/audit/rejected.tsx @@ -0,0 +1,27 @@ +import { PurchaseOrderList } from "@/components"; +import { useShareAppMessage } from "@tarojs/taro"; +import hocAuth from "@/hocs/auth"; +import { CommonComponent } from "@/types/typings"; + +export default hocAuth(function Page(props: CommonComponent) { + const { shareOptions } = props; + + useShareAppMessage((res) => { + console.log("useShareAppMessage1", res, shareOptions); + // 如果是按钮触发的转发,使用默认配置 + if (res.from === "button") { + return shareOptions; + } + // 页面转发使用设置的配置 + return {}; + }); + + return ( + + ); +}); diff --git a/packages/app-client/src/pages/purchase/purchaser/result.config.ts b/packages/app-client/src/pages/purchase/audit/result.config.ts similarity index 100% rename from packages/app-client/src/pages/purchase/purchaser/result.config.ts rename to packages/app-client/src/pages/purchase/audit/result.config.ts diff --git a/packages/app-client/src/pages/purchase/reviewer/audit/result.tsx b/packages/app-client/src/pages/purchase/audit/result.tsx similarity index 98% rename from packages/app-client/src/pages/purchase/reviewer/audit/result.tsx rename to packages/app-client/src/pages/purchase/audit/result.tsx index 2d2d63b..8ea58f7 100644 --- a/packages/app-client/src/pages/purchase/reviewer/audit/result.tsx +++ b/packages/app-client/src/pages/purchase/audit/result.tsx @@ -49,7 +49,7 @@ export default hocAuth(function Page(props: CommonComponent) { const viewPurchaseOrderDetail = () => { if (purchaseOrder?.orderId) { Taro.navigateTo({ - url: buildUrl("/pages/purchase/reviewer/audit/audit", { + url: buildUrl("/pages/purchase/audit/audit", { orderId: purchaseOrder.orderId, }), }); diff --git a/packages/app-client/src/pages/purchase/audit/reviewing.config.ts b/packages/app-client/src/pages/purchase/audit/reviewing.config.ts new file mode 100644 index 0000000..0b00b54 --- /dev/null +++ b/packages/app-client/src/pages/purchase/audit/reviewing.config.ts @@ -0,0 +1,4 @@ +export default definePageConfig({ + navigationBarTitleText: "采购单审核", + navigationBarBackgroundColor: "#fff", +}); diff --git a/packages/app-client/src/pages/purchase/audit/reviewing.tsx b/packages/app-client/src/pages/purchase/audit/reviewing.tsx new file mode 100644 index 0000000..cb80a1b --- /dev/null +++ b/packages/app-client/src/pages/purchase/audit/reviewing.tsx @@ -0,0 +1,26 @@ +import { PurchaseOrderList } from "@/components"; +import { useShareAppMessage } from "@tarojs/taro"; +import hocAuth from "@/hocs/auth"; +import { CommonComponent } from "@/types/typings"; + +export default hocAuth(function Page(props: CommonComponent) { + const { shareOptions } = props; + + useShareAppMessage((res) => { + console.log("useShareAppMessage1", res, shareOptions); + // 如果是按钮触发的转发,使用默认配置 + if (res.from === "button") { + return shareOptions; + } + // 页面转发使用设置的配置 + return {}; + }); + + return ( + + ); +}); diff --git a/packages/app-client/src/pages/purchase/enter/all.config.ts b/packages/app-client/src/pages/purchase/enter/all.config.ts new file mode 100644 index 0000000..21e0f9e --- /dev/null +++ b/packages/app-client/src/pages/purchase/enter/all.config.ts @@ -0,0 +1,4 @@ +export default definePageConfig({ + navigationBarTitleText: "采购单", + navigationBarBackgroundColor: "#fff", +}); diff --git a/packages/app-client/src/pages/purchase/enter/all.tsx b/packages/app-client/src/pages/purchase/enter/all.tsx new file mode 100644 index 0000000..6490010 --- /dev/null +++ b/packages/app-client/src/pages/purchase/enter/all.tsx @@ -0,0 +1,46 @@ +import { ActionType, PurchaseOrderList } from "@/components"; +import { useShareAppMessage } from "@tarojs/taro"; +import { useRef, useState } from "react"; +import hocAuth from "@/hocs/auth"; +import { CommonComponent } from "@/types/typings"; +import purchaseOrder from "@/constant/purchaseOrder"; + +export default hocAuth(function Page(props: CommonComponent) { + const { shareOptions } = props; + + const [state, setState] = + useState("DRAFT"); + + const actionRef = useRef(); + + useShareAppMessage((res) => { + console.log("useShareAppMessage1", res, shareOptions); + // 如果是按钮触发的转发,使用默认配置 + if (res.from === "button") { + return shareOptions; + } + // 页面转发使用设置的配置 + return {}; + }); + + return ( + { + setState(item as BusinessAPI.PurchaseOrderPageQry["state"]); + actionRef.current?.reload(); + }, + }, + }} + create + params={{ + state: state, + }} + /> + ); +}); diff --git a/packages/app-client/src/pages/purchase/purchaser/create.config.ts b/packages/app-client/src/pages/purchase/enter/create.config.ts similarity index 100% rename from packages/app-client/src/pages/purchase/purchaser/create.config.ts rename to packages/app-client/src/pages/purchase/enter/create.config.ts diff --git a/packages/app-client/src/pages/purchase/purchaser/create.tsx b/packages/app-client/src/pages/purchase/enter/create.tsx similarity index 94% rename from packages/app-client/src/pages/purchase/purchaser/create.tsx rename to packages/app-client/src/pages/purchase/enter/create.tsx index a64cb77..727bd2d 100644 --- a/packages/app-client/src/pages/purchase/purchaser/create.tsx +++ b/packages/app-client/src/pages/purchase/enter/create.tsx @@ -1,14 +1,7 @@ import hocAuth from "@/hocs/auth"; import { CommonComponent, CostItem, SupplierVO } from "@/types/typings"; import { View } from "@tarojs/components"; -import { - Button, - Dialog, - SafeArea, - Toast, - Tour, - TourList, -} from "@nutui/nutui-react-taro"; +import { Button, Dialog, SafeArea, Toast } from "@nutui/nutui-react-taro"; import { purchase } from "@/constant"; import { useEffect, useRef, useState } from "react"; import { @@ -65,31 +58,34 @@ const defaultSupplierList: SupplierVO[] = [ export default hocAuth(function Page(props: CommonComponent) { const { router, userRoleVO, setLoading } = props; + const supplierId = router.params + .supplierId as BusinessAPI.SupplierVO["supplierId"]; + const [orderId, setOrderId] = useState( router.params.orderId as BusinessAPI.PurchaseOrderShowQry["orderId"], ); const defaultStep = router.params.step as number; const defaultSupplierId = router.params.supplierId as string; - const [showTour, setShowTour] = useState(true); - - const closeTour = () => { - setShowTour(false); - }; - - const steps: TourList[] = [ - { - content: "粘贴识别", - target: "target1", - popoverOffset: [0, 12], - arrowOffset: 0, - }, - { - content: "选择经销商", - target: "target2", - location: "bottom-left", - }, - ]; + // const [showTour, setShowTour] = useState(true); + // + // const closeTour = () => { + // setShowTour(false); + // }; + // + // const steps: TourList[] = [ + // { + // content: "粘贴识别", + // target: "target1", + // popoverOffset: [0, 12], + // arrowOffset: 0, + // }, + // { + // content: "选择经销商", + // target: "target2", + // location: "bottom-left", + // }, + // ]; const vehicleRef = useRef(null); // 创建MelonFarmer组件的ref数组 @@ -104,11 +100,9 @@ export default hocAuth(function Page(props: CommonComponent) { const [purchaseOrder, setPurchaseOrder] = useState(); - console.log("purchaseOrder", purchaseOrder); - const [step, setStep] = useState(); - const [active, setActive] = useState(1); + const [active, setActive] = useState(defaultStep || 1); const [orderVehicle, setOrderVehicle] = useState(); const [orderDealer, setOrderDealer] = @@ -161,7 +155,7 @@ export default hocAuth(function Page(props: CommonComponent) { userRoleVO.slug === "origin-entry" ) { Taro.redirectTo({ - url: buildUrl("/pages/purchase/purchaser/preview", { + url: buildUrl("/pages/purchase/enter/preview", { orderId: purchaseOrder.orderId, }), }); @@ -191,7 +185,6 @@ export default hocAuth(function Page(props: CommonComponent) { setActive(active); } } - setActive(4); const orderCostList1 = purchaseOrder.orderCostList.map( (item: CostItem) => ({ ...item, @@ -214,11 +207,37 @@ export default hocAuth(function Page(props: CommonComponent) { setLoading(false); }); } - }, []); + }, [orderId]); + + useEffect(() => { + if (supplierId) { + setLoading(true); + business.supplier + .showSupplier({ + supplierShowQry: { + supplierId: supplierId, + }, + }) + .then(({ data: { data: supplierVO } }) => { + if (supplierVO) { + setOrderSupplierList([ + { + orderSupplierId: generateShortId(), + ...supplierVO, + selected: true, + }, + ]); + } + }) + .finally(() => { + setLoading(false); + }); + } + }, [supplierId]); useEffect(() => { if (active) { - setStep(purchase.steps.find((item) => item.value === active)); + setStep(purchase.steps.find((item) => item.value == active)); // 同步更新purchaseOrder中的active值 setPurchaseOrder((prev) => ({ ...prev!, active })); } @@ -264,6 +283,7 @@ export default hocAuth(function Page(props: CommonComponent) { })); }, [orderPackageList]); + console.log("step", step); if (step === undefined) { return; } @@ -475,7 +495,7 @@ export default hocAuth(function Page(props: CommonComponent) { // 跳转到预览页面 Taro.redirectTo({ - url: buildUrl("/pages/purchase/purchaser/preview", { + url: buildUrl("/pages/purchase/enter/preview", { orderId: orderId, }), }); @@ -1045,14 +1065,14 @@ export default hocAuth(function Page(props: CommonComponent) { - + {/**/} ); }); diff --git a/packages/app-client/src/pages/purchase/purchaser/draft/list.config.ts b/packages/app-client/src/pages/purchase/enter/drafts.config.ts similarity index 100% rename from packages/app-client/src/pages/purchase/purchaser/draft/list.config.ts rename to packages/app-client/src/pages/purchase/enter/drafts.config.ts diff --git a/packages/app-client/src/pages/purchase/enter/drafts.tsx b/packages/app-client/src/pages/purchase/enter/drafts.tsx new file mode 100644 index 0000000..d728bda --- /dev/null +++ b/packages/app-client/src/pages/purchase/enter/drafts.tsx @@ -0,0 +1,27 @@ +import { PurchaseOrderList } from "@/components"; +import hocAuth from "@/hocs/auth"; +import { CommonComponent } from "@/types/typings"; +import { useShareAppMessage } from "@tarojs/taro"; + +export default hocAuth(function Page(props: CommonComponent) { + const { shareOptions } = props; + + useShareAppMessage((res) => { + console.log("useShareAppMessage1", res, shareOptions); + // 如果是按钮触发的转发,使用默认配置 + if (res.from === "button") { + return shareOptions; + } + // 页面转发使用设置的配置 + return {}; + }); + + return ( + + ); +}); diff --git a/packages/app-client/src/pages/purchase/purchaser/preview.config.ts b/packages/app-client/src/pages/purchase/enter/preview.config.ts similarity index 100% rename from packages/app-client/src/pages/purchase/purchaser/preview.config.ts rename to packages/app-client/src/pages/purchase/enter/preview.config.ts diff --git a/packages/app-client/src/pages/purchase/purchaser/preview.tsx b/packages/app-client/src/pages/purchase/enter/preview.tsx similarity index 98% rename from packages/app-client/src/pages/purchase/purchaser/preview.tsx rename to packages/app-client/src/pages/purchase/enter/preview.tsx index 355c435..33c7ff1 100644 --- a/packages/app-client/src/pages/purchase/purchaser/preview.tsx +++ b/packages/app-client/src/pages/purchase/enter/preview.tsx @@ -64,7 +64,7 @@ export default hocAuth(function Page(props: CommonComponent) { className="flex-1 bg-gray-200 text-gray-700" onClick={() => { Taro.redirectTo({ - url: buildUrl("/pages/purchase/purchaser/create", { + url: buildUrl("/pages/purchase/enter/create", { orderId: purchaseOrder.orderId, active: 6, }), diff --git a/packages/app-client/src/pages/purchase/reviewer/audit/result.config.ts b/packages/app-client/src/pages/purchase/enter/result.config.ts similarity index 100% rename from packages/app-client/src/pages/purchase/reviewer/audit/result.config.ts rename to packages/app-client/src/pages/purchase/enter/result.config.ts diff --git a/packages/app-client/src/pages/purchase/purchaser/result.tsx b/packages/app-client/src/pages/purchase/enter/result.tsx similarity index 98% rename from packages/app-client/src/pages/purchase/purchaser/result.tsx rename to packages/app-client/src/pages/purchase/enter/result.tsx index 2a645eb..95b0cc9 100644 --- a/packages/app-client/src/pages/purchase/purchaser/result.tsx +++ b/packages/app-client/src/pages/purchase/enter/result.tsx @@ -49,7 +49,7 @@ export default hocAuth(function Page(props: CommonComponent) { const viewPurchaseOrderDetail = () => { if (purchaseOrder?.orderId) { Taro.navigateTo({ - url: buildUrl("/pages/purchase/purchaser/preview", { + url: buildUrl("/pages/purchase/enter/preview", { orderId: purchaseOrder.orderId, }), }); diff --git a/packages/app-client/src/pages/purchase/history.tsx b/packages/app-client/src/pages/purchase/history.tsx deleted file mode 100644 index 4727f42..0000000 --- a/packages/app-client/src/pages/purchase/history.tsx +++ /dev/null @@ -1,462 +0,0 @@ -import { - ActionType, - DealerPicker, - Icon, - PageList, - PurchaseOrderRejectApprove, - PurchaseOrderRejectFinal, - PurchaseOrderWithdrawReview, - State, - ToolBar, -} from "@/components"; -import Taro, { useShareAppMessage } from "@tarojs/taro"; -import { useRef, useState } from "react"; -import { business } from "@/services"; -import hocAuth from "@/hocs/auth"; -import { CommonComponent } from "@/types/typings"; -import { Label, Text, View } from "@tarojs/components"; -import { buildUrl, formatCurrency, PurchaseOrderCalculator } from "@/utils"; -import { Button } from "@nutui/nutui-react-taro"; -import purchaseOrder from "@/constant/purchaseOrder"; -import dayjs from "dayjs"; - -export default hocAuth(function Page(props: CommonComponent) { - const { userRoleVO, shareOptions } = props; - - const [state, setState] = - useState(); - const [dealerVO, setDealerVO] = useState(); - - const actionRef = useRef(); - const toolbar: ToolBar = { - search: { - activeKey: "vehicleNo", - defaultActiveKey: "vehicleNo", - items: [ - { - key: "vehicleNo", - name: "车次号", - placeholder: "请输入车次号", - }, - { - key: "plate", - name: "车牌号", - placeholder: "请输入车牌号", - }, - { - key: "supplierName", - name: "瓜农姓名", - placeholder: "请输入瓜农姓名", - }, - ], - }, - tabs: { - activeKey: "state", - defaultActiveKey: state || "ALL", - items: purchaseOrder.stateList.filter((item) => { - if (userRoleVO.slug === "reviewer") { - return item.value !== "DRAFT"; - } - - return item; - }), - onChange: (item) => { - setState(item as BusinessAPI.PurchaseOrderPageQry["state"]); - actionRef.current?.reload(); - }, - }, - render: () => ( - - { - setDealerVO(dealerVO); - actionRef.current?.reload(); - }} - trigger={ - - - {dealerVO?.shortName || "经销商"} - - {dealerVO?.shortName ? ( - { - setDealerVO(undefined); - actionRef.current?.reload(); - event.stopPropagation(); - }} - /> - ) : ( - - )} - - } - /> - - ), - actions: [ - userRoleVO.slug === "origin-entry" && ( - - - { - Taro.navigateTo({ - url: buildUrl("/pages/purchase/purchaser/create"), - }); - }} - > - 新建采购单 - - - - ), - ], - }; - - useShareAppMessage((res) => { - console.log("useShareAppMessage1", res, shareOptions); - // 如果是按钮触发的转发,使用默认配置 - if (res.from === "button") { - return shareOptions; - } - // 页面转发使用设置的配置 - return {}; - }); - - return ( - - rowId={"purchaseOrderId"} - itemHeight={182} - type={"infinite"} - actionRef={actionRef} - render={(purchaseOrderVO: BusinessAPI.PurchaseOrderVO, index) => { - const calculator = new PurchaseOrderCalculator(purchaseOrderVO); - - return ( - - - { - if (purchaseOrderVO.active === 7) { - Taro.navigateTo({ - url: buildUrl("/pages/purchase/purchaser/preview", { - orderId: purchaseOrderVO.orderId, - }), - }); - event.stopPropagation(); - } - }} - > - - - - - {/* 复制 */} - - {purchaseOrderVO.orderVehicle?.vehicleNo - ? "第" + - purchaseOrderVO.orderVehicle?.vehicleNo + - "车" - : "暂未生成车次"} - - - - {purchaseOrderVO.orderSn} - - - - - - - - - - - {purchaseOrderVO.createdByName} - - - - - - {dayjs(purchaseOrderVO.createdAt).format("MM-DD HH:mm")} - - - - - - {purchaseOrderVO.orderVehicle?.origin} {"->"} - {purchaseOrderVO.orderVehicle?.destination} - - - - - - {purchaseOrderVO.orderVehicle.dealerName} - - - - - - {purchaseOrderVO.orderVehicle?.plate} - - - - - - {purchaseOrderVO.orderSupplierList.length} 位 - - - - - - 毛重 {formatCurrency(calculator.getTotalGrossWeight())}{" "} - 斤 / 净重{" "} - {formatCurrency(calculator.getTotalNetWeight())} 斤 - - - - - - {userRoleVO.slug === "boss" && ( - - {purchaseOrderVO.state === "WAITING_APPROVE" && ( - - { - actionRef.current?.reload(); - }} - /> - - - )} - - )} - {userRoleVO.slug === "reviewer" && ( - - {purchaseOrderVO.state === "WAITING_AUDIT" && ( - - { - actionRef.current?.reload(); - }} - /> - - - )} - {purchaseOrderVO.state === "WAITING_APPROVE" && ( - - - - )} - - )} - {userRoleVO.slug === "origin-entry" && ( - - {purchaseOrderVO.state === "DRAFT" && ( - - - {purchaseOrderVO.active === 7 && ( - - )} - - - )} - {purchaseOrderVO.state === "WAITING_AUDIT" && ( - - - { - actionRef.current?.reload(); - }} - /> - - )} - - )} - - - ); - }} - toolbar={toolbar} - request={async (params) => { - const { - data: { data, success, notEmpty }, - } = await business.purchaseOrder.pagePurchaseOrder({ - purchaseOrderPageQry: { - ...params, - //@ts-ignore - state: state !== "ALL" ? state : undefined, - ...(dealerVO - ? { - dealerId: dealerVO.dealerId, - } - : {}), - }, - }); - - return { - data, - success, - hasMore: notEmpty, - }; - }} - pagination={{ - pageSize: 10, - }} - /> - ); -}); diff --git a/packages/app-client/src/pages/purchase/purchaser/draft/list.tsx b/packages/app-client/src/pages/purchase/purchaser/draft/list.tsx deleted file mode 100644 index 238b7a8..0000000 --- a/packages/app-client/src/pages/purchase/purchaser/draft/list.tsx +++ /dev/null @@ -1,279 +0,0 @@ -import { - ActionType, - PageList, - PurchaseOrderWithdrawReview, - State, - ToolBar, -} from "@/components"; -import Taro, { useShareAppMessage } from "@tarojs/taro"; -import { useRef } from "react"; -import { business } from "@/services"; -import hocAuth from "@/hocs/auth"; -import { CommonComponent } from "@/types/typings"; -import { Label, Text, View } from "@tarojs/components"; -import { buildUrl, formatCurrency, PurchaseOrderCalculator } from "@/utils"; -import { Button } from "@nutui/nutui-react-taro"; -import purchaseOrder from "@/constant/purchaseOrder"; -import dayjs from "dayjs"; - -export default hocAuth(function Page(props: CommonComponent) { - const { shareOptions } = props; - - const actionRef = useRef(); - const toolbar: ToolBar = { - actions: [ - - - { - Taro.navigateTo({ - url: buildUrl("/pages/purchase/purchaser/create"), - }); - }} - > - 新建采购单 - - - , - ], - }; - - useShareAppMessage((res) => { - console.log("useShareAppMessage1", res, shareOptions); - // 如果是按钮触发的转发,使用默认配置 - if (res.from === "button") { - return shareOptions; - } - // 页面转发使用设置的配置 - return {}; - }); - - return ( - - rowId={"purchaseOrderId"} - itemHeight={182} - type={"infinite"} - actionRef={actionRef} - render={(purchaseOrderVO: BusinessAPI.PurchaseOrderVO, index) => { - const calculator = new PurchaseOrderCalculator(purchaseOrderVO); - - return ( - - - { - if (purchaseOrderVO.active === 7) { - Taro.navigateTo({ - url: buildUrl("/pages/purchase/purchaser/preview", { - orderId: purchaseOrderVO.orderId, - }), - }); - event.stopPropagation(); - } - }} - > - - - - - {/* 复制 */} - - {purchaseOrderVO.orderVehicle?.vehicleNo - ? "第" + - purchaseOrderVO.orderVehicle?.vehicleNo + - "车" - : "暂未生成车次"} - - - - {purchaseOrderVO.orderSn} - - - - - - - - - - - {purchaseOrderVO.createdByName} - - - - - - {dayjs(purchaseOrderVO.createdAt).format("MM-DD HH:mm")} - - - - - - {purchaseOrderVO.orderVehicle?.origin} {"->"} - {purchaseOrderVO.orderVehicle?.destination} - - - - - - {purchaseOrderVO.orderVehicle.dealerName} - - - - - - {purchaseOrderVO.orderVehicle?.plate} - - - - - - {purchaseOrderVO.orderSupplierList.length} 位 - - - - - - 毛重 {formatCurrency(calculator.getTotalGrossWeight())}{" "} - 斤 / 净重{" "} - {formatCurrency(calculator.getTotalNetWeight())} 斤 - - - - - - - - {purchaseOrderVO.state === "DRAFT" && ( - <> - - {purchaseOrderVO.active === 7 && ( - - )} - - - )} - {purchaseOrderVO.state === "WAITING_AUDIT" && ( - <> - { - actionRef.current?.reload(); - }} - /> - - )} - - - - - ); - }} - toolbar={toolbar} - request={async (params) => { - const { - data: { data, success, notEmpty }, - } = await business.purchaseOrder.pagePurchaseOrder({ - purchaseOrderPageQry: { - ...params, - state: "DRAFT", - }, - }); - - return { - data, - success, - hasMore: notEmpty, - }; - }} - pagination={{ - pageSize: 10, - }} - /> - ); -}); diff --git a/packages/app-client/src/pages/purchase/reviewer/audit/list.tsx b/packages/app-client/src/pages/purchase/reviewer/audit/list.tsx deleted file mode 100644 index 87a20b8..0000000 --- a/packages/app-client/src/pages/purchase/reviewer/audit/list.tsx +++ /dev/null @@ -1,224 +0,0 @@ -import { - ActionType, - PageList, - PurchaseOrderRejectApprove, - State, -} from "@/components"; -import Taro, { useShareAppMessage } from "@tarojs/taro"; -import { useRef } from "react"; -import { business } from "@/services"; -import hocAuth from "@/hocs/auth"; -import { CommonComponent } from "@/types/typings"; -import { Label, Text, View } from "@tarojs/components"; -import { buildUrl, formatCurrency, PurchaseOrderCalculator } from "@/utils"; -import { Button } from "@nutui/nutui-react-taro"; -import purchaseOrder from "@/constant/purchaseOrder"; -import dayjs from "dayjs"; - -export default hocAuth(function Page(props: CommonComponent) { - const { shareOptions } = props; - - const actionRef = useRef(); - - useShareAppMessage((res) => { - console.log("useShareAppMessage1", res, shareOptions); - // 如果是按钮触发的转发,使用默认配置 - if (res.from === "button") { - return shareOptions; - } - // 页面转发使用设置的配置 - return {}; - }); - - return ( - - rowId={"purchaseOrderId"} - itemHeight={182} - type={"infinite"} - actionRef={actionRef} - render={(purchaseOrderVO: BusinessAPI.PurchaseOrderVO, index) => { - const calculator = new PurchaseOrderCalculator(purchaseOrderVO); - - return ( - - - - - - - - {/* 复制 */} - - {purchaseOrderVO.orderVehicle?.vehicleNo - ? "第" + - purchaseOrderVO.orderVehicle?.vehicleNo + - "车" - : "暂未生成车次"} - - - - {purchaseOrderVO.orderSn} - - - - - - - - - - - {purchaseOrderVO.createdByName} - - - - - - {dayjs(purchaseOrderVO.createdAt).format("MM-DD HH:mm")} - - - - - - {purchaseOrderVO.orderVehicle?.origin} {"->"} - {purchaseOrderVO.orderVehicle?.destination} - - - - - - {purchaseOrderVO.orderVehicle.dealerName} - - - - - - {purchaseOrderVO.orderVehicle?.plate} - - - - - - {purchaseOrderVO.orderSupplierList.length} 位 - - - - - - 毛重 {formatCurrency(calculator.getTotalGrossWeight())}{" "} - 斤 / 净重{" "} - {formatCurrency(calculator.getTotalNetWeight())} 斤 - - - - - - - - {purchaseOrderVO.state === "WAITING_AUDIT" && ( - - { - actionRef.current?.reload(); - }} - /> - - - )} - - - - - ); - }} - request={async (params) => { - const { - data: { data, success, notEmpty }, - } = await business.purchaseOrder.pagePurchaseOrder({ - purchaseOrderPageQry: { - ...params, - state: "WAITING_AUDIT", - }, - }); - - return { - data, - success, - hasMore: notEmpty, - }; - }} - pagination={{ - pageSize: 10, - }} - /> - ); -}); diff --git a/packages/app-client/src/pages/supplier/list.config.ts b/packages/app-client/src/pages/supplier/all.config.ts similarity index 100% rename from packages/app-client/src/pages/supplier/list.config.ts rename to packages/app-client/src/pages/supplier/all.config.ts diff --git a/packages/app-client/src/pages/supplier/list.tsx b/packages/app-client/src/pages/supplier/all.tsx similarity index 54% rename from packages/app-client/src/pages/supplier/list.tsx rename to packages/app-client/src/pages/supplier/all.tsx index f67d68e..486437b 100644 --- a/packages/app-client/src/pages/supplier/list.tsx +++ b/packages/app-client/src/pages/supplier/all.tsx @@ -1,12 +1,13 @@ -import { ActionType, PageList, ToolBar } from "@/components"; -import { useShareAppMessage } from "@tarojs/taro"; +import { ActionType, Icon, PageList, Phone, ToolBar } from "@/components"; +import Taro, { useShareAppMessage } from "@tarojs/taro"; import { useRef } from "react"; import { business } from "@/services"; import hocAuth from "@/hocs/auth"; import { CommonComponent } from "@/types/typings"; import { Label, Text, View } from "@tarojs/components"; import dayjs from "dayjs"; -import Phone from "../../components/biz/Phone"; +import { buildUrl } from "@/utils"; +import { Button } from "@nutui/nutui-react-taro"; export default hocAuth(function Page(props: CommonComponent) { const { shareOptions } = props; @@ -24,6 +25,22 @@ export default hocAuth(function Page(props: CommonComponent) { }, ], }, + actions: [ + + + { + Taro.navigateTo({ + url: buildUrl("/pages/supplier/create"), + }); + }} + > + 登记瓜农 + + + , + ], }; useShareAppMessage((res) => { @@ -62,6 +79,19 @@ export default hocAuth(function Page(props: CommonComponent) { + + {/* 新建采购 */} + + {/* 协助开票 */} + + diff --git a/packages/app-client/src/pages/supplier/create.config.ts b/packages/app-client/src/pages/supplier/create.config.ts new file mode 100644 index 0000000..05d23f0 --- /dev/null +++ b/packages/app-client/src/pages/supplier/create.config.ts @@ -0,0 +1,4 @@ +export default definePageConfig({ + navigationBarTitleText: "瓜农管理", + navigationBarBackgroundColor: "#fff", +}); diff --git a/packages/app-client/src/pages/supplier/create.tsx b/packages/app-client/src/pages/supplier/create.tsx new file mode 100644 index 0000000..1d3d9ff --- /dev/null +++ b/packages/app-client/src/pages/supplier/create.tsx @@ -0,0 +1,604 @@ +import { View } from "@tarojs/components"; +import { + Button, + Input, + Toast, + Uploader, + UploaderFileItem, +} from "@nutui/nutui-react-taro"; +import { Icon } from "@/components"; +import hocAuth from "@/hocs/auth"; +import { CommonComponent } from "@/types/typings"; +import { useEffect, useState } from "react"; +import { business } from "@/services"; +import Taro from "@tarojs/taro"; +import { buildUrl, generateShortId, uploadFile } from "@/utils"; + +export default hocAuth(function Page(props: CommonComponent) { + const { setLoading, router } = props; + const supplierId = router.params + .supplierId as BusinessAPI.SupplierVO["supplierId"]; + + const [supplierVO, setSupplierVO] = useState({ + supplierId: generateShortId(), + name: "", + idCard: "", + phone: "", + bankCard: "", + status: true, + }); + const [btnLoading, setBtnLoading] = useState(false); + const [picList, setPicList] = useState([]); + + // 错误状态 + const [nameError, setNameError] = useState(false); + const [idCardError, setIdCardError] = useState(false); + const [bankCardError, setBankCardError] = useState(false); + const [phoneError, setPhoneError] = useState(false); + const [nameDuplicateError, setNameDuplicateError] = useState(false); // 姓名重复错误 + + // 初始化微信二维码图片列表 + useEffect(() => { + if (supplierId) { + setLoading(true); + business.supplier + .showSupplier({ + supplierShowQry: { + supplierId: supplierId, + }, + }) + .then(({ data: { data: supplierVO } }) => { + if (supplierVO) { + setSupplierVO({ + ...supplierVO, + }); + if (supplierVO.wechatQr) { + setPicList([ + { + url: supplierVO.wechatQr, + name: "wechat-qrcode", + status: "success", + }, + ]); + } + } + }) + .finally(() => { + setLoading(false); + }); + } + }, [supplierId]); + + // 微信二维码变更处理函数 + const handleWechatQrChange = (files: UploaderFileItem[]) => { + setPicList(files); + + // 如果有文件且上传成功,保存URL到supplierVO + if (files.length > 0 && files[0].url) { + setSupplierVO((prev) => ({ + ...prev, + wechatQr: files[0].url, + })); + } else { + // 如果没有文件,清空URL + setSupplierVO((prev) => ({ + ...prev, + wechatQr: undefined, + })); + } + }; + + // 校验姓名函数 + const validateName = (name: string) => { + if (!name) { + return false; + } + // 姓名至少2个字符 + return name.length >= 2; + }; + + // 校验身份证号函数 + const validateIdCard = (idCard: string) => { + if (!idCard) { + return false; + } + // 18位身份证号正则表达式 + const idCardRegex = + /^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/; + return idCardRegex.test(idCard); + }; + + // 校验银行卡号函数 + const validateBankCard = (bankCard: string) => { + if (!bankCard) { + return false; + } + // 银行卡号一般为16-19位数字 + const bankCardRegex = /^\d{16,19}$/; + return bankCardRegex.test(bankCard); + }; + + // 校验手机号函数 (使用项目中已有的规则) + const validatePhone = (phone: string) => { + if (!phone) { + return false; + } + // 使用项目规范的手机号正则表达式 + const phoneRegex = /^1[3456789]\d{9}$/; + return phoneRegex.test(phone); + }; + + // 处理姓名变化 + const handleNameChange = (value: string) => { + setSupplierVO({ + ...supplierVO, + name: value, + }); + + // 校验并更新错误状态 + const isValid = validateName(value); + setNameError(!isValid && value !== ""); + + if (isValid) { + setNameError(false); + } + + // 清除姓名重复错误提示 + setNameDuplicateError(false); + }; + + // 处理姓名失焦 + const handleNameBlur = async (value: string) => { + if (value && !validateName(value)) { + setNameError(true); + return; + } else { + setNameError(false); + } + + // 检查瓜农姓名是否在系统中存在 + if (value) { + setLoading(true); + try { + const { data } = await business.supplier.checkSupplier({ + supplierCheckQry: { + name: value, + }, + }); + + if (data.success && data.data) { + // 系统中已存在该瓜农信息,设置姓名重复错误状态 + setNameDuplicateError(true); + } else { + setNameDuplicateError(false); + } + } catch (error) { + console.error("检查瓜农信息失败", error); + setNameDuplicateError(false); + } finally { + setLoading(false); + } + } + }; + + // 处理身份证号变化 + const handleIdCardChange = (value: string) => { + setSupplierVO({ + ...supplierVO, + idCard: value, + }); + + // 校验并更新错误状态 + const isValid = validateIdCard(value); + setIdCardError(!isValid && value !== ""); + + if (isValid) { + setIdCardError(false); + } + }; + + // 处理身份证号失焦 + const handleIdCardBlur = (value: string) => { + if (value && !validateIdCard(value)) { + setIdCardError(true); + } else { + setIdCardError(false); + } + }; + + // 处理银行卡号变化 + const handleBankCardChange = (value: string) => { + setSupplierVO({ + ...supplierVO, + bankCard: value, + }); + + // 校验并更新错误状态 + const isValid = validateBankCard(value); + setBankCardError(!isValid && value !== ""); + + if (isValid) { + setBankCardError(false); + } + }; + + // 处理银行卡号失焦 + const handleBankCardBlur = (value: string) => { + if (value && !validateBankCard(value)) { + setBankCardError(true); + } else { + setBankCardError(false); + } + }; + + // 处理手机号变化 + const handlePhoneChange = (value: string) => { + setSupplierVO({ + ...supplierVO, + phone: value, + }); + + // 校验并更新错误状态 + const isValid = validatePhone(value); + setPhoneError(!isValid && value !== ""); + + if (isValid) { + setPhoneError(false); + } + }; + + // 处理手机号失焦 + const handlePhoneBlur = (value: string) => { + if (value && !validatePhone(value)) { + setPhoneError(true); + } else { + setPhoneError(false); + } + }; + + const handleSave = async () => { + // 校验表单 + const isNameValid = validateName(supplierVO.name || ""); + const isIdCardValid = validateIdCard(supplierVO.idCard || ""); + const isBankCardValid = validateBankCard(supplierVO.bankCard || ""); + const isPhoneValid = validatePhone(supplierVO.phone || ""); + + setNameError(!isNameValid); + setIdCardError(!isIdCardValid); + setBankCardError(!isBankCardValid); + setPhoneError(!isPhoneValid); + + // 检查是否已存在同名瓜农 + let isDuplicate = false; + if (isNameValid) { + try { + setBtnLoading(true); + const { data: checkData } = await business.supplier.checkSupplier({ + supplierCheckQry: { + name: supplierVO.name, + }, + }); + + if (checkData.success && checkData.data) { + isDuplicate = true; + setNameDuplicateError(true); + } + } catch (error) { + console.error("检查瓜农信息失败", error); + } finally { + setBtnLoading(false); + } + } + + const isValid = + isNameValid && + isIdCardValid && + isBankCardValid && + isPhoneValid && + !isDuplicate; + + if (!isValid) { + if (isDuplicate) { + Toast.show("toast", { + icon: "fail", + title: "提示", + content: "该瓜农已存在,请勿重复创建", + }); + } else { + Toast.show("toast", { + icon: "fail", + title: "提示", + content: "请完善瓜农信息后再进行保存操作", + }); + } + return; + } + + // 创建新瓜农 + try { + setBtnLoading(true); + const { data } = await business.supplier.createSupplier({ + supplierId: supplierVO.supplierId, + name: supplierVO.name, + idCard: supplierVO.idCard, + phone: supplierVO.phone, + bankCard: supplierVO.bankCard, + wechatQr: supplierVO.wechatQr, + status: supplierVO.status, + }); + + if (data.success) { + Toast.show("toast", { + icon: "success", + title: "成功", + content: "瓜农创建成功", + }); + setTimeout(() => { + Taro.navigateBack(); + }, 1500); + } else { + Toast.show("toast", { + icon: "fail", + title: "失败", + content: data.errMessage || "创建失败", + }); + } + } catch (error) { + Toast.show("toast", { + icon: "fail", + title: "错误", + content: "创建过程中发生错误", + }); + console.error("创建瓜农失败:", error); + } finally { + setBtnLoading(false); + } + }; + + return ( + <> + + + {/* 功能提醒 */} + + + + 收集瓜农信息的目的是用于打款 + + + + {/* 快捷工具 */} + + + + + + + + + + {/* 瓜农信息 */} + + + + + {supplierVO.name || "瓜农"}信息 + + + + + + 姓名 + + + + handleNameChange(value)} + onBlur={() => handleNameBlur(supplierVO.name || "")} + className="flex-1" + /> + + {nameError && ( + + {`姓名"${supplierVO.name}"至少2个字符`} + + )} + {nameDuplicateError && ( + + 该瓜农已存在,请勿重复创建 + + )} + + + + 身份证号 + + + + handleIdCardChange(value)} + onBlur={() => handleIdCardBlur(supplierVO.idCard || "")} + className="flex-1" + /> + + {idCardError && ( + + 请输入正确的身份证号 + + )} + + + + 银行卡号 + + + + handleBankCardChange(value)} + onBlur={() => handleBankCardBlur(supplierVO.bankCard || "")} + className="flex-1" + /> + + {bankCardError && ( + + 请输入正确的银行卡号 + + )} + + + + 手机号码 + + + + handlePhoneChange(value)} + onBlur={() => handlePhoneBlur(supplierVO.phone || "")} + className="flex-1" + /> + + {phoneError && ( + + 请输入正确的手机号 + + )} + + + + {/* 若瓜农无法开发票,则可打款到微信 */} + + + } + uploadLabel={ + + 拍照上传微信收款码 + + 若瓜农无法开发票,则可打款到微信 + + + (可跳过) + + + } + maxCount={1} + //@ts-ignore + upload={uploadFile} + multiple + /> + + + + + + + + + + + + + + ); +}); diff --git a/packages/app-client/src/services/business/typings.d.ts b/packages/app-client/src/services/business/typings.d.ts index de40da4..48e7d35 100644 --- a/packages/app-client/src/services/business/typings.d.ts +++ b/packages/app-client/src/services/business/typings.d.ts @@ -2912,8 +2912,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: AgreementVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseBoxBrandVO = { @@ -2925,8 +2925,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: BoxBrandVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseBoxProductVO = { @@ -2938,8 +2938,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: BoxProductVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseBoxSpecVO = { @@ -2951,8 +2951,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: BoxSpecVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseChannelVO = { @@ -2964,8 +2964,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: ChannelVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseCompanyPaymentAccountVO = { @@ -2977,8 +2977,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: CompanyPaymentAccountVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseCompanyVO = { @@ -2990,8 +2990,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: CompanyVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseCostItemVO = { @@ -3003,8 +3003,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: CostItemVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseDealerPaymentAccountVO = { @@ -3016,8 +3016,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: DealerPaymentAccountVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseDealerRebateCustomerVO = { @@ -3029,8 +3029,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: DealerRebateCustomerVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseDealerVO = { @@ -3042,8 +3042,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: DealerVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseDealerWarehouseVO = { @@ -3055,8 +3055,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: DealerWarehouseVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseDictionaryVO = { @@ -3068,8 +3068,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: DictionaryVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseEmployeeVO = { @@ -3081,8 +3081,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: EmployeeVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseGiftBoxVO = { @@ -3094,8 +3094,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: GiftBoxVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseMaterialVO = { @@ -3107,8 +3107,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: MaterialVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseOrderSupplierVO = { @@ -3120,8 +3120,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: OrderSupplierVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponsePermissionVO = { @@ -3133,8 +3133,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: PermissionVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponsePlatformVO = { @@ -3146,8 +3146,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: PlatformVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseProductVO = { @@ -3159,8 +3159,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: ProductVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponsePurchaseOrderVO = { @@ -3172,8 +3172,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: PurchaseOrderVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseRoleVO = { @@ -3185,8 +3185,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: RoleVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseShipOrderVO = { @@ -3198,8 +3198,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: ShipOrderVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseSupplierVO = { @@ -3211,8 +3211,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: SupplierVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type PageResponseUserVO = { @@ -3224,8 +3224,8 @@ declare namespace BusinessAPI { pageIndex?: number; data?: UserVO[]; empty?: boolean; - totalPages?: number; notEmpty?: boolean; + totalPages?: number; }; type pageRoleParams = { @@ -3479,16 +3479,16 @@ declare namespace BusinessAPI { type PurchaseOrderCountQry = { /** 状态:1_启用;0_禁用; */ status?: boolean; - /** 采购订单状态: 0_草稿;1_审核中;2_审批中;3_待发货;4_已发货;5_已驳回;6_已撤回;7_已关闭;8_已完结 */ - state?: - | "DRAFT" - | "WAITING_AUDIT" - | "WAITING_APPROVE" - | "WAITING_SHIPMENT" - | "SHIPPED" - | "PAID" - | "COMPLETED" - | "REJECTED"; + /** 采购订单状态: 0_草稿;1_审核中;2_已完成;3_已驳回;4_已关闭; */ + state?: "DRAFT" | "WAITING_AUDIT" | "COMPLETED" | "REJECTED" | "CLOSED"; + /** 采购单审核状态: 1_待报价审核;2_待老板审批;3_老板审批通过;4_报价审核驳回;5_老板审批驳回 */ + auditState?: + | "NONE" + | "PENDING_QUOTE_APPROVAL" + | "PENDING_BOSS_APPROVAL" + | "BOSS_APPROVED" + | "QUOTE_REJECTED" + | "BOSS_REJECTED"; }; type PurchaseOrderCreateCmd = { @@ -3552,16 +3552,16 @@ declare namespace BusinessAPI { vehicleNo?: string; /** 采购订单编号 */ orderSn?: string; - /** 采购订单状态: 0_草稿;1_审核中;2_审批中;3_待发货;4_已发货;5_已驳回;6_已撤回;7_已关闭;8_已完结 */ - state?: - | "DRAFT" - | "WAITING_AUDIT" - | "WAITING_APPROVE" - | "WAITING_SHIPMENT" - | "SHIPPED" - | "PAID" - | "COMPLETED" - | "REJECTED"; + /** 采购订单状态: 0_草稿;1_审核中;2_已完成;3_已驳回;4_已关闭; */ + state?: "DRAFT" | "WAITING_AUDIT" | "COMPLETED" | "REJECTED" | "CLOSED"; + /** 采购单审核状态: 1_待报价审核;2_待老板审批;3_老板审批通过;4_报价审核驳回;5_老板审批驳回 */ + auditState?: + | "NONE" + | "PENDING_QUOTE_APPROVAL" + | "PENDING_BOSS_APPROVAL" + | "BOSS_APPROVED" + | "QUOTE_REJECTED" + | "BOSS_REJECTED"; /** 供应商名称 */ supplierName?: string; /** 经销商ID */ @@ -3688,16 +3688,16 @@ declare namespace BusinessAPI { freightCharge?: number; /** 瓜农数量 */ supplierCount?: number; - /** 采购订单状态: 0_草稿;1_审核中;2_审批中;3_待发货;4_已发货;5_已驳回;6_已撤回;7_已关闭;8_已完结 */ - state?: - | "DRAFT" - | "WAITING_AUDIT" - | "WAITING_APPROVE" - | "WAITING_SHIPMENT" - | "SHIPPED" - | "PAID" - | "COMPLETED" - | "REJECTED"; + /** 采购订单状态: 0_草稿;1_审核中;2_已完成;3_已驳回;4_已关闭; */ + state?: "DRAFT" | "WAITING_AUDIT" | "COMPLETED" | "REJECTED" | "CLOSED"; + /** 采购单审核状态: 1_待报价审核;2_待老板审批;3_老板审批通过;4_报价审核驳回;5_老板审批驳回 */ + auditState?: + | "NONE" + | "PENDING_QUOTE_APPROVAL" + | "PENDING_BOSS_APPROVAL" + | "BOSS_APPROVED" + | "QUOTE_REJECTED" + | "BOSS_REJECTED"; /** 备注 */ remark?: string; /** 创建人ID */ diff --git a/packages/app-client/src/store/global-store.ts b/packages/app-client/src/store/global-store.ts index 1540bc1..01175e6 100644 --- a/packages/app-client/src/store/global-store.ts +++ b/packages/app-client/src/store/global-store.ts @@ -5,11 +5,13 @@ type State = { selected?: number; }; userRoleVO?: AuthAPI.UserRoleVO; + loading?: boolean; }; type Action = { setTabBar: (selected: number) => void; setUserRoleVO: (userRoleVO: AuthAPI.UserRoleVO) => void; + setLoading: (loading: boolean) => void; }; export const globalStore = create((set) => ({ @@ -25,4 +27,9 @@ export const globalStore = create((set) => ({ userRoleVO: userRoleVO, })); }, + setLoading: (loading: boolean) => { + set(() => ({ + loading: loading, + })); + }, })); diff --git a/swagger/business.json b/swagger/business.json index f4edb31..360b0ea 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":"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/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/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/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/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/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/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/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"},"itemId":{"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":"是否需要数量和价格"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"}},"required":["costType","count","itemId","name","orderCostId","price","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","WAITING_APPROVE","WAITING_SHIPMENT","SHIPPED","PAID","COMPLETED","REJECTED"],"title":"采购订单状态: 0_草稿;1_审核中;2_审批中;3_待发货;4_已发货;5_已驳回;6_已撤回;7_已关闭;8_已完结"},"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":"产品名称"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联成本费用id"},"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":{"itemId":{"type":"string","title":"项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"},"requireQuantityAndPrice":{"type":"boolean","title":"是否需要填写数量和单价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["costType","itemId","name","price","requireQuantityAndPrice","showInEntry","status","unit"],"title":"费用项目"},"ProductVO":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"产品名称"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联成本费用id"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"costItemVOList":{"type":"array","items":{"$ref":"#/components/schemas/CostItemVO"},"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"}}},"CostItemUpdateCmd":{"type":"object","properties":{"itemId":{"type":"string","title":"费用项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"},"requireQuantityAndPrice":{"type":"boolean","title":"是否需要填写数量和单价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["costType","itemId","name","price","requireQuantityAndPrice","showInEntry","status","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":"经销商拖拽"},"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":"产品名称"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联成本费用id"},"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":"经销商付款账户创建"},"CostItemCreateCmd":{"type":"object","properties":{"itemId":{"type":"string","title":"项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"},"requireQuantityAndPrice":{"type":"boolean","title":"是否需要填写数量和单价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["costType","itemId","name","price","requireQuantityAndPrice","showInEntry","status","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":"经销商付款账户查询"},"CostItemShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"itemId":{"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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","WAITING_APPROVE","WAITING_SHIPMENT","SHIPPED","PAID","COMPLETED","REJECTED"],"title":"采购订单状态: 0_草稿;1_审核中;2_审批中;3_待发货;4_已发货;5_已驳回;6_已撤回;7_已关闭;8_已完结"},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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_禁用;"},"itemId":{"type":"string","title":"费用项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"},"totalPages":{"type":"integer","format":"int32"},"notEmpty":{"type":"boolean"}}},"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"}}},"CostItemListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"itemId":{"type":"string","title":"费用项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"}},"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","WAITING_APPROVE","WAITING_SHIPMENT","SHIPPED","PAID","COMPLETED","REJECTED"],"title":"采购订单状态: 0_草稿;1_审核中;2_审批中;3_待发货;4_已发货;5_已驳回;6_已撤回;7_已关闭;8_已完结"}},"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":"删除经销商付款账户"},"CostItemDestroyCmd":{"type":"object","properties":{"itemId":{"type":"string","title":"费用项目ID"}},"required":["itemId"],"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":"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":"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/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/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/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/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/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/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/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"},"itemId":{"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":"是否需要数量和价格"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"}},"required":["costType","count","itemId","name","orderCostId","price","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":"产品名称"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联成本费用id"},"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":{"itemId":{"type":"string","title":"项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"},"requireQuantityAndPrice":{"type":"boolean","title":"是否需要填写数量和单价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["costType","itemId","name","price","requireQuantityAndPrice","showInEntry","status","unit"],"title":"费用项目"},"ProductVO":{"type":"object","properties":{"productId":{"type":"string","title":"产品ID"},"name":{"type":"string","title":"产品名称"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联成本费用id"},"remark":{"type":"string","title":"备注"},"sort":{"type":"number","title":"排序号"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"costItemVOList":{"type":"array","items":{"$ref":"#/components/schemas/CostItemVO"},"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"}}},"CostItemUpdateCmd":{"type":"object","properties":{"itemId":{"type":"string","title":"费用项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"},"requireQuantityAndPrice":{"type":"boolean","title":"是否需要填写数量和单价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["costType","itemId","name","price","requireQuantityAndPrice","showInEntry","status","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":"经销商拖拽"},"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":"产品名称"},"costItemIds":{"type":"array","items":{"type":"integer","format":"int64"},"title":"关联成本费用id"},"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":"经销商付款账户创建"},"CostItemCreateCmd":{"type":"object","properties":{"itemId":{"type":"string","title":"项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"},"requireQuantityAndPrice":{"type":"boolean","title":"是否需要填写数量和单价"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["costType","itemId","name","price","requireQuantityAndPrice","showInEntry","status","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":"经销商付款账户查询"},"CostItemShowQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"itemId":{"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"}}},"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_禁用;"},"itemId":{"type":"string","title":"费用项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"},"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"}}},"CostItemListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"itemId":{"type":"string","title":"费用项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST","WORKER_ADVANCE","PRODUCTION_ADVANCE"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"}},"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":"删除经销商付款账户"},"CostItemDestroyCmd":{"type":"object","properties":{"itemId":{"type":"string","title":"费用项目ID"}},"required":["itemId"],"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":"删除协议"}}}}