apply-clients 3.5.5-21 → 3.5.5-22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
class="form-control input_view"
|
|
89
89
|
style="width: 100%"
|
|
90
90
|
placeholder="0.00"
|
|
91
|
-
@
|
|
91
|
+
@blur="handleInput"
|
|
92
92
|
v-model="userRecord.f_cost" />
|
|
93
93
|
</div>
|
|
94
94
|
</div>
|
|
@@ -98,9 +98,10 @@
|
|
|
98
98
|
<input type="text"
|
|
99
99
|
class="form-control input_view"
|
|
100
100
|
style="width: 100%"
|
|
101
|
-
:value="userRecord.f_amount_capital"
|
|
101
|
+
:value.sync="userRecord.f_amount_capital"
|
|
102
102
|
:readonly="true"
|
|
103
|
-
|
|
103
|
+
:disabled="true"
|
|
104
|
+
v-model="userRecord.f_amount_capital" />
|
|
104
105
|
</div>
|
|
105
106
|
</div>
|
|
106
107
|
<div class="form-group col-sm-12" >
|
|
@@ -266,7 +267,8 @@ export default {
|
|
|
266
267
|
handleInput(e) {
|
|
267
268
|
// 通过正则过滤小数点后两位
|
|
268
269
|
e.target.value = (e.target.value.match(/^\d*(\.?\d{0,2})/g)[0]) || null
|
|
269
|
-
this.
|
|
270
|
+
this.userRecord.f_amount_capital = this.smalltoBIG(e.target.value)
|
|
271
|
+
debugger
|
|
270
272
|
},
|
|
271
273
|
// 金额转大写
|
|
272
274
|
smalltoBIG(n) {
|