sale-client 4.3.56 → 4.3.57
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/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/9.3.0/checksums/checksums.lock +0 -0
- package/.gradle/9.3.0/fileChanges/last-build.bin +0 -0
- package/.gradle/9.3.0/fileHashes/fileHashes.lock +0 -0
- package/.gradle/9.3.0/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/package.json +1 -1
- package/src/filiale/jinhong/machineHand.vue +27 -4
- package/src/main.js +1 -1
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
</div>
|
|
703
703
|
<div class="col-sm-4 form-group">
|
|
704
704
|
<label class="font_normal_body">阶梯二金额</label>
|
|
705
|
-
<p class="form-control" style="width:60%" disabled>{{ row.f_stair_money2 = stairMoney(row.f_stair_price2, row.f_stair_gas2) }}</p>
|
|
705
|
+
<p class="form-control" style="width:60%" disabled> {{ row.f_stair_money2 = stairMoney(row.f_stair_price2, row.f_stair_gas2) }}</p>
|
|
706
706
|
</div>
|
|
707
707
|
<div class="col-sm-4 form-group" >
|
|
708
708
|
<label class="font_normal_body">阶梯三单价</label>
|
|
@@ -721,11 +721,11 @@
|
|
|
721
721
|
</div>
|
|
722
722
|
<div class="col-sm-4 form-group">
|
|
723
723
|
<label class="font_normal_body">总用气量</label>
|
|
724
|
-
<p class="form-control" style="width:60%" disabled>{{
|
|
724
|
+
<p class="form-control" style="width:60%" disabled>{{ stairTotalGas}}</p>
|
|
725
725
|
</div>
|
|
726
726
|
<div class="col-sm-4 form-group">
|
|
727
727
|
<label class="font_normal_body">总用气金额</label>
|
|
728
|
-
<p class="form-control" style="width:60%" disabled>{{
|
|
728
|
+
<p class="form-control" style="width:60%" disabled>{{ stairTotalAmount }}</p>
|
|
729
729
|
</div>
|
|
730
730
|
<p style="color: red">注意: 自定义气量总量必须等于本次抄表用气量, 本次抄表总量: {{row.f_oughtamount}}</p>
|
|
731
731
|
</div>
|
|
@@ -964,7 +964,10 @@
|
|
|
964
964
|
},
|
|
965
965
|
methods: {
|
|
966
966
|
stairMoney (price, gas) {
|
|
967
|
-
|
|
967
|
+
// 转换为数字,处理 undefined 和 null
|
|
968
|
+
const p = Number(price) || 0
|
|
969
|
+
const g = Number(gas) || 0
|
|
970
|
+
return (p * g).toFixed(3) - 0
|
|
968
971
|
},
|
|
969
972
|
async customPricingConfirm () {
|
|
970
973
|
let sumGas = (this.row.f_stair_gas1 - 0) + (this.row.f_stair_gas2 - 0) + (this.row.f_stair_gas3 - 0)
|
|
@@ -1914,6 +1917,26 @@
|
|
|
1914
1917
|
danhutitle () {
|
|
1915
1918
|
return '单户抄表 当前计划年月:' + this.downModel.downDate
|
|
1916
1919
|
},
|
|
1920
|
+
// 总用气量
|
|
1921
|
+
stairTotalGas() {
|
|
1922
|
+
if (this.row && this.row.f_price_type === '阶梯气价') {
|
|
1923
|
+
const gas1 = Number(this.row.f_stair_gas1) || 0
|
|
1924
|
+
const gas2 = Number(this.row.f_stair_gas2) || 0
|
|
1925
|
+
const gas3 = Number(this.row.f_stair_gas3) || 0
|
|
1926
|
+
return (gas1 + gas2 + gas3).toFixed(3)
|
|
1927
|
+
}
|
|
1928
|
+
return 0
|
|
1929
|
+
},
|
|
1930
|
+
// 阶梯气价总金额
|
|
1931
|
+
stairTotalAmount() {
|
|
1932
|
+
if (this.row && this.row.f_price_type === '阶梯气价') {
|
|
1933
|
+
const money1 = this.stairMoney(this.row.f_stair_price1, this.row.f_stair_gas1)
|
|
1934
|
+
const money2 = this.stairMoney(this.row.f_stair_price2, this.row.f_stair_gas2)
|
|
1935
|
+
const money3 = this.stairMoney(this.row.f_stair_price3, this.row.f_stair_gas3)
|
|
1936
|
+
return (money1 + money2 + money3).toFixed(3)
|
|
1937
|
+
}
|
|
1938
|
+
return 0
|
|
1939
|
+
},
|
|
1917
1940
|
getCondition () {
|
|
1918
1941
|
// return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
1919
1942
|
return {
|
package/src/main.js
CHANGED
|
@@ -2,7 +2,7 @@ import Vue from 'vue'
|
|
|
2
2
|
import all from 'vue-client/src/all'
|
|
3
3
|
import App from './App'
|
|
4
4
|
import system from 'system-clients/src/system'
|
|
5
|
-
import FilialeSale from './filiale/
|
|
5
|
+
import FilialeSale from './filiale/jinhong/sale'
|
|
6
6
|
import sale from './sale'
|
|
7
7
|
import address from 'address-client/src/address'
|
|
8
8
|
import ldap from 'ldap-clients/src/ldap'
|