|
@@ -209,7 +209,7 @@ $(function () {
|
|
if (ids.length > 0) {
|
|
if (ids.length > 0) {
|
|
postData(preUrl + '/save', {type: 'contract_del', ids}, function (result) {
|
|
postData(preUrl + '/save', {type: 'contract_del', ids}, function (result) {
|
|
contractList = result.contractList;
|
|
contractList = result.contractList;
|
|
- $('#pay-total-price').text(result.tp || 0);
|
|
|
|
|
|
+ $('#pay-total-price').val(result.tp || 0);
|
|
SpreadJsObj.loadSheetData(payContractSpreadSheet, SpreadJsObj.DataType.Data, contractList);
|
|
SpreadJsObj.loadSheetData(payContractSpreadSheet, SpreadJsObj.DataType.Data, contractList);
|
|
});
|
|
});
|
|
}
|
|
}
|
|
@@ -265,7 +265,7 @@ $(function () {
|
|
if(type === 'contract_update') {
|
|
if(type === 'contract_update') {
|
|
contractList.splice(info.row, 1, select);
|
|
contractList.splice(info.row, 1, select);
|
|
SpreadJsObj.reLoadRowData(info.sheet, info.row);
|
|
SpreadJsObj.reLoadRowData(info.sheet, info.row);
|
|
- $('#pay-total-price').text(result.tp || 0);
|
|
|
|
|
|
+ $('#pay-total-price').val(result.tp || 0);
|
|
}
|
|
}
|
|
}, function () {
|
|
}, function () {
|
|
select[col.field] = orgValue;
|
|
select[col.field] = orgValue;
|
|
@@ -346,7 +346,7 @@ $(function () {
|
|
payContractSpreadSheet.getParent().focus();
|
|
payContractSpreadSheet.getParent().focus();
|
|
payContractSpreadSheet.showRow(haveNew, spreadNS.VerticalPosition.center);
|
|
payContractSpreadSheet.showRow(haveNew, spreadNS.VerticalPosition.center);
|
|
}
|
|
}
|
|
- $('#pay-total-price').text(result.tp || 0);
|
|
|
|
|
|
+ $('#pay-total-price').val(result.tp || 0);
|
|
}, function () {
|
|
}, function () {
|
|
SpreadJsObj.reLoadRowData(info.sheet, info.cellRange.row, info.cellRange.rowCount);
|
|
SpreadJsObj.reLoadRowData(info.sheet, info.cellRange.row, info.cellRange.rowCount);
|
|
return;
|
|
return;
|
|
@@ -514,7 +514,7 @@ $(function () {
|
|
$('#add-deal').modal('hide');
|
|
$('#add-deal').modal('hide');
|
|
contractList = result.contractList;
|
|
contractList = result.contractList;
|
|
SpreadJsObj.loadSheetData(payContractSpreadSheet, SpreadJsObj.DataType.Data, contractList);
|
|
SpreadJsObj.loadSheetData(payContractSpreadSheet, SpreadJsObj.DataType.Data, contractList);
|
|
- // $('#pay-total-price').text(result.tp || 0);
|
|
|
|
|
|
+ // $('#pay-total-price').val(result.tp || 0);
|
|
});
|
|
});
|
|
});
|
|
});
|
|
}
|
|
}
|