diff --git a/project/biaopin/AppGridMemberScore/components/gridScoreRules.vue b/project/biaopin/AppGridMemberScore/components/gridScoreRules.vue
index 43869258..0f128fd7 100644
--- a/project/biaopin/AppGridMemberScore/components/gridScoreRules.vue
+++ b/project/biaopin/AppGridMemberScore/components/gridScoreRules.vue
@@ -16,7 +16,7 @@
@getList="getList()">
- 每单
+ -
{{row.numberLimit.length ? $dict.getLabel("integralRuleScoringCycle", row.scoringCycle)
: $dict.getLabel("integralRuleScoringCycle", row.scoringCycle) + row.numberLimit + "次"}}
@@ -26,7 +26,8 @@
- {{ row.integral > 0 ? "+" : "" }}{{ row.integral }}
+ {{ row.integral > 0 ? "+" : "" }}{{ row.integral }}
+ -
@@ -117,7 +118,7 @@
+ @keyup.native="row.integral=tableIntegral(row.integral)"/>
@@ -455,6 +456,9 @@ export default {
checkIntegral(v) {
return /^\d+$/.test(v) ? Math.abs(v).toFixed(1) : Math.abs(v);
},
+ tableIntegral(v) {
+ return /^([0-9]{1}|^[1-9]{1}\d{1,15})(\.\d{1,2})?$/.test(v) ? v : Math.abs(v).toFixed(2);
+ },
checkGe(v) {
return /\.\d{2,}$/.test(v) ? v : Math.floor(v);
},