ztxkui 3.4.5 → 3.4.6
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.
|
@@ -250,6 +250,7 @@ var Sinatures = function (_a) {
|
|
|
250
250
|
request({
|
|
251
251
|
url: '/api/zmdms-resource/seal/confirm-seal-info',
|
|
252
252
|
method: 'POST',
|
|
253
|
+
timeout: 90000,
|
|
253
254
|
data: params,
|
|
254
255
|
})
|
|
255
256
|
.then(function (res) {
|
|
@@ -409,8 +410,10 @@ var Sinatures = function (_a) {
|
|
|
409
410
|
dataIndex: 'electronicSeal',
|
|
410
411
|
width: '20%',
|
|
411
412
|
render: function (value, row, index) {
|
|
413
|
+
// 是否有勾选加盖电子印章
|
|
414
|
+
var hasElectronicSeal = records === null || records === void 0 ? void 0 : records.some(function (item) { return !!item.isElectronicSeal; });
|
|
412
415
|
var obj = {
|
|
413
|
-
children: (React.createElement(ElectronicSeal, { value: electronicSeal, onChange: electronicSealChangeHandle, isEdit: isEdit, electronicList: electronicList })),
|
|
416
|
+
children: (React.createElement(ElectronicSeal, { value: electronicSeal, onChange: electronicSealChangeHandle, isEdit: hasElectronicSeal && isEdit, electronicList: electronicList })),
|
|
414
417
|
props: {},
|
|
415
418
|
};
|
|
416
419
|
obj.props['rowSpan'] = index === 0 ? records.length : 0;
|
|
@@ -577,7 +580,8 @@ var Sinatures = function (_a) {
|
|
|
577
580
|
validateSealFn: function () {
|
|
578
581
|
var _a, _b;
|
|
579
582
|
// 确认盖章后 勾选的信息有更改
|
|
580
|
-
if (
|
|
583
|
+
if (needQys &&
|
|
584
|
+
((_a = prevParam === null || prevParam === void 0 ? void 0 : prevParam.sealIdList) === null || _a === void 0 ? void 0 : _a.length) !== (innerElectronicSeal === null || innerElectronicSeal === void 0 ? void 0 : innerElectronicSeal.length) &&
|
|
581
585
|
!isSure) {
|
|
582
586
|
Modal.confirm({
|
|
583
587
|
title: '当前所勾选的电子印章信息与上一次盖章时有差异,请确认是否继续?',
|