|
|
@@ -89,6 +89,7 @@ $(document).ready(() => {
|
|
|
return payUtils.check.isYf(data) || (data.children && data.children.length > 0) || payUtils.check.isLock(data);
|
|
|
},
|
|
|
startTpReadOnly: function(data) {
|
|
|
+ if (data.children && data.children.length > 0) return true;
|
|
|
if (payUtils.check.isOld(data)) {
|
|
|
return payUtils.check.isStarted(data) || !payUtils.check.isYB(data) || payUtils.check.isLock(data);
|
|
|
} else {
|
|
|
@@ -96,6 +97,7 @@ $(document).ready(() => {
|
|
|
}
|
|
|
},
|
|
|
rangeTpReadOnly: function(data) {
|
|
|
+ if (data.children && data.children.length > 0) return true;
|
|
|
if (payUtils.check.isOld(data)) {
|
|
|
return !payUtils.check.isYB(data) || payUtils.check.isLock(data);
|
|
|
} else {
|
|
|
@@ -790,6 +792,7 @@ $(document).ready(() => {
|
|
|
data.postData.push(updateData);
|
|
|
}
|
|
|
}
|
|
|
+ if (data.postData.length === 0) return;
|
|
|
postData('update', data, function (result) {
|
|
|
if (result.reload) {
|
|
|
payEvent.reloadPays(result.reload);
|