sale-client 3.6.6 → 3.6.7
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
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div class="basic-main" style="height: 98%">
|
|
3
3
|
<div class="flex">
|
|
4
4
|
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
-
<criteria partial='criteria' @condition-changed='
|
|
5
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
6
6
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
7
|
<div class="row">
|
|
8
8
|
<div
|
|
@@ -176,7 +176,8 @@
|
|
|
176
176
|
data () {
|
|
177
177
|
return {
|
|
178
178
|
resid: [], // 存放新增的f_files表中id
|
|
179
|
-
criteriaShow:false,
|
|
179
|
+
criteriaShow: false,
|
|
180
|
+
f_orgid: this.$login.f.orgid,
|
|
180
181
|
curorgid: [this.$login.f.orgid],
|
|
181
182
|
model: new PagedList('rs/sql/bankPayment', 20, {bankname: 'this.model.f_bank_name[0]', startDate: 'this.model.startDate', endDate: 'this.model.endDate', orderitem: '"delivery_date DESC "'}, {f_collection: '', f_total_charge: ''}),
|
|
182
183
|
bodydata: ['f_userinfo_code', 'f_bank_name', 'f_serial_id', 'f_trade_number', 'f_collection', 'f_total_charge', 'f_operate_date', 'f_state', 'msg'],
|
|
@@ -186,6 +187,8 @@
|
|
|
186
187
|
},
|
|
187
188
|
props: [],
|
|
188
189
|
ready () {
|
|
190
|
+
this.$refs.paged.$refs.cri.model.startDate = this.$login.toStandardDateString()
|
|
191
|
+
this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString()
|
|
189
192
|
},
|
|
190
193
|
methods: {
|
|
191
194
|
search () {
|
|
@@ -195,6 +198,13 @@
|
|
|
195
198
|
if (!this.f_orgid) {
|
|
196
199
|
this.getorg([this.$login.f.orgid])
|
|
197
200
|
}
|
|
201
|
+
debugger
|
|
202
|
+
if (!this.$refs.paged.$refs.cri.model.startDate) {
|
|
203
|
+
this.$refs.paged.$refs.cri.model.startDate = this.$login.toStandardDateString()
|
|
204
|
+
}
|
|
205
|
+
if (!this.$refs.paged.$refs.cri.model.endDate) {
|
|
206
|
+
this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString()
|
|
207
|
+
}
|
|
198
208
|
console.log('查询。。。', this.f_orgid)
|
|
199
209
|
if (this.f_orgid) {
|
|
200
210
|
args.condition = `${args.condition} and f_orgid in ${this.f_orgid}`
|
|
@@ -221,26 +231,26 @@
|
|
|
221
231
|
},
|
|
222
232
|
// 微信单方账单,系统可缴费
|
|
223
233
|
async charge (row) {
|
|
224
|
-
|
|
225
|
-
row.f_operatorid= Vue.$login.f.id,
|
|
226
|
-
row.f_orgid= Vue.$login.f.orgid,
|
|
227
|
-
row.f_orgname= Vue.$login.f.orgs,
|
|
228
|
-
row.f_depid= Vue.$login.f.depids,
|
|
229
|
-
row.
|
|
230
|
-
row.
|
|
231
|
-
row.
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
234
|
+
row.f_operator = Vue.$login.f.name,
|
|
235
|
+
row.f_operatorid = Vue.$login.f.id,
|
|
236
|
+
row.f_orgid = Vue.$login.f.orgid,
|
|
237
|
+
row.f_orgname = Vue.$login.f.orgs,
|
|
238
|
+
row.f_depid = Vue.$login.f.depids,
|
|
239
|
+
row.f_depname = Vue.$login.f.deps,
|
|
240
|
+
row.f_zoneid = Vue.$login.f.zoneid,
|
|
241
|
+
row.f_zones = Vue.$login.f.zones
|
|
242
|
+
let res = await this.$resetpost('rs/logic/cardOneBank', row, {resolveMsg: '缴费成功', rejectMsg: '缴费失败'})
|
|
243
|
+
let param = []
|
|
244
|
+
for (let row of this.resid) {
|
|
245
|
+
param.push({id: row.id})
|
|
246
|
+
}
|
|
247
|
+
let data = {
|
|
248
|
+
param: param,
|
|
249
|
+
f_blobid: res.data
|
|
250
|
+
}
|
|
241
251
|
|
|
242
|
-
|
|
243
|
-
|
|
252
|
+
await this.$resetpost('rs/logic/updatefiles', data)
|
|
253
|
+
this.$refs.paged.$refs.cri.search()
|
|
244
254
|
}
|
|
245
255
|
// })
|
|
246
256
|
},
|
|
@@ -118,6 +118,7 @@
|
|
|
118
118
|
|
|
119
119
|
<script>
|
|
120
120
|
import {HttpResetClass} from 'vue-client'
|
|
121
|
+
import axios from "axios";
|
|
121
122
|
|
|
122
123
|
export default {
|
|
123
124
|
title: '参数设置',
|
|
@@ -282,8 +283,8 @@ export default {
|
|
|
282
283
|
this.gasbrand = res.data[0]
|
|
283
284
|
})
|
|
284
285
|
this.newmeterinfo = [{}]
|
|
285
|
-
|
|
286
|
-
let res = await this.$resetpost('/webmeter/rs/logic/getParamsByGasBrand', {data: {gasBrandId: val}}, {resolveMsg: '参数已加载', rejectMsg: null})
|
|
286
|
+
let res = await axios.post('/webmeter/rs/logic/getParamsByGasBrand', {data: {gasBrandId: val}}, {timeout: 10 * 60 * 1000})
|
|
287
|
+
// let res = await this.$resetpost('/webmeter/rs/logic/getParamsByGasBrand', {data: {gasBrandId: val}}, {resolveMsg: '参数已加载', rejectMsg: null})
|
|
287
288
|
this.newmeterinfo = res.data
|
|
288
289
|
for (let i = 0; i < this.newmeterinfo.length; i++) {
|
|
289
290
|
this.paramtypes.push({label: this.newmeterinfo[i].name, value: this.newmeterinfo[i].name})
|