sale-client 3.6.409 → 3.6.410
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 +1 -1
- package/src/components/charge/business/CardChangeFill.vue +28 -9
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/vcs-1/gc.properties +0 -0
package/package.json
CHANGED
|
@@ -40,9 +40,11 @@
|
|
|
40
40
|
v-next-el='sk' :disabled="row.f_collection_type !== '按气量'">
|
|
41
41
|
</div>
|
|
42
42
|
|
|
43
|
-
<div class="col-sm-4 form-group"
|
|
43
|
+
<div class="col-sm-4 form-group"
|
|
44
|
+
:class="[$v.f_preamount.required || $v.f_preamount.dctest? 'has-error' : 'has-success']">
|
|
44
45
|
<label for="f_preamount" class=" font_normal_body">预购金额</label>
|
|
45
46
|
<input class="input_search" style="width:60%" type="number" v-model="model.f_preamount"
|
|
47
|
+
v-validate:f_preamount='{dctest: [maxmoney, "<=" ]}'
|
|
46
48
|
v-scale="[model.f_preamount, 4]" placeholder="预购金额" disabled>
|
|
47
49
|
</div>
|
|
48
50
|
</div>
|
|
@@ -77,10 +79,15 @@
|
|
|
77
79
|
v-validate:f_totalcost='{required: true, dctest: [(openFee - 0), ">=" ] }' placeholder="应收金额"
|
|
78
80
|
v-next-el='sk' v-scale="[model.f_totalcost, 4]" :disabled="row.f_collection_type !== '按金额'">
|
|
79
81
|
</div>
|
|
80
|
-
<div class="col-sm-4 form-group" v-if="hasLimit">
|
|
82
|
+
<div class="col-sm-4 form-group" v-if="hasLimit&&limitgas">
|
|
81
83
|
<label class="font_normal_body">购气上限</label>
|
|
82
84
|
<input class="input_search" style="width:60%" style="width:60%" type="number" v-model="maxgas"
|
|
83
|
-
v-scale="[maxgas,
|
|
85
|
+
v-scale="[maxgas, 2]" placeholder='限购余气' disabled>
|
|
86
|
+
</div>
|
|
87
|
+
<div class="col-sm-4 form-group" v-if="hasLimit&&limitmoney">
|
|
88
|
+
<label class="font_normal_body">金额上限</label>
|
|
89
|
+
<input class="input_search" style="width:60%" style="width:60%" type="number" v-model="maxmoney"
|
|
90
|
+
v-scale="[maxmoney, 2]" placeholder='限购金额' disabled>
|
|
84
91
|
</div>
|
|
85
92
|
<!--<div class="col-sm-4 form-group" v-if="!hasLimit">-->
|
|
86
93
|
<!--</div>-->
|
|
@@ -330,11 +337,20 @@
|
|
|
330
337
|
console.log('获取限购值', getLimit)
|
|
331
338
|
self.hasLimit = getLimit.data.hasLimit
|
|
332
339
|
if (self.hasLimit) {
|
|
333
|
-
if (getLimit.data.f_limit_value
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
340
|
+
if (getLimit.data.f_limit_value || getLimit.data.f_limit_amount) {
|
|
341
|
+
if (getLimit.data.f_limit_value < 0 || getLimit.data.f_limit_amount < 0) {
|
|
342
|
+
self.$showAlert(`${getLimit.data.msg}`, 'warning', 3000)
|
|
343
|
+
self.$dispatch('refresh')
|
|
344
|
+
} else {
|
|
345
|
+
if (getLimit.data.f_limit_value) {
|
|
346
|
+
self.maxgas = (getLimit.data.f_limit_value - 0)
|
|
347
|
+
self.limitgas = true
|
|
348
|
+
}
|
|
349
|
+
if (getLimit.data.f_limit_amount) {
|
|
350
|
+
self.maxmoney = (getLimit.data.f_limit_amount - 0)
|
|
351
|
+
self.limitmoney = true
|
|
352
|
+
}
|
|
353
|
+
}
|
|
338
354
|
}
|
|
339
355
|
}
|
|
340
356
|
}
|
|
@@ -392,6 +408,9 @@
|
|
|
392
408
|
validateOk: false,
|
|
393
409
|
|
|
394
410
|
maxgas: 99999999,
|
|
411
|
+
maxmoney: 99999999,
|
|
412
|
+
limitmoney: false,
|
|
413
|
+
limitgas: false,
|
|
395
414
|
|
|
396
415
|
clickConfirm: false,
|
|
397
416
|
|
|
@@ -416,7 +435,7 @@
|
|
|
416
435
|
let getResult = this.$CommonService.calRemanentMoney(this.row)
|
|
417
436
|
if (this.row.f_collection_type === '按气量') {
|
|
418
437
|
if (getResult > 0) {
|
|
419
|
-
this.model.f_pregas = this.model.f_fill_gas = getResult
|
|
438
|
+
this.model.f_pregas = this.model.f_fill_gas = getResult - 0
|
|
420
439
|
this.model.f_preamount = 0
|
|
421
440
|
} else {
|
|
422
441
|
this.model.f_pregas = ''
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|