sale-client 4.0.85 → 4.0.87
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/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/components/revenue/comprehen/ComprehenOperation/newchangemeter/ResetMeter.vue +1 -1
- package/src/filiale/xihu/CardService.js +14 -13
- package/src/filiale/xihu/IotChangeFill.vue +14 -14
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -195,20 +195,13 @@ let CardService = {
|
|
|
195
195
|
f_comments: model.f_comments
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
} else {
|
|
202
|
-
if ((model.f_pregas - 0) > (model.f_fill_gas - 0)) {
|
|
203
|
-
param.f_total_gas = (row.f_total_gas - 0) + ((model.f_pregas - 0) - (model.f_fill_gas - 0))
|
|
204
|
-
param.f_total_fee = (row.f_total_fee - 0) + (model.f_preamount - 0)
|
|
205
|
-
} else {
|
|
206
|
-
param.f_total_gas = (row.f_total_gas - 0)
|
|
207
|
-
param.f_total_fee = (row.f_total_fee - 0)
|
|
208
|
-
}
|
|
209
|
-
}
|
|
198
|
+
param.f_total_gas = (row.f_total_gas - 0) + (model.f_pregas - 0)
|
|
199
|
+
param.f_total_fee = (row.f_total_fee - 0) + (model.f_preamount - 0)
|
|
200
|
+
// console.log(row, model)
|
|
210
201
|
param.f_write_totalgas = (row.f_write_totalgas - 0) + (model.f_pregas - 0)
|
|
211
202
|
param.f_write_totalfee = (row.f_write_totalfee - 0) + (model.f_preamount - 0)
|
|
203
|
+
// console.log(row.f_write_totalfee, model.f_preamount,param.f_write_totalfee)
|
|
204
|
+
// console.log(param)
|
|
212
205
|
return sendCardSaleGasGenremanent(param, row)
|
|
213
206
|
},
|
|
214
207
|
|
|
@@ -640,7 +633,9 @@ let sendCardSaleGasGenremanent = async function (model, row) {
|
|
|
640
633
|
if (!row.f_card_id) {
|
|
641
634
|
getCardNumber = await Vue.resetpost('api/af-revenue/logic/getCardNumber', {data: {id: row.brand_id}}, {resolveMsg: null, rejectMsg: '发卡售气获取卡号失败!!'})
|
|
642
635
|
console.log('获取卡号、、', getCardNumber)
|
|
643
|
-
model.f_write_totalfee
|
|
636
|
+
if (!model.f_write_totalfee) {
|
|
637
|
+
model.f_write_totalfee = (row.f_remanent_gas * row.f_remanent_price).toFixed(4)
|
|
638
|
+
}
|
|
644
639
|
} else {
|
|
645
640
|
getCardNumber.data.cardNumber = row.f_card_id
|
|
646
641
|
console.log('档案自带卡号、、', getCardNumber)
|
|
@@ -761,6 +756,12 @@ let resetsendCardSaleGasGen = async function (model, row) {
|
|
|
761
756
|
} else {
|
|
762
757
|
throw new Error('获取卡号失败!请核实参数管理中的卡号重新发卡售气。')
|
|
763
758
|
}
|
|
759
|
+
console.log(1111+ JSON.stringify(row))
|
|
760
|
+
// 判断是否是累购表
|
|
761
|
+
if (row.f_support_purchase === '是') {
|
|
762
|
+
console.log(122233 + row)
|
|
763
|
+
model.f_total_fee = (row.f_total_fee - 0) + (model.f_pregas - 0)
|
|
764
|
+
}
|
|
764
765
|
// 存库
|
|
765
766
|
result = await Vue.resetpost('api/af-revenue/logic/sale_resetsendCardSaleGas_logic', {data: model}, {resolveMsg: null, rejectMsg: '重发卡售气存库失败'})
|
|
766
767
|
console.log('重发卡售气存库返回', result)
|
|
@@ -235,20 +235,20 @@
|
|
|
235
235
|
f_collection_type: self.row.f_collection_type,
|
|
236
236
|
f_calculation: self.row.f_calculation
|
|
237
237
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
} else {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
}
|
|
238
|
+
// 换新表
|
|
239
|
+
param.f_total_gas = (self.row.f_total_gas - 0) + (self.model.f_pregas - 0)
|
|
240
|
+
param.f_total_fee = (self.row.f_total_fee - 0) + (self.model.f_preamount - 0)
|
|
241
|
+
// if (self.row.f_remanent_type == 1) {
|
|
242
|
+
//
|
|
243
|
+
// } else {
|
|
244
|
+
// // 清零换表 (不考虑,物联网不存在清零换表)
|
|
245
|
+
// if (self.model.f_fill_gas > 0 && !self.showGas) {
|
|
246
|
+
// param.f_total_fee = (self.row.f_total_fee - 0) + (self.model.f_preamount - 0) - (self.model.f_fill_money - 0)
|
|
247
|
+
// } else {
|
|
248
|
+
// param.f_total_gas = (self.row.f_total_gas - 0) + (self.model.f_pregas - self.model.f_fill_gas)
|
|
249
|
+
// param.f_total_fee = (self.row.f_total_fee - 0) + (self.model.f_preamount - 0) - (self.model.f_fill_money - 0)
|
|
250
|
+
// }
|
|
251
|
+
// }
|
|
252
252
|
// 加入扫码盒付款码支付流水号
|
|
253
253
|
param.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.f_out_trade_no
|
|
254
254
|
let res = await self.$resetpost('api/af-revenue/logic/sale_iotRemanentGas', {data: param}, {
|