Commit 2a8e4ce3 authored by WindyWTH's avatar WindyWTH

feat: 回款操作自动保存时间改为30秒

parent d054b3ce
...@@ -936,12 +936,12 @@ export default { ...@@ -936,12 +936,12 @@ export default {
this.clearTimer('delTimer') this.clearTimer('delTimer')
this.delTimer = setTimeout(() => { this.delTimer = setTimeout(() => {
this._confirmDelReceipt([selectedRow]) this._confirmDelReceipt([selectedRow])
}, 5000) }, 1000 * 30)
} }
this.clearTimer('addTimer') this.clearTimer('addTimer')
this.addTimer = setTimeout(() => { this.addTimer = setTimeout(() => {
this.addNewEvt(0) this.addNewEvt(0)
}, 5000) }, 1000 * 30)
}, },
clearTimer(prop) { clearTimer(prop) {
if (this[prop]) { if (this[prop]) {
...@@ -975,12 +975,12 @@ export default { ...@@ -975,12 +975,12 @@ export default {
this.clearTimer('delTimer') this.clearTimer('delTimer')
this.delTimer = setTimeout(() => { this.delTimer = setTimeout(() => {
this._confirmDelReceipt(changeRows) this._confirmDelReceipt(changeRows)
}, 5000) }, 1000 * 30)
} }
this.clearTimer('addTimer') this.clearTimer('addTimer')
this.addTimer = setTimeout(() => { this.addTimer = setTimeout(() => {
this.addNewEvt(0) this.addNewEvt(0)
}, 5000) }, 1000 * 30)
}, },
// 全选 // 全选
selectAllList() { selectAllList() {
...@@ -1088,7 +1088,7 @@ export default { ...@@ -1088,7 +1088,7 @@ export default {
this.clearTimer('addTimer') this.clearTimer('addTimer')
this.addTimer = setTimeout(() => { this.addTimer = setTimeout(() => {
this.addNewEvt(0) this.addNewEvt(0)
}, 5000) }, 1000 * 30)
} }
}, },
// 获取保险公司下拉选项 // 获取保险公司下拉选项
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment