sale-client 4.3.80 → 4.3.82

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.
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ #Wed May 13 15:19:48 CST 2026
2
+ gradle.version=5.2.1
File without changes
@@ -26,7 +26,10 @@ var devConfig = {
26
26
  // target: localUrl
27
27
  // },
28
28
  // '/api/af-revenue/logic': {
29
- // target: serverRul
29
+ // pathRewrite: {
30
+ // '/api/af-revenue/logic': '/logic'
31
+ // },
32
+ // target: localUrl
30
33
  // },
31
34
  // '/api/af-revenue/file': {
32
35
  // // pathRewrite: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.3.80",
3
+ "version": "4.3.82",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -131,7 +131,7 @@
131
131
  <nobr>结束时间</nobr>
132
132
  </th>
133
133
  <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail' >
134
- <nobr>附件查看</nobr>
134
+ <nobr>操作</nobr>
135
135
  </th>
136
136
  </tr>
137
137
  </template>
@@ -145,7 +145,8 @@
145
145
  <td v-show='!$parent.$parent.$parent.$parent.isdetail' style="text-align: center;"><nobr>{{row.f_start_date}}</nobr></td>
146
146
  <td v-show='!$parent.$parent.$parent.$parent.isdetail' style="text-align: center;"><nobr>{{row.f_end_date}}</nobr></td>
147
147
  <td v-show='!$parent.$parent.$parent.$parent.isdetail' style="text-align: center;"> <nobr>
148
- <button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
148
+ <button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">附件查看</button>
149
+ <button v-if="$login.r.includes('移除低保户')" class="button_delete button_spacing width-60" @click.stop="$parent.$parent.$parent.remove(row)">移除</button>
149
150
  </nobr></td>
150
151
  </template>
151
152
  <template partial='foot'></template>
@@ -185,7 +186,7 @@
185
186
  f_orgid: '',
186
187
  criteriaShow: false,
187
188
  clientWidth: document.body.clientWidth,
188
- showupload:false,
189
+ showupload: false,
189
190
  selected: {},
190
191
  basicImport: '',
191
192
  getfield: {
@@ -229,6 +230,16 @@
229
230
  this.selected = row
230
231
  console.log('11', row)
231
232
  },
233
+ remove (row) {
234
+ this.$showMessage('是否确认移除该用户?', ['confirm', 'cancel']).then(res => {
235
+ if (res === 'cancel') {
236
+ } else {
237
+ this.$resetpost('api/af-revenue/logic/removeBasicLiving', {data: row}).then((res)=>{
238
+ this.search()
239
+ })
240
+ }
241
+ })
242
+ },
232
243
  async getRes (condition, obj) {
233
244
  console.log('低保户condition =', condition)
234
245
  console.log('低保户obj =', obj)
@@ -285,7 +285,7 @@
285
285
  asyncCardList(this)
286
286
  // this.search()
287
287
  },
288
- methods: {
288
+ methods:{
289
289
  dateDes (date) {
290
290
  return this.$login.dateDescripte(date)
291
291
  },
@@ -339,7 +339,7 @@
339
339
  }
340
340
  }
341
341
  if (row.type === '物联网收费' || row.type === '卡表赠气' || row.type === '物联网赠费' || row.type === '卡表赠费' || row.type === '物联网赠气') {
342
- let table_name = this.$appdata.getSingleValue('新抄表')? 't_web_handplan' : 't_handplan'
342
+ let table_name = this.$appdata.getSingleValue('新抄表') ? 't_web_handplan' : 't_handplan'
343
343
  let getWebHand = await this.$SqlService.singleTable(table_name, `f_hand_state = '有效' and f_input_date > '${row.f_operate_date}' and f_userfiles_id = '${row.f_userfiles_id}'`)
344
344
  console.log('长度', getWebHand)
345
345
  if (getWebHand.data.length > 0) {
@@ -369,32 +369,25 @@
369
369
  }
370
370
  if (this.authArr.includes('冲正权限')) {
371
371
 
372
- if (!this.config.cancletime && !this.$login.f.rolesnames.includes('财务退款')) {
373
- if (!this.config.cancleother) {
374
- if (row.f_operator != this.$login.f.name) {
375
- this.$showAlert('不能撤销不是自己进行的操作', 'warning', 1500)
376
- return
377
- }
378
- }
379
- let a = this.$login.toStandardYearMonth()
380
- console.log('当前时间', a < row.f_operate_date)
381
- // if (!this.authArr.includes('跨月撤销')) {
382
- // if (row.f_operate_date < a) {
383
- // this.$showAlert('不能撤销非本月的记录,请联系管理员获取【跨月撤销】的权限。', 'warning', 1500)
384
- // return
385
- // }
386
- a = this.$login.toStandardDateString() + ' 00:00:00'
387
- if (row.f_operate_date < a ) {
388
- this.$showAlert('不能撤销不是当天的操作', 'warning', 1500)
389
- return
390
- }
391
- // }
372
+ const canCancelOther = this.config.cancleother || this.authArr.includes('撤销他人记录') || this.$login.f.rolesnames.includes('财务退款')
373
+ if (!canCancelOther && row.f_operator !== this.$login.f.name) {
374
+ this.$showAlert('不能撤销不是自己进行的操作', 'warning', 1500)
375
+ return
392
376
  }
393
- } else {
394
- this.$showAlert('当前用户没有【冲正权限】', 'warning', 1500)
395
- return
377
+ const canCancelNonToday = this.config.cancletime || this.$login.f.rolesnames.includes('财务退款')
378
+ if (!canCancelNonToday) {
379
+ const todayStart = this.$login.toStandardDateString() + ' 00:00:00'
380
+ if (row.f_operate_date < todayStart) {
381
+ this.$showAlert('不能撤销不是当天的操作', 'warning', 1500)
382
+ return
383
+ }
384
+ // }
396
385
  }
386
+ } else {
387
+ this.$showAlert('当前用户没有【冲正权限】', 'warning', 1500)
388
+ return
397
389
  }
390
+ }
398
391
 
399
392
  if (title === '撤销') {
400
393
  this.cancel_show = true
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/liaoyuan/sale'
5
+ import FilialeSale from './filiale/yangchun/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'