sale-client 3.5.27 → 3.5.28
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/package.json +1 -1
- package/src/filiale/guangxi/OtherGas.vue +4 -4
- package/src/filiale/zhongyi/FileUserFiles.vue +16 -19
- package/src/filiale/WEINAN/AutomaticPurse.vue +0 -304
- package/src/filiale/WEINAN/CardList.vue +0 -497
- package/src/filiale/WEINAN/CardMeterCenter.vue +0 -819
- package/src/filiale/WEINAN/CardMeterChargeCancel.vue +0 -401
- package/src/filiale/WEINAN/ChangeMeter.vue +0 -737
- package/src/filiale/WEINAN/ChargeList.vue +0 -1006
- package/src/filiale/WEINAN/ChargeManageNew.vue +0 -232
- package/src/filiale/WEINAN/ChargeQueryUser.vue +0 -331
- package/src/filiale/WEINAN/ChargeRecordQuery.vue +0 -73
- package/src/filiale/WEINAN/DisableManage.vue +0 -63
- package/src/filiale/WEINAN/EnableManage.vue +0 -142
- package/src/filiale/WEINAN/FileAddressManage.vue +0 -112
- package/src/filiale/WEINAN/FileUserAddress.vue +0 -785
- package/src/filiale/WEINAN/HighMeter.vue +0 -1090
- package/src/filiale/WEINAN/IOTMeterCenter.vue +0 -814
- package/src/filiale/WEINAN/MachineMeterCenter.vue +0 -595
- package/src/filiale/WEINAN/MeterMessage.vue +0 -131
- package/src/filiale/WEINAN/MeterinfoTest.vue +0 -584
- package/src/filiale/WEINAN/OffGasAddGas.vue +0 -213
- package/src/filiale/WEINAN/OtherGas.vue +0 -351
- package/src/filiale/WEINAN/OverUseCharge.vue +0 -412
- package/src/filiale/WEINAN/RecordCancel.vue +0 -302
- package/src/filiale/WEINAN/RecordQueryUser.vue +0 -253
- package/src/filiale/WEINAN/ReplaceCardManage.vue +0 -408
- package/src/filiale/WEINAN/ShowCardSellGas.vue +0 -842
- package/src/filiale/WEINAN/Stairinfo.vue +0 -157
- package/src/filiale/WEINAN/TransferManage.vue +0 -370
- package/src/filiale/WEINAN/UserBaseInfoNew.vue +0 -325
- package/src/filiale/WEINAN/UserEssentialInfoTest.vue +0 -384
- package/src/filiale/WEINAN/UserGeneralInfoTest.vue +0 -533
- package/src/filiale/WEINAN/UserInfoDetailManageNew.vue +0 -150
- package/src/filiale/WEINAN/Userinfo.vue +0 -82
- package/src/filiale/WEINAN/gasmove.vue +0 -243
- package/src/filiale/WEINAN/meterinfodetail.vue +0 -104
- package/src/filiale/WEINAN/plugins/FileManageService.js +0 -362
- package/src/filiale/WEINAN/plugins/getTimeService.js +0 -87
- package/src/filiale/WEINAN/sale.js +0 -55
- package/src/filiale/WEINAN/sale.js~Stashed changes +0 -29
- package/src/filiale/WEINAN/static/mainicon//347/237/251/345/275/2421828.png +0 -0
package/package.json
CHANGED
|
@@ -75,13 +75,13 @@ let evenRound = function (num, decimalPlaces) {
|
|
|
75
75
|
? ((i % 2 == 0) ? i : i + 1) : Math.round(n)
|
|
76
76
|
return d ? r / m : r
|
|
77
77
|
}
|
|
78
|
-
let modify = async function (userfilesID, gas, type = '1') {
|
|
78
|
+
let modify = async function (self, userfilesID, gas, type = '1') {
|
|
79
79
|
let data = {
|
|
80
80
|
f_gas: gas,
|
|
81
81
|
f_userfiles_id: userfilesID,
|
|
82
82
|
type
|
|
83
83
|
}
|
|
84
|
-
return
|
|
84
|
+
return self.$resetpost('rs/logic/modifySCGas', {data: data}, {resolveMsg: null, rejectMsg: '获取写卡参数失败'})
|
|
85
85
|
}
|
|
86
86
|
let otherGasGen = async function (self) {
|
|
87
87
|
// 划价
|
|
@@ -191,7 +191,7 @@ let otherGasGen = async function (self) {
|
|
|
191
191
|
if (!cardParams || !result || cardRes.data.Err || cardRes.data.Exception) {
|
|
192
192
|
throw new Error(`卡服务错误:${cardRes.data.Err}${cardRes.data.Exception},请联系开发人员处理!!`)
|
|
193
193
|
} else {
|
|
194
|
-
await modify(self.row.f_userfiles_id, params.ql)
|
|
194
|
+
await modify(self, self.row.f_userfiles_id, params.ql)
|
|
195
195
|
await self.$CommonService.updatePassword(self.row, cardRes)
|
|
196
196
|
self.$showAlert('补气成功', 'success', 2000)
|
|
197
197
|
return result.data.id
|
|
@@ -344,7 +344,7 @@ export default {
|
|
|
344
344
|
czsx: row.f_topup_ceil, // 充值上线,t_gasbrand表中
|
|
345
345
|
tzed: row.f_overdr_lines, // 透支额度,t_gasbrand表中
|
|
346
346
|
bkcs: row.f_fillcard_times, // 补卡次数,从补卡表里通过表编号获得
|
|
347
|
-
ql: evenRound(data.f_pregas - 0), // 预购气量
|
|
347
|
+
ql: evenRound(data.f_pregas - 0, 2), // 预购气量
|
|
348
348
|
cs: row.cardInfo.Times + 1, // 求购气次数,先开户为1
|
|
349
349
|
iotTimes: row.f_iot_times, // 远传次数
|
|
350
350
|
money: data.f_preamount, // 购气金额
|
|
@@ -601,27 +601,24 @@ let loadParamGem = async function (self) {
|
|
|
601
601
|
},
|
|
602
602
|
methods: {
|
|
603
603
|
getRes (obj) {
|
|
604
|
-
console.log(
|
|
604
|
+
console.log('-----------------')
|
|
605
605
|
this.orgcondition = obj
|
|
606
|
-
if(this.$refs.paged.$refs.criteria.$refs.sel.depresid.length>0){
|
|
607
|
-
this.f_filialeid=this.$refs.paged.$refs.criteria.$refs.sel.depresid[0]
|
|
608
|
-
}else{
|
|
609
|
-
this.f_filialeid=this.$login.f.orgid
|
|
606
|
+
if (this.$refs.paged.$refs.criteria.$refs.sel.depresid.length > 0) {
|
|
607
|
+
this.f_filialeid = this.$refs.paged.$refs.criteria.$refs.sel.depresid[0]
|
|
608
|
+
} else {
|
|
609
|
+
this.f_filialeid = this.$login.f.orgid
|
|
610
610
|
}
|
|
611
|
-
|
|
612
611
|
},
|
|
613
|
-
downloadFiles(){
|
|
614
|
-
let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板'
|
|
615
|
-
this.$resetget(downurl,{}).then(res=>{
|
|
616
|
-
var link = document.createElement('a')
|
|
617
|
-
link.target=
|
|
618
|
-
link.href =downurl
|
|
619
|
-
link.setAttribute(
|
|
620
|
-
document.body.appendChild(link)
|
|
621
|
-
link.click()
|
|
612
|
+
downloadFiles () {
|
|
613
|
+
let downurl = 'rs/downloadfile/file?filename=批量建档导出Excel模板_中邑'
|
|
614
|
+
this.$resetget(downurl, {}).then(res => {
|
|
615
|
+
var link = document.createElement('a')
|
|
616
|
+
link.target = '_blank'
|
|
617
|
+
link.href = downurl
|
|
618
|
+
link.setAttribute('download', '批量建档导出Excel模板.xlsx') // 指定下载后的文件名,防跳转
|
|
619
|
+
document.body.appendChild(link)
|
|
620
|
+
link.click()
|
|
622
621
|
})
|
|
623
|
-
|
|
624
|
-
|
|
625
622
|
},
|
|
626
623
|
/**
|
|
627
624
|
* 退出用户详细信息页面
|
|
@@ -743,8 +740,8 @@ let loadParamGem = async function (self) {
|
|
|
743
740
|
count++
|
|
744
741
|
})
|
|
745
742
|
await this.$resetpost('rs/logic/saveCancellation', {infoIds: infoIds}, {resolveMsg: null, rejectMsg: '批量销户失败'}).then((res) => {
|
|
746
|
-
if(res && res.data){
|
|
747
|
-
this.$showMessage(`本次批量销户总计: ${res.data.allnum}户 ,成功: ${res.data.successnum}户 ,失败(已经销户): ${res.data.errornum2} 户,失败(待审核): ${res.data.errornum1}户 `)
|
|
743
|
+
if (res && res.data) {
|
|
744
|
+
this.$showMessage(`本次批量销户总计: ${res.data.allnum}户 ,成功: ${res.data.successnum}户 ,失败(已经销户): ${res.data.errornum2} 户,失败(待审核): ${res.data.errornum1}户 `)
|
|
748
745
|
}
|
|
749
746
|
this.xiaohushow = false
|
|
750
747
|
this.close()
|
|
@@ -1,304 +0,0 @@
|
|
|
1
|
-
<template >
|
|
2
|
-
<div class="flex" style="height:95%">
|
|
3
|
-
<div @keyup.enter="search" style="height:auto">
|
|
4
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
-
<criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
|
|
6
|
-
<div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
|
|
7
|
-
<div class="row" width="100%">
|
|
8
|
-
<div class="col-sm-2 form-group">
|
|
9
|
-
<label class="font_normal_body">开始时间</label>
|
|
10
|
-
<datepicker :format="'yyyy-MM-dd'" :value.sync="model.f_start_date"
|
|
11
|
-
class="datepicker"
|
|
12
|
-
condition="f_operate_date >= '{} 00:00:00' "
|
|
13
|
-
placeholder="起始时间"
|
|
14
|
-
style="width:60%"
|
|
15
|
-
v-model="model.f_start_date"
|
|
16
|
-
></datepicker>
|
|
17
|
-
</div>
|
|
18
|
-
<div class="col-sm-2 form-group" >
|
|
19
|
-
<label class="font_normal_body" >结束时间</label>
|
|
20
|
-
<datepicker :format="'yyyy-MM-dd'" :value.sync="model.f_end_date"
|
|
21
|
-
class="datepicker"
|
|
22
|
-
condition="f_operate_date <= '{} 23:59:59' "
|
|
23
|
-
placeholder="结束时间"
|
|
24
|
-
style="width:60%"
|
|
25
|
-
v-model="model.f_end_date"
|
|
26
|
-
></datepicker>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="col-sm-2 form-group">
|
|
29
|
-
<label class="font_normal_body">缴费状态</label>
|
|
30
|
-
<v-select :value.sync="model.f_state" v-model='model.f_state'
|
|
31
|
-
style="width:60%"
|
|
32
|
-
:options='$parent.$parent.jiaofeistates' placeholder='缴费状态'
|
|
33
|
-
close-on-select
|
|
34
|
-
condition="s.f_state = '{}'"></v-select>
|
|
35
|
-
</div>
|
|
36
|
-
|
|
37
|
-
<div style="float: right">
|
|
38
|
-
<button @click="search()" class="button_search" style="margin-right: 10px" v-el:cba>查询</button>
|
|
39
|
-
<print-data :defaultfield="$parent.$parent.defaultfield" :field="$parent.$parent.fields" :is-selected="true" :model="$parent.$parent.printModel"
|
|
40
|
-
@print-data="$parent.$parent.print()" print-name="购气流水"></print-data>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</criteria>
|
|
47
|
-
<data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
|
|
48
|
-
<template partial='head'>
|
|
49
|
-
<tr>
|
|
50
|
-
<th><nobr>缴费日期</nobr></th>
|
|
51
|
-
<th><nobr>缴费时间</nobr></th>
|
|
52
|
-
<!-- <th><nobr>表号</nobr></th>-->
|
|
53
|
-
<th><nobr>上期指数</nobr></th>
|
|
54
|
-
<th><nobr>本期指数</nobr></th>
|
|
55
|
-
<th><nobr>上期余额</nobr></th>
|
|
56
|
-
<th><nobr>本期余额</nobr></th>
|
|
57
|
-
<th><nobr>使用金额</nobr></th>
|
|
58
|
-
<th>使用方量</th>
|
|
59
|
-
<th><nobr>扣费单价</nobr></th>
|
|
60
|
-
<th><nobr>扣费金额</nobr></th>
|
|
61
|
-
<th><nobr>表内余额</nobr></th>
|
|
62
|
-
</tr>
|
|
63
|
-
</template>
|
|
64
|
-
<template partial='body' partial='list' v-ref:grid>
|
|
65
|
-
<tr >
|
|
66
|
-
<td style="text-align:center">{{row.f_operate_date.substring(0,10)}}</td>
|
|
67
|
-
<td style="text-align:center">{{row.f_operate_date.substring(11,19)}}</td>
|
|
68
|
-
<td style="text-align:center">{{row.f_last_tablebase}}</td>
|
|
69
|
-
<td style="text-align:center">{{row.f_tablebase}}</td>
|
|
70
|
-
<td style="text-align:center">{{row.f_balacne}}</td>
|
|
71
|
-
<td style="text-align:center">{{row.f_curbalance}}</td>
|
|
72
|
-
<td style="text-align:center">{{row.f_oughtfee}}</td>
|
|
73
|
-
<td style="text-align:center">{{row.f_pregas}}</td>
|
|
74
|
-
<td style="text-align:center">{{row.f_price}}</td>
|
|
75
|
-
<td style="text-align:center">{{row.f_preamount}}</td>
|
|
76
|
-
<td style="text-align:center">{{row.f_meterBalanceAmt}}</td>
|
|
77
|
-
</tr>
|
|
78
|
-
</template>
|
|
79
|
-
<template partial='foot'></template>
|
|
80
|
-
</data-grid>
|
|
81
|
-
</criteria-paged>
|
|
82
|
-
</div>
|
|
83
|
-
<table class="table-hover">
|
|
84
|
-
<tr class="table-bordered" style="position: relative">
|
|
85
|
-
<td
|
|
86
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
87
|
-
汇总信息
|
|
88
|
-
</td>
|
|
89
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
90
|
-
气量合计: {{model.sums.f_pregas}}
|
|
91
|
-
</td>
|
|
92
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
93
|
-
金额合计: {{model.sums.f_preamount}}
|
|
94
|
-
</td>
|
|
95
|
-
</tr>
|
|
96
|
-
</table>
|
|
97
|
-
<reissue-bill :data="reissue_data" :show.sync="reissue_show" @cancel="reissueOper()" @reissue-success="reissueSucc()" v-if="reissue_show"></reissue-bill>
|
|
98
|
-
|
|
99
|
-
</div>
|
|
100
|
-
</template>
|
|
101
|
-
|
|
102
|
-
<script>
|
|
103
|
-
import {HttpResetClass, PagedList} from 'vue-client'
|
|
104
|
-
import co from 'co'
|
|
105
|
-
let reprintGen = function *(self, row) {
|
|
106
|
-
try {
|
|
107
|
-
let reissueData = {}
|
|
108
|
-
reissueData = Object.assign({}, reissueData, row)
|
|
109
|
-
|
|
110
|
-
reissueData.f_bill_type = row.type
|
|
111
|
-
reissueData.f_bill_style = '普通收据'
|
|
112
|
-
reissueData.f_operator = self.$login.f.name
|
|
113
|
-
reissueData.f_operatorid = self.$login.f.id
|
|
114
|
-
reissueData.f_orgid = self.$login.f.orgid
|
|
115
|
-
reissueData.f_orgname = self.$login.f.orgs
|
|
116
|
-
reissueData.f_depid = self.$login.f.depids
|
|
117
|
-
reissueData.f_depname = self.$login.f.deps
|
|
118
|
-
reissueData.billUrl = self.getBillUrl(row.type)
|
|
119
|
-
|
|
120
|
-
self.reissue_data = reissueData
|
|
121
|
-
self.reissue_show = true
|
|
122
|
-
} catch (error) {
|
|
123
|
-
if (error.status) {
|
|
124
|
-
self.$warn(`加载数据出错, ${JSON.stringify(error)}`, 'CardList')
|
|
125
|
-
}
|
|
126
|
-
throw error
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
export default {
|
|
130
|
-
title: '自动下账',
|
|
131
|
-
data () {
|
|
132
|
-
return {
|
|
133
|
-
reissue_show: false,
|
|
134
|
-
reissue_data: null,
|
|
135
|
-
condition: '1=1',
|
|
136
|
-
model: new PagedList('rs/sql/sale_AutomaticPurse', 20, {}, {
|
|
137
|
-
f_preamount: 0,
|
|
138
|
-
f_pregas: 0
|
|
139
|
-
}),
|
|
140
|
-
show: false,
|
|
141
|
-
list: [],
|
|
142
|
-
jiaofeistates: this.$appdata.getParam('缴费状态') ? [{
|
|
143
|
-
label: '全部',
|
|
144
|
-
value: ''
|
|
145
|
-
}, ...this.$appdata.getParam('缴费状态')] : [],
|
|
146
|
-
// 控制单选
|
|
147
|
-
radio: [],
|
|
148
|
-
// 选中的页
|
|
149
|
-
all: [],
|
|
150
|
-
// row数据
|
|
151
|
-
rowsdata: [],
|
|
152
|
-
fields: {'f_userinfo_code': '客户编号', 'f_user_name': '客户姓名', 'f_preamount': '购气金额', 'f_pregas': '购气量', 'f_operate_date,': '缴费时间', 'f_operator': '操作员', 'f_comments': '备注'},
|
|
153
|
-
defaultfield: [
|
|
154
|
-
'f_userinfo_code', 'f_user_name', 'f_preamount', 'f_pregas', 'f_operate_date', 'f_operator', 'f_comments'
|
|
155
|
-
],
|
|
156
|
-
printModel: {
|
|
157
|
-
rows: []
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
props: ['row'],
|
|
162
|
-
ready () {
|
|
163
|
-
this.$refs.paged.$refs.criteria.model.f_state = ['有效']
|
|
164
|
-
this.$refs.paged.$refs.criteria.search()
|
|
165
|
-
},
|
|
166
|
-
methods: {
|
|
167
|
-
async search () {
|
|
168
|
-
console.log('aaa:', this.$refs.paged.$refs.criteria.condition)
|
|
169
|
-
this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_user_id = '${this.row.f_user_id}'`
|
|
170
|
-
this.model.search(this.condition, this.model)
|
|
171
|
-
let http = new HttpResetClass()
|
|
172
|
-
let res = await http.load('POST', 'rs/sql/sale_AutomaticPurse', {
|
|
173
|
-
data: {
|
|
174
|
-
condition: this.condition
|
|
175
|
-
}
|
|
176
|
-
}, {resolveMsg: null, rejectMsg: null})
|
|
177
|
-
this.printModel.rows = res.data
|
|
178
|
-
},
|
|
179
|
-
// 多选框初始化
|
|
180
|
-
selectInit () {
|
|
181
|
-
this.rowsdata = []
|
|
182
|
-
this.all = []
|
|
183
|
-
this.radio = []
|
|
184
|
-
},
|
|
185
|
-
reissueSucc () {
|
|
186
|
-
this.reissue_show = false
|
|
187
|
-
this.$dispatch('refresh')
|
|
188
|
-
},
|
|
189
|
-
reissueOper () {
|
|
190
|
-
this.reissue_data = null
|
|
191
|
-
this.reissue_show = false
|
|
192
|
-
},
|
|
193
|
-
getBillUrl (type) {
|
|
194
|
-
let name = ''
|
|
195
|
-
// 根据type数据 选择调用的Logic
|
|
196
|
-
if (type === '机表收费') {
|
|
197
|
-
name = 'rs/report/machine_bill'
|
|
198
|
-
} else if (type === '物联网收费') {
|
|
199
|
-
name = 'rs/report/iot_bill'
|
|
200
|
-
} else if (type === '超用收费') {
|
|
201
|
-
name = 'rs/report/overuse_bill'
|
|
202
|
-
} else if (type === '其他收费') {
|
|
203
|
-
name = 'rs/report/otherCharge_bill'
|
|
204
|
-
} else if (type === '发卡售气') {
|
|
205
|
-
name = 'rs/report/sendCard_bill'
|
|
206
|
-
} else if (type === '卡表收费') {
|
|
207
|
-
name = 'rs/report/card_bill'
|
|
208
|
-
}
|
|
209
|
-
return name
|
|
210
|
-
},
|
|
211
|
-
report (row) {
|
|
212
|
-
let reprint = reprintGen(this, row)
|
|
213
|
-
return co(reprint)
|
|
214
|
-
},
|
|
215
|
-
print () {
|
|
216
|
-
this.selectInit()
|
|
217
|
-
},
|
|
218
|
-
select () {
|
|
219
|
-
let index = this.model.pageIndex - 1
|
|
220
|
-
if (!this.radio[index]) {
|
|
221
|
-
this.radio.$set(index, [])
|
|
222
|
-
}
|
|
223
|
-
if (this.all[index]) {
|
|
224
|
-
// 数据
|
|
225
|
-
this.rowsdata[index] = Object.assign([], this.model.rows)
|
|
226
|
-
// 勾选
|
|
227
|
-
for (var i = 0; i < this.model.rows.length; i++) {
|
|
228
|
-
this.radio[index].$set(i, true)
|
|
229
|
-
}
|
|
230
|
-
} else {
|
|
231
|
-
// 数据
|
|
232
|
-
this.rowsdata[index] = []
|
|
233
|
-
// 不勾选
|
|
234
|
-
for (var i = 0; i < this.model.rows.length; i++) {
|
|
235
|
-
this.radio[index].$set(i, false)
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
let z = 0
|
|
239
|
-
for (let i = 0; i < this.all.length; i++) {
|
|
240
|
-
for (let j = 0; this.rowsdata[i] && j < this.rowsdata[i].length; j++) {
|
|
241
|
-
this.printModel.rows[z++] = this.rowsdata[i][j]
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
selectOne (event, row, i) {
|
|
246
|
-
let index = this.model.pageIndex - 1
|
|
247
|
-
if (!this.rowsdata[index]) {
|
|
248
|
-
this.rowsdata[index] = []
|
|
249
|
-
}
|
|
250
|
-
if (!this.radio[index]) {
|
|
251
|
-
this.radio.$set(index, [])
|
|
252
|
-
}
|
|
253
|
-
if (event.target.checked) {
|
|
254
|
-
// 数据
|
|
255
|
-
this.rowsdata[index][i] = row
|
|
256
|
-
// 勾选
|
|
257
|
-
this.radio[index].$set(i, true)
|
|
258
|
-
// 判断是否全部选中
|
|
259
|
-
var allState = true
|
|
260
|
-
if (this.model.rows.length != this.radio[index].length) {
|
|
261
|
-
allState = false
|
|
262
|
-
}
|
|
263
|
-
for (var state of this.radio[index]) {
|
|
264
|
-
if (!state) {
|
|
265
|
-
allState = false
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
if (allState) {
|
|
269
|
-
this.all.$set(index, true)
|
|
270
|
-
} else {
|
|
271
|
-
this.all.$set(index, false)
|
|
272
|
-
}
|
|
273
|
-
} else {
|
|
274
|
-
// 数据
|
|
275
|
-
this.rowsdata[index][i] = []
|
|
276
|
-
// 不勾选
|
|
277
|
-
this.radio[index].$set(i, false)
|
|
278
|
-
// 任意取消一个则全选状态设为false
|
|
279
|
-
this.all.$set(index, false)
|
|
280
|
-
}
|
|
281
|
-
let z = 0
|
|
282
|
-
this.printModel.rows = []
|
|
283
|
-
for (let i = 0; i < this.all.length; i++) {
|
|
284
|
-
for (let j = 0; this.rowsdata[i] && j < this.rowsdata[i].length; j++) {
|
|
285
|
-
if (this.rowsdata[i][j] && this.rowsdata[i][j].f_user_id) {
|
|
286
|
-
this.printModel.rows[z++] = this.rowsdata[i][j]
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
|
-
computed: {
|
|
293
|
-
ischecked () {
|
|
294
|
-
return function (index, i) {
|
|
295
|
-
if (!this.radio[index]) {
|
|
296
|
-
return false
|
|
297
|
-
}
|
|
298
|
-
return this.radio[index][i]
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
</script>
|
|
304
|
-
|