sale-client 3.6.566 → 3.6.568
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/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.10/checksums/checksums.lock +0 -0
- package/.gradle/8.10/dependencies-accessors/gc.properties +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.10/fileChanges/last-build.bin +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.10/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/.gradle/file-system.probe +0 -0
- package/package.json +1 -1
- package/src/filiale/bayan/CardMeterCenter.vue +8 -0
- package/src/filiale/bayan/ChargeList.vue +2 -12
- package/src/filiale/bayan/ChargeManage.vue +1 -1
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
1
|
+
#Mon Apr 14 10:14:01 CST 2025
|
|
2
2
|
gradle.version=5.2.1
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -245,6 +245,11 @@
|
|
|
245
245
|
*卡表收费组件
|
|
246
246
|
*/
|
|
247
247
|
|
|
248
|
+
// 输入金额,换算气量
|
|
249
|
+
function stringRound(num, decimals = 2) {
|
|
250
|
+
const strValue = num + 'e' + decimals
|
|
251
|
+
return Math.round(Number(strValue)) / Math.pow(10, decimals)
|
|
252
|
+
}
|
|
248
253
|
// 输入金额,换算气量
|
|
249
254
|
let preamountGen = async function (self) {
|
|
250
255
|
let calFee = ((self.model.f_preamount - 0)).toFixed(self.row.f_fee_decimal || 2)
|
|
@@ -803,6 +808,7 @@
|
|
|
803
808
|
calText (val) {
|
|
804
809
|
let str = ''
|
|
805
810
|
let num = 0
|
|
811
|
+
let total = 0
|
|
806
812
|
val.forEach((item) => {
|
|
807
813
|
if (item.f_gas > 0) {
|
|
808
814
|
num = num + 1
|
|
@@ -812,8 +818,10 @@
|
|
|
812
818
|
} else {
|
|
813
819
|
str = str + item.f_price + ' x ' + Math.floor(item.f_gas) + '+'
|
|
814
820
|
}
|
|
821
|
+
total += item.f_price * item.f_gas
|
|
815
822
|
})
|
|
816
823
|
str = str.slice(0, str.length - 1)
|
|
824
|
+
str += ` = ${total}`
|
|
817
825
|
this.calculatedetail = str
|
|
818
826
|
if (num > 1) {
|
|
819
827
|
if (this.$login.r.find(item => item == '阶梯提示无按钮')) {
|
|
@@ -129,15 +129,7 @@
|
|
|
129
129
|
condition="i.f_user_level = '{}'"
|
|
130
130
|
close-on-select style="width: 60%"></v-select>
|
|
131
131
|
</div>
|
|
132
|
-
|
|
133
|
-
<label class="font_normal_body">组织机构</label>
|
|
134
|
-
<res-select :initresid='$parent.$parent.curorgid'
|
|
135
|
-
@res-select="$parent.$parent.getorg"
|
|
136
|
-
class="select select_list"
|
|
137
|
-
restype='organization'
|
|
138
|
-
style="width: 60%">
|
|
139
|
-
</res-select>
|
|
140
|
-
</div>
|
|
132
|
+
|
|
141
133
|
<div class="form-group col-sm-3">
|
|
142
134
|
<label class="font_normal_body">卡  号</label>
|
|
143
135
|
<input type="text" class="input_search" style="width:60%" v-model="model.f_card_id" placeholder='卡号'
|
|
@@ -852,9 +844,7 @@ let cardBtnGen = async function (self, val) {
|
|
|
852
844
|
if (!this.f_orgid) {
|
|
853
845
|
this.getorg([this.$login.f.orgid])
|
|
854
846
|
}
|
|
855
|
-
|
|
856
|
-
args.condition = `u.f_filialeid in ${this.f_orgid} and ${args.condition}`
|
|
857
|
-
}
|
|
847
|
+
|
|
858
848
|
this.excelCondition = args.condition
|
|
859
849
|
args.condition = `${args.condition}`
|
|
860
850
|
if (this.defbtn === '发卡售气') {
|
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
// 获取用户信息
|
|
107
107
|
getUser = await this.$resetpost('rs/sql/sale_getUser', {
|
|
108
108
|
data: {
|
|
109
|
-
condition: `
|
|
109
|
+
condition: `gb.f_meter_type in ('机表','物联网表') and i.f_userinfo_code='${res.data.CardID}'`,
|
|
110
110
|
orderitem: `f_userinfo_id`
|
|
111
111
|
}
|
|
112
112
|
}, {resolveMsg: null, rejectMsg: '读卡失败'})
|