manage-client 3.3.45 → 3.3.47
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/components/SellReport/AmountGas.vue +3 -3
- package/src/components/SellReport/ApplyFillmoney.vue +1 -1
- package/src/components/SellReport/BonSummary.vue +3 -3
- package/src/components/SellReport/BusSummaryes.vue +1 -1
- package/src/components/SellReport/BusinessClassify.vue +1 -1
- package/src/components/SellReport/BusinessMoneyReport.vue +1 -1
- package/src/components/SellReport/BusinessReport.vue +3 -3
- package/src/components/SellReport/CaiManageDayGas.vue +2 -2
- package/src/components/SellReport/Cardapplysgas.vue +1 -1
- package/src/components/SellReport/ChManageBusSummary.vue +2 -2
- package/src/components/SellReport/ChManageHandSellMoney.vue +2 -2
- package/src/components/SellReport/ChManageMonthGas.vue +2 -2
- package/src/components/SellReport/ChOtherfee.vue +2 -2
- package/src/components/SellReport/ChSellReport.vue +3 -3
- package/src/components/SellReport/ChargeBill.vue +3 -3
- package/src/components/SellReport/ChargeDayTable.vue +3 -3
- package/src/components/SellReport/ChargeMonthTable.vue +3 -3
- package/src/components/SellReport/ChargeYearTable.vue +3 -3
- package/src/components/SellReport/CivilGasReport.vue +3 -3
- package/src/components/SellReport/DepartmentPrick.vue +1 -1
- package/src/components/SellReport/DeptHomePage.vue +2 -2
- package/src/components/SellReport/ESaleMonthReport.vue +3 -3
- package/src/components/SellReport/FinanceSellType.vue +3 -3
- package/src/components/SellReport/GFReportWH.vue +3 -3
- package/src/components/SellReport/GYReportWH.vue +3 -3
- package/src/components/SellReport/GasBusinessDayMoney.vue +3 -3
- package/src/components/SellReport/GasMeterBrand.vue +1 -1
- package/src/components/SellReport/GasMoneyOtherType.vue +3 -3
- package/src/components/SellReport/GasMoneyPublicMoney.vue +3 -3
- package/src/components/SellReport/GasMoneyPublicReport.vue +3 -3
- package/src/components/SellReport/GasMoneyPublicReportHand.vue +3 -3
- package/src/components/SellReport/GasMoneyReport.vue +3 -3
- package/src/components/SellReport/GasPrice.vue +3 -3
- package/src/components/SellReport/GasPriceGroup.vue +1 -1
- package/src/components/SellReport/GasSummary.vue +3 -3
- package/src/components/SellReport/Gasc.vue +3 -3
- package/src/components/SellReport/GetUserNum.vue +3 -3
- package/src/components/SellReport/HandplanBili.vue +3 -3
- package/src/components/SellReport/HandplanUserCount.vue +1 -1
- package/src/components/SellReport/JiManageBusSummary.vue +3 -3
- package/src/components/SellReport/ManageBusSummary.vue +3 -3
- package/src/components/SellReport/ManageBusSummarynopay.vue +3 -3
- package/src/components/SellReport/ManageBusSummarys.vue +3 -3
- package/src/components/SellReport/ManageGasPrice.vue +3 -3
- package/src/components/SellReport/ManageGasSumChange.vue +2 -2
- package/src/components/SellReport/ManageGasSumChangeTwo.vue +2 -2
- package/src/components/SellReport/ManageGasSumOtherCharge.vue +3 -3
- package/src/components/SellReport/ManageHandInputtor.vue +3 -3
- package/src/components/SellReport/ManageHandSellInputtor.vue +3 -3
- package/src/components/SellReport/ManageNewGasPrice.vue +3 -3
- package/src/components/SellReport/ManageSellType.vue +3 -3
- package/src/components/SellReport/ManageUserCount.vue +3 -3
- package/src/components/SellReport/MarketMonth.vue +1 -1
- package/src/components/SellReport/MarketMonthMoney.vue +3 -3
- package/src/components/SellReport/MarketMonthgas.vue +3 -3
- package/src/components/SellReport/MeterGasMoney.vue +1 -1
- package/src/components/SellReport/MeterPrice.vue +3 -3
- package/src/components/SellReport/MeterReader.vue +2 -2
- package/src/components/SellReport/NonResidentGas.vue +3 -3
- package/src/components/SellReport/OperatorCheckoutReport.vue +3 -3
- package/src/components/SellReport/OperatorCheckoutTwo.vue +3 -3
- package/src/components/SellReport/OperatorSellReport.vue +3 -3
- package/src/components/SellReport/OtherChargePublicReport.vue +3 -3
- package/src/components/SellReport/OutletTable.vue +3 -3
- package/src/components/SellReport/PaymentDistribute.vue +1 -1
- package/src/components/SellReport/PaymentMethod.vue +1 -1
- package/src/components/SellReport/PriceReportWH.vue +3 -3
- package/src/components/SellReport/PriceReportWHwu.vue +3 -3
- package/src/components/SellReport/QTXManageBusSummary.vue +3 -3
- package/src/components/SellReport/QibiaoShouqi.vue +3 -3
- package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +1 -1
- package/src/components/SellReport/SYReportWH.vue +3 -3
- package/src/components/SellReport/SaleMonthReport.vue +1 -1
- package/src/components/SellReport/SellBySelfHelp.vue +3 -3
- package/src/components/SellReport/UnCivilGasReport.vue +3 -3
- package/src/components/SellReport/UserBalanceReport.vue +3 -3
- package/src/components/SellReport/UserClassify.vue +2 -2
- package/src/components/SellReport/UserSellingGas.vue +3 -3
- package/src/components/SellReport/WeiNanYuShou.vue +3 -3
- package/src/components/SellReport/XiaoShouReport.vue +2 -2
- package/src/components/SellReport/YuShouTable.vue +1 -1
- package/src/components/SellReport/applyHunum.vue +3 -3
- package/src/components/SellReport/applysFillmoney.vue +1 -1
- package/src/components/SellReport/chaostyle.vue +2 -2
- package/src/components/SellReport/chargeSchedule.vue +2 -2
- package/src/components/SellReport/charge_handfee.vue +3 -3
- package/src/components/SellReport/charge_handmeter.vue +3 -3
- package/src/components/SellReport/charge_handmoney.vue +3 -3
- package/src/components/SellReport/chargestyle.vue +1 -1
- package/src/components/SellReport/feimin_style.vue +2 -2
- package/src/components/SellReport/jingwei/CardCharge.vue +1 -1
- package/src/components/SellReport/jingwei/MachineCharge.vue +2 -2
- package/src/components/SellReport/jingwei/PaymentNotice.vue +1 -1
- package/src/components/SellReport/jingwei/handplanReport.vue +0 -6
- package/src/components/SellReport/pengan/ManageBusPeng.vue +3 -3
- package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +3 -3
- package/src/components/SellReport/shangyenum.vue +3 -3
- package/src/components/SellReport/shexian/SxMonthSummary.vue +3 -3
- package/src/components/SellReport/shexian/SxSummary.vue +3 -3
- package/src/components/SellReport/shoufeistyle.vue +2 -2
- package/src/components/SellReport/tl_handgas.vue +3 -3
- package/src/components/SellReport/tl_handmoney.vue +3 -3
- package/src/components/SellReport/tongchuan/ReportGasType.vue +1 -1
- package/src/components/handReport/GeneraHandReport.vue +3 -3
- package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +1 -1
- package/src/filiale/ceshi/ChManageBusSummary.vue +3 -3
- package/src/filiale/kelai/feimin_style.vue +2 -2
- package/src/filiale/lixianV3/InvoiceDetailsQuery.vue +61 -33
- package/src/filiale/lixianV3/config/exportConfig.js +4 -4
- package/src/filiale/macheng/ManageBusSummary.vue +3 -3
- package/src/filiale/macheng/ManageSellType.vue +3 -3
- package/src/filiale/ningjin/ManageBusSummaryPeng.vue +3 -3
- package/src/filiale/ningjin/ManageSellType.vue +3 -3
- package/src/filiale/ningjin/report/JiManageBusSummary.vue +3 -3
- package/src/filiale/ningjin/report/ManageBusSummary.vue +3 -3
- package/src/filiale/ningjin/report/ManageSellType.vue +3 -3
- package/src/filiale/qianneng/ManageBusSummary.vue +3 -3
- package/src/filiale/shiquan/BusSummaryes.vue +1 -1
- package/src/filiale/shiquan/ManageSellType.vue +3 -3
- package/src/filiale/tongchuan/GasPrice.vue +3 -3
- package/src/filiale/tongchuan/ManageBusSummary.vue +1 -1
- package/src/filiale/zhongyi/ManageBusSummaryPeng.vue +3 -3
- package/src/filiale/zhongyi/ManageSellType.vue +3 -3
|
@@ -6,16 +6,6 @@
|
|
|
6
6
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
7
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
8
|
<div class="row">
|
|
9
|
-
<div class="col-sm-2 form-group">
|
|
10
|
-
<label class="font_normal_body">发票编号</label>
|
|
11
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.id"
|
|
12
|
-
condition="id = '{}' " placeholder="发票编号">
|
|
13
|
-
</div>
|
|
14
|
-
<div class="col-sm-2 form-group">
|
|
15
|
-
<label class="font_normal_body">使 用 人</label>
|
|
16
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_bill_operator"
|
|
17
|
-
condition="f_operator = '{}'" placeholder="使用人">
|
|
18
|
-
</div>
|
|
19
9
|
<div class="col-sm-2 form-group">
|
|
20
10
|
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
21
11
|
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
@@ -36,13 +26,23 @@
|
|
|
36
26
|
condition="f_operate_date <= '{}'">
|
|
37
27
|
</datepicker>
|
|
38
28
|
</div>
|
|
29
|
+
<div class="col-sm-2 form-group">
|
|
30
|
+
<label class="font_normal_body">发票编号</label>
|
|
31
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_bill_number"
|
|
32
|
+
condition="f_bill_number = '{}' " placeholder="发票编号">
|
|
33
|
+
</div>
|
|
34
|
+
<div class="col-sm-2 form-group">
|
|
35
|
+
<label class="font_normal_body">用户编号</label>
|
|
36
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
37
|
+
condition="f_userinfo_code = '{}' " placeholder="用户编号">
|
|
38
|
+
</div>
|
|
39
39
|
<div class="span" style="float:right;">
|
|
40
40
|
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
41
41
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
42
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
42
|
+
<export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
|
|
43
43
|
:field="$parent.$parent.getfield" :header="$parent.$parent.other"
|
|
44
|
-
sqlurl="rs/logic/exportfile" sql-name="
|
|
45
|
-
template-name='
|
|
44
|
+
sqlurl="rs/logic/exportfile" sql-name="manage_billQuery"
|
|
45
|
+
template-name='发票查询导出'
|
|
46
46
|
:choose-col="true">
|
|
47
47
|
</export-excel>
|
|
48
48
|
<div style="float: right" class="button_spacing"
|
|
@@ -73,6 +73,16 @@
|
|
|
73
73
|
close-on-select>
|
|
74
74
|
</v-select>
|
|
75
75
|
</div>
|
|
76
|
+
<div class="col-sm-2 form-group">
|
|
77
|
+
<label class="font_normal_body">使 用 人</label>
|
|
78
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_bill_operator"
|
|
79
|
+
condition="f_operator = '{}'" placeholder="使用人">
|
|
80
|
+
</div>
|
|
81
|
+
<div class="col-sm-2 form-group">
|
|
82
|
+
<label class="font_normal_body"> 表号 </label>
|
|
83
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
84
|
+
condition="f_meternumber = '{}'" placeholder="表号">
|
|
85
|
+
</div>
|
|
76
86
|
</div>
|
|
77
87
|
</div>
|
|
78
88
|
</criteria>
|
|
@@ -83,25 +93,27 @@
|
|
|
83
93
|
<th>序号</th>
|
|
84
94
|
<th>发票编号</th>
|
|
85
95
|
<th>用户编号</th>
|
|
86
|
-
<th
|
|
96
|
+
<th>表号</th>
|
|
87
97
|
<th>用户姓名</th>
|
|
88
98
|
<th>购气量</th>
|
|
89
99
|
<th>实收金额</th>
|
|
90
100
|
<th>业务类型</th>
|
|
101
|
+
<th>收据类型</th>
|
|
91
102
|
<th>打印类型</th>
|
|
92
|
-
<th
|
|
103
|
+
<th>收据状态</th>
|
|
93
104
|
<th>使用人</th>
|
|
94
105
|
</tr>
|
|
95
106
|
</template>
|
|
96
107
|
<template partial='body'>
|
|
97
108
|
<tr>
|
|
98
109
|
<td style="text-align:center">{{$index+1}}</td>
|
|
99
|
-
<td style="text-align:center">{{row.
|
|
100
|
-
<td style="text-align:center">{{row.
|
|
101
|
-
<td style="text-align:center">{{row.
|
|
110
|
+
<td style="text-align:center">{{row.f_bill_number}}</td>
|
|
111
|
+
<td style="text-align:center">{{row.f_userinfo_code}}</td>
|
|
112
|
+
<td style="text-align:center">{{row.f_meternumber}}</td>
|
|
102
113
|
<td style="text-align:center">{{row.f_user_name}}</td>
|
|
103
114
|
<td style="text-align:center">{{row.f_gas}}</td>
|
|
104
115
|
<td style="text-align:center">{{row.f_paid_money}}</td>
|
|
116
|
+
<td style="text-align:center">{{row.f_type}}</td>
|
|
105
117
|
<td style="text-align:center">{{row.f_bill_type}}</td>
|
|
106
118
|
<td style="text-align:center">{{row.f_bill_style}}</td>
|
|
107
119
|
<td style="text-align:center">{{row.f_bill_state}}</td>
|
|
@@ -111,6 +123,17 @@
|
|
|
111
123
|
<template partial='foot'></template>
|
|
112
124
|
</data-grid>
|
|
113
125
|
</criteria-paged>
|
|
126
|
+
<table class="table-hover">
|
|
127
|
+
<tr style="position: relative" class="table-bordered">
|
|
128
|
+
<td
|
|
129
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
130
|
+
汇总信息
|
|
131
|
+
</td>
|
|
132
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
133
|
+
收款合计: {{sumsmodel.f_paid_money}}
|
|
134
|
+
</td>
|
|
135
|
+
</tr>
|
|
136
|
+
</table>
|
|
114
137
|
</div>
|
|
115
138
|
</div>
|
|
116
139
|
</div>
|
|
@@ -125,7 +148,7 @@ export default {
|
|
|
125
148
|
title: '发票详情查询',
|
|
126
149
|
data () {
|
|
127
150
|
return {
|
|
128
|
-
model: new PagedList('rs/sql/
|
|
151
|
+
model: new PagedList('rs/sql/manage_billQuery', 20,{},{f_paid_money: 0}),
|
|
129
152
|
other: [],
|
|
130
153
|
orgCondtionStr: '',
|
|
131
154
|
resshow: ['company'],
|
|
@@ -133,29 +156,32 @@ export default {
|
|
|
133
156
|
org: [this.$login.f.orgid]
|
|
134
157
|
},
|
|
135
158
|
criteriaShow: false,
|
|
136
|
-
condition: ''
|
|
159
|
+
condition: '',
|
|
160
|
+
sumsmodel: {},
|
|
161
|
+
footer: []
|
|
137
162
|
}
|
|
138
163
|
},
|
|
139
164
|
ready () {
|
|
140
165
|
this.$refs.paged.$refs.cri.model.startDate = this.data ? this.data.startDate : this.$login.toStandardDateString() + ' 00:00:00'
|
|
141
166
|
this.$refs.paged.$refs.cri.model.endDate = this.data ? this.data.endDate : this.$login.toStandardDateString() + + ' 23:59:59'
|
|
167
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
|
|
142
168
|
},
|
|
143
169
|
methods: {
|
|
144
170
|
getotherfooter () {
|
|
145
171
|
// this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
|
|
146
172
|
// this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
|
|
147
173
|
this.other = []
|
|
148
|
-
|
|
174
|
+
this.footer = [];
|
|
149
175
|
let exportdata = this.getCondition
|
|
150
176
|
let otherInData = []
|
|
151
177
|
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
|
|
152
178
|
let footerData = [],exportfield = this.getfield
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
179
|
+
footerData.push("合计");
|
|
180
|
+
let self = this;
|
|
181
|
+
for (var field in self.sumsmodel) {
|
|
182
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
183
|
+
}
|
|
184
|
+
this.footer.push(footerData);
|
|
159
185
|
this.other.push(otherInData)
|
|
160
186
|
},
|
|
161
187
|
|
|
@@ -166,10 +192,15 @@ export default {
|
|
|
166
192
|
this.$refs.paged.$refs.cri.search()
|
|
167
193
|
},
|
|
168
194
|
selfSearch (args) {
|
|
169
|
-
|
|
170
|
-
|
|
195
|
+
if (this.orgCondtionStr) {
|
|
196
|
+
args.condition = `${args.condition} ` + this.orgCondtionStr
|
|
197
|
+
} else {
|
|
198
|
+
args.condition = `${args.condition} ` + " and f_orgid = " + this.$login.f.orgid
|
|
199
|
+
}
|
|
171
200
|
this.condition = args.condition
|
|
172
201
|
this.model.search(args.condition, args.model)
|
|
202
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
203
|
+
console.log('合计字段', this.sumsmodel)
|
|
173
204
|
},
|
|
174
205
|
clear () {
|
|
175
206
|
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
@@ -195,10 +226,7 @@ export default {
|
|
|
195
226
|
},
|
|
196
227
|
getCondition () {
|
|
197
228
|
return {
|
|
198
|
-
condition: this.condition
|
|
199
|
-
orderitem: 'id desc',
|
|
200
|
-
tablename: 't_billdetail',
|
|
201
|
-
items: '*'
|
|
229
|
+
condition: this.condition
|
|
202
230
|
}
|
|
203
231
|
},
|
|
204
232
|
billType () {
|
|
@@ -2265,10 +2265,10 @@ export default {
|
|
|
2265
2265
|
'f_gasdiff': '增量', 'f_gasprec': '百分比'
|
|
2266
2266
|
},
|
|
2267
2267
|
invoiceDetailsConfig: {
|
|
2268
|
-
'
|
|
2269
|
-
'
|
|
2270
|
-
'
|
|
2271
|
-
'f_bill_state': '
|
|
2268
|
+
'f_bill_number': '发票编号', 'f_userinfo_code': '用户编号', 'f_user_name': '用户姓名',
|
|
2269
|
+
'f_meternumber': '表号', 'f_gas': '购气量', 'f_paid_money': '实收金额',
|
|
2270
|
+
'f_type': '业务类型', 'f_bill_type': '收据类型', 'f_bill_style': '打印类型',
|
|
2271
|
+
'f_bill_state': '收据状态', 'f_operator': '使用人'
|
|
2272
2272
|
}
|
|
2273
2273
|
}
|
|
2274
2274
|
|
|
@@ -165,13 +165,13 @@
|
|
|
165
165
|
let orgstr = this.orgCondtionStr
|
|
166
166
|
orgcondition = orgcondition + orgstr
|
|
167
167
|
/* if (this.f_orgid && this.f_orgid[0]) {
|
|
168
|
-
orgcondition +=
|
|
168
|
+
orgcondition += ` and f_orgid in ('${this.f_orgid}')`
|
|
169
169
|
}
|
|
170
170
|
if (this.f_depid && this.f_depid[0]) {
|
|
171
|
-
orgcondition +=
|
|
171
|
+
orgcondition += ` and f_depid in ('${this.f_depid}')`
|
|
172
172
|
}
|
|
173
173
|
if(this.f_operatorid && this.f_operatorid[0]) {
|
|
174
|
-
orgcondition +=
|
|
174
|
+
orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
|
|
175
175
|
}*/
|
|
176
176
|
if(this.f_state && this.f_state[0]) {
|
|
177
177
|
orgcondition += ` and f_state in('${this.f_state.toString().replace(/,/g,"','")}')`
|
|
@@ -205,13 +205,13 @@
|
|
|
205
205
|
let orgstr = this.orgCondtionStr
|
|
206
206
|
orgcondition = orgcondition + orgstr
|
|
207
207
|
/* if (this.f_orgid[0]) {
|
|
208
|
-
this.orgCondtionStr +=
|
|
208
|
+
this.orgCondtionStr += ` and f_orgid in ('${this.f_orgid}')`
|
|
209
209
|
}
|
|
210
210
|
if (this.f_depid[0]) {
|
|
211
|
-
this.orgCondtionStr +=
|
|
211
|
+
this.orgCondtionStr += ` and f_depid in ('${this.f_depid.toString}')`
|
|
212
212
|
}
|
|
213
213
|
if(this.f_operatorid[0]) {
|
|
214
|
-
this.orgCondtionStr +=
|
|
214
|
+
this.orgCondtionStr += ` and f_operatorid in ('${this.f_operatorid}')`
|
|
215
215
|
}*/
|
|
216
216
|
this.$refs.paged.$refs.criteria.model.f_orgid = this.orgCondtionStr.replace('1=1','') + (this.f_state && this.f_state != '' ? " and f_state='" + this.f_state + "' " : '')
|
|
217
217
|
this.$refs.paged.search(args)
|
|
@@ -173,12 +173,12 @@
|
|
|
173
173
|
},
|
|
174
174
|
selfSearch (args) {
|
|
175
175
|
this.printTime = this.$login.toStandardTimeString()
|
|
176
|
-
let orgcondition =
|
|
176
|
+
let orgcondition = `f_orgid = '${this.f_orgid}'`
|
|
177
177
|
if (this.f_depid[0]) {
|
|
178
|
-
orgcondition +=
|
|
178
|
+
orgcondition += ` and f_depid = '${this.f_depid}'`
|
|
179
179
|
}
|
|
180
180
|
if(this.f_operatorid[0]) {
|
|
181
|
-
orgcondition +=
|
|
181
|
+
orgcondition += ` and f_operatorid = '${this.f_operatorid}'`
|
|
182
182
|
}
|
|
183
183
|
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
184
184
|
this.$refs.paged.search(args)
|
|
@@ -201,13 +201,13 @@
|
|
|
201
201
|
this.printTime = this.$login.toStandardTimeString()
|
|
202
202
|
this.orgCondtionStr='1=1'
|
|
203
203
|
if (this.f_orgid[0]) {
|
|
204
|
-
this.orgCondtionStr +=
|
|
204
|
+
this.orgCondtionStr += ` and f_orgid in ('${this.f_orgid}')`
|
|
205
205
|
}
|
|
206
206
|
if (this.f_depid[0]) {
|
|
207
|
-
this.orgCondtionStr +=
|
|
207
|
+
this.orgCondtionStr += ` and f_depid in ('${this.f_depid.toString}')`
|
|
208
208
|
}
|
|
209
209
|
if(this.f_operatorid[0]) {
|
|
210
|
-
this.orgCondtionStr +=
|
|
210
|
+
this.orgCondtionStr += ` and f_operatorid in ('${this.f_operatorid}')`
|
|
211
211
|
}
|
|
212
212
|
this.$refs.paged.$refs.criteria.model.f_orgid = this.orgCondtionStr.replace('1=1','') + (this.f_state && this.f_state != '' ? " and f_state='" + this.f_state + "' " : '')
|
|
213
213
|
this.$refs.paged.search(args)
|
|
@@ -186,13 +186,13 @@ export default {
|
|
|
186
186
|
orgcondition += ` and f_user_type = '${ this.f_user_type} '`
|
|
187
187
|
}
|
|
188
188
|
/* if (this.f_orgid && this.f_orgid[0]) {
|
|
189
|
-
orgcondition +=
|
|
189
|
+
orgcondition += ` and f_orgid in ('${this.f_orgid}')`
|
|
190
190
|
}
|
|
191
191
|
if (this.f_depid && this.f_depid[0]) {
|
|
192
|
-
orgcondition +=
|
|
192
|
+
orgcondition += ` and f_depid in ('${this.f_depid}')`
|
|
193
193
|
}
|
|
194
194
|
if(this.f_operatorid && this.f_operatorid[0]) {
|
|
195
|
-
orgcondition +=
|
|
195
|
+
orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
|
|
196
196
|
}*/
|
|
197
197
|
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
198
198
|
this.$refs.paged.search(args)
|
|
@@ -186,13 +186,13 @@ export default {
|
|
|
186
186
|
orgcondition += ` and f_user_type = '${ this.f_user_type} '`
|
|
187
187
|
}
|
|
188
188
|
/* if (this.f_orgid && this.f_orgid[0]) {
|
|
189
|
-
orgcondition +=
|
|
189
|
+
orgcondition += ` and f_orgid in ('${this.f_orgid}')`
|
|
190
190
|
}
|
|
191
191
|
if (this.f_depid && this.f_depid[0]) {
|
|
192
|
-
orgcondition +=
|
|
192
|
+
orgcondition += ` and f_depid in ('${this.f_depid}')`
|
|
193
193
|
}
|
|
194
194
|
if(this.f_operatorid && this.f_operatorid[0]) {
|
|
195
|
-
orgcondition +=
|
|
195
|
+
orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
|
|
196
196
|
}*/
|
|
197
197
|
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
198
198
|
this.$refs.paged.search(args)
|
|
@@ -195,13 +195,13 @@
|
|
|
195
195
|
orgcondition += ` and f_state = ' ${ this.f_state}'`
|
|
196
196
|
}
|
|
197
197
|
/* if (this.f_orgid && this.f_orgid[0]) {
|
|
198
|
-
orgcondition +=
|
|
198
|
+
orgcondition += ` and f_orgid in ('${this.f_orgid}')`
|
|
199
199
|
}
|
|
200
200
|
if (this.f_depid && this.f_depid[0]) {
|
|
201
|
-
orgcondition +=
|
|
201
|
+
orgcondition += ` and f_depid in ('${this.f_depid}')`
|
|
202
202
|
}
|
|
203
203
|
if(this.f_operatorid && this.f_operatorid[0]) {
|
|
204
|
-
orgcondition +=
|
|
204
|
+
orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
|
|
205
205
|
}*/
|
|
206
206
|
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
207
207
|
this.$refs.paged.search(args)
|
|
@@ -165,13 +165,13 @@
|
|
|
165
165
|
let orgstr = this.orgCondtionStr
|
|
166
166
|
orgcondition = orgcondition + orgstr
|
|
167
167
|
/* if (this.f_orgid && this.f_orgid[0]) {
|
|
168
|
-
orgcondition +=
|
|
168
|
+
orgcondition += ` and f_orgid in ('${this.f_orgid}')`
|
|
169
169
|
}
|
|
170
170
|
if (this.f_depid && this.f_depid[0]) {
|
|
171
|
-
orgcondition +=
|
|
171
|
+
orgcondition += ` and f_depid in ('${this.f_depid}')`
|
|
172
172
|
}
|
|
173
173
|
if(this.f_operatorid && this.f_operatorid[0]) {
|
|
174
|
-
orgcondition +=
|
|
174
|
+
orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
|
|
175
175
|
}*/
|
|
176
176
|
if(this.f_state && this.f_state[0]) {
|
|
177
177
|
orgcondition += ` and f_state in('${this.f_state.toString().replace(/,/g,"','")}')`
|
|
@@ -175,7 +175,7 @@ export default {
|
|
|
175
175
|
console.log( "condition:" + args.condition)
|
|
176
176
|
let orgcondition = '1=1'
|
|
177
177
|
if (this.f_orgid[0]) {
|
|
178
|
-
orgcondition +=
|
|
178
|
+
orgcondition += ` and f_orgid in ('${this.f_orgid}')`
|
|
179
179
|
}
|
|
180
180
|
let deps = ''
|
|
181
181
|
let i = 0
|
|
@@ -205,13 +205,13 @@
|
|
|
205
205
|
return
|
|
206
206
|
}
|
|
207
207
|
if (this.f_orgid[0]) {
|
|
208
|
-
this.orgCondtionStr +=
|
|
208
|
+
this.orgCondtionStr += ` and f_orgid in ('${this.f_orgid}')`
|
|
209
209
|
}
|
|
210
210
|
if (this.f_depid[0]) {
|
|
211
|
-
this.orgCondtionStr +=
|
|
211
|
+
this.orgCondtionStr += ` and f_depid in ('${this.f_depid.toString}')`
|
|
212
212
|
}
|
|
213
213
|
if(this.f_operatorid[0]) {
|
|
214
|
-
this.orgCondtionStr +=
|
|
214
|
+
this.orgCondtionStr += ` and f_operatorid in ('${this.f_operatorid}')`
|
|
215
215
|
}
|
|
216
216
|
this.$refs.paged.$refs.criteria.model.f_orgid = this.orgCondtionStr.replace('1=1','') + (this.f_state && this.f_state != '' ? " and f_state='" + this.f_state + "' " : '')
|
|
217
217
|
this.$refs.paged.search(args)
|
|
@@ -167,13 +167,13 @@ import {DataModel, HttpResetClass} from 'vue-client'
|
|
|
167
167
|
this.printTime = this.$login.toStandardTimeString()
|
|
168
168
|
let orgcondition = '1=1'
|
|
169
169
|
if (this.f_orgid && this.f_orgid[0]) {
|
|
170
|
-
orgcondition +=
|
|
170
|
+
orgcondition += ` and f_orgid in ('${this.f_orgid}')`
|
|
171
171
|
}
|
|
172
172
|
if (this.f_depid && this.f_depid[0]) {
|
|
173
|
-
orgcondition +=
|
|
173
|
+
orgcondition += ` and f_depid in ('${this.f_depid}')`
|
|
174
174
|
}
|
|
175
175
|
if (this.f_operatorid && this.f_operatorid[0]) {
|
|
176
|
-
orgcondition +=
|
|
176
|
+
orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
|
|
177
177
|
}
|
|
178
178
|
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
179
179
|
if (this.reportStyle == '1') {
|
|
@@ -189,7 +189,7 @@ export default {
|
|
|
189
189
|
this.printTime = this.$login.toStandardTimeString()
|
|
190
190
|
let orgcondition = ''
|
|
191
191
|
if (this.f_orgid[0]) {
|
|
192
|
-
orgcondition +=
|
|
192
|
+
orgcondition += ` and f_orgid in ('${this.f_orgid}')`
|
|
193
193
|
}
|
|
194
194
|
if(this.f_state && this.f_state[0]) {
|
|
195
195
|
orgcondition += ` and f_state in('${this.f_state.toString().replace(/,/g,"','")}')`
|
|
@@ -173,12 +173,12 @@
|
|
|
173
173
|
},
|
|
174
174
|
selfSearch (args) {
|
|
175
175
|
this.printTime = this.$login.toStandardTimeString()
|
|
176
|
-
let orgcondition =
|
|
176
|
+
let orgcondition = `f_orgid = '${this.f_orgid}'`
|
|
177
177
|
if (this.f_depid[0]) {
|
|
178
|
-
orgcondition +=
|
|
178
|
+
orgcondition += ` and f_depid = '${this.f_depid}'`
|
|
179
179
|
}
|
|
180
180
|
if(this.f_operatorid[0]) {
|
|
181
|
-
orgcondition +=
|
|
181
|
+
orgcondition += ` and f_operatorid = '${this.f_operatorid}'`
|
|
182
182
|
}
|
|
183
183
|
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
184
184
|
this.$refs.paged.search(args)
|
|
@@ -201,13 +201,13 @@
|
|
|
201
201
|
this.printTime = this.$login.toStandardTimeString()
|
|
202
202
|
this.orgCondtionStr='1=1'
|
|
203
203
|
if (this.f_orgid[0]) {
|
|
204
|
-
this.orgCondtionStr +=
|
|
204
|
+
this.orgCondtionStr += ` and f_orgid in ('${this.f_orgid}')`
|
|
205
205
|
}
|
|
206
206
|
if (this.f_depid[0]) {
|
|
207
|
-
this.orgCondtionStr +=
|
|
207
|
+
this.orgCondtionStr += ` and f_depid in ('${this.f_depid.toString}')`
|
|
208
208
|
}
|
|
209
209
|
if(this.f_operatorid[0]) {
|
|
210
|
-
this.orgCondtionStr +=
|
|
210
|
+
this.orgCondtionStr += ` and f_operatorid in ('${this.f_operatorid}')`
|
|
211
211
|
}
|
|
212
212
|
this.$refs.paged.$refs.criteria.model.f_orgid = this.orgCondtionStr.replace('1=1','') + (this.f_state && this.f_state != '' ? " and f_state='" + this.f_state + "' " : '')
|
|
213
213
|
this.$refs.paged.search(args)
|