@dazhicheng/ui 1.5.249 → 1.5.250

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,7 @@ export type SupplierManageListItem = {
15
15
  };
16
16
  /**
17
17
  * 获取全部配置号列表
18
- * POST /supplier/supplierConfigManage/config/getAllConfigList
18
+ * POST /supplier/supplierConfigManage/getAllConfigList
19
19
  */
20
20
  export declare function getAllConfigListSupplierConfigManage(body?: Record<string, any>, options?: {
21
21
  [key: string]: any;
@@ -1,11 +1,11 @@
1
1
  import { request as l } from "../utils/xhr.js";
2
- async function p(i = {}, n) {
2
+ async function p(i = {}, e) {
3
3
  return l.post({
4
- url: "/supplier/supplierConfigManage/config/getAllConfigList",
4
+ url: "/supplier/supplierConfigManage/getAllConfigList",
5
5
  params: i
6
6
  });
7
7
  }
8
- async function r(i, n) {
8
+ async function r(i, e) {
9
9
  return l.get({
10
10
  url: "/supplier/supplierManage/listAllValid",
11
11
  params: i
@@ -20,7 +20,7 @@ export declare const CODES: {
20
20
  readonly LOSS_REASON: "lossReason";
21
21
  /** 亏损原因细类(/rule/lossReason/secondaryDropdownList) */
22
22
  readonly LOSS_REASON_SECONDARY: "lossReasonSecondary";
23
- /** 配置号(/supplier/supplierConfigManage/config/getAllConfigList) */
23
+ /** 配置号(/supplier/supplierConfigManage/getAllConfigList) */
24
24
  readonly SUPPLIER_CONFIG: "supplierConfig";
25
25
  /** 供应商(/supplier/supplierManage/listAllValid) */
26
26
  readonly SUPPLIER: "supplier";
@@ -19,7 +19,7 @@ const u = {
19
19
  LOSS_REASON: "lossReason",
20
20
  /** 亏损原因细类(/rule/lossReason/secondaryDropdownList) */
21
21
  LOSS_REASON_SECONDARY: "lossReasonSecondary",
22
- /** 配置号(/supplier/supplierConfigManage/config/getAllConfigList) */
22
+ /** 配置号(/supplier/supplierConfigManage/getAllConfigList) */
23
23
  SUPPLIER_CONFIG: "supplierConfig",
24
24
  /** 供应商(/supplier/supplierManage/listAllValid) */
25
25
  SUPPLIER: "supplier"
@@ -212,7 +212,7 @@ function F(a = []) {
212
212
  function U(a = []) {
213
213
  return (Array.isArray(a) ? a : []).filter((e) => e == null ? void 0 : e.supplierCode).map((e) => ({
214
214
  ...e,
215
- label: e.supplierName ? `${e.supplierCode}(${e.supplierName})` : e.supplierCode,
215
+ label: e.supplierName || e.supplierCode,
216
216
  value: e.supplierCode
217
217
  }));
218
218
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dazhicheng/ui",
3
- "version": "1.5.249",
3
+ "version": "1.5.250",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",