|
@@ -81,6 +81,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
+import {debounce} from '../../store/statice'
|
|
|
export default {
|
|
|
// beforeRouteLeave(to, from, next) {
|
|
|
// if(to.name=='DailyFeePayment'){
|
|
@@ -145,7 +146,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
- submitForm(formName) {
|
|
|
+ submitForm:debounce(function(formName) {
|
|
|
this.$refs[formName].validate((valid) => {
|
|
|
if (valid) {
|
|
|
this.SumPrice=0;
|
|
@@ -190,7 +191,7 @@ export default {
|
|
|
return false;
|
|
|
}
|
|
|
});
|
|
|
- },
|
|
|
+ },1000,true),
|
|
|
resetForm(formName) {
|
|
|
// this.$refs[formName].resetFields();
|
|
|
this.$router.push({ path: "/home/DailyFeePayment"});
|
|
@@ -347,7 +348,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
//审核
|
|
|
- PostDelDailyPaymentAudit(val){
|
|
|
+ PostDelDailyPaymentAudit:debounce(function(val){
|
|
|
var url = "/api/Financial/PostDelDailyPaymentAudit"
|
|
|
var that = this
|
|
|
var auditType=0
|
|
@@ -380,7 +381,7 @@ export default {
|
|
|
that.$message.error(res.data.msg);
|
|
|
}
|
|
|
})
|
|
|
- },
|
|
|
+ },1000,true),
|
|
|
getPostSearchDailyPaymentInfo(){
|
|
|
if(this.editid!=undefined){
|
|
|
console.log("jing")
|