kts-component-invoice-operate 3.2.182 → 3.2.184

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
@@ -25271,7 +25271,7 @@ var useRowSelection$2 = (function () {
25271
25271
  /** 是否显示选择框 */
25272
25272
 
25273
25273
  var isShow = React.useMemo(function () {
25274
- if (model === 'readOnly') return false;
25274
+ if (model === 'readOnly' || model === 'prefab') return false;
25275
25275
  return true;
25276
25276
  }, [model]);
25277
25277
  /** 是否全选 */
@@ -25632,7 +25632,7 @@ var useDelRowButton$2 = (function () {
25632
25632
  };
25633
25633
  });
25634
25634
 
25635
- var css_248z$v = ".kts-invoice-operate-freight {\n border-bottom: 2px solid #9F613E;\n border-left: 2px solid #9F613E;\n border-right: 2px solid #9F613E;\n}\n.kts-invoice-operate-freight .real-estate-info-digtal-label {\n padding: 20px 20px 0;\n color: #9F613E;\n font-weight: bold;\n}\n.kts-invoice-operate-freight .ktsAnt3x-row.ktsAnt3x-form-item {\n margin-bottom: 0;\n}\n.kts-invoice-operate-goods-list-digtal .goods-list-digtal-discount-tag {\n display: inline-block;\n height: 20px;\n line-height: 20px;\n border: 1px solid;\n padding: 0 5px;\n border-radius: 4px;\n}\n.kts-invoice-operate-goods-list-digtal .kts-invoice-operate-goods-list-table-tax-rate .ktsAnt3x-select-selection-selected-value {\n float: right;\n}\n.kts-invoice-operate-goods-list-digtal .kts-invoice-operate-goods-list-able {\n display: flex;\n padding: 10px;\n border-bottom: 2px solid #9F613E;\n gap: 10px;\n align-items: center;\n height: 48px;\n}\n.kts-invoice-operate-goods-list-digtal .ktsAntX-table .ktsAntX-table-row.kts-invoice-operate-goods-be-discount .ktsAntX-table-cell {\n color: #f00;\n}\n.kts-invoice-operate-goods-list-table-digtal .ktsAnt3x-form-item-control.has-error {\n border: 1px solid #f00;\n}\n.kts-invoice-operate-goods-list-table-digtal .kts-invoice-operate-goods-list-table.kts-invoice-operate-prefab .ktsAnt3x-table-row {\n color: rgba(0, 0, 0, 0.25);\n background: #f5f5f5;\n}\n.kts-invoice-operate-goods-list-table-digtal .kts-invoice-operate-goods-list-table-search-protrude {\n background: #ff0;\n color: #000;\n font-weight: bold;\n}\n";
25635
+ var css_248z$v = ".kts-invoice-operate-freight {\n border-bottom: 2px solid #9F613E;\n border-left: 2px solid #9F613E;\n border-right: 2px solid #9F613E;\n}\n.kts-invoice-operate-freight .real-estate-info-digtal-label {\n padding: 20px 20px 0;\n color: #9F613E;\n font-weight: bold;\n}\n.kts-invoice-operate-freight .ktsAnt3x-row.ktsAnt3x-form-item {\n margin-bottom: 0;\n}\n.kts-invoice-operate-goods-list-digtal .goods-list-digtal-discount-tag {\n display: inline-block;\n height: 20px;\n line-height: 20px;\n border: 1px solid;\n padding: 0 5px;\n border-radius: 4px;\n}\n.kts-invoice-operate-goods-list-digtal .kts-invoice-operate-goods-list-table-tax-rate .ktsAnt3x-select-selection-selected-value {\n float: right;\n}\n.kts-invoice-operate-goods-list-digtal .kts-invoice-operate-freight-list-able {\n display: flex;\n padding: 10px;\n border-bottom: 2px solid #9F613E;\n gap: 10px;\n align-items: center;\n}\n.kts-invoice-operate-goods-list-digtal .ktsAntX-table .ktsAntX-table-row.kts-invoice-operate-goods-be-discount .ktsAntX-table-cell {\n color: #f00;\n}\n.kts-invoice-operate-goods-list-table-digtal .ktsAnt3x-form-item-control.has-error {\n border: 1px solid #f00;\n}\n.kts-invoice-operate-goods-list-table-digtal .kts-invoice-operate-goods-list-table.kts-invoice-operate-prefab .ktsAnt3x-table-row {\n color: rgba(0, 0, 0, 0.25);\n background: #f5f5f5;\n}\n.kts-invoice-operate-goods-list-table-digtal .kts-invoice-operate-goods-list-table-search-protrude {\n background: #ff0;\n color: #000;\n font-weight: bold;\n}\n";
25636
25636
  styleInject(css_248z$v);
25637
25637
 
25638
25638
  var FreightList = /*#__PURE__*/function (_React$Component) {
@@ -25831,7 +25831,7 @@ var Main$4 = decorator(Form.create())(function (props) {
25831
25831
  e.stopPropagation();
25832
25832
  }
25833
25833
  }, /*#__PURE__*/React.createElement("div", {
25834
- className: "kts-invoice-operate-goods-list-able"
25834
+ className: "kts-invoice-operate-freight-list-able"
25835
25835
  }, /*#__PURE__*/React.createElement(AddRowButton$2, null), delRowButton.button, /*#__PURE__*/React.createElement("div", {
25836
25836
  style: {
25837
25837
  flex: 1
package/dist/index.js CHANGED
@@ -25281,7 +25281,7 @@ var useRowSelection$2 = (function () {
25281
25281
  /** 是否显示选择框 */
25282
25282
 
25283
25283
  var isShow = React__default['default'].useMemo(function () {
25284
- if (model === 'readOnly') return false;
25284
+ if (model === 'readOnly' || model === 'prefab') return false;
25285
25285
  return true;
25286
25286
  }, [model]);
25287
25287
  /** 是否全选 */
@@ -25642,7 +25642,7 @@ var useDelRowButton$2 = (function () {
25642
25642
  };
25643
25643
  });
25644
25644
 
25645
- var css_248z$v = ".kts-invoice-operate-freight {\n border-bottom: 2px solid #9F613E;\n border-left: 2px solid #9F613E;\n border-right: 2px solid #9F613E;\n}\n.kts-invoice-operate-freight .real-estate-info-digtal-label {\n padding: 20px 20px 0;\n color: #9F613E;\n font-weight: bold;\n}\n.kts-invoice-operate-freight .ktsAnt3x-row.ktsAnt3x-form-item {\n margin-bottom: 0;\n}\n.kts-invoice-operate-goods-list-digtal .goods-list-digtal-discount-tag {\n display: inline-block;\n height: 20px;\n line-height: 20px;\n border: 1px solid;\n padding: 0 5px;\n border-radius: 4px;\n}\n.kts-invoice-operate-goods-list-digtal .kts-invoice-operate-goods-list-table-tax-rate .ktsAnt3x-select-selection-selected-value {\n float: right;\n}\n.kts-invoice-operate-goods-list-digtal .kts-invoice-operate-goods-list-able {\n display: flex;\n padding: 10px;\n border-bottom: 2px solid #9F613E;\n gap: 10px;\n align-items: center;\n height: 48px;\n}\n.kts-invoice-operate-goods-list-digtal .ktsAntX-table .ktsAntX-table-row.kts-invoice-operate-goods-be-discount .ktsAntX-table-cell {\n color: #f00;\n}\n.kts-invoice-operate-goods-list-table-digtal .ktsAnt3x-form-item-control.has-error {\n border: 1px solid #f00;\n}\n.kts-invoice-operate-goods-list-table-digtal .kts-invoice-operate-goods-list-table.kts-invoice-operate-prefab .ktsAnt3x-table-row {\n color: rgba(0, 0, 0, 0.25);\n background: #f5f5f5;\n}\n.kts-invoice-operate-goods-list-table-digtal .kts-invoice-operate-goods-list-table-search-protrude {\n background: #ff0;\n color: #000;\n font-weight: bold;\n}\n";
25645
+ var css_248z$v = ".kts-invoice-operate-freight {\n border-bottom: 2px solid #9F613E;\n border-left: 2px solid #9F613E;\n border-right: 2px solid #9F613E;\n}\n.kts-invoice-operate-freight .real-estate-info-digtal-label {\n padding: 20px 20px 0;\n color: #9F613E;\n font-weight: bold;\n}\n.kts-invoice-operate-freight .ktsAnt3x-row.ktsAnt3x-form-item {\n margin-bottom: 0;\n}\n.kts-invoice-operate-goods-list-digtal .goods-list-digtal-discount-tag {\n display: inline-block;\n height: 20px;\n line-height: 20px;\n border: 1px solid;\n padding: 0 5px;\n border-radius: 4px;\n}\n.kts-invoice-operate-goods-list-digtal .kts-invoice-operate-goods-list-table-tax-rate .ktsAnt3x-select-selection-selected-value {\n float: right;\n}\n.kts-invoice-operate-goods-list-digtal .kts-invoice-operate-freight-list-able {\n display: flex;\n padding: 10px;\n border-bottom: 2px solid #9F613E;\n gap: 10px;\n align-items: center;\n}\n.kts-invoice-operate-goods-list-digtal .ktsAntX-table .ktsAntX-table-row.kts-invoice-operate-goods-be-discount .ktsAntX-table-cell {\n color: #f00;\n}\n.kts-invoice-operate-goods-list-table-digtal .ktsAnt3x-form-item-control.has-error {\n border: 1px solid #f00;\n}\n.kts-invoice-operate-goods-list-table-digtal .kts-invoice-operate-goods-list-table.kts-invoice-operate-prefab .ktsAnt3x-table-row {\n color: rgba(0, 0, 0, 0.25);\n background: #f5f5f5;\n}\n.kts-invoice-operate-goods-list-table-digtal .kts-invoice-operate-goods-list-table-search-protrude {\n background: #ff0;\n color: #000;\n font-weight: bold;\n}\n";
25646
25646
  styleInject(css_248z$v);
25647
25647
 
25648
25648
  var FreightList = /*#__PURE__*/function (_React$Component) {
@@ -25841,7 +25841,7 @@ var Main$4 = GreyReactBox.decorator(ktsComponentsAntdX3.Form.create())(function
25841
25841
  e.stopPropagation();
25842
25842
  }
25843
25843
  }, /*#__PURE__*/React__default['default'].createElement("div", {
25844
- className: "kts-invoice-operate-goods-list-able"
25844
+ className: "kts-invoice-operate-freight-list-able"
25845
25845
  }, /*#__PURE__*/React__default['default'].createElement(AddRowButton$2, null), delRowButton.button, /*#__PURE__*/React__default['default'].createElement("div", {
25846
25846
  style: {
25847
25847
  flex: 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kts-component-invoice-operate",
3
- "version": "3.2.182",
3
+ "version": "3.2.184",
4
4
  "scripts": {
5
5
  "dev": "dumi dev --max-old-space-size=6096",
6
6
  "start": "dumi dev",
@@ -22,7 +22,7 @@ export default () => {
22
22
 
23
23
  /** 是否显示选择框 */
24
24
  const isShow = React.useMemo(() => {
25
- if (model === 'readOnly') return false
25
+ if (model === 'readOnly' || model === 'prefab') return false
26
26
  return true;
27
27
  }, [model])
28
28
 
@@ -32,13 +32,12 @@
32
32
  }
33
33
  }
34
34
 
35
- .kts-invoice-operate-goods-list-able {
35
+ .kts-invoice-operate-freight-list-able {
36
36
  display: flex;
37
37
  padding: 10px;
38
38
  border-bottom: 2px solid #9F613E;
39
39
  gap: 10px;
40
40
  align-items: center;
41
- height: 48px;
42
41
  }
43
42
 
44
43
  .ktsAntX-table {
@@ -96,7 +96,7 @@ const Main = decorator<IGoodsListProps, FormComponentProps & IGoodsListProps>(Fo
96
96
  <div className="kts-invoice-operate-freight">
97
97
  <div className='real-estate-info-digtal-label' >特殊信息-建筑服务</div>
98
98
  <div className="kts-invoice-operate-goods-list-digtal" onClick={(e) => { e.stopPropagation() }} >
99
- <div className="kts-invoice-operate-goods-list-able">
99
+ <div className="kts-invoice-operate-freight-list-able">
100
100
  {/* 添加行 */}
101
101
  <AddRowButton />
102
102