|
|
@@ -412,7 +412,7 @@ shr.defineClass("shr.custom.DetailPrincipalDynamicList", shr.custom.CustomDynami
|
|
|
verifyDiffAmount: function () {
|
|
|
var self = this;
|
|
|
var busDepId = shr.getUrlParam('parentId');
|
|
|
- var tableData;
|
|
|
+ var tableData = [];
|
|
|
var options = {
|
|
|
action: 'getDifferenceAmount',
|
|
|
uipk: this.uipk,
|
|
|
@@ -426,7 +426,7 @@ shr.defineClass("shr.custom.DetailPrincipalDynamicList", shr.custom.CustomDynami
|
|
|
},
|
|
|
};
|
|
|
shr.remoteCall(options);
|
|
|
- if (tableData > 0) {
|
|
|
+ if (tableData.length > 0) {
|
|
|
var colNames = ['person.number', 'person.name', 'bdpapd.indivbonusamount', 'bdpapd.opinionamount'];
|
|
|
var colModels = self.getTipsColModels(colNames);
|
|
|
$(self).cusDetailTips({
|