kts-component-invoice-operate 3.2.181-18 → 3.2.181-19
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
|
@@ -11130,7 +11130,6 @@ var useDelItem = (function (goods) {
|
|
|
11130
11130
|
var onClick = React.useCallback(function () {
|
|
11131
11131
|
controller.delGood(goods.$index);
|
|
11132
11132
|
}, [controller, goods.$index]);
|
|
11133
|
-
console.log('111111111', goods);
|
|
11134
11133
|
|
|
11135
11134
|
if (goods.lineAttribute === LineAttributeType$1.正常 && (goods === null || goods === void 0 ? void 0 : goods.referenceLines) && (goods === null || goods === void 0 ? void 0 : (_goods$referenceLines = goods.referenceLines) === null || _goods$referenceLines === void 0 ? void 0 : _goods$referenceLines.length) > 0) {
|
|
11136
11135
|
return undefined;
|
package/dist/index.js
CHANGED
|
@@ -11140,7 +11140,6 @@ var useDelItem = (function (goods) {
|
|
|
11140
11140
|
var onClick = React__default['default'].useCallback(function () {
|
|
11141
11141
|
controller.delGood(goods.$index);
|
|
11142
11142
|
}, [controller, goods.$index]);
|
|
11143
|
-
console.log('111111111', goods);
|
|
11144
11143
|
|
|
11145
11144
|
if (goods.lineAttribute === LineAttributeType$1.正常 && (goods === null || goods === void 0 ? void 0 : goods.referenceLines) && (goods === null || goods === void 0 ? void 0 : (_goods$referenceLines = goods.referenceLines) === null || _goods$referenceLines === void 0 ? void 0 : _goods$referenceLines.length) > 0) {
|
|
11146
11145
|
return undefined;
|
package/package.json
CHANGED
package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.tsx
CHANGED
|
@@ -15,8 +15,7 @@ export default (goods: IGood) => {
|
|
|
15
15
|
|
|
16
16
|
const onClick = React.useCallback(() => {
|
|
17
17
|
controller.delGood(goods.$index);
|
|
18
|
-
}, [controller, goods.$index]);
|
|
19
|
-
console.log('111111111', goods);
|
|
18
|
+
}, [controller, goods.$index]);
|
|
20
19
|
|
|
21
20
|
if (goods.lineAttribute === LineAttributeType.正常 && goods?.referenceLines && goods?.referenceLines?.length > 0 ) {
|
|
22
21
|
return undefined;
|