kts-component-invoice-operate 2.0.7 → 2.0.10

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
@@ -2304,7 +2304,7 @@ function Search() {
2304
2304
  while (1) {
2305
2305
  switch (_context2.prev = _context2.next) {
2306
2306
  case 0:
2307
- s.goodsListState.searchValue = value.replace(/^ */, '').replace(/ *$/, '');
2307
+ s.goodsListState.searchValue = value.trim();
2308
2308
 
2309
2309
  case 1:
2310
2310
  case "end":
@@ -10337,7 +10337,6 @@ var useColumns = (function (form) {
10337
10337
  dataSource: unitList,
10338
10338
  onChange: function () {
10339
10339
  var _onChange2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
10340
- var key, value;
10341
10340
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
10342
10341
  while (1) {
10343
10342
  switch (_context4.prev = _context4.next) {
@@ -10346,12 +10345,14 @@ var useColumns = (function (form) {
10346
10345
  return controller.wait();
10347
10346
 
10348
10347
  case 2:
10349
- key = isMyShow ? 'unit' : 'unitOther';
10350
- value = {};
10351
- value[key] = form.getFieldsValue().unit;
10352
- controller.setEditGood(value);
10348
+ // const key = isMyShow ? 'unit' : 'unitOther';
10349
+ // const value = {} as any;
10350
+ // value[key] = form.getFieldsValue().unit;
10351
+ controller.setEditGood({
10352
+ unit: form.getFieldsValue().unit
10353
+ });
10353
10354
 
10354
- case 6:
10355
+ case 3:
10355
10356
  case "end":
10356
10357
  return _context4.stop();
10357
10358
  }
@@ -13605,7 +13606,7 @@ function AddComparisonDrawer() {
13605
13606
  width: 500,
13606
13607
  onClose: onClose,
13607
13608
  placement: "right",
13608
- title: "\u6DFB\u52A0\u5546\u54C1\u5BF9\u7167",
13609
+ title: "\u5546\u54C1\u6620\u5C04",
13609
13610
  visible: !!good,
13610
13611
  footer: React.createElement("div", {
13611
13612
  style: {
package/dist/index.js CHANGED
@@ -2314,7 +2314,7 @@ function Search() {
2314
2314
  while (1) {
2315
2315
  switch (_context2.prev = _context2.next) {
2316
2316
  case 0:
2317
- s.goodsListState.searchValue = value.replace(/^ */, '').replace(/ *$/, '');
2317
+ s.goodsListState.searchValue = value.trim();
2318
2318
 
2319
2319
  case 1:
2320
2320
  case "end":
@@ -10347,7 +10347,6 @@ var useColumns = (function (form) {
10347
10347
  dataSource: unitList,
10348
10348
  onChange: function () {
10349
10349
  var _onChange2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
10350
- var key, value;
10351
10350
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
10352
10351
  while (1) {
10353
10352
  switch (_context4.prev = _context4.next) {
@@ -10356,12 +10355,14 @@ var useColumns = (function (form) {
10356
10355
  return controller.wait();
10357
10356
 
10358
10357
  case 2:
10359
- key = isMyShow ? 'unit' : 'unitOther';
10360
- value = {};
10361
- value[key] = form.getFieldsValue().unit;
10362
- controller.setEditGood(value);
10358
+ // const key = isMyShow ? 'unit' : 'unitOther';
10359
+ // const value = {} as any;
10360
+ // value[key] = form.getFieldsValue().unit;
10361
+ controller.setEditGood({
10362
+ unit: form.getFieldsValue().unit
10363
+ });
10363
10364
 
10364
- case 6:
10365
+ case 3:
10365
10366
  case "end":
10366
10367
  return _context4.stop();
10367
10368
  }
@@ -13615,7 +13616,7 @@ function AddComparisonDrawer() {
13615
13616
  width: 500,
13616
13617
  onClose: onClose,
13617
13618
  placement: "right",
13618
- title: "\u6DFB\u52A0\u5546\u54C1\u5BF9\u7167",
13619
+ title: "\u5546\u54C1\u6620\u5C04",
13619
13620
  visible: !!good,
13620
13621
  footer: React__default['default'].createElement("div", {
13621
13622
  style: {
package/docs-dist/umi.css CHANGED
@@ -1,4 +1,4 @@
1
- .kts-invoice-operate{border:1px solid #dcdcdc;font-size:12px}.kts-invoice-operate>*{border-bottom:1px solid #dcdcdc}.kts-invoice-operate>:last-child{border-bottom:none}.kts-invoice-operate-invoice-header{padding:20px 8px;background:#f6f7f9;position:relative;color:rgba(0,0,0,.85);font-weight:500}.kts-invoice-operate-invoice-header label{margin-right:5px;white-space:nowrap}.kts-invoice-operate-invoice-header .invoice-header-title{top:20px;left:0;position:absolute;color:#e28b89;font-weight:500;font-size:22px;text-align:center;width:100%;pointer-events:none;z-index:1}.kts-invoice-operate-invoice-header .invoice-header-no{display:flex}.kts-invoice-operate-invoice-header .invoice-header-no .ktsAnt3x-tag{margin-left:10px;height:24px}.kts-invoice-operate-invoice-header .invoice-header-type{flex:1 1;text-align:right}.kts-invoice-operate-invoice-header .invoice-header-property{margin:20px 0 0}.kts-invoice-operate-invoice-header .invoice-header-property .ktsAnt3x-col{display:flex;flex-direction:inherit;padding-right:20px}.kts-invoice-operate-invoice-header .invoice-header-property .ktsAnt3x-col span{color:#999}.kts-invoice-operate-goods-table-virtual .ktsAnt3x-table-placeholder{position:absolute;top:50px;left:0;width:100%;border:none}.kts-invoice-operate-goods-table-virtual .ktsAnt3x-table{font-size:12px;border:none;border-radius:0}.kts-invoice-operate-goods-table-virtual .ktsAnt3x-table .ktsAnt3x-table-content{border-right:none}.kts-invoice-operate-goods-table-virtual .ktsAnt3x-table .ktsAnt3x-table-content .ktsAnt3x-table-body{margin:0}.kts-invoice-operate-goods-table-virtual .ktsAnt3x-table .ktsAnt3x-table-content .ktsAnt3x-table-body table{position:absolute;top:0;left:0;border-bottom:1px solid #e8e8e8}.kts-invoice-operate-goods-table-virtual .ktsAnt3x-table .ktsAnt3x-table-content .ktsAnt3x-table-body table tr{height:32px}.kts-invoice-operate-goods-table-virtual .ktsAnt3x-table .ktsAnt3x-table-content .ktsAnt3x-table-body table tr:hover td{background:none}.kts-invoice-operate-goods-table-virtual .ktsAnt3x-table .ktsAnt3x-table-thead>tr{background-color:#f6f7f9}.kts-invoice-operate-goods-list-statistics{background:#fafafa;overflow-y:scroll}.kts-invoice-operate-goods-list-statistics .kts-invoice-operate-goods-list-statistics-row{height:30px;line-height:30px;border-bottom:1px solid #e8e8e8;display:flex}.kts-invoice-operate-goods-list-statistics .kts-invoice-operate-goods-list-statistics-row>div{border-right:1px solid #e8e8e8}.kts-invoice-operate-goods-list-statistics .kts-invoice-operate-goods-list-statistics-row>div label{padding:0 10px}.kts-invoice-operate-goods-list-able-list .kts-invoice-operate-goods-list-search{width:330px}.kts-invoice-operate-goods-list-able-list .kts-invoice-operate-goods-list-search input{border-radius:999px;border-color:#b8b8b8}.kts-invoice-operate-goods-list-add-discount-row .ktsAnt3x-drawer-wrapper-body{display:flex;flex-direction:column}.kts-invoice-operate-goods-list-add-discount-row .ktsAnt3x-drawer-wrapper-body .ktsAnt3x-drawer-body{flex:1 1;display:flex;flex-direction:column}.kts-invoice-operate-goods-list-add-discount-row .ktsAnt3x-drawer-wrapper-body .ktsAnt3x-drawer-body .add-discount-row-body{flex:1 1;overflow:auto}.kts-invoice-operate-goods-list-add-discount-row .ktsAnt3x-drawer-wrapper-body .ktsAnt3x-drawer-body .add-discount-row-footer{flex:none}
1
+ .kts-invoice-operate{border:1px solid #dcdcdc;font-size:12px}.kts-invoice-operate>*{border-bottom:1px solid #dcdcdc}.kts-invoice-operate>:last-child{border-bottom:none}.kts-invoice-operate-invoice-header{padding:20px 8px;background:#f6f7f9;position:relative;color:rgba(0,0,0,.85);font-weight:500}.kts-invoice-operate-invoice-header label{margin-right:5px;white-space:nowrap}.kts-invoice-operate-invoice-header .invoice-header-title{top:20px;left:0;position:absolute;color:#e28b89;font-weight:500;font-size:22px;text-align:center;width:100%;pointer-events:none;z-index:1}.kts-invoice-operate-invoice-header .invoice-header-no{display:flex}.kts-invoice-operate-invoice-header .invoice-header-no .ktsAnt3x-tag{margin-left:10px;height:24px}.kts-invoice-operate-invoice-header .invoice-header-type{flex:1 1;text-align:right}.kts-invoice-operate-invoice-header .invoice-header-property{margin:20px 0 0}.kts-invoice-operate-invoice-header .invoice-header-property .ktsAnt3x-col{display:flex;flex-direction:inherit;padding-right:20px}.kts-invoice-operate-invoice-header .invoice-header-property .ktsAnt3x-col span{color:#999}.kts-invoice-operate-goods-table-virtual .ktsAnt3x-table-placeholder{position:absolute;top:50px;left:0;width:100%;border:none}.kts-invoice-operate-goods-table-virtual .ktsAnt3x-table{font-size:12px;border:none;border-radius:0}.kts-invoice-operate-goods-table-virtual .ktsAnt3x-table .ktsAnt3x-table-content{border-right:none}.kts-invoice-operate-goods-table-virtual .ktsAnt3x-table .ktsAnt3x-table-content .ktsAnt3x-table-body{margin:0}.kts-invoice-operate-goods-table-virtual .ktsAnt3x-table .ktsAnt3x-table-content .ktsAnt3x-table-body table{position:absolute;top:0;left:0;border-bottom:1px solid #e8e8e8}.kts-invoice-operate-goods-table-virtual .ktsAnt3x-table .ktsAnt3x-table-content .ktsAnt3x-table-body table tr{height:32px}.kts-invoice-operate-goods-table-virtual .ktsAnt3x-table .ktsAnt3x-table-content .ktsAnt3x-table-body table tr:hover td{background:none}.kts-invoice-operate-goods-table-virtual .ktsAnt3x-table .ktsAnt3x-table-thead>tr{background-color:#f6f7f9}.kts-invoice-operate-goods-list-statistics{background:#fafafa;overflow-y:scroll}.kts-invoice-operate-goods-list-statistics .kts-invoice-operate-goods-list-statistics-row{height:30px;line-height:30px;border-bottom:1px solid #e8e8e8;display:flex}.kts-invoice-operate-goods-list-statistics .kts-invoice-operate-goods-list-statistics-row>div{border-right:1px solid #e8e8e8}.kts-invoice-operate-goods-list-statistics .kts-invoice-operate-goods-list-statistics-row>div label{padding:0 10px}.kts-invoice-operate-goods-list-able-list .kts-invoice-operate-goods-list-search{width:350px}.kts-invoice-operate-goods-list-able-list .kts-invoice-operate-goods-list-search input{border-radius:999px;border-color:#b8b8b8}.kts-invoice-operate-goods-list-add-discount-row .ktsAnt3x-drawer-wrapper-body{display:flex;flex-direction:column}.kts-invoice-operate-goods-list-add-discount-row .ktsAnt3x-drawer-wrapper-body .ktsAnt3x-drawer-body{flex:1 1;display:flex;flex-direction:column}.kts-invoice-operate-goods-list-add-discount-row .ktsAnt3x-drawer-wrapper-body .ktsAnt3x-drawer-body .add-discount-row-body{flex:1 1;overflow:auto}.kts-invoice-operate-goods-list-add-discount-row .ktsAnt3x-drawer-wrapper-body .ktsAnt3x-drawer-body .add-discount-row-footer{flex:none}
2
2
 
3
3
  /*!
4
4
  *