sale-client 3.6.97 → 3.6.99
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/build/dev-server.js +1 -1
- package/package.json +1 -1
- package/src/components/UserFiles/batchUpdateInputtor.vue +1 -1
- package/src/components/revenue/base/rightview/CardList.vue +21 -17
- package/src/components/revenue/comprehen/Exemption/GasFeeReduction.vue +1 -1
- package/src/components/revenue/invoiceuse/InvoiceChargeList.vue +1 -1
- package/src/components/webMeter/meterinfo/NewMeterList.vue +1 -1
- package/src/main.js +2 -2
package/build/dev-server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
|
-
const [serverRul, localUrl ] = ['http://
|
|
2
|
+
const [serverRul, localUrl ] = ['http://121.36.106.17:8400/', 'http://121.36.106.17:8400/']
|
|
3
3
|
var merge = require('webpack-merge')
|
|
4
4
|
var baseConfig = require('./webpack.dev.conf')
|
|
5
5
|
var devConfig = {
|
package/package.json
CHANGED
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
this.uploadshow = true
|
|
238
238
|
},
|
|
239
239
|
selfSearch (args) {
|
|
240
|
-
this.orgCondtionStr =
|
|
240
|
+
this.orgCondtionStr = `and uf.f_filialeid = '${this.f_orgid}'`
|
|
241
241
|
|
|
242
242
|
args.condition = `${args.condition} ` + this.orgCondtionStr
|
|
243
243
|
this.area = this.$refs.paged.$refs.cri.model.f_residential_area
|
|
@@ -365,28 +365,32 @@
|
|
|
365
365
|
this.$showAlert('此次机表收费之后有自动下账,不能撤销此纪录', 'warning', 1500)
|
|
366
366
|
return
|
|
367
367
|
}
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
368
|
+
}
|
|
369
|
+
if (this.authArr.includes('冲正权限')) {
|
|
370
|
+
if (this.config.cancleother) {
|
|
371
|
+
if (row.f_operator != this.$login.f.name) {
|
|
372
|
+
this.$showAlert('不能撤销不是自己进行的操作', 'warning', 1500)
|
|
373
|
+
return
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
if (this.config.cancletime && !this.$login.f.rolesnames.includes('管理员')) {
|
|
377
|
+
let a = this.$login.toStandardYearMonth()
|
|
378
|
+
console.log('当前时间', a < row.f_operate_date)
|
|
379
|
+
if (!this.authArr.includes('跨月撤销')) {
|
|
380
|
+
if (row.f_operate_date < a) {
|
|
381
|
+
this.$showAlert('不能撤销非本月的记录,请联系管理员获取【跨月撤销】的权限。', 'warning', 1500)
|
|
373
382
|
return
|
|
374
383
|
}
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
if (!this.authArr.includes('跨月撤销')) {
|
|
380
|
-
if (row.f_operate_date < a) {
|
|
381
|
-
this.$showAlert('不能撤销非本月的记录,请联系管理员获取【跨月撤销】的权限。', 'warning', 1500)
|
|
382
|
-
return
|
|
383
|
-
}
|
|
384
|
+
a = this.$login.toStandardDateString() + ' 00:00:00'
|
|
385
|
+
if (row.f_operate_date < a) {
|
|
386
|
+
this.$showAlert('不能撤销不是当天的操作', 'warning', 1500)
|
|
387
|
+
return
|
|
384
388
|
}
|
|
385
389
|
}
|
|
386
|
-
} else {
|
|
387
|
-
this.$showAlert('当前用户没有【冲正权限】', 'warning', 1500)
|
|
388
|
-
return
|
|
389
390
|
}
|
|
391
|
+
} else {
|
|
392
|
+
this.$showAlert('当前用户没有【冲正权限】', 'warning', 1500)
|
|
393
|
+
return
|
|
390
394
|
}
|
|
391
395
|
}
|
|
392
396
|
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
console.log('===>', args)
|
|
198
198
|
console.log('=this.model==>', this.model)
|
|
199
199
|
if (!this.orgCondtionStr) {
|
|
200
|
-
args.condition = `${args.condition}` +
|
|
200
|
+
args.condition = `${args.condition}` + ` and f_orgid = '${this.$login.f.orgid}'`
|
|
201
201
|
} else {
|
|
202
202
|
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
203
203
|
}
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
args.condition += ` and f_hand_date <= '${year}-${month}-${day} 23:59:59'`
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
-
args.condition += ` and f_orgid = ${this.f_orgstr} and f_payment <> '免交'`
|
|
216
|
+
args.condition += ` and f_orgid = '${this.f_orgstr}' and f_payment <> '免交'`
|
|
217
217
|
this.model.search(args.condition, args.model)
|
|
218
218
|
},
|
|
219
219
|
// 获得本月的最后一天。
|
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
if (plugins.convertToIn(obj) !== null && plugins.convertToIn(obj) !== '') {
|
|
494
494
|
this.orgcondition = ' and f_filialeid in ' + plugins.convertToIn(obj)
|
|
495
495
|
} else {
|
|
496
|
-
this.orgcondition =
|
|
496
|
+
this.orgcondition = ` and f_filialeid = '${this.$login.f.orgid}'`
|
|
497
497
|
}
|
|
498
498
|
},
|
|
499
499
|
|
package/src/main.js
CHANGED
|
@@ -3,7 +3,7 @@ import all from 'vue-client/src/all'
|
|
|
3
3
|
import App from './App'
|
|
4
4
|
import system from 'system-clients/src/system'
|
|
5
5
|
import sale from './sale'
|
|
6
|
-
import wenxi from './filiale/rizhao/sale'
|
|
6
|
+
// import wenxi from './filiale/rizhao/sale'
|
|
7
7
|
// import FilialeSale from './filiale/yuansheng/sale'
|
|
8
8
|
import address from 'address-client/src/address'
|
|
9
9
|
import ldap from 'ldap-clients/src/ldap'
|
|
@@ -15,7 +15,7 @@ Vue.config.silent = true
|
|
|
15
15
|
all()
|
|
16
16
|
system(false)
|
|
17
17
|
sale()
|
|
18
|
-
wenxi()
|
|
18
|
+
// wenxi()
|
|
19
19
|
// FilialeSale()
|
|
20
20
|
address()
|
|
21
21
|
ldap()
|