sale-client 4.2.56 → 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
|
@@ -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: [
|
|
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: [
|
|
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>×</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>
|
|
@@ -1819,7 +1819,12 @@ let sellgasGen = async function (model, row) {
|
|
|
1819
1819
|
}
|
|
1820
1820
|
// 将回写表号或者用户号
|
|
1821
1821
|
model.f_meterid = row.cardInfo.Yhh ? row.cardInfo.Yhh : row.f_meterid
|
|
1822
|
-
|
|
1822
|
+
if (row.f_alias === 'TaiYuan_JE') {
|
|
1823
|
+
model.f_total_fee = (row.cardInfo.TotalMoney - 0) + (model.f_write_money - 0)
|
|
1824
|
+
model.f_write_totalfee = (row.cardInfo.TotalMoney - 0) + (model.f_write_money - 0)
|
|
1825
|
+
row.f_write_totalfee = (row.cardInfo.TotalMoney - 0)
|
|
1826
|
+
row.f_total_fee = (row.cardInfo.TotalMoney - 0)
|
|
1827
|
+
}
|
|
1823
1828
|
let cardid = row.f_card_id
|
|
1824
1829
|
if (row.f_tag) {
|
|
1825
1830
|
// 截取用户编号后四位
|