sale-client 4.2.57 → 4.2.58

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.2.57",
3
+ "version": "4.2.58",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -73,13 +73,13 @@
73
73
  <div class="col-sm-3 form-group" v-if="config.hasfindaReail" :class="[$v.f_collection.required || $v.f_collection.dctest ? 'has-error select-error' : '']">
74
74
  <label for="f_collection" class="font_normal_body">燃气收款</label>
75
75
  <input id="f_collection" class="input_search" style="width:60%" type="number" v-model="data.f_collection"
76
- v-validate:f_collection='{required: true, dctest: [0, ">=" ]}' v-scale = "[data.f_collection, 2]"
76
+ v-validate:f_collection='{required: true, dctest: [data.f_totalcost, ">=" ]}' v-scale = "[data.f_collection, 2]"
77
77
  @mousewheel.native.prevent @keyup.enter="confirm()" :disabled="$refs.givechange.promptText != ''">
78
78
  </div>
79
79
  <div class="col-sm-4 form-group" v-if="!config.hasfindaReail" :class="[$v.f_collection.required || $v.f_collection.dctest ? 'has-error select-error' : '']">
80
80
  <label for="f_collection" class="font_normal_body">燃气收款</label>
81
81
  <input id="f_collection" class="input_search" style="width:60%" type="number" v-model="data.f_collection"
82
- v-validate:f_collection='{required: true, dctest: [0, ">=" ]}' v-scale = "[data.f_collection, 2]"
82
+ v-validate:f_collection='{required: true, dctest: [data.f_totalcost, ">=" ]}' v-scale = "[data.f_collection, 2]"
83
83
  @mousewheel.native.prevent @keyup.enter="confirm()" :disabled="$refs.givechange.promptText != ''">
84
84
  </div>
85
85
  <div class="col-sm-1 form-group" v-if="config.hasfindaReail">
@@ -151,36 +151,6 @@
151
151
  <button class="button_clear btn-gn" @click="clean()">取消</button>
152
152
  </div>
153
153
  </validator>
154
- <!--<modal :show.sync="showOverdueModal" v-ref:modal backdrop="false">-->
155
- <!--<header slot="modal-header" class="modal-header">-->
156
- <!--<button type="button" class="close" @click="closeOverdue"><span>&times;</span></button>-->
157
- <!--<h4 class="modal-title">修改违约金</h4>-->
158
- <!--</header>-->
159
- <!--<article slot="modal-body" class="modal-body">-->
160
- <!--<validator name='m'>-->
161
- <!--<form class="form-horizontal">-->
162
- <!--<div class="row">-->
163
- <!--<div class="col-sm-6">-->
164
- <!--<label for="oldOverdue" class="font_normal_body">原违约金</label>-->
165
- <!--<input type="text" class="input_search" style="width:60%" v-once v-model="overdueModal.f_old_overdue" disabled>-->
166
- <!--</div>-->
167
- <!--</div>-->
168
- <!--<div class="row">-->
169
- <!--<div class="col-sm-6" :class="[$m.f_new_overdue.required ? 'has-error select-error' : '']">-->
170
- <!--<label for="newOverdue" class="font_normal_body">新违约金</label>-->
171
- <!--<input type="text" class="input_search" style="width:60%" v-model="overdueModal.f_new_overdue"-->
172
- <!--v-validate:f_new_overdue='{required: true}'>-->
173
- <!--</div>-->
174
- <!--</div>-->
175
- <!--</form>-->
176
- <!--</validator>-->
177
- <!--</article>-->
178
-
179
- <!--<footer slot="modal-footer" class="modal-footer">-->
180
- <!--<button type="button" class="button_search" :disabled='!$m.valid' @click='confirmOverdue()'>确认</button>-->
181
- <!--<button type="button" class="button_clear" @click='closeOverdue'>取消</button>-->
182
- <!--</footer>-->
183
- <!--</modal>-->
184
154
  <payment-code v-ref:paymentcode :payment="data.f_payment" :row="row" :money="data.f_after_discount"></payment-code>
185
155
  </div>
186
156
  <upload :blodid="row.f_userinfo_id" v-if="config.showupload" :businessid="randomBusinessId" isremark="true" fusetype="机表收费"></upload>