kts-component-invoice-operate 2.0.9 → 2.0.12

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.
package/dist/index.esm.js CHANGED
@@ -3095,7 +3095,7 @@ var useCommodityComparisonButton = (function () {
3095
3095
  key: "3",
3096
3096
  disabled: disabled,
3097
3097
  onClick: onClick
3098
- }, "\u6267\u884C\u5546\u54C1\u5BF9\u7167");
3098
+ }, "\u5546\u54C1\u6620\u5C04");
3099
3099
  }, [disabled, onClick, onComply]);
3100
3100
  return {
3101
3101
  menuItem: menuItem
@@ -13570,19 +13570,20 @@ function AddComparisonDrawer() {
13570
13570
  good.itemModelNameSelf = values.itemModelNameSelf;
13571
13571
  s.goodsListState.addComparisonIndex = undefined;
13572
13572
  s.goodsListState.goodsList = _toConsumableArray(s.goodsListState.goodsList);
13573
- _context2.next = 19;
13573
+ message.success('商品映射成功');
13574
+ _context2.next = 20;
13574
13575
  break;
13575
13576
 
13576
- case 17:
13577
- _context2.prev = 17;
13577
+ case 18:
13578
+ _context2.prev = 18;
13578
13579
  _context2.t0 = _context2["catch"](2);
13579
13580
 
13580
- case 19:
13581
+ case 20:
13581
13582
  case "end":
13582
13583
  return _context2.stop();
13583
13584
  }
13584
13585
  }
13585
- }, _callee2, null, [[2, 17]]);
13586
+ }, _callee2, null, [[2, 18]]);
13586
13587
  }));
13587
13588
 
13588
13589
  return function (_x2) {
@@ -13606,7 +13607,7 @@ function AddComparisonDrawer() {
13606
13607
  width: 500,
13607
13608
  onClose: onClose,
13608
13609
  placement: "right",
13609
- title: "\u6DFB\u52A0\u5546\u54C1\u5BF9\u7167",
13610
+ title: "\u5546\u54C1\u6620\u5C04",
13610
13611
  visible: !!good,
13611
13612
  footer: React.createElement("div", {
13612
13613
  style: {
package/dist/index.js CHANGED
@@ -3105,7 +3105,7 @@ var useCommodityComparisonButton = (function () {
3105
3105
  key: "3",
3106
3106
  disabled: disabled,
3107
3107
  onClick: onClick
3108
- }, "\u6267\u884C\u5546\u54C1\u5BF9\u7167");
3108
+ }, "\u5546\u54C1\u6620\u5C04");
3109
3109
  }, [disabled, onClick, onComply]);
3110
3110
  return {
3111
3111
  menuItem: menuItem
@@ -13580,19 +13580,20 @@ function AddComparisonDrawer() {
13580
13580
  good.itemModelNameSelf = values.itemModelNameSelf;
13581
13581
  s.goodsListState.addComparisonIndex = undefined;
13582
13582
  s.goodsListState.goodsList = _toConsumableArray(s.goodsListState.goodsList);
13583
- _context2.next = 19;
13583
+ ktsComponentsAntdX3.message.success('商品映射成功');
13584
+ _context2.next = 20;
13584
13585
  break;
13585
13586
 
13586
- case 17:
13587
- _context2.prev = 17;
13587
+ case 18:
13588
+ _context2.prev = 18;
13588
13589
  _context2.t0 = _context2["catch"](2);
13589
13590
 
13590
- case 19:
13591
+ case 20:
13591
13592
  case "end":
13592
13593
  return _context2.stop();
13593
13594
  }
13594
13595
  }
13595
- }, _callee2, null, [[2, 17]]);
13596
+ }, _callee2, null, [[2, 18]]);
13596
13597
  }));
13597
13598
 
13598
13599
  return function (_x2) {
@@ -13616,7 +13617,7 @@ function AddComparisonDrawer() {
13616
13617
  width: 500,
13617
13618
  onClose: onClose,
13618
13619
  placement: "right",
13619
- title: "\u6DFB\u52A0\u5546\u54C1\u5BF9\u7167",
13620
+ title: "\u5546\u54C1\u6620\u5C04",
13620
13621
  visible: !!good,
13621
13622
  footer: React__default['default'].createElement("div", {
13622
13623
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kts-component-invoice-operate",
3
- "version": "2.0.9",
3
+ "version": "2.0.12",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -1,6 +1,6 @@
1
1
 
2
2
  import React from "react";
3
- import { Row, Col, Input, Button } from "kts-components-antd-x3";
3
+ import { Row, Col, Input, Button, message } from "kts-components-antd-x3";
4
4
  import { Form, Drawer } from "kts-xui";
5
5
  import { Invoice } from "../../../";
6
6
  import { getSN } from "../../tools/itemName";
@@ -42,6 +42,8 @@ export default function AddComparisonDrawer() {
42
42
 
43
43
  s.goodsListState.addComparisonIndex = undefined;
44
44
  s.goodsListState.goodsList = [...s.goodsListState.goodsList];
45
+
46
+ message.success('商品映射成功');
45
47
  } catch (error) {
46
48
 
47
49
  }
@@ -64,7 +66,7 @@ export default function AddComparisonDrawer() {
64
66
  width={500}
65
67
  onClose={onClose}
66
68
  placement="right"
67
- title="添加商品对照"
69
+ title="商品映射"
68
70
  visible={!!good}
69
71
  footer={
70
72
  <div style={{ display: 'flex', justifyContent: 'flex-end', gap: 10 }} >
@@ -66,7 +66,7 @@ export default () => {
66
66
 
67
67
  return (
68
68
  <Menu.Item key="3" disabled={disabled} onClick={onClick} >
69
- 执行商品对照
69
+ 商品映射
70
70
  </Menu.Item>
71
71
  );
72
72
  }, [disabled, onClick, onComply])