Commit 2704b5d6 by 无尘

fix: 修改面积限制

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