|
@@ -2501,7 +2501,7 @@ $(document).ready(() => {
|
|
_initModifyDetail() {
|
|
_initModifyDetail() {
|
|
const self = this;
|
|
const self = this;
|
|
// 重置
|
|
// 重置
|
|
- $('#reset-detail').click(function () {
|
|
|
|
|
|
+ $('#reset-detail-ok').click(function () {
|
|
const data = SpreadJsObj.getSelectObject(self.spread.getActiveSheet());
|
|
const data = SpreadJsObj.getSelectObject(self.spread.getActiveSheet());
|
|
if (!data.uuid) return;
|
|
if (!data.uuid) return;
|
|
const updateData = {
|
|
const updateData = {
|
|
@@ -2517,6 +2517,7 @@ $(document).ready(() => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
updateData.custom_define = updateData.custom_define.join(',');
|
|
updateData.custom_define = updateData.custom_define.join(',');
|
|
|
|
+ $('#reset-detail-modal').modal('hide');
|
|
postData(window.location.pathname + '/detail/save', updateData, function (result) {
|
|
postData(window.location.pathname + '/detail/save', updateData, function (result) {
|
|
stageIm.loadUpdateDetailData(result);
|
|
stageIm.loadUpdateDetailData(result);
|
|
self.reLoadDetailData();
|
|
self.reLoadDetailData();
|