diff --git a/packages/app-client/config/dev.ts b/packages/app-client/config/dev.ts index 01293c7..86edac3 100644 --- a/packages/app-client/config/dev.ts +++ b/packages/app-client/config/dev.ts @@ -10,7 +10,10 @@ export default { }, defineConstants: { "process.env.TARO_APP_ID": '"wxa080848726642f73"', - "process.env.TARO_API_DOMAIN": '"/api"', + "process.env.TARO_API_DOMAIN": + process.env.TARO_ENV === "h5" + ? '"/api"' + : '"https://api.erp.qilincloud168.com"', }, mini: { miniCssExtractPluginOption: { diff --git a/packages/app-client/config/prod.ts b/packages/app-client/config/prod.ts index 450a983..7019b56 100644 --- a/packages/app-client/config/prod.ts +++ b/packages/app-client/config/prod.ts @@ -18,7 +18,10 @@ export default { }, defineConstants: { "process.env.TARO_APP_ID": '"wxa080848726642f73"', - "process.env.TARO_API_DOMAIN": '"https://api.erp.qilincloud168.com"', + "process.env.TARO_API_DOMAIN": + process.env.TARO_ENV === "h5" + ? '"/api"' + : '"https://api.erp.qilincloud168.com"', }, mini: { miniCssExtractPluginOption: { diff --git a/packages/app-client/openapi2ts.config.ts b/packages/app-client/openapi2ts.config.ts index 9acb974..317691b 100644 --- a/packages/app-client/openapi2ts.config.ts +++ b/packages/app-client/openapi2ts.config.ts @@ -18,4 +18,12 @@ export default [ projectName: "business", namespace: "BusinessAPI", }, + { + requestLibPath: "import request from '../poster-request';", + // schemaPath: 'http://localhost:8080/mdb-business/v3/api-docs', + schemaPath: path.resolve(__dirname, "../../swagger/poster.json"), + serversPath: "./src/services", + projectName: "poster", + namespace: "PosterAPI", + }, ]; diff --git a/packages/app-client/src/app.config.ts b/packages/app-client/src/app.config.ts index f9b99a1..f1a2c5f 100644 --- a/packages/app-client/src/app.config.ts +++ b/packages/app-client/src/app.config.ts @@ -40,7 +40,7 @@ config = { // 发货单 { root: "pages/delivery", - pages: ["list", "document"], + pages: ["list", "document/delivery", "document/purchase"], }, ], permission: { @@ -49,7 +49,7 @@ config = { }, }, tabBar: { - custom: false, + custom: process.env.TARO_ENV === "weapp", color: "#000000", selectedColor: "#DC143C", backgroundColor: "#ffffff", diff --git a/packages/app-client/src/components/purchase/module/OrderCost.tsx b/packages/app-client/src/components/purchase/module/OrderCost.tsx index 1923af8..a0a743b 100644 --- a/packages/app-client/src/components/purchase/module/OrderCost.tsx +++ b/packages/app-client/src/components/purchase/module/OrderCost.tsx @@ -36,38 +36,75 @@ export default forwardRef( showInEntry: true, }, }); - const initialList = - data.data?.map((item) => { - // 查找是否在purchaseOrder中已有该item的记录 - const existingItem = value?.find( - (costItem) => costItem.itemId === item.itemId, - ); + const costItemList = data.data; - return { - orderCostId: generateShortId(), - itemId: item.itemId, - name: item.name, - price: item.price, - unit: item.unit, - selected: existingItem ? existingItem.selected : false, - count: existingItem ? existingItem.count : 1, - payerType: existingItem ? existingItem.payerType : undefined, - principal: existingItem ? existingItem.principal : "", - costType: item.costType, - }; - }) || []; + if (costItemList) { + // 人工辅料选中 + const initialList = + costItemList + ?.filter( + (item) => + item.costType === "HUMAN_COST" || + item.costType === "PACKAGING_MATERIALS", + ) + .map((item) => { + // 查找是否在purchaseOrder中已有该item的记录 + const existingItem = value?.find( + (costItem) => costItem.itemId === item.itemId, + ); - setCostItemVOList(initialList as CostItem[]); + console.log("existingItem", existingItem, value) - // 初始化总的工头姓名(如果有启用且费用承担方为"我方"的项目) - const enabledUsItems = initialList.filter( - (item) => - item.selected && - item.payerType === "US" && - item.costType === "HUMAN_COST", - ); - if (enabledUsItems.length > 0 && enabledUsItems[0].principal) { - setPrincipal(enabledUsItems[0].principal || ""); + return { + orderCostId: existingItem + ? existingItem.orderCostId + : generateShortId(), + itemId: item.itemId, + name: item.name, + price: item.price, + unit: item.unit, + selected: existingItem ? existingItem.selected : false, + count: existingItem ? existingItem.count : 1, + payerType: existingItem ? existingItem.payerType : undefined, + principal: existingItem ? existingItem.principal : "", + costType: item.costType, + }; + }) || []; + + setCostItemVOList([ + ...(initialList || []), + ...(value + ?.filter( + (item) => + item.costType === "WORKER_ADVANCE" || + item.costType === "PRODUCTION_ADVANCE", + ) + .map((item) => { + return { + orderCostId: item.orderCostId, + itemId: item.itemId, + name: item.name, + price: item.price, + unit: item.unit, + selected: item.selected, + count: item.count, + payerType: item.payerType, + principal: item.principal, + costType: item.costType, + }; + }) || []), + ]); + + // 初始化总的工头姓名(如果有启用且费用承担方为"我方"的项目) + const enabledUsItems = initialList.filter( + (item) => + item.selected && + item.payerType === "US" && + item.costType === "HUMAN_COST", + ); + if (enabledUsItems.length > 0 && enabledUsItems[0].principal) { + setPrincipal(enabledUsItems[0].principal || ""); + } } }; @@ -253,7 +290,7 @@ export default forwardRef( // 渲染项目列表 const renderItemList = (items: CostItem[], type: string) => { return items.map((item) => ( - + @@ -384,10 +421,10 @@ export default forwardRef( }; return ( - - - 人工费用 - + + + 人工费用 + ( {/* 总的工头姓名输入框 */} {shouldShowPrincipalInput() && ( - + 工头叫什么名字 ( )} - - 辅料费用 - + + 辅料费用 + ( setOrderDealer({ ...orderDealer, - dealerId: dealerVO.dealerId, - shortName: dealerVO?.shortName!, - dealerType: dealerVO.dealerType!, - enableShare: dealerVO.enableShare, - shareRatio: dealerVO.shareRatio, - freightCostFlag: dealerVO.freightCostFlag, - strawMatCostFlag: dealerVO.strawMatCostFlag, - includePackingFlag: dealerVO.includePackingFlag, - documentTypes: dealerVO.documentTypes, + ...dealerVO, }); // 校验经销商信息 @@ -485,7 +477,7 @@ export default forwardRef( const { data } = await business.extraction.vehicleExtraction({ message: message, - dealerNames: '', + dealerNames: "", }); const newVehicle = data.data as BusinessAPI.VehicleExtractionVO; diff --git a/packages/app-client/src/components/purchase/module/Weigh.tsx b/packages/app-client/src/components/purchase/module/Weigh.tsx index 7a3ae39..b429372 100644 --- a/packages/app-client/src/components/purchase/module/Weigh.tsx +++ b/packages/app-client/src/components/purchase/module/Weigh.tsx @@ -5,12 +5,14 @@ import { Toast, Uploader, UploaderFileItem, + Popup, } from "@nutui/nutui-react-taro"; import { Icon } from "@/components"; import { SupplierVO } from "@/types/typings"; import { forwardRef, useEffect, useImperativeHandle, useState } from "react"; import { uploadFile } from "@/utils/uploader"; import { validatePrice } from "@/utils/format"; +import { business } from "@/services"; // 定义ref暴露的方法接口 export interface WeighRef { @@ -22,13 +24,30 @@ interface IWeightProps { onChange: (supplierVO: SupplierVO) => void; isFirst?: boolean; changePaper: (isPaper: boolean) => void; + changeProduct: (productVO: BusinessAPI.ProductVO) => void; } export default forwardRef(function Weigh(props, ref) { - const { value, onChange, isFirst, changePaper } = props; + const { value, onChange, isFirst, changePaper, changeProduct } = props; const [supplierVO, setSupplierVO] = useState(); + useEffect(() => { + // 获取产品列表 + business.product + .listProduct({ + productListQry: { + status: true, + }, + }) + .then(({ data }) => { + if (data.success) { + const products = data.data || []; + setProductList(products); + } + }); + }, []); + // 初始化数据 useEffect(() => { setSupplierVO(value); @@ -69,10 +88,19 @@ export default forwardRef(function Weigh(props, ref) { UploaderFileItem[] >([]); + const [isProductIdError, setProductIdError] = useState<{ + [key: string]: boolean; + }>({}); // 添加瓜农是否选择西瓜品牌的错误状态 + const [isPaperError, setIsPaperError] = useState<{ [key: string]: boolean; }>({}); // 添加是否为最后一个瓜农的错误状态 + const [productPopupVisible, setProductPopupVisible] = useState(false); + const [selectedProduct, setSelectedProduct] = useState(""); + const [customProduct, setCustomProduct] = useState(""); + const [productList, setProductList] = useState([]); + // 添加三个字段的错误状态 const [emptyWeightError, setEmptyWeightError] = useState<{ [key: string]: boolean; @@ -136,6 +164,23 @@ export default forwardRef(function Weigh(props, ref) { return isPaper !== undefined && isPaper !== null; }; + // 校验西瓜品种 + const validateProductId = (productId: any) => { + if (productId === "" || productId === undefined || productId === null) { + setProductIdError((prev) => ({ + ...prev, + [supplierVO.orderSupplierId]: true, + })); + return false; + } + + setProductIdError((prev) => ({ + ...prev, + [supplierVO.orderSupplierId]: false, + })); + return true; + }; + // 校验空磅重量 const validateEmptyWeight = (value: any) => { if (value === "" || value === undefined || value === null) { @@ -225,6 +270,7 @@ export default forwardRef(function Weigh(props, ref) { supplierVO.purchasePrice, ); const isPaperValid = validateIsPaper(supplierVO.isPaper); + const isProductIdValid = validateProductId(supplierVO.productId); // 更新错误状态 setIsPaperError((prev) => ({ @@ -232,6 +278,12 @@ export default forwardRef(function Weigh(props, ref) { [id]: !isPaperValid, })); + // 更新错误状态 + setProductIdError((prev) => ({ + ...prev, + [id]: !isProductIdValid, + })); + setPriceError((prev) => ({ ...prev, [id]: !isPurchasePriceValid, @@ -251,6 +303,7 @@ export default forwardRef(function Weigh(props, ref) { isEmptyWeightValid && isTotalWeightValid && isPurchasePriceValid && + isProductIdValid && isPaperValid; if (!isValid) { @@ -266,53 +319,222 @@ export default forwardRef(function Weigh(props, ref) { return ( - {isFirst && ( - - - 空车过磅时带纸箱了吗? - - { - // 清除错误状态 - setIsPaperError((prev) => ({ - ...prev, - [supplierVO.orderSupplierId]: false, - })); - - // 根据用户选择设置是否包含空纸箱 - const isPaperValue = - value === "true" - ? true - : value === "false" - ? false - : undefined; - setSupplierVO({ - ...supplierVO, - isPaper: isPaperValue, - }); - - changePaper(isPaperValue!); + {/* 西瓜品种选择弹窗 */} + setProductPopupVisible(false)} + round + closeable + > + + + + 请选择具体品种 + + + {productList.map((product) => ( + setSelectedProduct(product.name)} + > + + {product.name} + + + ))} + + {selectedProduct === "其他(请注明)" && ( + + + { + setCustomProduct(value); + }} + /> + + + )} + + { + setProductPopupVisible(false); + setSelectedProduct(""); + setCustomProduct(""); }} > - 带了 - 没带 - + 取消 + + { + let finalProduct = ""; + if (selectedProduct === "其他(请注明)") { + finalProduct = customProduct; + } else if (selectedProduct) { + // 从产品列表中找到选中产品的ID + const selectedProductObj = productList.find( + (p) => p.name === selectedProduct, + ); + if (selectedProductObj) { + finalProduct = selectedProductObj.productId; + } + } + + if (finalProduct) { + // 找到选中的产品对象 + const productObj = productList.find( + (p) => p.name === selectedProduct, + ); + + if (productObj) { + setSupplierVO({ + ...supplierVO, + productId: productObj.productId, + productName: + selectedProduct === "其他(请注明)" + ? customProduct + : productObj.name, + }); + + changeProduct({ + ...productObj, + name: + selectedProduct === "其他(请注明)" + ? customProduct + : productObj.name, + }); + } + + setProductPopupVisible(false); + setSelectedProduct(""); + setCustomProduct(""); + } + }} + > + 确定 + - {isPaperError[supplierVO.orderSupplierId] && ( - - 请选择空车过磅时有没有带纸箱 + + + {isFirst && ( + <> + + + 空车过磅时带纸箱了吗? + + { + // 清除错误状态 + setIsPaperError((prev) => ({ + ...prev, + [supplierVO.orderSupplierId]: false, + })); + + // 根据用户选择设置是否包含空纸箱 + const isPaperValue = + value === "true" + ? true + : value === "false" + ? false + : undefined; + setSupplierVO({ + ...supplierVO, + isPaper: isPaperValue, + }); + + changePaper(isPaperValue!); + }} + > + 带了 + 没带 + + + + {isPaperError[supplierVO.orderSupplierId] && ( + + 请选择空车过磅时有没有带纸箱 + + )} + + + {productList.length > 0 && ( + + + 西瓜品种 + + { + // 清除错误状态 + setProductIdError((prev) => ({ + ...prev, + [supplierVO.orderSupplierId]: false, + })); + + if (value === "other") { + // 点击"其他"时打开弹窗 + setProductPopupVisible(true); + } else { + // 根据用户选择设置西瓜品种 + const productId = value as string; + const productVO = productList.find( + (p) => p.productId === productId, + ); + + if (productVO) { + setSupplierVO({ + ...supplierVO, + productId: productVO?.productId, + productName: productVO?.name, + }); + + changeProduct(productVO); + } + } + }} + > + + {supplierVO.productName || productList?.[0].name} + + 其他 + + + + {isProductIdError[supplierVO.orderSupplierId] && ( + + 请选择西瓜品种 + + )} )} - + )} diff --git a/packages/app-client/src/components/purchase/section/LaborInfoSection.tsx b/packages/app-client/src/components/purchase/section/LaborInfoSection.tsx index aa218c9..c16a6da 100644 --- a/packages/app-client/src/components/purchase/section/LaborInfoSection.tsx +++ b/packages/app-client/src/components/purchase/section/LaborInfoSection.tsx @@ -1,35 +1,16 @@ -import { Button, Input, Popup, SafeArea, Table } from "@nutui/nutui-react-taro"; +import { ScrollView, View } from "@tarojs/components"; +import { + Button, + Input, + Picker, + Popup, + SafeArea, +} from "@nutui/nutui-react-taro"; import { useEffect, useState } from "react"; import { Icon } from "@/components"; -import { validatePrice } from "@/utils/format"; -import { View } from "@tarojs/components"; - -const defaultColumns = [ - { - title: "岗位", - key: "name", - fixed: "left", - }, - { - title: "人数(人)", - key: "count", - }, - { - title: "工头姓名", - key: "principal", - }, - { - title: "费用承担方", - key: "payerType", - render: (value: BusinessAPI.OrderCost) => { - return value.payerType === "US" ? "我方" : "瓜农"; - }, - }, - { - title: "费用(元)", - key: "price", - }, -]; +import { business } from "@/services"; +import { formatCurrency, validatePrice } from "@/utils/format"; +import { generateShortId } from "@/utils/generateShortId"; export default function LaborInfoSection(props: { purchaseOrderVO: BusinessAPI.PurchaseOrderVO; @@ -38,379 +19,521 @@ export default function LaborInfoSection(props: { }) { const { purchaseOrderVO, onChange, readOnly } = props; - const [columns, setColumns] = useState(defaultColumns); - - useEffect(() => { - if (!readOnly) { - setColumns([ - { - title: "", - key: "edit", - fixed: "left", - render: (value: any) => { - return ( - { - // 设置临时编辑值为当前值 - setTempEditValues((prev) => ({ - ...prev, - [value.orderCostId]: { - count: - editValues[value.orderCostId]?.count !== undefined - ? editValues[value.orderCostId]?.count - : value.count, - payerType: - editValues[value.orderCostId]?.payerType !== undefined - ? editValues[value.orderCostId]?.payerType - : value.payerType, - price: - editValues[value.orderCostId]?.price !== undefined - ? editValues[value.orderCostId]?.price - : value.price, - principal: - editValues[value.orderCostId]?.principal !== undefined - ? editValues[value.orderCostId]?.principal - : value.principal, - }, - })); - setVisiblePopup((prev) => ({ - ...prev, - [value.orderCostId]: true, - })); - }} - > - - - ); - }, - }, - ...defaultColumns, - ]); - } - }, [readOnly]); - - // 弹窗可见状态 + // 弹窗相关状态 const [visiblePopup, setVisiblePopup] = useState<{ [key: string]: boolean }>( {}, ); + // 新增人工费弹窗状态 + const [showAddCostPopup, setShowAddCostPopup] = useState(false); + + // 新增人工费表单数据 + const [newCostData, setNewCostData] = useState({ + costType: undefined, // 费用类型 + itemId: "", // 费用项目ID + name: "", // 费用名称 + quantity: 0, // 数量(人数) + unit: "", // 单位 + unitPrice: "", // 单价 + amount: "", // 金额 + payerType: "US", // 费用承担方,默认我方 + principal: "", // 工头姓名 + requireQuantityAndPrice: false, + }); + + console.log("newCostData", newCostData); + + // Picker可见状态 + const [pickerVisible, setPickerVisible] = useState({ + costType: false, // 费用类型Picker + costItem: false, // 费用项目Picker + }); + + // 费用项目列表 + const [costItems, setCostItems] = useState([]); + // 编辑值的状态 const [editValues, setEditValues] = useState<{ [key: string]: { - count?: number; - payerType?: "US" | "OTHER"; - price?: number | string; + count: number; + price: number; + name?: string; principal?: string; + payerType?: "US" | "OTHER"; }; }>({}); // 临时编辑值的状态(用于在保存前暂存编辑的值) const [tempEditValues, setTempEditValues] = useState<{ [key: string]: { - count?: number; - payerType?: "US" | "OTHER"; - price?: number | string; + count: number; + price: number; + name?: string; principal?: string; + payerType?: "US" | "OTHER"; }; }>({}); // 初始化编辑值 const initEditValues = ( - costId: string, - count?: number, - payerType?: "US" | "OTHER", - price?: number, + itemId: string, + count: number, + price: number, + name?: string, principal?: string, + payerType?: "US" | "OTHER", ) => { - const updates: { - editValuesUpdate?: { - count?: number; - payerType?: "US" | "OTHER"; - price?: number; - principal?: string; - }; - tempEditValuesUpdate?: { - count?: number; - payerType?: "US" | "OTHER"; - price?: number; - principal?: string; - }; - } = {}; - - if (!editValues[costId]) { - updates.editValuesUpdate = { count, payerType, price, principal }; + if (!editValues[itemId]) { + setEditValues((prev) => ({ + ...prev, + [itemId]: { count, price, name, principal, payerType }, + })); } // 同时初始化临时编辑值 - if (!tempEditValues[costId]) { - updates.tempEditValuesUpdate = { count, payerType, price, principal }; + if (!tempEditValues[itemId]) { + setTempEditValues((prev) => ({ + ...prev, + [itemId]: { count, price, name, principal, payerType }, + })); } - - return updates; }; - // 处理数据过滤和映射 - const laborCosts = - purchaseOrderVO?.orderCostList - ?.filter((cost) => { - return cost.costType === "HUMAN_COST"; - }) - ?.map((cost) => { - return { - ...cost, - orderCostId: cost.orderCostId, - name: cost.name, - count: cost.count, - principal: cost.principal, - costType: cost.costType, - price: cost.price, - payerType: cost.payerType, - }; - }) || []; + // 费用类型选项 + const costTypeOptions = [ + { label: "产地垫付", value: "PRODUCTION_ADVANCE" }, + { + label: "工头垫付", + value: "WORKER_ADVANCE", + }, + ]; - // 初始化所有人工费用项的编辑值 + // 获取费用项目列表 useEffect(() => { - const newEditValues = { ...editValues }; - const newTempEditValues = { ...tempEditValues }; - let hasEditValuesChanged = false; - let hasTempEditValuesChanged = false; - - laborCosts.forEach((cost) => { - const costId = cost.orderCostId || ""; - // 为所有项初始化编辑值 - const updates = initEditValues( - costId, - cost.count, - cost.payerType, - cost.price, - cost.principal, - ); - - if (updates.editValuesUpdate) { - newEditValues[costId] = updates.editValuesUpdate; - hasEditValuesChanged = true; + const fetchCostItems = async () => { + try { + const { data } = await business.costItem.listCostItem({ + costItemListQry: { + status: true, + showInEntry: true, + }, + }); + setCostItems(data.data || []); + } catch (error) { + console.error("获取费用项目列表失败:", error); } + }; - if (updates.tempEditValuesUpdate) { - newTempEditValues[costId] = updates.tempEditValuesUpdate; - hasTempEditValuesChanged = true; - } - }); + fetchCostItems(); + }, []); - if (hasEditValuesChanged) { - setEditValues(newEditValues); - } + // 人工费 + const humanCosts = + purchaseOrderVO.orderCostList?.filter( + (item) => item.costType === "HUMAN_COST", + ) || []; - if (hasTempEditValuesChanged) { - setTempEditValues(newTempEditValues); - } - }, [laborCosts]); + // 产地垫付 + const productionAdvanceCosts = + purchaseOrderVO.orderCostList?.filter( + (item) => item.costType === "PRODUCTION_ADVANCE", + ) || []; + + // 工头垫付 + const workerAdvanceCosts = + purchaseOrderVO.orderCostList?.filter( + (item) => item.costType === "WORKER_ADVANCE", + ) || []; // 当editValues发生变化时,更新purchaseOrderVO useEffect(() => { // 只有当onChange存在时才更新 - if (onChange && !readOnly) { - // 创建新的purchaseOrderVO对象 - const newPurchaseOrderVO = { ...purchaseOrderVO }; + if (onChange) { + // 获取现有的orderCostList + const existingOrderCostList = purchaseOrderVO.orderCostList || []; - // 更新人工费用列表中的信息 - if (newPurchaseOrderVO.orderCostList) { - newPurchaseOrderVO.orderCostList = newPurchaseOrderVO.orderCostList - .map((cost) => { - if (cost.costType === "HUMAN_COST") { - const editValue = editValues[cost.orderCostId || ""]; - if (editValue) { - return { - ...cost, - count: - editValue.count !== undefined - ? editValue.count - : cost.count, - payerType: - editValue.payerType !== undefined - ? editValue.payerType - : cost.payerType, - price: Number( - editValue.price !== undefined - ? editValue.price - : cost.price, - ), - principal: - editValue.principal !== undefined - ? editValue.principal - : cost.principal, - }; - } - } - return cost; - }) - .filter((cost) => { - // 过滤掉已被删除的人工费用项 - if (cost.costType === "HUMAN_COST") { - // 检查该项是否在editValues中存在且未被标记为删除 - return editValues[cost.orderCostId || ""] !== undefined; - } - return true; - }); - } + // 更新已有的成本项 + const updatedOrderCostList = existingOrderCostList.map((item) => { + if (editValues[item.orderCostId]) { + return { + ...item, + price: + editValues[item.orderCostId].price !== undefined + ? editValues[item.orderCostId].price + : item.price, + count: + editValues[item.orderCostId].count !== undefined + ? editValues[item.orderCostId].count + : item.count, + name: + editValues[item.orderCostId].name !== undefined + ? editValues[item.orderCostId].name + : item.name, + principal: + editValues[item.orderCostId].principal !== undefined + ? editValues[item.orderCostId].principal + : item.principal, + payerType: + editValues[item.orderCostId].payerType !== undefined + ? editValues[item.orderCostId].payerType + : item.payerType, + }; + } + // 未修改的成本项保持原样 + return item; + }); + + // 创建新的purchaseOrderVO对象 + const newPurchaseOrderVO = { + ...purchaseOrderVO, + orderCostList: updatedOrderCostList, + }; // 调用onChange回调 - onChange(newPurchaseOrderVO); + onChange(newPurchaseOrderVO as any); } }, [editValues]); return ( <> - + + + + 工头:{humanCosts?.[0].principal} + + + {humanCosts.map((item, index) => { + return {`${item.name} ${item.count}人`}; + })} + + + + 产地垫付 + {/* 产地垫付 */} + {productionAdvanceCosts.map((item, index) => { + // 初始化编辑值,包括费用承担方和工头姓名 + initEditValues( + item.orderCostId, + item.count, + item.price, + item.name, + item.principal, + item.payerType, + ); - {/* 人工费用编辑弹窗 */} - {laborCosts.map((cost) => ( - - setVisiblePopup((prev) => ({ - ...prev, - [cost.orderCostId || ""]: false, - })) - } - onOverlayClick={() => - setVisiblePopup((prev) => ({ - ...prev, - [cost.orderCostId || ""]: false, - })) - } - lockScroll - > + return ( + + setVisiblePopup((prev) => ({ + ...prev, + [item.orderCostId]: true, + })) + } + > + + {index + 1}-{item.name} + {item.principal && `(${item.principal})`} + + + {formatCurrency( + Number( + (editValues[item.orderCostId]?.price || item.price) * + (editValues[item.orderCostId]?.count || item.count), + ), + )} + {!readOnly && ( + + + + )} + + + ); + })} + + + 工头垫付 + {/* 工头垫付 */} + {workerAdvanceCosts.map((item, index) => { + // 初始化编辑值,包括费用承担方和工头姓名 + initEditValues( + item.orderCostId, + item.count, + item.price, + item.name, + item.principal, + item.payerType, + ); + + return ( + + setVisiblePopup((prev) => ({ + ...prev, + [item.orderCostId]: true, + })) + } + > + + {index + 1}-{item.name} + {item.principal && `(${item.principal})`} + + + {formatCurrency( + Number( + (editValues[item.orderCostId]?.price || item.price) * + (editValues[item.orderCostId]?.count || item.count), + ), + )} + {!readOnly && ( + + + + )} + + + ); + })} + + + {!readOnly && ( + + )} + + + {/* 新增其他人工费 */} + setShowAddCostPopup(false)} + onOverlayClick={() => setShowAddCostPopup(false)} + lockScroll + > + + {/* 费用承担方选择 */} - 费用承担方 + 费用垫付方 - { - setTempEditValues((prev) => ({ - ...prev, - [cost.orderCostId]: { - ...prev[cost.orderCostId], - payerType: "US", - }, - })); - }} - > - 我方 - - { - setTempEditValues((prev) => ({ - ...prev, - [cost.orderCostId]: { - ...prev[cost.orderCostId], - payerType: "OTHER", - // 当选择瓜农时,清空工头姓名 - principal: "", - }, - })); - }} - > - 瓜农 - + {costTypeOptions.map((option) => ( + { + setNewCostData((prev) => ({ + ...prev, + costType: option.value, + })); + }} + > + {option.label} + + ))} - {/* 只有费用承担方为我方时才显示工头姓名 */} - {tempEditValues[cost.orderCostId]?.payerType !== "OTHER" && ( + {/* 垫付项目 */} + {newCostData.costType && ( <> - 工头姓名 + 垫付项目 - + + setPickerVisible((prev) => ({ ...prev, costItem: true })) + } + > { - setTempEditValues((prev) => ({ - ...prev, - [cost.orderCostId || ""]: { - ...prev[cost.orderCostId || ""], - principal: value, - }, - })); - }} + type="text" + placeholder="请选择垫付项目" + value={newCostData.name || ""} + disabled + /> + + item.costType === newCostData.costType) + .filter((item) => { + if (newCostData.costType === 'PRODUCTION_ADVANCE') { + // 检查该项目是否已经被选择 + return !productionAdvanceCosts.some( + (hc) => hc.itemId === item.itemId, + ); + } + + return !workerAdvanceCosts.some( + (hc) => hc.itemId === item.itemId, + ); + }) + .map((item) => ({ + label: item.name, + value: item.itemId, + })), + ]} + onConfirm={(_, values) => { + const selectedValue = values[0] as string; + const selectedItem = costItems.find( + (item) => item.itemId === selectedValue, + ); + if (selectedItem) { + setNewCostData((prev) => ({ + ...prev, + itemId: selectedValue, + name: selectedItem.name, + payerType: "US", + quantity: selectedItem.requireQuantityAndPrice ? 0 : 1, // 数量(人数) + unit: selectedItem.requireQuantityAndPrice + ? selectedItem.unit + : "元", // 单位 + unitPrice: "", // 单价 + amount: "", // 金额 + principal: "", // 工头姓名 + requireQuantityAndPrice: + selectedItem.requireQuantityAndPrice, + })); + } + setPickerVisible((prev) => ({ ...prev, costItem: false })); + }} + onCancel={() => + setPickerVisible((prev) => ({ ...prev, costItem: false })) + } + onClose={() => + setPickerVisible((prev) => ({ ...prev, costItem: false })) + } + /> )} - - 人数 - - - { - const numValue = validatePrice(value); - if (numValue !== undefined) { - setTempEditValues((prev) => ({ - ...prev, - [cost.orderCostId || ""]: { - ...prev[cost.orderCostId || ""], - count: numValue as number, - }, - })); - } - }} - /> - - - - 费用 - - - { - const numValue = validatePrice(value); - if (numValue !== undefined) { - setTempEditValues((prev) => ({ - ...prev, - [cost.orderCostId || ""]: { - ...prev[cost.orderCostId || ""], - price: numValue as number, - }, - })); - } - }} - /> - - + {/* 数量输入 */} + {newCostData.itemId && + newCostData.costType && + newCostData.requireQuantityAndPrice && ( + <> + + 数量 + + + { + const numValue = validatePrice(value); + if (numValue !== undefined) { + setNewCostData((prev) => ({ + ...prev, + quantity: numValue as any, + })); + } + }} + /> + {newCostData.unit} + + + {/* 单价输入 */} + + 单价 + + + { + const numValue = validatePrice(value); + if (numValue !== undefined) { + setNewCostData((prev) => ({ + ...prev, + unitPrice: numValue as any, + })); + } + }} + /> + + + + {/* 金额展示 */} + + + 金额 + + + {formatCurrency( + Number(newCostData.quantity || 0) * + Number(newCostData.unitPrice || 0), + )}{" "} + 元 + + + + )} + + {newCostData.itemId && + newCostData.costType && + !newCostData.requireQuantityAndPrice && ( + <> + + 金额 + + + { + const numValue = validatePrice(value); + if (numValue !== undefined) { + setNewCostData((prev) => ({ + ...prev, + unitPrice: numValue as any, + amount: numValue as any, + })); + } + }} + /> + + + + )} @@ -419,12 +542,230 @@ export default function LaborInfoSection(props: { size="large" block type="default" - onClick={() => + onClick={() => { + setShowAddCostPopup(false); + + // 重置表单 + setNewCostData({ + costType: undefined, // 费用类型 + itemId: "", + name: "", // 费用名称 + quantity: 0, // 数量(人数) + unit: "", // 单位 + unitPrice: "", // 单价 + amount: "", // 金额 + payerType: "", // 费用承担方,默认我方 + principal: "", // 工头姓名 + requireQuantityAndPrice: false, + }); + }} + > + 取消 + + + + + + + + + + + + {/* 产地垫付 */} + {productionAdvanceCosts.map((item) => { + // 获取费用项目的 requireQuantityAndPrice 属性 + const costItem = costItems.find((cost) => cost.itemId === item.itemId); + const requireQuantityAndPrice = costItem?.requireQuantityAndPrice ?? false; + + return ( + + setVisiblePopup((prev) => ({ ...prev, [item.orderCostId]: false })) + } + onOverlayClick={() => + setVisiblePopup((prev) => ({ ...prev, [item.orderCostId]: false })) + } + lockScroll + > + + {requireQuantityAndPrice ? ( + <> + + 人数 + + + { + const numValue = validatePrice(value); + if (numValue !== undefined) { + setTempEditValues((prev) => ({ + ...prev, + [item.orderCostId]: { + ...prev[item.orderCostId], + count: numValue as number, + }, + })); + } + }} + /> + + + + + 单价 + + + { + const numValue = validatePrice(value); + if (numValue !== undefined) { + setTempEditValues((prev) => ({ + ...prev, + [item.orderCostId]: { + ...prev[item.orderCostId], + price: numValue as number, + }, + })); + } + }} + /> + + + + ) : ( + <> + + 金额 + + + { + const numValue = validatePrice(value); + if (numValue !== undefined) { + setTempEditValues((prev) => ({ + ...prev, + [item.orderCostId]: { + ...prev[item.orderCostId], + price: numValue as number, + count: 1, + }, + })); + } + }} + /> + + + + )} + + + + + @@ -436,27 +777,23 @@ export default function LaborInfoSection(props: { type="primary" onClick={() => { // 保存时才更新editValues状态 - const updatedEditValues = { - ...tempEditValues[cost.orderCostId || ""], - // 如果费用承担方是瓜农,确保工头姓名为空 - principal: - tempEditValues[cost.orderCostId || ""]?.payerType === - "OTHER" - ? "" - : tempEditValues[cost.orderCostId || ""]?.principal, - }; - - console.log("updatedEditValues: ", updatedEditValues); - setEditValues((prev) => ({ ...prev, - [cost.orderCostId || ""]: updatedEditValues, + [item.orderCostId]: { + ...tempEditValues[item.orderCostId], + // 如果费用承担方是瓜农,清空工头姓名 + principal: + tempEditValues[item.orderCostId]?.payerType === + "OTHER" + ? "" + : tempEditValues[item.orderCostId]?.principal, + }, })); - // 关闭弹窗 + // 这里应该调用更新接口或更新状态 setVisiblePopup((prev) => ({ ...prev, - [cost.orderCostId || ""]: false, + [item.orderCostId]: false, })); }} > @@ -472,14 +809,26 @@ export default function LaborInfoSection(props: { // 删除费用项 setEditValues((prev) => { const newEditValues = { ...prev }; - delete newEditValues[cost.orderCostId || ""]; + delete newEditValues[item.orderCostId]; return newEditValues; }); + // 更新purchaseOrderVO,移除被删除的费用项 + if (onChange) { + const newOrderCostList = ( + purchaseOrderVO.orderCostList || [] + ).filter((cost) => cost.orderCostId !== item.orderCostId); + const newPurchaseOrderVO = { + ...purchaseOrderVO, + orderCostList: newOrderCostList, + }; + onChange(newPurchaseOrderVO); + } + // 关闭弹窗 setVisiblePopup((prev) => ({ ...prev, - [cost.orderCostId || ""]: false, + [item.orderCostId]: false, })); }} > @@ -490,7 +839,204 @@ export default function LaborInfoSection(props: { - ))} + )})} + + {/* 工头垫付 */} + {workerAdvanceCosts.map((item) => { + // 获取费用项目的 requireQuantityAndPrice 属性 + const costItem = costItems.find((cost) => cost.itemId === item.itemId); + const requireQuantityAndPrice = costItem?.requireQuantityAndPrice ?? false; + + return ( + + setVisiblePopup((prev) => ({ ...prev, [item.orderCostId]: false })) + } + onOverlayClick={() => + setVisiblePopup((prev) => ({ ...prev, [item.orderCostId]: false })) + } + lockScroll + > + + {requireQuantityAndPrice ? ( + <> + + 人数 + + + { + const numValue = validatePrice(value); + if (numValue !== undefined) { + setTempEditValues((prev) => ({ + ...prev, + [item.orderCostId]: { + ...prev[item.orderCostId], + count: numValue as number, + }, + })); + } + }} + /> + + + + + 单价 + + + { + const numValue = validatePrice(value); + if (numValue !== undefined) { + setTempEditValues((prev) => ({ + ...prev, + [item.orderCostId]: { + ...prev[item.orderCostId], + price: numValue as number, + }, + })); + } + }} + /> + + + + ) : ( + <> + + 金额 + + + { + const numValue = validatePrice(value); + if (numValue !== undefined) { + setTempEditValues((prev) => ({ + ...prev, + [item.orderCostId]: { + ...prev[item.orderCostId], + price: numValue as number, + count: 1, + }, + })); + } + }} + /> + + + + )} + + + + + + + + + + + + + + + + + )})} ); } diff --git a/packages/app-client/src/components/purchase/section/MaterialCostSection.tsx b/packages/app-client/src/components/purchase/section/MaterialCostSection.tsx index 676518e..09a0ed4 100644 --- a/packages/app-client/src/components/purchase/section/MaterialCostSection.tsx +++ b/packages/app-client/src/components/purchase/section/MaterialCostSection.tsx @@ -1,7 +1,16 @@ import { Text, View } from "@tarojs/components"; -import { Button, Input, Popup, SafeArea } from "@nutui/nutui-react-taro"; +import { + Button, + Input, + Picker, + Popup, + SafeArea, +} from "@nutui/nutui-react-taro"; import { useEffect, useState } from "react"; import { validatePrice } from "@/utils/format"; +import { generateShortId } from "@/utils/generateShortId"; +import { business } from "@/services"; +import { Icon } from "@/components"; export default function MaterialCostSection(props: { purchaseOrderVO: BusinessAPI.PurchaseOrderVO; @@ -15,6 +24,28 @@ export default function MaterialCostSection(props: { {}, ); + // 新增辅料费弹窗状态 + const [showAddCostPopup, setShowAddCostPopup] = useState(false); + + // 新增辅料费表单数据 + const [newCostData, setNewCostData] = useState({ + itemId: "", // 费用项目ID + name: "", // 费用名称 + quantity: 0, // 数量 + unit: "", // 单位 + unitPrice: "", // 单价 + amount: "", // 金额 + requireQuantityAndPrice: false, + }); + + // Picker可见状态 + const [pickerVisible, setPickerVisible] = useState({ + costItem: false, // 费用项目Picker + }); + + // 费用项目列表 + const [costItems, setCostItems] = useState([]); + // 编辑值的状态 const [editValues, setEditValues] = useState<{ [key: string]: { @@ -81,6 +112,26 @@ export default function MaterialCostSection(props: { return updates; }; + // 获取费用项目列表 + useEffect(() => { + const fetchCostItems = async () => { + try { + const { data } = await business.costItem.listCostItem({ + costItemListQry: { + status: true, + showInEntry: true, + costType: "PACKAGING_MATERIALS", // 只获取辅料费用项目 + }, + }); + setCostItems(data.data || []); + } catch (error) { + console.error("获取费用项目列表失败:", error); + } + }; + + fetchCostItems(); + }, []); + // 辅料费(商标费和网套费) const packagingMaterials = purchaseOrderVO.orderCostList?.filter( @@ -230,7 +281,7 @@ export default function MaterialCostSection(props: { - + {amount.toFixed(2) || "0.00"} @@ -268,8 +319,292 @@ export default function MaterialCostSection(props: { ); })} + + {!readOnly && ( + + )} + {/* 新增其他辅料费 */} + setShowAddCostPopup(false)} + onOverlayClick={() => setShowAddCostPopup(false)} + lockScroll + > + + {/* 辅料项目 */} + + 辅料项目 + + + setPickerVisible((prev) => ({ ...prev, costItem: true })) + } + > + + + + { + // 检查该项目是否已经被选择 + return !packagingMaterials.some( + (hc) => hc.itemId === item.itemId, + ); + }) + .map((item) => ({ + label: item.name, + value: item.itemId, + })), + ]} + onConfirm={(_, values) => { + const selectedValue = values[0] as string; + const selectedItem = costItems.find( + (item) => item.itemId === selectedValue, + ); + if (selectedItem) { + setNewCostData((prev) => ({ + ...prev, + itemId: selectedValue, + name: selectedItem.name, + quantity: selectedItem.requireQuantityAndPrice ? 0 : 1, // 数量 + unit: selectedItem.requireQuantityAndPrice + ? selectedItem.unit + : "元", // 单位 + unitPrice: "", // 单价 + amount: "", // 金额 + requireQuantityAndPrice: selectedItem.requireQuantityAndPrice, + })); + } + setPickerVisible((prev) => ({ ...prev, costItem: false })); + }} + onCancel={() => + setPickerVisible((prev) => ({ ...prev, costItem: false })) + } + onClose={() => + setPickerVisible((prev) => ({ ...prev, costItem: false })) + } + /> + + {/* 数量输入 */} + {newCostData.itemId && newCostData.requireQuantityAndPrice && ( + <> + + 数量 + + + { + const numValue = validatePrice(value); + if (numValue !== undefined) { + setNewCostData((prev) => ({ + ...prev, + quantity: numValue as any, + })); + } + }} + /> + {newCostData.unit} + + + {/* 单价输入 */} + + 单价 + + + { + const numValue = validatePrice(value); + if (numValue !== undefined) { + setNewCostData((prev) => ({ + ...prev, + unitPrice: numValue as any, + })); + } + }} + /> + + + + {/* 金额展示 */} + + + 金额 + + + {( + Number(newCostData.quantity || 0) * + Number(newCostData.unitPrice || 0) + ).toFixed(2)}{" "} + 元 + + + + )} + + {newCostData.itemId && !newCostData.requireQuantityAndPrice && ( + <> + + 金额 + + + { + const numValue = validatePrice(value); + if (numValue !== undefined) { + setNewCostData((prev) => ({ + ...prev, + unitPrice: numValue as any, + amount: numValue as any, + })); + } + }} + /> + + + + )} + + + + + + + + + + + + + + {/* 辅料费编辑弹窗 */} {packagingMaterials.map((item) => ( { @@ -204,7 +204,7 @@ export default function PackagingCostSection(props: { return ( <> - + {/* 固定费用 */} {fixedCosts.map((item, index) => { // 初始化编辑值 @@ -212,7 +212,7 @@ export default function PackagingCostSection(props: { return ( setVisiblePopup((prev) => ({ @@ -254,7 +254,7 @@ export default function PackagingCostSection(props: { return ( setVisiblePopup((prev) => ({ @@ -283,18 +283,18 @@ export default function PackagingCostSection(props: { ); })} - - {!readOnly && ( - - )} + {!readOnly && ( + + )} + {/* 新增其他费用*/} 费用类型 - - setPickerVisible((prev) => ({ ...prev, costType: true })) - } - > - option.value === newCostData.costType, - )?.label || "" - } - disabled - /> - + + {costTypeOptions.map((option) => ( + { + setNewCostData((prev) => ({ + ...prev, + costType: option.value, + itemId: "", + name: "", + payee: "", + quantity: "", + unitPrice: "", + amount: "", + })); + }} + > + {option.label} + + ))} - { - const selectedValue = values[0] as string; - setNewCostData((prev) => ({ - ...prev, - costType: selectedValue, - itemId: "", - name: "", - payee: "", - quantity: "", - unitPrice: "", - amount: "", - })); - setPickerVisible((prev) => ({ ...prev, costType: false })); - }} - onCancel={() => - setPickerVisible((prev) => ({ ...prev, costType: false })) - } - onClose={() => - setPickerVisible((prev) => ({ ...prev, costType: false })) - } - /> {/* 固定费用子类型 */} {newCostData.costType === "FIXED_COST" && ( @@ -381,7 +364,14 @@ export default function PackagingCostSection(props: { { + // 检查该固定费用类型是否已存在于fixedCosts中 + return !fixedCosts.some( + (cost) => cost.name === option.label, + ); + }), + ]} onConfirm={(_, values) => { const selectedValue = values[0] as string; const selectedItem = fixedCostOptions.find( @@ -479,7 +469,21 @@ export default function PackagingCostSection(props: { size="large" block type="default" - onClick={() => setShowAddCostPopup(false)} + onClick={() => { + setShowAddCostPopup(false); + // 重置表单 + setNewCostData({ + payerType: "", + principal: "", + costType: "", + itemId: generateShortId(), + name: "", + payee: "", + quantity: "", + unitPrice: "", + amount: "", + }); + }} > 取消 diff --git a/packages/app-client/src/pages/delivery/document.config.ts b/packages/app-client/src/pages/delivery/document/delivery.config.ts similarity index 100% rename from packages/app-client/src/pages/delivery/document.config.ts rename to packages/app-client/src/pages/delivery/document/delivery.config.ts diff --git a/packages/app-client/src/pages/delivery/document.tsx b/packages/app-client/src/pages/delivery/document/delivery.tsx similarity index 99% rename from packages/app-client/src/pages/delivery/document.tsx rename to packages/app-client/src/pages/delivery/document/delivery.tsx index 4a79720..e55a8a3 100644 --- a/packages/app-client/src/pages/delivery/document.tsx +++ b/packages/app-client/src/pages/delivery/document/delivery.tsx @@ -2265,7 +2265,6 @@ export default hocAuth(function Page(props: CommonComponent) { type="default" size="large" block - className="max-w-[150px] flex-1" onClick={handleDownload} > 下载文档 @@ -2279,7 +2278,6 @@ export default hocAuth(function Page(props: CommonComponent) { type="default" size="large" block - className="max-w-[150px] flex-1" onClick={handleView} > 查看文档 @@ -2290,7 +2288,6 @@ export default hocAuth(function Page(props: CommonComponent) { type="primary" size="large" block - className="max-w-[150px] flex-1" onClick={handleShare} > 转发好友 diff --git a/packages/app-client/src/pages/delivery/document/purchase.config.ts b/packages/app-client/src/pages/delivery/document/purchase.config.ts new file mode 100644 index 0000000..41c4dc2 --- /dev/null +++ b/packages/app-client/src/pages/delivery/document/purchase.config.ts @@ -0,0 +1,4 @@ +export default definePageConfig({ + navigationBarTitleText: "采购底单单据生成", + navigationBarBackgroundColor: "#fff", +}); diff --git a/packages/app-client/src/pages/delivery/document/purchase.tsx b/packages/app-client/src/pages/delivery/document/purchase.tsx new file mode 100644 index 0000000..6ef1986 --- /dev/null +++ b/packages/app-client/src/pages/delivery/document/purchase.tsx @@ -0,0 +1,2390 @@ +import hocAuth from "@/hocs/auth"; +import { CommonComponent } from "@/types/typings"; +import { ReactNode, useEffect, useRef, useState } from "react"; +import { Text, View } from "@tarojs/components"; +import { + Button, + DatePicker, + Dialog, + Input, + PickerOption, + SafeArea, + Step, + Steps, + Toast, +} from "@nutui/nutui-react-taro"; +import shipOrder from "@/constant/shipOrder"; +import Taro from "@tarojs/taro"; +import classNames from "classnames"; +import { business } from "@/services"; +import dayjs from "dayjs"; +import buildUrl from "@/utils/buildUrl"; + +export default hocAuth(function Page(props: CommonComponent) { + const { router, setLoading } = props; + const shipOrderId = router.params + .shipOrderId as BusinessAPI.ShipOrderVO["shipOrderId"]; + + // 当天和未来10天 + const startDate = new Date(); + const endDate = new Date(startDate.getTime() + 86400000 * 10); + const [show, setShow] = useState(false); + + const formatter = (type: string, option: PickerOption) => { + switch (type) { + case "year": + option.label += "年"; + break; + case "month": + option.label += "月"; + break; + case "day": + option.label += "日"; + break; + case "hour": + option.label += "时"; + break; + case "minute": + option.label += "分"; + break; + default: + break; + } + return option; + }; + + const [scale, setScale] = useState(0.5); // 缩放比例 + const [step, setStep] = useState(1); + const [moduleList, setModuleList] = useState([]); + const [height, setHeight] = useState(); + const [shipOrderVO, setShipOrderVO] = useState(); + const [deliveryTemplate, setDeliveryTemplate] = useState(); + const [purchaseDocument, setPurchaseDocument] = useState(); + + const [tempFilePath, setTempFilePath] = useState(); + + // 表单错误状态 + const [formErrors, setFormErrors] = useState<{ + watermelonGrade?: boolean; + shippingAddress?: boolean; + estimatedArrivalDate?: boolean; + remark?: boolean; + itemGrades?: { [key: string]: boolean }; + }>({}); + + const init = async (shipOrderId: BusinessAPI.ShipOrderVO["shipOrderId"]) => { + setLoading(true); + const { data } = await business.shipOrder.showShipOrder({ + shipOrderShowQry: { + shipOrderId, + }, + }); + const shipOrderVO = data.data; + if (shipOrderVO) { + setShipOrderVO(shipOrderVO); + if (shipOrderVO.purchaseDocument) { + setStep(3); + setPurchaseDocument(shipOrderVO.purchaseDocument); + } + + const { data } = await business.dealer.showDealer({ + dealerShowQry: { + dealerId: shipOrderVO.dealerId, + }, + }); + + setDeliveryTemplate(data.data?.deliveryTemplate!); + } + setLoading(false); + }; + + useEffect(() => { + if (shipOrderId) { + init(shipOrderId).then(); + } + }, [shipOrderId]); + + useEffect(() => { + if (deliveryTemplate && shipOrderVO) { + const template = JSON.parse(deliveryTemplate); + // 将 shipOrderVO 转换为 examples 的数据格式,然后再替换 moduleList 里面的 config 数据 + const convertedData = convertShipOrderVOToExamplesFormat(shipOrderVO); + const updatedTemplate = updateTemplateConfig(template, convertedData); + setModuleList(updatedTemplate); + } + }, [shipOrderVO, deliveryTemplate]); + + const [touchInfo, setTouchInfo] = useState({ + startDistance: 0, + startScale: 0.5, + }); // 触摸信息 + const [position, setPosition] = useState({ x: 0, y: -(29.7 * 37.8 * 0.5) }); // 当前位置 + const [startPosition, setStartPosition] = useState({ x: 0, y: 0 }); // 起始位置 + + // 将 shipOrderVO 转换为 examples 的数据格式 + const convertShipOrderVOToExamplesFormat = ( + shipOrderVO: BusinessAPI.ShipOrderVO, + ) => { + return { + title: { + title: "西瓜发货清单", + }, + dealerInfo: { + dealerName: shipOrderVO.dealerName || "", + vehicleNumber: `第 ${shipOrderVO.vehicleNo || ""} 车`, + destination: shipOrderVO.receivingAddress || "", + watermelonGrade: shipOrderVO.watermelonGrade || "", + }, + shippingInfo: { + shippingFrom: shipOrderVO.shippingAddress || "", + date: shipOrderVO.shippingDate || "", + }, + weightInfo: { + data: shipOrderVO.shipOrderItemList, + accountCompany: shipOrderVO.companyName || "", + sumAmount: + shipOrderVO.shipOrderItemList?.reduce( + (acc, item) => acc + item?.totalAmount!, + 0, + ) || "", + }, + packingSpec: { + data: + shipOrderVO.shipOrderPackageList?.map((item) => ({ + boxCategory: item.boxCategory || "", + boxType: item.boxProduct || "", + quantity: item.quantity?.toString() || "", + unitPrice: item.unitPrice?.toString() || "", + amount: item.itemAmount?.toString() || "", + unitWeight: item.singleWeight?.toString() || "", + weight: item.totalWeight?.toString() || "", + })) || [], + }, + vehicleInfo: { + driverPhone: shipOrderVO?.driverPhone || "", + licensePlate: shipOrderVO.licensePlate || "", + estimatedArrivalTime: shipOrderVO.estimatedArrivalDate + ? dayjs(shipOrderVO?.estimatedArrivalDate).format("YYYY年MM月DD日") + : "", + freightDebt: shipOrderVO.freightDebt?.toString() || "", + strawMatDebt: shipOrderVO.strawMatDebt?.toString() || "", + remarks: shipOrderVO.remark || "", + }, + otherFees: { + trademark: shipOrderVO.trademarkFee?.toString() || "", + labor: shipOrderVO.laborFee?.toString() || "", + paperBox: shipOrderVO.cartonFee?.toString() || "", + fee: shipOrderVO.provisionFee?.toString() || "", + codingFee: shipOrderVO.codingFee?.toString() || "", + }, + totalAmount: { + amount: shipOrderVO.totalAmount?.toString() || "", + farmer: shipOrderVO.farmerInfo || "", + }, + otherInfo: { + origin: "", + supplier: "", + departureTime: "", + arrivalTime: "", + productName: "", + }, + }; + }; + + // 更新模板配置 + const updateTemplateConfig = (template: any[], data: any) => { + return template.map((module: any) => { + const newModule = { ...module }; + if (data[module.type]) { + newModule.config = { ...module.config, ...data[module.type] }; + } + return newModule; + }); + }; + + // 渲染内容配置表单字段 + const renderContentFields = (module) => { + const contentSchema = module.schemas.find( + (schema) => schema.title === "内容配置", + ); + if ( + !contentSchema || + !contentSchema.columns || + contentSchema.columns.length === 0 + ) { + return null; + } + + const contentFields: ReactNode[] = []; + + contentSchema.columns.forEach((column: any, index: number) => { + if ( + column.dataIndex === "requiredWatermelonGrade" && + module.config.showWatermelonGrade + ) { + contentFields.push( + + + {column.title} + + + + { + // 清除错误状态 + if (formErrors.watermelonGrade && value) { + setFormErrors((prev) => ({ + ...prev, + watermelonGrade: false, + })); + } + + setShipOrderVO((prev) => { + return { + ...prev!, + watermelonGrade: value, + }; + }); + }} + onBlur={() => { + // 失焦时校验 + if (!shipOrderVO?.watermelonGrade) { + setFormErrors((prev) => ({ + ...prev, + watermelonGrade: true, + })); + Toast.show("toast", { + icon: "fail", + title: + column.fieldProps?.placeholder || + `请填写${column.title}`, + }); + } + }} + placeholder={ + column.fieldProps?.placeholder || `请${column.title}` + } + type="text" + className="flex-1" + /> + + + {formErrors.watermelonGrade && ( + + {`请${column.title}`} + + )} + + , + ); + } + + if ( + column.dataIndex === "requiredShippingFrom" && + module.config.showShippingFrom + ) { + contentFields.push( + + + {column.title} + + + + { + // 清除错误状态 + if (formErrors.shippingAddress && value) { + setFormErrors((prev) => ({ + ...prev, + shippingAddress: false, + })); + } + + setShipOrderVO((prev) => { + return { + ...prev!, + shippingAddress: value, + }; + }); + }} + onBlur={() => { + // 失焦时校验 + if (!shipOrderVO?.shippingAddress) { + setFormErrors((prev) => ({ + ...prev, + shippingAddress: true, + })); + Toast.show("toast", { + icon: "fail", + title: + column.fieldProps?.placeholder || + `请填写${column.title}`, + }); + } + }} + placeholder={ + column.fieldProps?.placeholder || `请${column.title}` + } + type="text" + className="flex-1" + /> + + + {formErrors.shippingAddress && ( + + {`请${column.title}`} + + )} + + , + ); + } + + if ( + column.dataIndex === "requiredEstimatedArrivalTime" && + module.config.showEstimatedArrivalTime + ) { + contentFields.push( + + + {column.title} + + + + setShow(true)} + onBlur={() => { + // 失焦时校验 + if (!shipOrderVO?.estimatedArrivalDate) { + setFormErrors((prev) => ({ + ...prev, + estimatedArrivalDate: true, + })); + Toast.show("toast", { + icon: "fail", + title: + column.fieldProps?.placeholder || + `请选择${column.title}`, + }); + } + }} + /> + setShow(false)} + onConfirm={(_, values) => { + // 选择日期后清除错误状态 + if (formErrors.estimatedArrivalDate) { + setFormErrors((prev) => ({ + ...prev, + estimatedArrivalDate: false, + })); + } + + setShipOrderVO((prev) => { + return { + ...prev!, + estimatedArrivalDate: dayjs(values.join("-")).format( + "YYYY-MM-DD", + ), + }; + }); + }} + /> + + + {formErrors.estimatedArrivalDate && ( + + {`请${column.title}`} + + )} + + , + ); + } + + if (column.dataIndex === "requiredRemarks" && module.config.showRemarks) { + contentFields.push( + + + {column.title} + + + + { + // 清除错误状态 + if (formErrors.remark && value) { + setFormErrors((prev) => ({ + ...prev, + remark: false, + })); + } + + setShipOrderVO((prev) => { + return { + ...prev!, + remark: value, + }; + }); + }} + onBlur={() => { + // 失焦时校验 + if (!shipOrderVO?.remark) { + setFormErrors((prev) => ({ + ...prev, + remark: true, + })); + Toast.show("toast", { + icon: "fail", + title: + column.fieldProps?.placeholder || + `请填写${column.title}`, + }); + } + }} + placeholder={ + column.fieldProps?.placeholder || `请${column.title}` + } + type="text" + className="flex-1" + /> + + + {formErrors.remark && ( + + {`请${column.title}`} + + )} + + , + ); + } + + if (column.dataIndex === "requiredGrade" && module.config.showGrade) { + contentFields.push( + + + {column.title} + + {shipOrderVO?.shipOrderItemList?.map((shipOrderItem, index) => { + return ( + + + + 单价:{shipOrderItem.unitPrice} 元/斤 + + + + { + // 清除该项的错误状态 + if ( + formErrors.itemGrades?.[shipOrderItem.itemId] && + value + ) { + setFormErrors((prev) => ({ + ...prev, + itemGrades: { + ...prev.itemGrades, + [shipOrderItem.itemId]: false, + }, + })); + } + + setShipOrderVO((prev) => { + return { + ...prev!, + shipOrderItemList: prev?.shipOrderItemList?.map( + (item) => { + if (item.itemId === shipOrderItem.itemId) { + return { + ...item, + watermelonGrade: value, + }; + } + return item; + }, + ), + }; + }); + }} + onBlur={() => { + // 失焦时校验 + if (!shipOrderItem.watermelonGrade) { + setFormErrors((prev) => ({ + ...prev, + itemGrades: { + ...prev.itemGrades, + [shipOrderItem.itemId]: true, + }, + })); + Toast.show("toast", { + icon: "fail", + title: + column.fieldProps?.placeholder || + `请填写第${index + 1}项的品级`, + }); + } + }} + placeholder={ + column.fieldProps?.placeholder || `请${column.title}` + } + type="text" + className="flex-1" + /> + + + + {formErrors.itemGrades?.[shipOrderItem.itemId] && ( + + {`请${column.title}`} + + )} + + ); + })} + , + ); + } + }); + + if (contentFields.length > 0) { + return contentFields; + } + + return null; + }; + + // 表单校验 + const validateForm = () => { + const errors: any = {}; + let hasErrors = false; + + // 检查各模块中的必填字段是否已填写 + for (const module of moduleList) { + const contentSchema = module.schemas.find( + (schema) => schema.title === "内容配置", + ); + + if ( + !contentSchema || + !contentSchema.columns || + contentSchema.columns.length === 0 + ) { + continue; + } + + for (const column of contentSchema.columns) { + // 检查西瓜品级字段是否开启且已填写 + if ( + column.dataIndex === "requiredWatermelonGrade" && + module.config.showWatermelonGrade + ) { + if (!shipOrderVO?.watermelonGrade) { + errors.watermelonGrade = true; + hasErrors = true; + Toast.show("toast", { + icon: "fail", + title: column.fieldProps?.placeholder || `请填写${column.title}`, + }); + } + } + // 检查发货地字段是否开启且已填写 + else if ( + column.dataIndex === "requiredShippingFrom" && + module.config.showShippingFrom + ) { + if (!shipOrderVO?.shippingAddress) { + errors.shippingAddress = true; + hasErrors = true; + Toast.show("toast", { + icon: "fail", + title: column.fieldProps?.placeholder || `请填写${column.title}`, + }); + } + } + // 检查预计到仓时间字段是否开启且已填写 + else if ( + column.dataIndex === "requiredEstimatedArrivalTime" && + module.config.showEstimatedArrivalTime + ) { + if (!shipOrderVO?.estimatedArrivalDate) { + errors.estimatedArrivalDate = true; + hasErrors = true; + Toast.show("toast", { + icon: "fail", + title: column.fieldProps?.placeholder || `请选择${column.title}`, + }); + } + } + // 检查备注字段是否开启且已填写 + else if ( + column.dataIndex === "requiredRemarks" && + module.config.showRemarks + ) { + if (!shipOrderVO?.remark) { + errors.remark = true; + hasErrors = true; + Toast.show("toast", { + icon: "fail", + title: column.fieldProps?.placeholder || `请填写${column.title}`, + }); + } + } + // 检查品级字段是否开启且已填写 + else if ( + column.dataIndex === "requiredGrade" && + module.config.showGrade + ) { + if (shipOrderVO?.shipOrderItemList) { + const itemGradesErrors: { [key: string]: boolean } = {}; + for (let i = 0; i < shipOrderVO.shipOrderItemList.length; i++) { + const item = shipOrderVO.shipOrderItemList[i]; + if (!item.watermelonGrade) { + itemGradesErrors[item.itemId] = true; + hasErrors = true; + Toast.show("toast", { + icon: "fail", + title: `请填写第${i + 1}项的品级`, + }); + } + } + + if (Object.keys(itemGradesErrors).length > 0) { + errors.itemGrades = itemGradesErrors; + } + } + } + } + } + + setFormErrors(errors); + return !hasErrors; + }; + + // 预览确认 + const previewAndConfirm = () => { + console.log(step); + if (step === 1) { + // 在第一步时校验表单 + if (!validateForm()) { + return; + } + } + + if (step === 2) { + // 显示确认对话框 + Dialog.open("dialog", { + title: "生成发货单据", + content: "即将生成发货单据,请确认发货单据是否正确。", + confirmText: "确认生成", + cancelText: "取消", + onConfirm: async () => { + // 截图预览内容 + await capturePreview(); + Dialog.close("dialog"); + // 进入第三步 + setStep(3); + }, + onCancel: () => { + Dialog.close("dialog"); + }, + }); + return; + } + + if (step < 3) { + setStep(step + 1); + } + }; + + // 生成发货单据 + const generateShippingDocument = async () => { + // 显示确认对话框 + Dialog.open("dialog", { + title: "生成发货单据", + content: "即将生成发货单据,请确认发货单据是否正确。", + confirmText: "确认生成", + cancelText: "取消", + onConfirm: async () => { + // 截图预览内容 + await capturePreview(); + Dialog.close("dialog"); + // 进入第三步 + setStep(3); + }, + onCancel: () => { + Dialog.close("dialog"); + }, + }); + }; + + // 将预览内容转换为HTML字符串的函数 + const generateHtmlString = () => { + let htmlString = ` + +
+
+ `; + + moduleList.forEach((module) => { + const config = module.config; + + if (module.type === "title") { + htmlString += ` +
+
+ ${config.title || ""} +
+
+ `; + } + + if (module.type === "dealerInfo") { + htmlString += ` +
+
+ `; + + if (config.showDealerName || config.showWatermelonGrade) { + htmlString += ` +
+ ${ + config.showWatermelonGrade + ? `${config.dealerName || ""}-${config.watermelonGrade || ""}` + : config.dealerName || "" + } +
+ `; + } else { + htmlString += `
`; + } + + if (config.showDestination || config.showVehicleNumber) { + htmlString += ` +
+ ${config.destination || ""} ${config.vehicleNumber || ""} +
+ `; + } else { + htmlString += `
`; + } + + htmlString += ` +
+
+ `; + } + + if (module.type === "shippingInfo") { + htmlString += `
`; + + if (config.showShippingFrom) { + htmlString += ` +
发货地:
+
+ ${config.shippingFrom || ""} +
+ `; + } + + if (config.showDate) { + htmlString += ` +
日期:
+
+ ${config.date || ""} +
+ `; + } + + htmlString += `
`; + } + + if (module.type === "weightInfo") { + if (config.data) { + config.data.forEach((item: any) => { + htmlString += `
`; + + if (config.showNetWeight) { + htmlString += ` +
+
净重:
+
+ ${item.netWeight || ""} +
+
+ ${config.netWeightUnit === "1" ? "斤" : "公斤"} +
+
+ `; + } + + if (config.showBoxWeight) { + htmlString += ` +
+
箱重:
+
+ ${item.boxWeight || ""} +
+
+ ${config.boxWeightUnit === "1" ? "斤" : "公斤"} +
+
+ `; + } + + if (config.showGrossWeight) { + htmlString += ` +
+
毛重:
+
+ ${item.grossWeight || ""} +
+
+ ${config.grossWeightUnit === "1" ? "斤" : "公斤"} +
+
+ `; + } + + if (config.showUnitPrice) { + htmlString += ` +
+
单价:
+
+ ${item.unitPrice || ""} +
+
+ ${config.unitPriceUnit === "1" ? "元/斤" : "元/公斤"} +
+
+ `; + } + + if (config.showAmount) { + htmlString += ` +
+
金额:
+
+ ${item.totalAmount || ""} +
+
+
+ `; + } + + if (config.showGrade) { + htmlString += ` +
+
品级:
+
+ ${item.watermelonGrade || ""} +
+
+ `; + } + + htmlString += `
`; + }); + } + + htmlString += `
`; + + if (config.showAccountCompany) { + htmlString += ` +
+
入账公司:
+
+ ${config.accountCompany || ""} +
+
+ `; + } + + if (config.showSumAmount) { + htmlString += ` +
+
总计:
+
+ ${config.sumAmount || ""} +
+
+
+ `; + } + + htmlString += `
`; + } + + if (module.type === "packingSpec") { + htmlString += `
`; + // 计算需要显示的列数 + const visibleColumnCount = + [ + config.showBoxType, + config.showQuantity, + config.showUnitPrice, + config.showAmount, + config.showUnitWeight, + config.showWeight, + ].filter(Boolean).length + 1; // +1 是因为"规格:"列总是显示 + + const gridClass = `grid w-full gap-0 text-base grid-cols-${visibleColumnCount}`; + + htmlString += ` +
+
规格:
+
+ `; + + htmlString += `
`; + + if (config.columns) { + config.columns.forEach((column: any, index: number) => { + if (index === 0) { + htmlString += `
 
`; + return; + } + + if ( + (column.dataIndex === "boxType" && config.showBoxType) || + (column.dataIndex === "quantity" && config.showQuantity) || + (column.dataIndex === "unitPrice" && config.showUnitPrice) || + (column.dataIndex === "amount" && config.showAmount) || + (column.dataIndex === "unitWeight" && config.showUnitWeight) || + (column.dataIndex === "weight" && config.showWeight) + ) { + htmlString += ` +
${column.title || ""}
+ `; + } + }); + } + + htmlString += `
`; + htmlString += `
`; + + if (config.data) { + config.data.forEach((item: any, index: number) => { + htmlString += ` +
+
+ ${ + item.boxCategory === "FOUR_GRAIN" + ? "4粒装" + : item.boxCategory === "TWO_GRAIN" + ? "2粒装" + : "未知" + } +
+ `; + + htmlString += ` +
${item.boxType || ""}
+ `; + + if (config.showQuantity) { + htmlString += ` +
${item.quantity || ""}
+ `; + } + + if (config.showUnitPrice) { + htmlString += ` +
${item.unitPrice || ""}
+ `; + } + + if (config.showAmount) { + htmlString += ` +
${item.amount || ""}
+ `; + } + + if (config.showUnitWeight) { + htmlString += ` +
${item.unitWeight || ""}
+ `; + } + + if (config.showWeight) { + htmlString += ` +
${item.weight || ""}
+ `; + } + + htmlString += `
`; + }); + } + + htmlString += ` +
+
总件数
+ `; + + if (config.showQuantity) { + htmlString += ` +
+ ${ + config.data?.reduce( + (acc: any, cur: any) => acc + Number(cur.quantity || 0), + 0, + ) || 0 + } +
+ `; + } + + if (config.showUnitPrice) { + htmlString += ` +
+
+ `; + } + + if (config.showAmount) { + htmlString += ` +
+ ${ + config.data?.reduce( + (acc: any, cur: any) => acc + Number(cur.amount || 0), + 0, + ) || 0 + } +
+ `; + } + + if (config.showUnitWeight) { + htmlString += ` +
+
+ `; + } + + if (config.showWeight) { + htmlString += ` +
+ ${ + config.data?.reduce( + (acc: any, cur: any) => acc + Number(cur.weight || 0), + 0, + ) || 0 + } +
+ `; + } + + htmlString += ` +
+
+ `; + htmlString += `
`; + } + + if (module.type === "vehicleInfo") { + htmlString += `
`; + + if (config.showDriverPhone) { + htmlString += ` +
司机号码:
+
+ ${config.driverPhone || ""} +
+ `; + } + + if (config.showLicensePlate) { + htmlString += ` +
车牌:
+
+ ${config.licensePlate || ""} +
+ `; + } + + if (config.showEstimatedArrivalTime) { + htmlString += ` +
预计到仓时间:
+
+ ${config.estimatedArrivalTime || ""} +
+ `; + } + + if (config.showRemarks) { + htmlString += ` +
备注:
+
+ ${config.remarks || ""} +
+ `; + } + + if (config.showFreightDebt) { + htmlString += ` +
+ ${config.freightDebtTitle || "运费欠"}: +
+
+ ${config.freightDebt || ""} +
+ `; + } + + if (config.showStrawMatDebt) { + htmlString += ` +
草帘欠:
+
+ ${config.strawMatDebt || ""} +
+ `; + } + + htmlString += `
`; + } + + if (module.type === "otherFees") { + htmlString += `
`; + + if (config.feeItems) { + config.feeItems.forEach((feeType: any) => { + htmlString += ` +
+ ${(config.feeLabels && config.feeLabels[feeType]) || ""}: +
+
+ ${config[feeType] || ""}元 +
+ `; + }); + } + + htmlString += `
`; + } + + if (module.type === "totalAmount") { + htmlString += `
`; + + if (config.showTotalAmount) { + htmlString += ` +
+ ${config.sumTitle || "合计金额"}: +
+
+ ${config.amount || ""} +
+
+ `; + } + + if (config.showFarmer) { + htmlString += ` +
瓜农:
+
+ ${config.farmer || ""} +
+ `; + } + + htmlString += `
`; + } + + if (module.type === "otherInfo") { + htmlString += ` +
+
产地:
+
+ ${config.origin || ""} +
+
供应商:
+
+ ${config.supplier || ""} +
+
发车时间:
+
+ ${config.departureTime || ""} +
+
到达时间:
+
+ ${config.arrivalTime || ""} +
+
产品名称:
+
+ ${config.productName || ""} +
+
+ `; + } + }); + + htmlString += `
`; + return htmlString; + }; + + // 截图预览内容 + const capturePreview = async () => { + // 请求 poster.qilincloud168.com/api/v1/pdfs 接口 请求参数是 html 内容 的json 格式响应结果为 + // 调用API生成PDF + const { data } = await Taro.request({ + url: "https://poster.qilincloud168.com/api/v1/pdf", + method: "POST", + header: { + "content-type": "application/json", + }, + data: { + html: generateHtmlString(), + }, + }); + + // 存储 至 shipOrder previewUrl + if (shipOrderVO) { + let formData: BusinessAPI.ShipOrderGenerateDocumentCmd = { + shipOrderId: shipOrderVO?.shipOrderId, + shipDocument: data.path, + }; + // 检查各模块中的必填字段是否已填写 + for (const module of moduleList) { + const contentSchema = module.schemas.find( + (schema) => schema.title === "内容配置", + ); + + if ( + !contentSchema || + !contentSchema.columns || + contentSchema.columns.length === 0 + ) { + continue; + } + + for (const column of contentSchema.columns) { + // 检查西瓜品级字段是否开启且已填写 + if (column.dataIndex === "requiredWatermelonGrade") { + formData.watermelonGrade = shipOrderVO?.watermelonGrade; + } + // 检查发货地字段是否开启且已填写 + else if (column.dataIndex === "requiredShippingFrom") { + formData.shippingAddress = shipOrderVO?.shippingAddress; + } + // 检查预计到仓时间字段是否开启且已填写 + else if (column.dataIndex === "requiredEstimatedArrivalTime") { + formData.estimatedArrivalDate = shipOrderVO?.estimatedArrivalDate; + } + // 检查备注字段是否开启且已填写 + else if (column.dataIndex === "requiredRemarks") { + formData.remark = shipOrderVO?.remark; + } + // 检查品级字段是否开启且已填写 + else if (column.dataIndex === "requiredGrade") { + formData.shipOrderItemList = shipOrderVO?.shipOrderItemList; + } + } + } + business.shipOrder.generateDocumentShipOrder(formData).then(); + } + + if (data && data.path) { + setPurchaseDocument(data.path); + } + }; + + // 返回上一步 + const goToPrevStep = () => { + if (step > 0) { + setStep(step - 1); + } + }; + + // 重置表单 + const resetForm = () => { + setStep(1); + // 重置表单错误状态 + setFormErrors({}); + // 重新加载初始数据 + if (shipOrderId) { + init(shipOrderId).then(); + } + }; + + // 重新生成单据 + const regenerateDocument = () => { + setStep(1); + }; + + // 放大 + const zoomIn = () => { + setScale((prev) => Math.min(prev + 0.1, 3)); // 最大放大到3倍 + }; + + // 缩小 + const zoomOut = () => { + setScale((prev) => Math.max(prev - 0.1, 0.5)); // 最小缩小到0.5倍 + }; + + // 重置缩放 + const resetZoom = () => { + setScale(0.5); + setPosition({ x: 0, y: -(29.7 * 37.8 * 0.5) }); // 重置位置 + }; + + // 计算两点间距离 + const getDistance = (touches) => { + const dx = touches[0].clientX - touches[1].clientX; + const dy = touches[0].clientY - touches[1].clientY; + return Math.sqrt(dx * dx + dy * dy); + }; + + // 处理触摸开始事件 + const handleTouchStart = (e) => { + const touches = e.touches; + if (touches.length === 2) { + // 双指触摸,记录初始距离和当前缩放值 + const distance = getDistance(touches); + setTouchInfo({ + startDistance: distance, + startScale: scale, + }); + } else if (touches.length === 1) { + // 单指触摸,记录起始位置 + setStartPosition({ + x: touches[0].clientX - position.x, + y: touches[0].clientY - position.y, + }); + } + }; + + // 处理触摸移动事件 + const handleTouchMove = (e) => { + const touches = e.touches; + e.preventDefault(); // 阻止默认滚动行为 + + if (touches.length === 2) { + // 双指触摸,计算缩放比例 + const currentDistance = getDistance(touches); + const newScale = + touchInfo.startScale * (currentDistance / touchInfo.startDistance); + // 限制缩放范围在0.5到3之间 + setScale(Math.min(Math.max(0.5, newScale), 3)); + } else if (touches.length === 1 && scale > 0.5) { + // 单指触摸且已放大,允许拖动 + setPosition({ + x: touches[0].clientX - startPosition.x, + y: touches[0].clientY - startPosition.y, + }); + } + }; + + // 处理触摸结束事件 + const handleTouchEnd = (e) => { + // 可以在这里添加触摸结束后的处理逻辑 + console.log("Touch ended", e); + }; + + const [topBarHeight, setTopBarHeight] = useState(0); + const [bottomBarHeight, setBottomBarHeight] = useState(0); + const topBarRef = useRef(null); + const bottomBarRef = useRef(null); + + // 查看文档 + const handleView = async () => { + if (!tempFilePath) { + Taro.showToast({ + title: "请先下载发货单据", + icon: "none", + duration: 2000, + }); + return; + } + + Taro.openDocument({ + filePath: tempFilePath, + showMenu: true, + }); + }; + + // 处理下载功能 + const handleDownload = async () => { + Taro.showToast({ + title: "正在生成并下载发货单据", + icon: "none", + duration: 2000, + }); + + // 下载文件 + Taro.downloadFile({ + url: purchaseDocument!, + }).then((downloadRes) => { + if (downloadRes.tempFilePath) { + setTempFilePath(downloadRes.tempFilePath); + Taro.showToast({ + title: "发货单据已下载成功,您可以将生成的PDF发送给好友", + icon: "none", + duration: 3000, + }); + + // Taro.getFileSystemManager().mkdir({ + // dirPath: `${Taro.env.USER_DATA_PATH}/${shipOrderVO?.dealerName}/发货单据`, + // recursive: true, + // }); + // + // // 保存到文件系统 + // Taro.getFileSystemManager().saveFile({ + // tempFilePath: downloadRes.tempFilePath, + // filePath: `${Taro.env.USER_DATA_PATH}/${shipOrderVO?.dealerName}/发货单据/${shipOrderVO?.vehicleNo}_${shipOrderVO?.dealerName}_发货单据_${shipOrderVO?.orderSn}.pdf`, + // success: function () { + // Taro.showToast({ + // title: "发货单据已保存到本地,您可以将生成的PDF发送给好友", + // icon: "none", + // duration: 3000, + // }); + // }, + // fail: function (err) { + // console.log("保存失败", err); + // Taro.showToast({ + // title: "保存失败", + // icon: "none", + // duration: 3000, + // }); + // } + // }); + } + }); + }; + + // 处理分享功能 + const handleShare = async () => { + if (!tempFilePath) { + Taro.showToast({ + title: "请先下载发货单据", + icon: "none", + duration: 2000, + }); + return; + } + + Taro.showToast({ + title: "正在分享到微信", + icon: "none", + duration: 2000, + }); + + // 下载完成后转发 + Taro.shareFileMessage({ + filePath: tempFilePath, + fileName: `第${shipOrderVO?.vehicleNo}车_${shipOrderVO?.dealerName}_发货单据_${shipOrderVO?.orderSn}.pdf`, + complete: (res) => { + console.log("complete", res); + }, + }); + }; + + useEffect(() => { + // 获取 topBar 和 bottomBar 的实际高度 + const queryTopBar = Taro.createSelectorQuery(); + queryTopBar + .select("#topBar") + .boundingClientRect((rect: any) => { + if (rect) { + setTopBarHeight(rect.height); + } + }) + .exec(); + + const queryBottomBar = Taro.createSelectorQuery(); + queryBottomBar + .select("#bottomBar") + .boundingClientRect((rect: any) => { + if (rect) { + setBottomBarHeight(rect.height); + } + }) + .exec(); + }, [step]); + + useEffect(() => { + // 计算滚动区域高度:窗口高度 - topBar高度 - bottomBar高度 + const windowHeight = Taro.getSystemInfoSync().windowHeight; + setHeight(windowHeight - topBarHeight - bottomBarHeight); + }, [topBarHeight, bottomBarHeight]); + + return ( + + + + + + {shipOrder.steps.map((item, index) => ( + + ))} + + + + + + + {step === 1 && ( + + {moduleList.map((module) => { + const contentFields = renderContentFields(module); + // 如果没有内容配置字段,则不渲染该模块 + if (!contentFields) return null; + + return ( + + + + {module.title} + + + {contentFields} + + ); + })} + + )} + + {step === 2 && ( + + {/* 缩放控制按钮 */} + + + + + + {Math.round(scale * 100)}% + + + + {/* 预览区域 */} + + + {moduleList.map((module) => { + const config = module.config; + if (module.type === "title") { + return ( + + + {config.title} + + + ); + } + + if (module.type === "dealerInfo") { + return ( + + + {config.showDealerName || config.showWatermelonGrade ? ( + + {config.showWatermelonGrade + ? `${config.dealerName}-${config.watermelonGrade}` + : config.dealerName} + + ) : ( + + )} + {config.showDestination || config.showVehicleNumber ? ( + + {config.destination} + {config.vehicleNumber} + + ) : ( + + )} + + + ); + } + + if (module.type === "shippingInfo") { + return ( + + {config.showShippingFrom && ( + <> + + 发货地: + + + {config.shippingFrom} + + + )} + {config.showDate && ( + <> + + 日期: + + + {config.date} + + + )} + + ); + } + + if (module.type === "weightInfo") { + return ( + <> + {config.data?.map((item: any, index: number) => { + return ( + + {config.showNetWeight && ( + + + 净重: + + + {item.netWeight} + + + {config.netWeightUnit === "1" + ? "斤" + : "公斤"} + + + )} + {config.showBoxWeight && ( + + + 箱重: + + + {item.boxWeight} + + + {config.boxWeightUnit === "1" + ? "斤" + : "公斤"} + + + )} + {config.showGrossWeight && ( + + + 毛重: + + + {item.grossWeight} + + + {config.grossWeightUnit === "1" + ? "斤" + : "公斤"} + + + )} + {config.showUnitPrice && ( + + + 单价: + + + {item.unitPrice} + + + {config.unitPriceUnit === "1" + ? "元/斤" + : "元/公斤"} + + + )} + {config.showAmount && ( + + + 金额: + + + {item.totalAmount} + + + 元 + + + )} + {config.showGrade && ( + + + 品级: + + + {item.watermelonGrade} + + + )} + + ); + })} + + {config.showAccountCompany && ( + + + 入账公司: + + + {config.accountCompany} + + + )} + {config.showSumAmount && ( + + + 总计: + + + {config.sumAmount} + + + 元 + + + )} + + + ); + } + + if (module.type === "packingSpec") { + // 计算需要显示的列数 + const visibleColumnCount = + [ + config.showBoxType, + config.showQuantity, + config.showUnitPrice, + config.showAmount, + config.showUnitWeight, + config.showWeight, + ].filter(Boolean).length + 1; // +1 是因为"规格:"列总是显示 + return ( + <> + +
+ 规格: +
+
+ + + {config.columns.map((column: any, index: number) => { + if (index === 0) { + return ( +
+   +
+ ); + } + + if ( + (column.dataIndex === "boxType" && + config.showBoxType) || + (column.dataIndex === "quantity" && + config.showQuantity) || + (column.dataIndex === "unitPrice" && + config.showUnitPrice) || + (column.dataIndex === "amount" && + config.showAmount) || + (column.dataIndex === "unitWeight" && + config.showUnitWeight) || + (column.dataIndex === "weight" && + config.showWeight) + ) { + return ( +
+ {column.title} +
+ ); + } + + return <>; + })} +
+ + {config.data?.map((item: any, index: number) => ( + 0, + }, + )} + > + + {item.boxCategory === "FOUR_GRAIN" + ? "4粒装" + : item.boxCategory === "TWO_GRAIN" + ? "2粒装" + : "未知"} + + + + {item.boxType} + + + {config.showQuantity && ( + + {item.quantity} + + )} + + {config.showUnitPrice && ( + + {item.unitPrice} + + )} + + {config.showAmount && ( + + {item.amount} + + )} + + {config.showUnitWeight && ( + + {item.unitWeight} + + )} + + {config.showWeight && ( + + {item.weight} + + )} + + ))} + + + + 总件数 + + {config.showQuantity && ( + + {config.data?.reduce( + (acc: any, cur: any) => + acc + Number(cur.quantity), + 0, + )} + + )} + {config.showUnitPrice && ( + + )} + {config.showAmount && ( + + {config.data?.reduce( + (acc: any, cur: any) => + acc + Number(cur.amount), + 0, + )} + + )} + {config.showUnitWeight && ( + + )} + {config.showWeight && ( + + {config.data?.reduce( + (acc: any, cur: any) => + acc + Number(cur.weight), + 0, + )} + + )} + + + + ); + } + + if (module.type === "vehicleInfo") { + return ( + + {config.showDriverPhone && ( + <> + + 司机号码: + + + {config.driverPhone} + + + )} + {config.showLicensePlate && ( + <> + + 车牌: + + + {config.licensePlate} + + + )} + {config.showEstimatedArrivalTime && ( + <> + + 预计到仓时间: + + + {config.estimatedArrivalTime} + + + )} + {config.showRemarks && ( + <> + + 备注: + + + {config.remarks} + + + )} + {config.showFreightDebt && ( + <> + + {config.freightDebtTitle || "运费欠"}: + + + {config.freightDebt} + + + )} + {config.showStrawMatDebt && ( + <> + + 草帘欠: + + + {config.strawMatDebt} + + + )} + + ); + } + + if (module.type === "otherFees") { + return ( + + {config.feeItems?.map((feeType: any) => ( + <> + + {config.feeLabels[feeType]}: + + + {config[feeType]}元 + + + ))} + + ); + } + + if (module.type === "totalAmount") { + return ( + + {config.showTotalAmount && ( + <> + + {config.sumTitle || "合计金额"}: + + + {config.amount} + + + 元 + + + )} + {config.showFarmer && ( + <> + + 瓜农: + + + {config.farmer} + + + )} + + ); + } + + if (module.type === "otherInfo") { + return ( + + + 产地: + + + {config.origin} + + + 供应商: + + + {config.supplier} + + + 发车时间: + + + {config.departureTime} + + + 到达时间: + + + {config.arrivalTime} + + + 产品名称: + + + {config.productName} + + + ); + } + })} +
+
+
+ )} + + {step === 3 && purchaseDocument && ( + + + + + + 发货单据生成成功 + + + 您的发货单据已生成,可以下载或转发给好友 + + + + {purchaseDocument && !tempFilePath && ( + + + + )} + {purchaseDocument && tempFilePath && ( + <> + + + + + + + + )} + + + + 提示:您可以随时在发货单据列表中重新下载 + + + )} +
+ + {/* 步骤控制按钮 */} + + + {step == 1 && ( + + + + )} + {step == 1 && ( + + + + )} + {step == 2 && ( + + + + )} + {step == 2 && ( + + + + )} + {step == 3 && ( + + + + )} + {step == 3 && ( + + + + )} + + + +
+ ); +}); diff --git a/packages/app-client/src/pages/delivery/list.tsx b/packages/app-client/src/pages/delivery/list.tsx index c0c4f73..54dd6cc 100644 --- a/packages/app-client/src/pages/delivery/list.tsx +++ b/packages/app-client/src/pages/delivery/list.tsx @@ -23,7 +23,12 @@ export default hocAuth(function Page(props: CommonComponent) { const [state, setState] = useState(); const [dealerVO, setDealerVO] = useState(); - const [deliveryTemplate, setDeliveryTemplate] = useState(); + const [canGenerateDocuments, setCanGenerateDocuments] = useState({ + shipDocument: false, + purchaseDocument: false, + }); + const [deliveryTemplate, setDeliveryTemplate] = + useState(); // 控制弹窗显示状态 const [popupVisible, setPopupVisible] = useState(false); @@ -31,6 +36,66 @@ export default hocAuth(function Page(props: CommonComponent) { const [currentShipOrder, setCurrentShipOrder] = useState(null); + // 生成发货单据 + const generateShipDocument = async () => { + if (!currentShipOrder?.shipOrderId) { + Toast.show("toast", { + icon: "fail", + title: "提示", + content: "未找到关联的发货单", + }); + return; + } + + try { + // 跳转到发货单据生成页面 + Taro.navigateTo({ + url: buildUrl("/pages/delivery/document/delivery", { + shipOrderId: currentShipOrder.shipOrderId, + }), + success: () => { + setPopupVisible(false); + }, + }); + } catch (error) { + Toast.show("toast", { + icon: "fail", + title: "提示", + content: "跳转发货单据页面失败", + }); + } + }; + + // 生成采购底单单据 + const generatePurchaseDocument = () => { + if (!currentShipOrder?.shipOrderId) { + Toast.show("toast", { + icon: "fail", + title: "提示", + content: "未找到关联的发货单", + }); + return; + } + + try { + // 跳转到发货单据生成页面 + Taro.navigateTo({ + url: buildUrl("/pages/delivery/document/purchase", { + shipOrderId: currentShipOrder.shipOrderId, + }), + success: () => { + setPopupVisible(false); + }, + }); + } catch (error) { + Toast.show("toast", { + icon: "fail", + title: "提示", + content: "跳转发货单据页面失败", + }); + } + }; + const actionRef = useRef(); const toolbar: ToolBar = { search: { @@ -60,7 +125,7 @@ export default hocAuth(function Page(props: CommonComponent) { }, render: () => ( <> - {/* 生成发货单据弹窗 */} + {/* 生成单据弹窗 */} setPopupVisible(false)} onOverlayClick={() => setPopupVisible(false)} lockScroll @@ -104,19 +169,44 @@ export default hocAuth(function Page(props: CommonComponent) {
)} - {deliveryTemplate ? ( + {currentShipOrder && ( - 操作确认 + 快捷生成单据 - - 确认生成发货单据吗?生成后可以下载或转发给好友。 - - - ) : ( - - - 未找到关联的发货单模板,请联系管理员 + + + {canGenerateDocuments.shipDocument && ( + <> + {!deliveryTemplate ? ( + + + + 未找到关联的发货单模板,请联系管理员 + + + + ) : ( + + + + 已配置发货单模板,可生成发货单据 + + + + )} + + )} + {!canGenerateDocuments.purchaseDocument && + !canGenerateDocuments.shipDocument && ( + + + + 未配置任何可生成单据,请联系管理员 + + + + )} )} @@ -124,27 +214,44 @@ export default hocAuth(function Page(props: CommonComponent) { - - - - - - + {canGenerateDocuments.purchaseDocument && currentShipOrder && ( + + + + )} + {canGenerateDocuments.shipDocument && currentShipOrder && ( + + + + )} + {!canGenerateDocuments.purchaseDocument && + !canGenerateDocuments.shipDocument && ( + + + + )} @@ -194,7 +301,7 @@ export default hocAuth(function Page(props: CommonComponent) { }); // 生成发货单据 - const generateShipDocument = async (shipOrderVO: BusinessAPI.ShipOrderVO) => { + const generateDocument = async (shipOrderVO: BusinessAPI.ShipOrderVO) => { setCurrentShipOrder(shipOrderVO); const { data: dealerData } = await business.dealer.showDealer({ @@ -205,40 +312,24 @@ export default hocAuth(function Page(props: CommonComponent) { if (dealerData.success) { const deliveryTemplate = dealerData.data?.deliveryTemplate; - setDeliveryTemplate(deliveryTemplate) + setDeliveryTemplate(deliveryTemplate); + const documentTypes = dealerData.data?.documentTypes; + if (documentTypes) { + setCanGenerateDocuments({ + shipDocument: documentTypes.includes("delivery"), + purchaseDocument: documentTypes.includes("purchase"), + }); + } else { + setCanGenerateDocuments({ + shipDocument: false, + purchaseDocument: false, + }); + } } setPopupVisible(true); }; - // 确认生成发货单据 - const confirmGenerateDocument = () => { - if (!currentShipOrder?.shipOrderId) { - Toast.show("toast", { - icon: "fail", - title: "提示", - content: "未找到关联的发货单", - }); - return; - } - - try { - // 跳转到发货单据生成页面 - Taro.navigateTo({ - url: buildUrl("/pages/delivery/document", { - shipOrderId: currentShipOrder.shipOrderId, - }), - }); - setPopupVisible(false); - } catch (error) { - Toast.show("toast", { - icon: "fail", - title: "提示", - content: "跳转发货单据页面失败", - }); - } - }; - return ( rowId={"shipOrderId"} @@ -323,11 +414,11 @@ export default hocAuth(function Page(props: CommonComponent) { type={"primary"} size={"small"} onClick={async (e) => { - await generateShipDocument(shipOrderVO); + await generateDocument(shipOrderVO); e.stopPropagation(); }} > - 生成发货单据 + 生成单据 diff --git a/packages/app-client/src/pages/main/center/index.tsx b/packages/app-client/src/pages/main/center/index.tsx index 524dd3a..dbc9457 100644 --- a/packages/app-client/src/pages/main/center/index.tsx +++ b/packages/app-client/src/pages/main/center/index.tsx @@ -1,16 +1,9 @@ import hocAuth from "@/hocs/auth"; import { CommonComponent } from "@/types/typings"; -import { View, Text } from "@tarojs/components"; +import { Text, View } from "@tarojs/components"; import { useEffect, useState } from "react"; import { auth } from "@/services"; -import { - Button, - Dialog, - Image, - Popup, - SafeArea, - Toast, -} from "@nutui/nutui-react-taro"; +import { Button, Dialog, Image, Popup, Toast } from "@nutui/nutui-react-taro"; import dayjs from "dayjs"; import Taro from "@tarojs/taro"; import buildUrl from "@/utils/buildUrl"; @@ -382,8 +375,6 @@ export default hocAuth(function Page(props: CommonComponent) { 确认切换 - -
); diff --git a/packages/app-client/src/pages/purchase/approver/approved.tsx b/packages/app-client/src/pages/purchase/approver/approved.tsx index 251ad09..b5dacae 100644 --- a/packages/app-client/src/pages/purchase/approver/approved.tsx +++ b/packages/app-client/src/pages/purchase/approver/approved.tsx @@ -15,10 +15,11 @@ export default hocAuth(function Page(props: CommonComponent) { useState(); const [canGenerateDocuments, setCanGenerateDocuments] = useState({ shipDocument: false, - costDocument: false, + purchaseDocument: false, }); const [shipOrder, setShipOrder] = useState(); - const [deliveryTemplate, setDeliveryTemplate] = useState(); + const [deliveryTemplate, setDeliveryTemplate] = + useState(); const init = async (orderId: string) => { setLoading(true); @@ -59,7 +60,7 @@ export default hocAuth(function Page(props: CommonComponent) { setDeliveryTemplate(dealerData.data.deliveryTemplate); setCanGenerateDocuments({ shipDocument: documentTypes.includes("delivery"), - costDocument: documentTypes.includes("cost"), + purchaseDocument: documentTypes.includes("purchase"), }); } } @@ -104,7 +105,7 @@ export default hocAuth(function Page(props: CommonComponent) { try { // 跳转到发货单据生成页面 Taro.navigateTo({ - url: buildUrl("/pages/delivery/document", { + url: buildUrl("/pages/delivery/document/delivery", { shipOrderId: shipOrder.shipOrderId, }), }); @@ -117,22 +118,40 @@ export default hocAuth(function Page(props: CommonComponent) { } }; - // 生成成本单 - const generateCostDocument = () => { - if (!canGenerateDocuments.costDocument) { + // 生成采购底单单据 + const generatePurchaseDocument = () => { + if (!canGenerateDocuments.purchaseDocument) { Toast.show("toast", { icon: "fail", title: "提示", - content: "当前经销商不支持生成成本单", + content: "当前经销商不支持生成采购底单单据", }); return; } - Toast.show("toast", { - icon: "success", - title: "提示", - content: "成本单生成成功", - }); + if (!shipOrder?.shipOrderId) { + Toast.show("toast", { + icon: "fail", + title: "提示", + content: "未找到关联的发货单", + }); + return; + } + + try { + // 跳转到发货单据生成页面 + Taro.navigateTo({ + url: buildUrl("/pages/delivery/document/purchase", { + shipOrderId: shipOrder.shipOrderId, + }), + }); + } catch (error) { + Toast.show("toast", { + icon: "fail", + title: "提示", + content: "跳转发货单据页面失败", + }); + } }; return ( @@ -189,53 +208,40 @@ export default hocAuth(function Page(props: CommonComponent) { - {deliveryTemplate ? ( + {shipOrder && ( 快捷生成单据 - {canGenerateDocuments.shipDocument && shipOrder && ( - - )} + {canGenerateDocuments.shipDocument && + (deliveryTemplate ? ( + + ) : ( + + 未找到关联的发货单模板,请联系管理员 + + ))} - {canGenerateDocuments.costDocument && ( + {canGenerateDocuments.purchaseDocument && shipOrder && ( )} - - {!shipOrder && ( - - 未找到关联的发货单,请联系管理员 - - )} - - ) : ( - - - 快捷生成单据 - - - - - 未找到关联的发货单模板,请联系管理员 - - )} diff --git a/packages/app-client/src/pages/purchase/purchaser/create.tsx b/packages/app-client/src/pages/purchase/purchaser/create.tsx index 896682a..47e06bf 100644 --- a/packages/app-client/src/pages/purchase/purchaser/create.tsx +++ b/packages/app-client/src/pages/purchase/purchaser/create.tsx @@ -139,7 +139,8 @@ export default hocAuth(function Page(props: CommonComponent) { const orderCostList1 = purchaseOrder.orderCostList.map( (item: CostItem) => ({ ...item, - selected: true, + // 设置默认选中, + selected: item.count > 0, }), ) as any; setOrderCostList(orderCostList1); @@ -308,6 +309,7 @@ export default hocAuth(function Page(props: CommonComponent) { orderId: orderId, active: active, orderSupplierList: purchaseOrder.orderSupplierList, + orderCostList: purchaseOrder.orderCostList, }); if (data.success) { @@ -611,6 +613,42 @@ export default hocAuth(function Page(props: CommonComponent) { }), ]); }} + changeProduct={(productVO: BusinessAPI.ProductVO) => { + setOrderSupplierList([ + ...orderSupplierList.map((item: SupplierVO) => { + item.productId = productVO.productId; + item.productName = productVO.name; + return item; + }), + ]); + setPurchaseOrder((prev) => { + return { + ...prev!, + orderCostList: [ + ...(prev?.orderCostList?.filter((item) => { + return ( + item.costType !== "WORKER_ADVANCE" && + item.costType !== "PRODUCTION_ADVANCE" + ); + }) || []), + ...(productVO.costItemVOList?.map((item) => { + return { + orderCostId: generateShortId(), + orderId: purchaseOrder?.orderId, + itemId: item.itemId, + name: item.name, + price: item.price, + unit: item.unit, + count: 0, + payerType: "US" as any, + principal: "", + costType: item.costType, + }; + }) || []), + ], + }; + }); + }} isFirst={index === 0} key={item.orderSupplierId} ref={(ref) => { @@ -778,7 +816,6 @@ export default hocAuth(function Page(props: CommonComponent) { const selectedIndex = orderSupplierList.findIndex( (supplier) => supplier.selected, ); - console.log("selectedIndex", selectedIndex); if ( selectedIndex !== -1 && orderPackageRefs.current[selectedIndex]?.validate() diff --git a/packages/app-client/src/pages/purchase/reviewer/audit.tsx b/packages/app-client/src/pages/purchase/reviewer/audit.tsx index b0711b0..971a34c 100644 --- a/packages/app-client/src/pages/purchase/reviewer/audit.tsx +++ b/packages/app-client/src/pages/purchase/reviewer/audit.tsx @@ -24,7 +24,6 @@ import { MaterialCostSection, PackageInfoSection, PackagingCostSection, - PurchaseCostInfoSection, PurchaseOrderRejectApprove, RebateCalcSection, State, @@ -70,13 +69,13 @@ const sections = { // containerClass: "border-l-8 border-l-purple-500", // contentClass: "p-4 bg-white rounded-b-lg shadow-sm overflow-x-auto", // }, - // 采购成本 - purchaseCostInfo: { - component: PurchaseCostInfoSection, - title: "采购成本", - containerClass: "border-l-8 border-l-red-500", - contentClass: "p-4 bg-white rounded-b-lg shadow-sm overflow-x-auto", - }, + // // 采购成本 + // purchaseCostInfo: { + // component: PurchaseCostInfoSection, + // title: "采购成本", + // containerClass: "border-l-8 border-l-red-500", + // contentClass: "p-4 bg-white rounded-b-lg shadow-sm overflow-x-auto", + // }, // 包装纸箱费 packageInfo: { component: PackageInfoSection, diff --git a/packages/app-client/src/services/business/index.ts b/packages/app-client/src/services/business/index.ts index 7928d32..f645fe3 100644 --- a/packages/app-client/src/services/business/index.ts +++ b/packages/app-client/src/services/business/index.ts @@ -7,6 +7,7 @@ import * as supplier from "./supplier"; import * as shipOrder from "./shipOrder"; import * as setting from "./setting"; import * as purchaseOrder from "./purchaseOrder"; +import * as product from "./product"; import * as platform from "./platform"; import * as menu from "./menu"; import * as material from "./material"; @@ -34,6 +35,7 @@ export default { shipOrder, setting, purchaseOrder, + product, platform, menu, material, diff --git a/packages/app-client/src/services/business/product.ts b/packages/app-client/src/services/business/product.ts new file mode 100644 index 0000000..fa61a1e --- /dev/null +++ b/packages/app-client/src/services/business/product.ts @@ -0,0 +1,156 @@ +// @ts-ignore +/* eslint-disable */ +import request from "../request"; + +/** 创建产品 POST /operation/createProduct */ +export async function createProduct( + body: BusinessAPI.ProductCreateCmd, + options?: { [key: string]: any }, +) { + return request( + "/operation/createProduct", + { + method: "POST", + headers: { + "Content-Type": "application/json", + }, + data: body, + ...(options || {}), + }, + ); +} + +/** 产品删除 DELETE /operation/destroyProduct */ +export async function destroyProduct( + body: BusinessAPI.ProductDestroyCmd, + options?: { [key: string]: any }, +) { + return request("/operation/destroyProduct", { + method: "DELETE", + headers: { + "Content-Type": "application/json", + }, + data: body, + ...(options || {}), + }); +} + +/** 产品拖拽排序 PUT /operation/dragProduct */ +export async function dragProduct( + body: BusinessAPI.ProductDragCmd, + options?: { [key: string]: any }, +) { + return request("/operation/dragProduct", { + method: "PUT", + headers: { + "Content-Type": "application/json", + }, + data: body, + ...(options || {}), + }); +} + +/** 产品拖拽排序 PATCH /operation/dragProduct */ +export async function dragProduct1( + body: BusinessAPI.ProductDragCmd, + options?: { [key: string]: any }, +) { + return request("/operation/dragProduct", { + method: "PATCH", + headers: { + "Content-Type": "application/json", + }, + data: body, + ...(options || {}), + }); +} + +/** 产品列表 GET /operation/listProduct */ +export async function listProduct( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: BusinessAPI.listProductParams, + options?: { [key: string]: any }, +) { + return request("/operation/listProduct", { + method: "GET", + params: { + ...params, + productListQry: undefined, + ...params["productListQry"], + }, + ...(options || {}), + }); +} + +/** 产品列表 GET /operation/pageProduct */ +export async function pageProduct( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: BusinessAPI.pageProductParams, + options?: { [key: string]: any }, +) { + return request("/operation/pageProduct", { + method: "GET", + params: { + ...params, + productPageQry: undefined, + ...params["productPageQry"], + }, + ...(options || {}), + }); +} + +/** 产品详情 GET /operation/showProduct */ +export async function showProduct( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: BusinessAPI.showProductParams, + options?: { [key: string]: any }, +) { + return request( + "/operation/showProduct", + { + method: "GET", + params: { + ...params, + productShowQry: undefined, + ...params["productShowQry"], + }, + ...(options || {}), + }, + ); +} + +/** 产品更新 PUT /operation/updateProduct */ +export async function updateProduct( + body: BusinessAPI.ProductUpdateCmd, + options?: { [key: string]: any }, +) { + return request( + "/operation/updateProduct", + { + method: "PUT", + headers: { + "Content-Type": "application/json", + }, + data: body, + ...(options || {}), + }, + ); +} + +/** 产品更新 PATCH /operation/updateProduct */ +export async function updateProduct1( + body: BusinessAPI.ProductUpdateCmd, + options?: { [key: string]: any }, +) { + return request( + "/operation/updateProduct", + { + method: "PATCH", + headers: { + "Content-Type": "application/json", + }, + data: body, + ...(options || {}), + }, + ); +} diff --git a/packages/app-client/src/services/business/typings.d.ts b/packages/app-client/src/services/business/typings.d.ts index f678170..c3797b1 100644 --- a/packages/app-client/src/services/business/typings.d.ts +++ b/packages/app-client/src/services/business/typings.d.ts @@ -798,12 +798,14 @@ declare namespace BusinessAPI { type CostItemCreateCmd = { /** 项目ID */ itemId: string; - /** 费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用 */ + /** 费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付 */ costType: | "PACKAGING_MATERIALS" | "HUMAN_COST" | "OTHER_COST" - | "FIXED_COST"; + | "FIXED_COST" + | "WORKER_ADVANCE" + | "PRODUCTION_ADVANCE"; /** 项目名称 */ name: string; /** 单位 */ @@ -812,6 +814,8 @@ declare namespace BusinessAPI { price: number; /** 是否在录入时显示 */ showInEntry: boolean; + /** 是否需要填写数量和单价 */ + requireQuantityAndPrice: boolean; /** 备注 */ remark?: string; /** 状态:1_启用;0_禁用 */ @@ -837,12 +841,14 @@ declare namespace BusinessAPI { status?: boolean; /** 费用项目ID */ itemId?: string; - /** 费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用 */ + /** 费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付 */ costType?: | "PACKAGING_MATERIALS" | "HUMAN_COST" | "OTHER_COST" - | "FIXED_COST"; + | "FIXED_COST" + | "WORKER_ADVANCE" + | "PRODUCTION_ADVANCE"; /** 是否在录入时显示 */ showInEntry?: boolean; }; @@ -864,12 +870,14 @@ declare namespace BusinessAPI { status?: boolean; /** 费用项目ID */ itemId?: string; - /** 费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用 */ + /** 费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付 */ costType?: | "PACKAGING_MATERIALS" | "HUMAN_COST" | "OTHER_COST" - | "FIXED_COST"; + | "FIXED_COST" + | "WORKER_ADVANCE" + | "PRODUCTION_ADVANCE"; /** 项目名称 */ name?: string; offset?: number; @@ -885,12 +893,14 @@ declare namespace BusinessAPI { type CostItemUpdateCmd = { /** 费用项目ID */ itemId: string; - /** 费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用 */ + /** 费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付 */ costType: | "PACKAGING_MATERIALS" | "HUMAN_COST" | "OTHER_COST" - | "FIXED_COST"; + | "FIXED_COST" + | "WORKER_ADVANCE" + | "PRODUCTION_ADVANCE"; /** 项目名称 */ name: string; /** 单位 */ @@ -899,6 +909,8 @@ declare namespace BusinessAPI { price: number; /** 是否在录入时显示 */ showInEntry: boolean; + /** 是否需要填写数量和单价 */ + requireQuantityAndPrice: boolean; /** 备注 */ remark?: string; /** 状态:1_启用;0_禁用 */ @@ -908,12 +920,14 @@ declare namespace BusinessAPI { type CostItemVO = { /** 项目ID */ itemId: string; - /** 费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用 */ + /** 费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付 */ costType: | "PACKAGING_MATERIALS" | "HUMAN_COST" | "OTHER_COST" - | "FIXED_COST"; + | "FIXED_COST" + | "WORKER_ADVANCE" + | "PRODUCTION_ADVANCE"; /** 项目名称 */ name: string; /** 单位 */ @@ -922,6 +936,8 @@ declare namespace BusinessAPI { price: number; /** 是否在录入时显示 */ showInEntry: boolean; + /** 是否需要填写数量和单价 */ + requireQuantityAndPrice: boolean; /** 备注 */ remark?: string; /** 状态:1_启用;0_禁用 */ @@ -1859,6 +1875,10 @@ declare namespace BusinessAPI { platformListQry: PlatformListQry; }; + type listProductParams = { + productListQry: ProductListQry; + }; + type listPurchaseOrderParams = { purchaseOrderListQry: PurchaseOrderListQry; }; @@ -2251,6 +2271,15 @@ declare namespace BusinessAPI { notEmpty?: boolean; }; + type MultiResponseProductVO = { + success?: boolean; + errCode?: string; + errMessage?: string; + data?: ProductVO[]; + empty?: boolean; + notEmpty?: boolean; + }; + type MultiResponsePurchaseOrderVO = { success?: boolean; errCode?: string; @@ -2352,15 +2381,17 @@ declare namespace BusinessAPI { /** 数量 */ count: number; /** 付款方类型:1-我方,2-对方 */ - payerType: "US" | "OTHER"; + payerType?: "US" | "OTHER"; /** 负责人 */ principal?: string; - /** 费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用 */ + /** 费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用;5_工头垫付;6_产地垫付 */ costType: | "PACKAGING_MATERIALS" | "HUMAN_COST" | "OTHER_COST" - | "FIXED_COST"; + | "FIXED_COST" + | "WORKER_ADVANCE" + | "PRODUCTION_ADVANCE"; }; type OrderDealer = { @@ -2501,6 +2532,10 @@ declare namespace BusinessAPI { contractUpload: boolean; /** 合同 */ contractImg?: string[]; + /** 产品ID */ + productId?: string; + /** 产品名称 */ + productName?: string; /** 采购订单包装箱信息 */ orderPackageList?: OrderPackage[]; }; @@ -2615,6 +2650,10 @@ declare namespace BusinessAPI { platformPageQry: PlatformPageQry; }; + type pageProductParams = { + productPageQry: ProductPageQry; + }; + type pagePurchaseOrderParams = { purchaseOrderPageQry: PurchaseOrderPageQry; }; @@ -2840,6 +2879,19 @@ declare namespace BusinessAPI { totalPages?: number; }; + type PageResponseProductVO = { + success?: boolean; + errCode?: string; + errMessage?: string; + totalCount?: number; + pageSize?: number; + pageIndex?: number; + data?: ProductVO[]; + empty?: boolean; + notEmpty?: boolean; + totalPages?: number; + }; + type PageResponsePurchaseOrderVO = { success?: boolean; errCode?: string; @@ -3021,6 +3073,107 @@ declare namespace BusinessAPI { homePage: string; }; + type ProductCreateCmd = { + /** 产品ID */ + productId: string; + /** 产品名称 */ + name: string; + /** 关联成本费用id */ + costItemIds?: number[]; + /** 备注 */ + remark?: string; + /** 排序号 */ + sort: number; + /** 状态:1_启用;0_禁用 */ + status: boolean; + /** 创建时间 */ + createdAt?: string; + }; + + type ProductDestroyCmd = { + /** 产品表ID */ + productId: string; + }; + + type ProductDragCmd = { + /** 相邻元素前 */ + prevId?: number; + /** 相邻元素后 */ + nextId?: number; + /** 当前元素 */ + currentId?: number; + }; + + type ProductListQry = { + /** 状态:1_启用;0_禁用; */ + status?: boolean; + /** 产品表ID */ + productId?: string; + }; + + type ProductPageQry = { + pageSize?: number; + pageIndex?: number; + orderBy?: string; + orderDirection?: string; + groupBy?: string; + needTotalCount?: boolean; + /** 自定义字段key */ + customFieldKey?: string; + /** 自定义字段value */ + customFieldValue?: string; + /** 备注 */ + remark?: string; + /** 状态:1_启用;0_禁用; */ + status?: boolean; + /** 产品表ID */ + productId?: string; + offset?: number; + }; + + type ProductShowQry = { + /** 状态:1_启用;0_禁用; */ + status?: boolean; + /** 产品表ID */ + productId?: string; + }; + + type ProductUpdateCmd = { + /** 产品表ID */ + productId: string; + /** 产品名称 */ + name: string; + /** 关联成本费用id */ + costItemIds?: number[]; + /** 备注 */ + remark?: string; + /** 排序号 */ + sort: number; + /** 状态:1_启用;0_禁用 */ + status: boolean; + /** 创建时间 */ + createdAt?: string; + }; + + type ProductVO = { + /** 产品ID */ + productId: string; + /** 产品名称 */ + name: string; + /** 关联成本费用id */ + costItemIds?: number[]; + /** 备注 */ + remark?: string; + /** 排序号 */ + sort: number; + /** 状态:1_启用;0_禁用 */ + status: boolean; + /** 成本费用 */ + costItemVOList?: CostItemVO[]; + /** 创建时间 */ + createdAt?: string; + }; + type PurchaseOrderApproveCmd = { /** 采购订单ID */ orderId: string; @@ -3169,6 +3322,8 @@ declare namespace BusinessAPI { active?: number; /** 供应商信息 */ orderSupplierList: OrderSupplier[]; + /** 采购订单费用信息 */ + orderCostList: OrderCost[]; }; type PurchaseOrderStep3Cmd = { @@ -3838,6 +3993,10 @@ declare namespace BusinessAPI { platformShowQry: PlatformShowQry; }; + type showProductParams = { + productShowQry: ProductShowQry; + }; + type showPurchaseOrderParams = { purchaseOrderShowQry: PurchaseOrderShowQry; }; @@ -4009,6 +4168,13 @@ declare namespace BusinessAPI { data?: PlatformVO; }; + type SingleResponseProductVO = { + success?: boolean; + errCode?: string; + errMessage?: string; + data?: ProductVO; + }; + type SingleResponsePurchaseOrderVO = { success?: boolean; errCode?: string; diff --git a/packages/app-client/src/services/poster-request.ts b/packages/app-client/src/services/poster-request.ts new file mode 100644 index 0000000..6a51a89 --- /dev/null +++ b/packages/app-client/src/services/poster-request.ts @@ -0,0 +1,107 @@ +import axios from "axios"; +import Taro from "@tarojs/taro"; +import { Toast } from "@nutui/nutui-react-taro"; + +const request = axios.create({ + baseURL: process.env.TARO_API_DOMAIN, +}); + +// 创建全局的axios实例,并安装请求拦截器 +request.interceptors.request.use( + (config) => { + // 在发送请求之前做些什么 + const saToken = Taro.getStorageSync("saToken"); + if (saToken) { + config.headers.saToken = saToken; + } + + const slug = Taro.getStorageSync("userRoleVO")?.slug; + if (slug) { + config.headers["Xh-Role-Slug"] = slug; + } + + return config; + }, + (error) => { + // 处理请求错误 + return Promise.reject(error); + }, +); + +// 在获取到响应后,安装响应拦截器 +request.interceptors.response.use( + async (response) => { + console.log("response", response); + const { + data: { success, data }, + } = response; + // 处理响应成功的情况 + if (success) { + const saToken = data?.meta?.accessToken; + if (saToken) { + Taro.setStorageSync("saToken", saToken); + Taro.setStorageSync("user", data.userVO); + Taro.setStorageSync("userRoleVO", data.userRoleVOList?.[0]); + } + } else { + // 异常处理 + if (response.data.errCode === "403") { + Toast.show("toast", { + icon: "fail", + title: "暂无权限", + content: response.data.errMessage, + }); + } + + // 如果是401则重新登录,然后重新发起请求 + if (response.data.errCode === "401") { + // 移除缓存 + Taro.removeStorageSync("saToken"); + Taro.removeStorageSync("user"); + Taro.removeStorageSync("userRoleVO"); + // const { code } = await Taro.login(); + // const data = await wxMaLogin(code); + // if (data) { + // response.config.headers.saToken = `${Taro.getStorageSync("saToken")}`; + // return request(response.config); + // } + // 跳转到登录页面 + Taro.navigateTo({ + url: "/pages/public/login/index", + }); + return response; + } + + console.log("response.data.errCode", response.data.errCode); + if (response.data.errCode === "400") { + Toast.show("toast", { + icon: "fail", + title: "请求失败", + content: response.data.errMessage, + }); + } + + if (response.data.errCode === "500") { + Toast.show("toast", { + icon: "fail", + title: "服务器错误", + content: response.data.errMessage, + }); + } else { + Toast.show("toast", { + icon: "fail", + title: "请求失败", + content: response.data.errMessage, + }); + } + } + + return response; + }, + (error) => { + // 处理响应错误的情况 + return Promise.reject(error); + }, +); + +export default request; diff --git a/packages/app-client/src/services/poster/health.ts b/packages/app-client/src/services/poster/health.ts new file mode 100644 index 0000000..9dde300 --- /dev/null +++ b/packages/app-client/src/services/poster/health.ts @@ -0,0 +1,16 @@ +// @ts-ignore +/* eslint-disable */ +import request from "../poster-request"; + +/** 健康检查 检查服务是否正常运行 GET /status */ +export async function getStatus(options?: { [key: string]: any }) { + return request<{ + success?: boolean; + data?: Record; + message?: string; + code?: number; + }>("/status", { + method: "GET", + ...(options || {}), + }); +} diff --git a/packages/app-client/src/services/poster/index.ts b/packages/app-client/src/services/poster/index.ts new file mode 100644 index 0000000..2f9283e --- /dev/null +++ b/packages/app-client/src/services/poster/index.ts @@ -0,0 +1,12 @@ +// @ts-ignore +/* eslint-disable */ +// API 更新时间: +// API 唯一标识: +import * as health from "./health"; +import * as poster from "./poster"; +import * as pdf from "./pdf"; +export default { + health, + poster, + pdf, +}; diff --git a/packages/app-client/src/services/poster/pdf.ts b/packages/app-client/src/services/poster/pdf.ts new file mode 100644 index 0000000..74d1913 --- /dev/null +++ b/packages/app-client/src/services/poster/pdf.ts @@ -0,0 +1,34 @@ +// @ts-ignore +/* eslint-disable */ +import request from "../poster-request"; + +/** 生成PDF 从网页URL或HTML内容生成PDF文档 POST /api/v1/pdf */ +export async function postApiV1Pdf( + body: { + /** 要生成PDF的网页URL */ + webpage?: string; + /** 要生成PDF的HTML内容(可选,优先级高于webpage) */ + html?: string; + /** 设备缩放因子 */ + device?: number; + /** PDF宽度 */ + width?: number; + /** PDF高度 */ + height?: number; + }, + options?: { [key: string]: any }, +) { + return request<{ + success?: boolean; + data?: { name?: string; path?: string }; + message?: string; + code?: number; + }>("/api/v1/pdf", { + method: "POST", + headers: { + "Content-Type": "application/json", + }, + data: body, + ...(options || {}), + }); +} diff --git a/packages/app-client/src/services/poster/poster.ts b/packages/app-client/src/services/poster/poster.ts new file mode 100644 index 0000000..c7f7d7f --- /dev/null +++ b/packages/app-client/src/services/poster/poster.ts @@ -0,0 +1,38 @@ +// @ts-ignore +/* eslint-disable */ +import request from "../poster-request"; + +/** 生成海报 从网页URL或HTML内容生成海报图像 POST /api/v1/poster */ +export async function postApiV1Poster( + body: { + /** 要生成海报的网页URL */ + webpage?: string; + /** 要生成海报的HTML内容(可选,优先级高于webpage) */ + html?: string; + /** 设备缩放因子 */ + device?: number; + /** 海报宽度 */ + width?: number; + /** 海报高度 */ + height?: number; + /** 输出图像类型 */ + type?: string; + /** 编码类型 */ + encoding?: string; + }, + options?: { [key: string]: any }, +) { + return request<{ + success?: boolean; + data?: { name?: string; path?: string }; + message?: string; + code?: number; + }>("/api/v1/poster", { + method: "POST", + headers: { + "Content-Type": "application/json", + }, + data: body, + ...(options || {}), + }); +} diff --git a/packages/app-client/src/services/poster/typings.d.ts b/packages/app-client/src/services/poster/typings.d.ts new file mode 100644 index 0000000..6156536 --- /dev/null +++ b/packages/app-client/src/services/poster/typings.d.ts @@ -0,0 +1 @@ +declare namespace PosterAPI {} diff --git a/packages/app-client/src/utils/ocr.ts b/packages/app-client/src/utils/ocr.ts index 7960823..1f6ce32 100644 --- a/packages/app-client/src/utils/ocr.ts +++ b/packages/app-client/src/utils/ocr.ts @@ -26,7 +26,7 @@ async function ocr(tempFilePath: string, path: string) { name: "file", header: { saToken: Taro.getStorageSync("saToken"), - "Content-Type": "multipart/form-data", + // "Content-Type": "multipart/form-data", }, }); diff --git a/packages/app-client/src/utils/uploader.ts b/packages/app-client/src/utils/uploader.ts index 099e00d..fc23bd6 100644 --- a/packages/app-client/src/utils/uploader.ts +++ b/packages/app-client/src/utils/uploader.ts @@ -10,7 +10,7 @@ export const uploadFile = async (file: File | string) => { name: "file", header: { saToken: Taro.getStorageSync("saToken"), - "Content-Type": "multipart/form-data", + // "Content-Type": "multipart/form-data", }, }); diff --git a/swagger/business.json b/swagger/business.json index e272262..f68ef24 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":"Permission","description":"权限管理"},{"name":"Role","description":"应用角色管理"},{"name":"PurchaseOrder","description":"采购订单管理"},{"name":"ShipOrder","description":"发货单管理"},{"name":"Employee","description":"员工信息管理"},{"name":"Setting","description":"系统设置管理"},{"name":"BoxBrand","description":"纸箱品牌管理"},{"name":"BoxProduct","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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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":"箱重(斤)"},"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":"发货单明细"},"shipDocument":{"type":"string","title":"发货单据"},"purchaseDocument":{"type":"string","title":"采购底单"},"costDocument":{"type":"string","title":"成本单据"}},"required":["shipOrderId"],"title":"发货单更新"},"ShipOrderPackage":{"type":"object","properties":{"orderPackageId":{"type":"string","title":"发货单子项ID"},"shipOrderId":{"type":"string","title":"发货单ID"},"boxCategory":{"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":"瓜农姓名逗号隔开"},"shipDocument":{"type":"string","title":"发货单据"},"purchaseDocument":{"type":"string","title":"采购底单"},"costDocument":{"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":"发货单子项表"}},"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"],"title":"系统设置项key"},"settingValue":{"oneOf":[{"$ref":"#/components/schemas/AliPayConfigValue"},{"$ref":"#/components/schemas/ChargingPilePurchaseConfig"},{"$ref":"#/components/schemas/CustomMenuConfigValue"},{"$ref":"#/components/schemas/CustomThemeConfigValue"},{"$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"]},"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"],"title":"系统设置项key"},"settingValue":{"oneOf":[{"$ref":"#/components/schemas/AliPayConfigValue"},{"$ref":"#/components/schemas/ChargingPilePurchaseConfig"},{"$ref":"#/components/schemas/CustomMenuConfigValue"},{"$ref":"#/components/schemas/CustomThemeConfigValue"},{"$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"}}},"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":"负责人"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用"}},"required":["costType","count","itemId","name","orderCostId","payerType","price","unit"],"title":"采购订单成本项目信息创建"},"OrderDealer":{"type":"object","properties":{"orderDealerId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"采购订单ID"},"dealerId":{"type":"string","title":"经销商ID"},"shortName":{"type":"string","title":"经销商简称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"},"documentTypes":{"type":"string","title":"单据类型:delivery-发货单, purchase-采购底单, cost-成本单"},"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"},"orderSupplierId":{"type":"string","title":"供应商记录ID"},"boxBrandId":{"type":"string","title":"箱子品牌ID"},"boxBrandName":{"type":"string","title":"箱子品牌名称"},"boxBrandImage":{"type":"string","title":"箱子品牌图片"},"boxCategoryId":{"type":"string","title":"箱子分类ID"},"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"],"title":"箱子类型:1_本次使用;2_额外运输;3_已使用额外运输;4_车上剩余;"}},"required":["boxBrandId","boxBrandName","boxCategoryId","boxCount","boxProductId","boxProductName","boxProductWeight","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":"合同"},"orderPackageList":{"type":"array","items":{"$ref":"#/components/schemas/OrderPackage"},"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":"产地负责人"},"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":"采购订单费用信息"}},"required":["orderCostList","orderDealer","orderId","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":"产地负责人"},"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_BOSS_APPROVE","SHIPPING","PAID","COMPLETED"],"title":"订单状态: 0-草稿, 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":"采购订单费用信息"}},"required":["createdBy","draft","orderCompany","orderCostList","orderDealer","orderId","orderRebate","orderSn","orderSupplierList","orderVehicle"],"title":"采购订单"},"SingleResponsePurchaseOrderVO":{"type":"object","properties":{"success":{"type":"boolean"},"errCode":{"type":"string"},"errMessage":{"type":"string"},"data":{"$ref":"#/components/schemas/PurchaseOrderVO"}}},"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"}}},"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"},"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"},"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":"描述"}},"required":["description","name","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":"发货单合计金额是否含包装费"},"documentTypes":{"type":"string","title":"单据类型:delivery-发货单, purchase-采购底单, cost-成本单"},"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":"公司返点比例"},"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":"发货单合计金额是否含包装费"},"documentTypes":{"type":"string","title":"单据类型:delivery-发货单, purchase-采购底单, cost-成本单"},"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":"公司返点比例"}},"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"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["costType","itemId","name","price","showInEntry","status","unit"],"title":"费用项目更新"},"CostItemVO":{"type":"object","properties":{"itemId":{"type":"string","title":"项目ID"},"costType":{"type":"string","enum":["PACKAGING_MATERIALS","HUMAN_COST","OTHER_COST","FIXED_COST"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"showInEntry":{"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","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"}}},"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":"销售价"},"specType":{"type":"string","enum":["TWO_GRAIN","FOUR_GRAIN"],"title":"规格:1_2粒装;2_4粒装"},"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"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"required":["brandId","name","productId","specType","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":"销售价"},"specType":{"type":"string","enum":["TWO_GRAIN","FOUR_GRAIN"],"title":"规格:1_2粒装;2_4粒装"},"brandId":{"type":"string","title":"品牌ID"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["brandId","costPrice","name","productId","salePrice","specType","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"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"required":["brandId","name","status","type"],"title":"纸箱品牌更新"},"BoxBrandVO":{"type":"object","properties":{"brandId":{"type":"string","title":"品牌ID"},"name":{"type":"string","title":"品牌名称"},"image":{"type":"string","title":"品牌图片URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"},"boxProductVOList":{"type":"array","items":{"$ref":"#/components/schemas/BoxProductVO"},"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":"发货单明细"},"shipDocument":{"type":"string","title":"发货单据"},"purchaseDocument":{"type":"string","title":"采购底单"},"costDocument":{"type":"string","title":"成本单据"}},"required":["shipOrderId"],"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"},"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":"步骤标识"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"}},"required":["orderCostList","orderId"],"title":"采购订单第三步:人工和辅料等费用信息保存"},"PurchaseOrderStep2Cmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"}},"required":["orderId","orderSupplierList"],"title":"采购订单第二步:供应商信息保存"},"PurchaseOrderStep1Cmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"}},"required":["orderDealer","orderVehicle"],"title":"采购订单第一步:车辆信息和经销商信息保存"},"EmployeeRestPasswordCmd":{"type":"object","properties":{"password":{"type":"string","pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"新密码"},"userId":{"type":"string","title":"用户id"}},"required":["password","userId"],"title":"员工信息更新"},"PurchaseOrderRejectFinalCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"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":"备注"}},"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":"产地负责人"},"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":"采购订单费用信息"}},"required":["orderCostList","orderDealer","orderSupplierList","orderVehicle"],"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"}},"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":"发货单合计金额是否含包装费"},"documentTypes":{"type":"string","title":"单据类型:delivery-发货单, purchase-采购底单, cost-成本单"},"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":"公司返点比例"}},"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"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用"},"name":{"type":"string","title":"项目名称"},"unit":{"type":"string","title":"单位"},"price":{"type":"number","title":"单价"},"showInEntry":{"type":"boolean","title":"是否在录入时显示"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"}},"required":["costType","itemId","name","price","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":"渠道新增"},"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":"销售价"},"specType":{"type":"string","enum":["TWO_GRAIN","FOUR_GRAIN"],"title":"规格:1_2粒装;2_4粒装"},"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"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"required":["brandId","name","productId","specType","status","type"],"title":"纸箱产品创建"},"BoxBrandCreateCmd":{"type":"object","properties":{"brandId":{"type":"string","title":"品牌ID"},"name":{"type":"string","title":"品牌名称"},"image":{"type":"string","title":"品牌图片URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"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":"产地负责人"},"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":"采购订单费用信息"},"draft":{"type":"boolean","title":"是否是暂存"},"pricingMethod":{"type":"string","enum":["BY_GROSS_WEIGHT","BY_NET_WEIGHT"]},"orderCompany":{"$ref":"#/components/schemas/OrderCompany","title":"公司信息"},"orderRebate":{"$ref":"#/components/schemas/OrderRebate","title":"返点信息"}},"required":["draft","orderCompany","orderCostList","orderDealer","orderId","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"],"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":"采购订单查询"},"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"}},"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":"渠道查询"},"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","WAITING_BOSS_APPROVE","SHIPPING","PAID","COMPLETED"],"title":"订单状态: 0-草稿, 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"}}},"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"}}},"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"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用"},"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"}}},"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"},"specType":{"type":"string","enum":["TWO_GRAIN","FOUR_GRAIN"],"title":"规格:1_2粒装;2_4粒装"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"},"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"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"},"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"},"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"}}},"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"],"title":"费用类型:1_包装材料;2_人工费用;3_其他费用;4_固定费用"},"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"}}},"BoxProductListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"纸箱产品ID"},"name":{"type":"string","title":"纸箱产品名称"},"brandId":{"type":"string","title":"纸箱品牌ID"},"specType":{"type":"string","enum":["TWO_GRAIN","FOUR_GRAIN"],"title":"规格:1_2粒装;2_4粒装"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"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"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"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_BOSS_APPROVE","SHIPPING","PAID","COMPLETED"],"title":"订单状态: 0-草稿, 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":"删除采购订单"},"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":"渠道删除"},"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":"PurchaseOrder","description":"采购订单管理"},{"name":"ShipOrder","description":"发货单管理"},{"name":"Employee","description":"员工信息管理"},{"name":"Setting","description":"系统设置管理"},{"name":"BoxBrand","description":"纸箱品牌管理"},{"name":"BoxProduct","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/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/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/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/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/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/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/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/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":"箱重(斤)"},"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":"发货单明细"},"shipDocument":{"type":"string","title":"发货单据"},"purchaseDocument":{"type":"string","title":"采购底单"},"costDocument":{"type":"string","title":"成本单据"}},"required":["shipOrderId"],"title":"发货单更新"},"ShipOrderPackage":{"type":"object","properties":{"orderPackageId":{"type":"string","title":"发货单子项ID"},"shipOrderId":{"type":"string","title":"发货单ID"},"boxCategory":{"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":"瓜农姓名逗号隔开"},"shipDocument":{"type":"string","title":"发货单据"},"purchaseDocument":{"type":"string","title":"采购底单"},"costDocument":{"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":"发货单子项表"}},"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"],"title":"系统设置项key"},"settingValue":{"oneOf":[{"$ref":"#/components/schemas/AliPayConfigValue"},{"$ref":"#/components/schemas/ChargingPilePurchaseConfig"},{"$ref":"#/components/schemas/CustomMenuConfigValue"},{"$ref":"#/components/schemas/CustomThemeConfigValue"},{"$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"]},"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"],"title":"系统设置项key"},"settingValue":{"oneOf":[{"$ref":"#/components/schemas/AliPayConfigValue"},{"$ref":"#/components/schemas/ChargingPilePurchaseConfig"},{"$ref":"#/components/schemas/CustomMenuConfigValue"},{"$ref":"#/components/schemas/CustomThemeConfigValue"},{"$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"}}},"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":"负责人"},"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","payerType","price","unit"],"title":"采购订单成本项目信息创建"},"OrderDealer":{"type":"object","properties":{"orderDealerId":{"type":"string","title":"记录ID"},"orderId":{"type":"string","title":"采购订单ID"},"dealerId":{"type":"string","title":"经销商ID"},"shortName":{"type":"string","title":"经销商简称"},"dealerType":{"type":"string","enum":["MARKET","SUPERMARKET"],"title":"经销商类型:1_市场;2_超市;"},"enableShare":{"type":"boolean","title":"是否开启分成"},"shareRatio":{"type":"number","title":"分成比例"},"freightCostFlag":{"type":"boolean","title":"运费是否作为成本"},"strawMatCostFlag":{"type":"boolean","title":"草帘是否作为成本"},"includePackingFlag":{"type":"boolean","title":"发货单合计金额是否含包装费"},"enableAccrualTax":{"type":"boolean","title":"是否开启计提税金"},"accrualTaxRatio":{"type":"number","title":"计提税金比例"},"enableCompanyRebate":{"type":"boolean","title":"是否开启公司返点"},"companyRebateRatio":{"type":"number","title":"公司返点比例"},"documentTypes":{"type":"string","title":"单据类型:delivery-发货单, purchase-采购底单, cost-成本单"},"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"},"orderSupplierId":{"type":"string","title":"供应商记录ID"},"boxBrandId":{"type":"string","title":"箱子品牌ID"},"boxBrandName":{"type":"string","title":"箱子品牌名称"},"boxBrandImage":{"type":"string","title":"箱子品牌图片"},"boxCategoryId":{"type":"string","title":"箱子分类ID"},"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"],"title":"箱子类型:1_本次使用;2_额外运输;3_已使用额外运输;4_车上剩余;"}},"required":["boxBrandId","boxBrandName","boxCategoryId","boxCount","boxProductId","boxProductName","boxProductWeight","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":"采购订单包装箱信息"}},"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":"产地负责人"},"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":"采购订单费用信息"}},"required":["orderCostList","orderDealer","orderId","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":"产地负责人"},"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_BOSS_APPROVE","SHIPPING","PAID","COMPLETED"],"title":"订单状态: 0-草稿, 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":"采购订单费用信息"}},"required":["createdBy","draft","orderCompany","orderCostList","orderDealer","orderId","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"}}},"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"},"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"},"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":"描述"}},"required":["description","name","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":"发货单合计金额是否含包装费"},"documentTypes":{"type":"string","title":"单据类型:delivery-发货单, purchase-采购底单, cost-成本单"},"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":"公司返点比例"},"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":"发货单合计金额是否含包装费"},"documentTypes":{"type":"string","title":"单据类型:delivery-发货单, purchase-采购底单, cost-成本单"},"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":"公司返点比例"}},"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"}}},"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":"销售价"},"specType":{"type":"string","enum":["TWO_GRAIN","FOUR_GRAIN"],"title":"规格:1_2粒装;2_4粒装"},"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"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"required":["brandId","name","productId","specType","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":"销售价"},"specType":{"type":"string","enum":["TWO_GRAIN","FOUR_GRAIN"],"title":"规格:1_2粒装;2_4粒装"},"brandId":{"type":"string","title":"品牌ID"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"createdAt":{"type":"string","format":"date-time","title":"创建时间"}},"required":["brandId","costPrice","name","productId","salePrice","specType","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"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"required":["brandId","name","status","type"],"title":"纸箱品牌更新"},"BoxBrandVO":{"type":"object","properties":{"brandId":{"type":"string","title":"品牌ID"},"name":{"type":"string","title":"品牌名称"},"image":{"type":"string","title":"品牌图片URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"},"boxProductVOList":{"type":"array","items":{"$ref":"#/components/schemas/BoxProductVO"},"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":"发货单明细"},"shipDocument":{"type":"string","title":"发货单据"},"purchaseDocument":{"type":"string","title":"采购底单"},"costDocument":{"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"},"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":"步骤标识"},"orderCostList":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"},"title":"采购订单费用信息"}},"required":["orderCostList","orderId"],"title":"采购订单第三步:人工和辅料等费用信息保存"},"PurchaseOrderStep2Cmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"orderSupplierList":{"type":"array","items":{"$ref":"#/components/schemas/OrderSupplier"},"title":"供应商信息"}},"required":["orderId","orderSupplierList"],"title":"采购订单第二步:供应商信息保存"},"PurchaseOrderStep1Cmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"},"active":{"type":"integer","format":"int32","title":"步骤标识"},"orderVehicle":{"$ref":"#/components/schemas/OrderVehicle","title":"车辆信息"},"orderDealer":{"$ref":"#/components/schemas/OrderDealer","title":"经销商信息"}},"required":["orderDealer","orderVehicle"],"title":"采购订单第一步:车辆信息和经销商信息保存"},"EmployeeRestPasswordCmd":{"type":"object","properties":{"password":{"type":"string","pattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$","title":"新密码"},"userId":{"type":"string","title":"用户id"}},"required":["password","userId"],"title":"员工信息更新"},"PurchaseOrderRejectFinalCmd":{"type":"object","properties":{"orderId":{"type":"string","title":"采购订单ID"}},"required":["orderId"],"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":"备注"}},"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":"产地负责人"},"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":"采购订单费用信息"}},"required":["orderCostList","orderDealer","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"}},"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":"发货单合计金额是否含包装费"},"documentTypes":{"type":"string","title":"单据类型:delivery-发货单, purchase-采购底单, cost-成本单"},"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":"公司返点比例"}},"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":"渠道新增"},"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":"销售价"},"specType":{"type":"string","enum":["TWO_GRAIN","FOUR_GRAIN"],"title":"规格:1_2粒装;2_4粒装"},"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"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"required":["brandId","name","productId","specType","status","type"],"title":"纸箱产品创建"},"BoxBrandCreateCmd":{"type":"object","properties":{"brandId":{"type":"string","title":"品牌ID"},"name":{"type":"string","title":"品牌名称"},"image":{"type":"string","title":"品牌图片URL"},"remark":{"type":"string","title":"备注"},"status":{"type":"boolean","title":"状态:1_启用;0_禁用"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"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":"产地负责人"},"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":"采购订单费用信息"},"draft":{"type":"boolean","title":"是否是暂存"},"pricingMethod":{"type":"string","enum":["BY_GROSS_WEIGHT","BY_NET_WEIGHT"]},"orderCompany":{"$ref":"#/components/schemas/OrderCompany","title":"公司信息"},"orderRebate":{"$ref":"#/components/schemas/OrderRebate","title":"返点信息"}},"required":["draft","orderCompany","orderCostList","orderDealer","orderId","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"],"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"}},"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":"渠道查询"},"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","WAITING_BOSS_APPROVE","SHIPPING","PAID","COMPLETED"],"title":"订单状态: 0-草稿, 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"}}},"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_产地垫付"},"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"}}},"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"},"specType":{"type":"string","enum":["TWO_GRAIN","FOUR_GRAIN"],"title":"规格:1_2粒装;2_4粒装"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"},"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"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"},"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"},"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"}}},"BoxProductListQry":{"type":"object","properties":{"status":{"type":"boolean","title":"状态:1_启用;0_禁用;"},"productId":{"type":"string","title":"纸箱产品ID"},"name":{"type":"string","title":"纸箱产品名称"},"brandId":{"type":"string","title":"纸箱品牌ID"},"specType":{"type":"string","enum":["TWO_GRAIN","FOUR_GRAIN"],"title":"规格:1_2粒装;2_4粒装"},"type":{"type":"string","enum":["OUR_BOX","FARMER_BOX","THIRD_PARTY_BOX"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"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"],"title":"品牌类型:1_我方纸箱;2_瓜农纸箱;3_第三方纸箱"}},"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_BOSS_APPROVE","SHIPPING","PAID","COMPLETED"],"title":"订单状态: 0-草稿, 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":"渠道删除"},"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":"删除协议"}}}} diff --git a/swagger/poster.json b/swagger/poster.json new file mode 100644 index 0000000..05b4e15 --- /dev/null +++ b/swagger/poster.json @@ -0,0 +1 @@ +{"openapi": "3.0.0", "info": {"title": "ERPTurbo_Poster API", "version": "1.0.0", "description": "海报和PDF生成服务API文档"}, "servers": [{"url": "http://localhost:3000", "description": "开发服务器"}], "paths": {"/status": {"get": {"summary": "健康检查", "description": "检查服务是否正常运行", "tags": ["Health"], "responses": {"200": {"description": "服务正常运行", "content": {"application/json": {"schema": {"type": "object", "properties": {"success": {"type": "boolean", "example": true, "description": "请求是否成功"}, "data": {"type": "object", "example": {}, "description": "响应数据"}, "message": {"type": "string", "example": "Service is running", "description": "响应消息"}, "code": {"type": "number", "example": 200, "description": "响应代码"}}}}}}, "500": {"description": "服务异常"}}}}, "/api/v1/poster": {"post": {"summary": "生成海报", "description": "从网页URL或HTML内容生成海报图像", "tags": ["Poster"], "security": [{"ApiKeyAuth": []}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"webpage": {"type": "string", "description": "要生成海报的网页URL", "example": "https://example.com"}, "html": {"type": "string", "description": "要生成海报的HTML内容(可选,优先级高于webpage)", "example": "

Hello World

"}, "device": {"type": "number", "description": "设备缩放因子", "default": 1, "example": 1}, "width": {"type": "number", "description": "海报宽度", "default": 1920, "example": 1920}, "height": {"type": "number", "description": "海报高度", "default": 1080, "example": 1080}, "type": {"type": "string", "description": "输出图像类型", "default": "png", "example": "png"}, "encoding": {"type": "string", "description": "编码类型", "default": "binary", "example": "binary"}}}}}}, "responses": {"200": {"description": "成功生成海报", "content": {"application/json": {"schema": {"type": "object", "properties": {"success": {"type": "boolean", "example": true, "description": "请求是否成功"}, "data": {"type": "object", "properties": {"name": {"type": "string", "example": "poster_abc123def456.png", "description": "生成的海报文件名"}, "path": {"type": "string", "example": "http://example.com/uploads/posters/2024/11/14/poster_abc123def456.png", "description": "生成的海报文件访问路径"}}}, "message": {"type": "string", "example": "Poster generated successfully", "description": "响应消息"}, "code": {"type": "number", "example": 200, "description": "响应代码"}}}}}}, "400": {"description": "请求参数错误", "content": {"application/json": {"schema": {"type": "object", "properties": {"success": {"type": "boolean", "example": false, "description": "请求是否成功"}, "data": {"type": "object", "example": null, "description": "响应数据"}, "message": {"type": "string", "example": "Missing required parameter: webpage or html", "description": "错误消息"}, "code": {"type": "number", "example": 3001, "description": "错误代码"}}}}}}, "401": {"description": "未授权访问"}, "500": {"description": "服务器内部错误"}}}}, "/api/v1/pdf": {"post": {"summary": "生成PDF", "description": "从网页URL或HTML内容生成PDF文档", "tags": ["PDF"], "security": [{"ApiKeyAuth": []}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"webpage": {"type": "string", "description": "要生成PDF的网页URL", "example": "https://example.com"}, "html": {"type": "string", "description": "要生成PDF的HTML内容(可选,优先级高于webpage)", "example": "

Hello World

"}, "device": {"type": "number", "description": "设备缩放因子", "default": 1, "example": 1}, "width": {"type": "number", "description": "PDF宽度", "default": 1920, "example": 1920}, "height": {"type": "number", "description": "PDF高度", "default": 1080, "example": 1080}}}}}}, "responses": {"200": {"description": "成功生成PDF", "content": {"application/json": {"schema": {"type": "object", "properties": {"success": {"type": "boolean", "example": true, "description": "请求是否成功"}, "data": {"type": "object", "properties": {"name": {"type": "string", "example": "pdf_abc123def456.pdf", "description": "生成的PDF文件名"}, "path": {"type": "string", "example": "http://example.com/uploads/pdfs/2024/11/14/pdf_abc123def456.pdf", "description": "生成的PDF文件访问路径"}}}, "message": {"type": "string", "example": "PDF generated successfully", "description": "响应消息"}, "code": {"type": "number", "example": 200, "description": "响应代码"}}}}}}, "400": {"description": "请求参数错误", "content": {"application/json": {"schema": {"type": "object", "properties": {"success": {"type": "boolean", "example": false, "description": "请求是否成功"}, "data": {"type": "object", "example": null, "description": "响应数据"}, "message": {"type": "string", "example": "Missing required parameter: webpage or html", "description": "错误消息"}, "code": {"type": "number", "example": 3001, "description": "错误代码"}}}}}}, "401": {"description": "未授权访问"}, "500": {"description": "服务器内部错误"}}}}}, "components": {}, "tags": []}