sale-client 4.0.86 → 4.0.87-preview

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.0.86",
3
+ "version": "4.0.87-preview",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -62,7 +62,7 @@
62
62
  </template>
63
63
 
64
64
  <script>
65
-
65
+ import Vue from 'vue'
66
66
  export default {
67
67
  title: '功能',
68
68
  props: ['parent', 'data', 'look', 'title'],
@@ -73,7 +73,8 @@ export default {
73
73
  menu_name: '',
74
74
  parent_id: '0',
75
75
  component: null,
76
- create_by: '',
76
+ create_by: this.$login.f.name,
77
+ org_id: this.$login.f.orgid,
77
78
  depict: '',
78
79
  type: ''
79
80
  },
@@ -107,7 +108,8 @@ export default {
107
108
  id: null,
108
109
  name: '',
109
110
  parent_id: '0',
110
- create_by: '',
111
+ create_by: this.$login.f.name,
112
+ org_id: this.$login.f.orgid,
111
113
  type: ''
112
114
  }
113
115
  this.model = Object.assign({}, this.model, this.data)
@@ -452,7 +452,7 @@ export default {
452
452
  payment: '现金缴费',
453
453
  open_way: '发卡开户',
454
454
  showupload: true, //
455
- hasAudit: true, // 是否审核
455
+ hasAudit: false, // 是否审核
456
456
  dispatch: false, // 是否派工
457
457
  approve: false
458
458
  },
@@ -195,18 +195,8 @@ let CardService = {
195
195
  f_comments: model.f_comments
196
196
  }
197
197
 
198
- if (row.f_remanent_type === 1) {
199
- param.f_total_gas = (row.f_total_gas - 0) + (model.f_pregas - 0)
200
- param.f_total_fee = (row.f_total_fee - 0) + (model.f_preamount - 0)
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)
210
200
  // console.log(row, model)
211
201
  param.f_write_totalgas = (row.f_write_totalgas - 0) + (model.f_pregas - 0)
212
202
  param.f_write_totalfee = (row.f_write_totalfee - 0) + (model.f_preamount - 0)
@@ -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
- if (self.row.f_remanent_type == 1) {
240
- // 换新表
241
- param.f_total_gas = (self.row.f_total_gas - 0) + (self.model.f_pregas - 0)
242
- param.f_total_fee = (self.row.f_total_fee - 0) + (self.model.f_preamount - 0)
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
- }
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}, {
File without changes
@@ -1,2 +0,0 @@
1
- #Mon Dec 30 14:38:17 CST 2024
2
- gradle.version=5.2.1
File without changes