sale-client 3.6.202 → 3.6.204
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/revenue/HandManager/CardHand.vue +1 -1
- package/src/components/revenue/changeInsurance/InsuranceChargesDetails.vue +1 -1
- package/src/components/revenue/comprehen/Maintenance/revenue/StockListmain.vue +13 -0
- package/src/components/revenue/comprehen/insurance/insuranceGuanL.vue +19 -2
- package/src/components/revenue/machineHandManage/machineHandAudit.vue +0 -5
- package/src/filiale/shanxian/components/revenue/insuranceGuanL.vue +1 -1
- package/src/filiale/shexian/Upload.vue +6 -2
- package/src/filiale/shexian/revenue/newchangemeter/ChangeMeter.vue +1 -1
- package/src/filiale/yuncheng/ChargeList.vue +2 -0
- package/src/filiale/yuncheng/machineHandAudit.vue +1 -1
package/build/dev-server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
|
-
const [ serverRul, localUrl ] = ['http://121.36.106.17:8400/', '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
|
@@ -400,7 +400,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
400
400
|
await self.$LoadParams.loadParam(self.f_filialeid)
|
|
401
401
|
|
|
402
402
|
self.loadMeterBooks()
|
|
403
|
-
await self.search()
|
|
403
|
+
// await self.search()
|
|
404
404
|
}
|
|
405
405
|
let modifyGen = function* (self, row, url) {
|
|
406
406
|
console.log('抄表修正,。。。', row, url)
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
},
|
|
378
378
|
selfSearch (args) {
|
|
379
379
|
if (!this.orgCondtionStr) {
|
|
380
|
-
args.condition = `${args.condition}` + ' and f_orgid = ' + this.$login.f.orgid
|
|
380
|
+
args.condition = `${args.condition}` + ' and f_orgid = ' + `${this.$login.f.orgid}`
|
|
381
381
|
} else {
|
|
382
382
|
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
383
383
|
}
|
|
@@ -73,6 +73,16 @@
|
|
|
73
73
|
close-on-select
|
|
74
74
|
condition="f_user_type = '{}'"></v-select>
|
|
75
75
|
</div>
|
|
76
|
+
<div
|
|
77
|
+
:class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}"
|
|
78
|
+
class="form-group">
|
|
79
|
+
<label class="font_normal_body">是否开票</label>
|
|
80
|
+
<v-select :value.sync="model.f_has_bill" v-model="model.f_has_bill"
|
|
81
|
+
:options='$parent.$parent.hasBill' placeholder='是否开票'
|
|
82
|
+
style="width:60%"
|
|
83
|
+
close-on-select
|
|
84
|
+
condition="f_has_bill = '{}'"></v-select>
|
|
85
|
+
</div>
|
|
76
86
|
<div
|
|
77
87
|
:class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}"
|
|
78
88
|
class="form-group">
|
|
@@ -114,6 +124,7 @@
|
|
|
114
124
|
<th><nobr>气量用途</nobr></th>
|
|
115
125
|
<th><nobr>用气金额</nobr></th>
|
|
116
126
|
<th><nobr>收费金额</nobr></th>
|
|
127
|
+
<th><nobr>是否开票</nobr></th>
|
|
117
128
|
<th><nobr>操作员</nobr></th>
|
|
118
129
|
<th><nobr>所属部门</nobr></th>
|
|
119
130
|
<th><nobr>所属公司</nobr></th>
|
|
@@ -139,6 +150,7 @@
|
|
|
139
150
|
<td style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></td>
|
|
140
151
|
<td style="text-align: center;"><nobr>{{row.f_preamount}}</nobr></td>
|
|
141
152
|
<td style="text-align: center;"><nobr>{{row.f_collection}}</nobr></td>
|
|
153
|
+
<td style="text-align: center;"><nobr>{{row.f_has_bill}}</nobr></td>
|
|
142
154
|
<td style="text-align: center;"><nobr>{{row.f_operator}}</nobr></td>
|
|
143
155
|
<td style="text-align: center;"><nobr>{{row.f_depname}}</nobr></td>
|
|
144
156
|
<td style="text-align: center;"><nobr>{{row.f_orgname}}</nobr></td>
|
|
@@ -187,6 +199,7 @@ const myMap = new Map()
|
|
|
187
199
|
data () {
|
|
188
200
|
return {
|
|
189
201
|
usertypes: this.$appdata.getParam('客户类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('客户类型')] : [],
|
|
202
|
+
hasBill: this.$appdata.getParam('是否开票') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('是否开票')] : [],
|
|
190
203
|
pj: this.$appdata.getParam('是否有附件') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('是否有附件')] : [],
|
|
191
204
|
model: new PagedList('rs/sql/singlling', 20, {orderitem: '"f_operate_date DESC"'}),
|
|
192
205
|
// model: new PagedList('rs/sql/singleTable_OrderBy', 20, {items: '"s.*,ui.f_userinfo_code"', tablename: '"t_sellinggas s left join t_userinfo ui on s.f_userinfo_id=ui.f_userinfo_id"', orderitem: '"f_delivery_date"'}),
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
:value-single="true"
|
|
204
204
|
v-model="base.f_state"
|
|
205
205
|
:options='insurancestate'
|
|
206
|
-
close-on-select disabled="
|
|
206
|
+
close-on-select :disabled="stataDisabled">
|
|
207
207
|
</v-select>
|
|
208
208
|
</div>
|
|
209
209
|
</div>
|
|
@@ -258,6 +258,7 @@
|
|
|
258
258
|
model: new PagedList('rs/sql/insuranceguanl', 20),
|
|
259
259
|
show: false,
|
|
260
260
|
orgCondtionStr:'',
|
|
261
|
+
stataDisabled: false,
|
|
261
262
|
criteriaShow: false,
|
|
262
263
|
// 公司下拉
|
|
263
264
|
curorgid: [this.$login.f.orgid]
|
|
@@ -303,9 +304,24 @@
|
|
|
303
304
|
search () {
|
|
304
305
|
this.selfSearch()
|
|
305
306
|
},
|
|
307
|
+
async stateIsDisabled () {
|
|
308
|
+
let data = {
|
|
309
|
+
tablename: 't_userfees',
|
|
310
|
+
condition: `f_state = '有效' and f_userinfo_id = '${this.base.f_userinfo_id}' and id > ${this.base.id}`
|
|
311
|
+
}
|
|
312
|
+
let res = await this.$resetpost('rs/sql/saleSingleTable', {data: data}, {
|
|
313
|
+
resolveMsg: '',
|
|
314
|
+
rejectMsg: ''
|
|
315
|
+
})
|
|
316
|
+
if (res.data.length > 0) {
|
|
317
|
+
this.stataDisabled = true
|
|
318
|
+
} else {
|
|
319
|
+
this.stataDisabled = false
|
|
320
|
+
}
|
|
321
|
+
},
|
|
306
322
|
selfSearch (args) {
|
|
307
323
|
if (!this.orgCondtionStr) {
|
|
308
|
-
args.condition = `${args.condition}` + ' and f_orgid = ' + this.$login.f.orgid
|
|
324
|
+
args.condition = `${args.condition}` + ' and f_orgid = ' + `${this.$login.f.orgid}`
|
|
309
325
|
} else {
|
|
310
326
|
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
311
327
|
}
|
|
@@ -314,6 +330,7 @@
|
|
|
314
330
|
updatetime (row) {
|
|
315
331
|
this.base = row
|
|
316
332
|
this.show = !this.show
|
|
333
|
+
this.stateIsDisabled()
|
|
317
334
|
}
|
|
318
335
|
}
|
|
319
336
|
}
|
|
@@ -639,13 +639,10 @@
|
|
|
639
639
|
this.imgshow = false
|
|
640
640
|
},
|
|
641
641
|
imgShow (val) {
|
|
642
|
-
console.log('-----------val2:', val)
|
|
643
642
|
this.imgfilename = `rs/image/file/` + val
|
|
644
|
-
console.log('-----------imgfilename2:', this.imgfilename)
|
|
645
643
|
this.imgshow = true
|
|
646
644
|
},
|
|
647
645
|
async getaddress () {
|
|
648
|
-
console.log('开始获取小区')
|
|
649
646
|
let HttpReset = new HttpResetClass()
|
|
650
647
|
var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
|
|
651
648
|
data: {
|
|
@@ -656,7 +653,6 @@
|
|
|
656
653
|
let house = []
|
|
657
654
|
house.push()
|
|
658
655
|
for (let row of data.data) {
|
|
659
|
-
console.log('开始保存小区')
|
|
660
656
|
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
661
657
|
}
|
|
662
658
|
this.residentialArea = house
|
|
@@ -682,7 +678,6 @@
|
|
|
682
678
|
str = str.replace(/"/g, `'`)
|
|
683
679
|
str = str.replace(/\[/g, ``)
|
|
684
680
|
str = str.replace(/\]/g, ``)
|
|
685
|
-
console.log('=====抄表员model22222222222绑定====', str)
|
|
686
681
|
// 查询多个抄表员时条件
|
|
687
682
|
args.condition += ` and f_inputtor in ( ${str} )`
|
|
688
683
|
}
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
},
|
|
294
294
|
selfSearch (args) {
|
|
295
295
|
if (!this.orgCondtionStr) {
|
|
296
|
-
args.condition = `${args.condition}` + ' and f_orgid = ' + this.$login.f.orgid
|
|
296
|
+
args.condition = `${args.condition}` + ' and f_orgid = ' + `${this.$login.f.orgid}`
|
|
297
297
|
} else {
|
|
298
298
|
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
299
299
|
}
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<p>
|
|
42
42
|
<a v-if="row.f_filetype.toLowerCase()==='jpg'||row.f_filetype.toLowerCase()==='png'||row.f_filetype.toLowerCase()==='gif'||row.f_filetype.toLowerCase()==='bmp'" :href="row.f_downloadURL" style="background:#6aa6e2" class="btn btn-primary" target="_blank" role="button">预览</a>
|
|
43
43
|
<button class="button_search btn-gn" v-if="row.f_filetype.toLowerCase()==='pdf'||row.f_filetype.toLowerCase()==='xls'||row.f_filetype.toLowerCase()==='xlsx'||row.f_filetype.toLowerCase()==='doc'||row.f_filetype.toLowerCase()==='docx'" @click="downloadfile(row.f_downloadURL)" >下载</button>
|
|
44
|
-
<a v-if="isDelete == '1'" @click="delet($index,row)" href="#" class="btn btn-default" role="button">删除</a>
|
|
44
|
+
<a v-if="delimg === true ? isDelete == '1' : true" @click="delet($index,row)" href="#" class="btn btn-default" role="button">删除</a>
|
|
45
45
|
</p>
|
|
46
46
|
</div>
|
|
47
47
|
</div>
|
|
@@ -71,10 +71,11 @@ import { HttpResetClass } from 'vue-client'
|
|
|
71
71
|
|
|
72
72
|
export default {
|
|
73
73
|
title: "附件",
|
|
74
|
-
props: ['blodid','businessid','isremark', 'isusetype','takeimg','defname','isupload','fusetype','cols','width','height'],
|
|
74
|
+
props: ['blodid','businessid','isremark', 'isusetype','takeimg','defname','isupload','fusetype','cols','width','height','deleteimg'],
|
|
75
75
|
data() {
|
|
76
76
|
return {
|
|
77
77
|
isDelete: '0', // 删除按钮,可以进行控制(权限等)
|
|
78
|
+
delimg: true, // 删除按钮,可以进行控制(权限等)
|
|
78
79
|
fileInfoData: [], // 数据库存储的文件记录对象数组
|
|
79
80
|
headers: {'username': this.$login.f.name, 'blodid': '','businessid':'', 'fremarks': '','defname':'','fusetype':this.fusetype?this.fusetype:''}, // 调用rs/file/uploadFile 的参数
|
|
80
81
|
showUpload: false, // 上传模态框控制
|
|
@@ -233,6 +234,9 @@ import { HttpResetClass } from 'vue-client'
|
|
|
233
234
|
// 有删除权限
|
|
234
235
|
this.isDelete = '1'
|
|
235
236
|
}
|
|
237
|
+
if (this.deleteimg) {
|
|
238
|
+
this.delimg = false
|
|
239
|
+
}
|
|
236
240
|
this.headers.blodid = this.blodid
|
|
237
241
|
this.headers.businessid = this.businessid
|
|
238
242
|
console.log('123222', this.businessid)
|
|
@@ -326,7 +326,7 @@
|
|
|
326
326
|
</footer>
|
|
327
327
|
</modal>
|
|
328
328
|
</div>
|
|
329
|
-
<upload v-if="config.showupload" :blodid="row.f_userinfo_id" :businessid="model.randomBusinessId" isremark="true" fusetype="换表&清零"></upload>
|
|
329
|
+
<upload v-if="config.showupload" :blodid="row.f_userinfo_id" :businessid="model.randomBusinessId" isremark="true" :deleteimg="true" fusetype="换表&清零"></upload>
|
|
330
330
|
</template>
|
|
331
331
|
<script>
|
|
332
332
|
/**
|
|
@@ -409,7 +409,7 @@
|
|
|
409
409
|
<script>
|
|
410
410
|
import {HttpResetClass, PagedList} from 'vue-client'
|
|
411
411
|
import Vue from 'vue'
|
|
412
|
-
import * as Util from '
|
|
412
|
+
import * as Util from '../../Util'
|
|
413
413
|
|
|
414
414
|
let readyGen = async function (self) {
|
|
415
415
|
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStartAndEndDateString()[0]
|