kts-component-invoice-operate 3.2.195 → 3.2.196
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
|
@@ -22166,7 +22166,7 @@ var useColumns$1 = (function (form) {
|
|
|
22166
22166
|
align: 'right',
|
|
22167
22167
|
width: 119,
|
|
22168
22168
|
render: function render(value, record) {
|
|
22169
|
-
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index && !disableds.includes('taxAmount')) {
|
|
22169
|
+
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index && !disableds.includes('taxAmount') && model !== 'prefab') {
|
|
22170
22170
|
return /*#__PURE__*/React.createElement(Form.Item, null, getFieldDecorator('taxAmount', {
|
|
22171
22171
|
initialValue: editGood.taxAmount,
|
|
22172
22172
|
rules: [].concat(_toConsumableArray(getReplenishRules('taxAmount')), [{
|
package/dist/index.js
CHANGED
|
@@ -22176,7 +22176,7 @@ var useColumns$1 = (function (form) {
|
|
|
22176
22176
|
align: 'right',
|
|
22177
22177
|
width: 119,
|
|
22178
22178
|
render: function render(value, record) {
|
|
22179
|
-
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index && !disableds.includes('taxAmount')) {
|
|
22179
|
+
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index && !disableds.includes('taxAmount') && model !== 'prefab') {
|
|
22180
22180
|
return /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX3.Form.Item, null, getFieldDecorator('taxAmount', {
|
|
22181
22181
|
initialValue: editGood.taxAmount,
|
|
22182
22182
|
rules: [].concat(_toConsumableArray(getReplenishRules('taxAmount')), [{
|
package/package.json
CHANGED
|
@@ -508,7 +508,7 @@ export default (form: WrappedFormUtils) => {
|
|
|
508
508
|
align: 'right',
|
|
509
509
|
width: 119,
|
|
510
510
|
render: (value: string, record: IGood) => {
|
|
511
|
-
if (editGood?.$index === record.$index && !disableds.includes('taxAmount')) {
|
|
511
|
+
if (editGood?.$index === record.$index && !disableds.includes('taxAmount')&& model !== 'prefab') {
|
|
512
512
|
return (
|
|
513
513
|
<Form.Item>
|
|
514
514
|
{getFieldDecorator('taxAmount', {
|