|
@@ -17,7 +17,7 @@ class PayCalculate {
|
|
|
constructor (ctx, stage, tenderInfo) {
|
|
|
this.ctx = ctx;
|
|
|
this.stage = stage;
|
|
|
- this.percentReg = /((\d?)|((\d+)(\.\d+)))%/g;
|
|
|
+ this.percentReg = /((\d+)|((\d+)(\.\d+)))%/g;
|
|
|
this.tenderInfo = tenderInfo;
|
|
|
this.decimal = tenderInfo.decimal.pay ? tenderInfo.decimal.payTp : tenderInfo.decimal.tp;
|
|
|
/* 以下变量在调用calculate方法后获得
|