sale-client 4.3.80 → 4.3.81
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/build/dev-server.js +4 -1
- package/package.json +1 -1
- package/src/filiale/yangchun/CardList.vue +18 -25
- package/src/main.js +2 -2
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
package/build/dev-server.js
CHANGED
|
@@ -26,7 +26,10 @@ var devConfig = {
|
|
|
26
26
|
// target: localUrl
|
|
27
27
|
// },
|
|
28
28
|
// '/api/af-revenue/logic': {
|
|
29
|
-
//
|
|
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
|
@@ -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
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
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
|
-
|
|
394
|
-
|
|
395
|
-
|
|
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/
|
|
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'
|
|
@@ -24,7 +24,7 @@ system(false)
|
|
|
24
24
|
sale()
|
|
25
25
|
address()
|
|
26
26
|
ldap()
|
|
27
|
-
|
|
27
|
+
FilialeSale()
|
|
28
28
|
require('system-clients/src/styles/less/bootstrap.less')
|
|
29
29
|
|
|
30
30
|
new Vue({
|