sale-client 4.1.99 → 4.2.1-ronghao

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.
@@ -1,7 +1,7 @@
1
1
  var path = require('path')
2
2
  var checkVersion = require('./versionCheck.js')
3
3
  checkVersion()
4
- const [ serverRul, localUrl ] = ['http://192.168.50.67:31467/', 'http://192.168.50.67:31467/']
4
+ const [ serverRul, localUrl ] = ['http://218.93.226.210:31467/', 'http://218.93.226.210:31467/']
5
5
  var merge = require('webpack-merge')
6
6
  var baseConfig = require('./webpack.dev.conf')
7
7
  var devConfig = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.1.99",
3
+ "version": "4.2.1-ronghao",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -369,6 +369,8 @@
369
369
  insurance.f_operator = self.$login.f.name
370
370
  insurance.f_operatorid = self.$login.f.id
371
371
  insurance.f_orgid = self.$login.f.orgid
372
+ insurance.f_idnumber = self.row.f_idnumber
373
+ insurance.f_user_phone = self.row.f_user_phone
372
374
  insurance.f_orgname = self.$login.f.orgs
373
375
  insurance.f_depid = self.$login.f.depids
374
376
  insurance.f_depname = self.$login.f.deps
@@ -336,6 +336,8 @@ import {HttpResetClass} from 'vue-client'
336
336
  param.insurance = Object.assign({}, {}, self.model)
337
337
  param.insurance.f_payment = self.model.f_payment[0]
338
338
  param.insurance.f_userinfo_code = self.row.f_userinfo_code
339
+ param.insurance.f_idnumber = self.row.f_idnumber
340
+ param.insurance.f_user_phone = self.row.f_user_phone
339
341
  param.insurance.f_state = '有效'
340
342
  param.insurance.f_receivable = self.insurance.f_money_all
341
343
  param.insurance.f_user_name = self.row.f_user_name
@@ -224,6 +224,8 @@ let asyncMachineMeterCenter = async function (self) {
224
224
  insurance.f_state = '有效'
225
225
  insurance.f_operat_type = '保险'
226
226
  insurance.f_user_name = self.row.f_user_name
227
+ insurance.f_idnumber = self.row.f_idnumber
228
+ insurance.f_user_phone = self.row.f_user_phone
227
229
  insurance.f_payment = self.data.f_payment.toString()
228
230
  insurance.f_userfiles_id = self.row.f_userfiles_id
229
231
  insurance.f_operator = self.$login.f.name
@@ -385,6 +385,8 @@ let initCardGen = async function (self) {
385
385
  insurance.f_state = '有效'
386
386
  insurance.f_operat_type = '保险'
387
387
  insurance.f_user_name = self.row.f_user_name
388
+ insurance.f_idnumber = self.row.f_idnumber
389
+ insurance.f_user_phone = self.row.f_user_phone
388
390
  insurance.f_userfiles_id = self.row.f_userfiles_id
389
391
  insurance.f_operator = self.$login.f.name
390
392
  insurance.f_operatorid = self.$login.f.id
@@ -405,6 +405,11 @@ export default {
405
405
  return
406
406
  }
407
407
  }
408
+ let b = this.$login.toStandardDateString() + ' 00:00:00'
409
+ if (this.model.f_date < b && this.model.f_payment.length === 0) {
410
+ this.$showAlert('请选择退款方式!', 'warning', 1500)
411
+ return
412
+ }
408
413
  this.show = true
409
414
  },
410
415
  close () {
@@ -628,7 +628,7 @@ let ChangeMeterService = {
628
628
  f_preamount: model.f_preamount,
629
629
  f_pregas: model.f_pregas,
630
630
  f_totalcost: model.f_totalcost,
631
- f_add_gas: model.f_add_gas,
631
+ f_add_gas: model.addtotal === '是' ? '计入' : '不计入',
632
632
  f_total_gas: model.addtotal === '是' ? (row.f_total_gas - 0) + (model.f_pregas - 0) : (row.f_total_gas - 0),
633
633
  f_total_fee: model.addtotal === '是' ? (row.f_total_fee - 0) + (model.f_preamount - 0) : (row.f_total_fee - 0),
634
634
  f_payment: model.f_payment.toString(),
@@ -642,17 +642,16 @@
642
642
  style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
643
643
  汇总信息
644
644
  </td>
645
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
646
- <!-- 用气量合计:&emsp;{{sumsmodel.f_oughtamount}}-->
647
- <!-- </td>-->
648
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
649
- <!-- 气费合计:&emsp;{{sumsmodel.f_oughtfee}}-->
650
- <!-- </td>-->
651
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
652
- <!-- 已交金额合计:&emsp;{{sumsmodel.f_debt_money}}-->
653
- <!-- </td>-->
654
- <td
655
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
645
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
646
+ 用气量合计:&emsp;{{sumsmodel.f_oughtamount}}
647
+ </td>
648
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
649
+ 气费合计:&emsp;{{sumsmodel.f_oughtfee}}
650
+ </td>
651
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
652
+ 已交金额合计:&emsp;{{sumsmodel.f_debt_money}}
653
+ </td>
654
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
656
655
  欠费金额合计:&emsp;{{ sumsmodel.f_actual_arrears }}
657
656
  </td>
658
657
  <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
@@ -777,9 +776,9 @@ export default {
777
776
  footer: [],
778
777
  data: {},
779
778
  model: new PagedList('api/af-revenue/sql/salehandplanQuery', 20, {}, {
780
- // f_oughtamount: 0,
781
- // f_oughtfee: 0,
782
- // f_debt_money: 0,
779
+ f_oughtamount: 0,
780
+ f_oughtfee: 0,
781
+ f_debt_money: 0,
783
782
  f_actual_arrears: 0
784
783
  // f_stair1amount: 0,
785
784
  // f_stair1fee: 0,
@@ -51,7 +51,7 @@
51
51
  <div class="showtext">分类:&nbsp;<span>{{file.fusetype}}</span></div>
52
52
  <div class="showtext">文件说明:&nbsp;{{file.fremarks}}</div>
53
53
  <div class="flex-row showtext">
54
- <a target="_blank" :href="file.f_downloadURL">预览</a>
54
+ <button class="btn btn-link" @click.stop="imgShow(file.f_downloadURL)">预览</button>
55
55
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
56
56
  <a v-show="isDelete == '1'" @click="delet($index,file)">删除</a>
57
57
  </div>
@@ -64,6 +64,19 @@
64
64
  </div>
65
65
  </div>
66
66
  </div>
67
+ <modal :show.sync="imgshow" v-ref:modal backdrop="true" coverstyle="modalContentRight">
68
+ <header slot="modal-header" class="modal-header">
69
+ 预览
70
+ </header>
71
+ <article slot="modal-body" class="modal-body">
72
+ <div class="from-group">
73
+ <img-self-sale-plus :src="imgfilename" :list="imgfilename" :width="750" :height="750"></img-self-sale-plus>
74
+ </div>
75
+ </article>
76
+ <footer slot="modal-footer" class="modal-footer">
77
+ <button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
78
+ </footer>
79
+ </modal>
67
80
  </template>
68
81
  <script>
69
82
  import {HttpResetClass} from 'vue-client'
@@ -78,6 +91,8 @@ export default {
78
91
 
79
92
  upload_date: '',
80
93
  fusetype: [],
94
+ imgfilename: '',
95
+ imgshow: false,
81
96
  files: [],
82
97
  fusetypes: [],
83
98
  isDelete: '0', // 删除按钮,可以进行控制(权限等)
@@ -111,6 +126,14 @@ export default {
111
126
  this.selfSearch()
112
127
  })
113
128
  },
129
+ imgShow (val) {
130
+ // this.imgfilename = `api/af-revenue/file/image/` + val
131
+ this.imgfilename = val
132
+ this.imgshow = true
133
+ },
134
+ imgclose () {
135
+ this.imgshow = false
136
+ },
114
137
  getFiles () {
115
138
  this.files = []
116
139
  this.userinfo_id = this.row.f_userinfo_id
@@ -185,4 +208,7 @@ export default {
185
208
  .showtext{
186
209
  height:20px;
187
210
  }
211
+ .modalContentRight {
212
+ float:right;
213
+ }
188
214
  </style>
File without changes
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- #Mon Apr 14 10:14:01 CST 2025
2
- gradle.version=5.2.1
Binary file
File without changes