Commit 2704b5d6 by 无尘

fix: 修改面积限制

parent 3fb92c90
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
/** /**
* 输入 * 输入
*/ */
inputPerformance: _debounce(function(val, index, row) { inputPerformance: function(val, index, row) {
let that = this; let that = this;
row.clerkPerformance = !!Number(row.clerkPerformance.replace(/[^\d.]/g, '')) ? row.clerkPerformance.replace(/[^\d+(.\d+)]/g, '') : ''; row.clerkPerformance = !!Number(row.clerkPerformance.replace(/[^\d.]/g, '')) ? row.clerkPerformance.replace(/[^\d+(.\d+)]/g, '') : '';
row.clerkPerformance = Number(row.clerkPerformance).toFixed(2); row.clerkPerformance = Number(row.clerkPerformance).toFixed(2);
...@@ -107,13 +107,13 @@ export default { ...@@ -107,13 +107,13 @@ export default {
}); });
that.performanceSum = Number(sumData).toFixed(2); that.performanceSum = Number(sumData).toFixed(2);
that.diffData(); that.diffData();
}, 500), },
inputMonthPerformance: _debounce(function(val) { inputMonthPerformance: function(val) {
let that = this; let that = this;
that.clerkObj.storePerformance = !!Number(that.clerkObj.storePerformance.replace(/[^\d.]/g, '')) ? that.clerkObj.storePerformance.replace(/[^\d+(.\d+)]/g, '') : ''; that.clerkObj.storePerformance = !!Number(that.clerkObj.storePerformance.replace(/[^\d.]/g, '')) ? that.clerkObj.storePerformance.replace(/[^\d+(.\d+)]/g, '') : '';
that.clerkObj.storePerformance = Number(that.clerkObj.storePerformance).toFixed(2); that.clerkObj.storePerformance = Number(that.clerkObj.storePerformance).toFixed(2);
that.diffData(); that.diffData();
}, 500), },
diffData() { diffData() {
let that = this; let that = this;
......
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