sale-client 3.6.467 → 3.6.468

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.467",
3
+ "version": "3.6.468",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -52,6 +52,12 @@
52
52
  <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
53
53
  condition="f_user_name = '{}'" placeholder='客户姓名'>
54
54
  </div>
55
+ <div :class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}"
56
+ class="form-group">
57
+ <label class="font_normal_body">客户电话</label>
58
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_phone"
59
+ condition="f_user_phone = '{}'" placeholder='客户电话'>
60
+ </div>
55
61
  <div :class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}"
56
62
  class="form-group">
57
63
  <label class="font_normal_body">有无附件</label>
@@ -117,6 +123,9 @@
117
123
  <th>
118
124
  <nobr>客户名称</nobr>
119
125
  </th>
126
+ <th>
127
+ <nobr>客户电话</nobr>
128
+ </th>
120
129
  <th>
121
130
  <nobr>客户地址</nobr>
122
131
  </th>
@@ -179,6 +188,9 @@
179
188
  <td style="text-align: center;">
180
189
  <nobr>{{row.f_user_name}}</nobr>
181
190
  </td>
191
+ <td style="text-align: center;">
192
+ <nobr>{{row.f_user_phone}}</nobr>
193
+ </td>
182
194
  <td style="text-align: center;">
183
195
  <nobr>{{row.f_address}}</nobr>
184
196
  </td>
@@ -270,6 +282,7 @@ const myMap = new Map()
270
282
  getfield: {
271
283
  'f_userinfo_code': '客户编号',
272
284
  'f_user_name': '客户名称',
285
+ 'f_user_phone': '客户电话',
273
286
  'f_address': '客户地址',
274
287
  'f_type': '换表类型',
275
288
  'f_changemeter_fee': '换表费',
@@ -159,6 +159,22 @@
159
159
  </template>
160
160
  </data-grid>
161
161
  </criteria-paged>
162
+ <table class="table-hover">
163
+ <tr style="position: relative" class="table-bordered">
164
+ <td
165
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
166
+ 汇总信息
167
+ </td>
168
+ <td
169
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
170
+ 订单金额汇总:&emsp;{{sumsmodel.f_total_fee}}
171
+ </td>
172
+ <td
173
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
174
+ 购气金额汇总:&emsp;{{sumsmodel.f_collection}}
175
+ </td>
176
+ </tr>
177
+ </table>
162
178
  </div>
163
179
  <modal v-if="show" :show.sync="show" >
164
180
  <header slot="modal-header" class="modal-header">
@@ -189,19 +205,23 @@
189
205
  let readyGen = async function (self) {
190
206
  // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
191
207
  // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
208
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
192
209
  }
193
210
 
194
211
  export default {
195
212
  title: '自助机对账',
196
213
  data () {
197
214
  return {
198
- model: new PagedList('rs/sql/wechatSelling', 20),
215
+ model: new PagedList('rs/sql/wechatSelling', 20, {}, {f_total_fee: '', f_collection: ''}),
199
216
  letter: this.$appdata.getParam('订单状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('订单状态')] : [],
200
217
  paystate: this.$appdata.getParam('操作标识') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('操作标识')] : [],
201
218
  criteriaShow: false,
202
219
  show: false,
203
220
  watchComment: '',
204
221
  orgCondtionStr: '',
222
+ getfield: {},
223
+ // 合计数据
224
+ sumsmodel: {},
205
225
  initres: {
206
226
  org: [this.$login.f.orgid]
207
227
  },
@@ -278,6 +298,23 @@
278
298
  search () {
279
299
  this.$refs.paged.$refs.cri.search()
280
300
  },
301
+ // getotherfooter () {
302
+ // // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
303
+ // // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
304
+ // this.other = []
305
+ // this.footer = []
306
+ // // let exportdata = this.getCondition;
307
+ // let otherInData = []
308
+ // otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
309
+ // let footerData = [], exportfield = this.getfield
310
+ // footerData.push('合计')
311
+ // let self = this
312
+ // for (var field in self.sumsmodel) {
313
+ // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`)
314
+ // }
315
+ // this.footer.push(footerData)
316
+ // this.other.push(otherInData)
317
+ // },
281
318
  selfSearch (args) {
282
319
  this.model.params.startDate = this.$refs.paged.$refs.cri.model.startDate
283
320
  this.model.params.endDate = this.$refs.paged.$refs.cri.model.endDate
@@ -299,5 +336,13 @@
299
336
  return this.$login.r ? this.$login.r : []
300
337
  }
301
338
  }
339
+ // watch: {
340
+ // sumsmodel: {
341
+ // handler: function (val) {
342
+ // this.getotherfooter()
343
+ // },
344
+ // deep: true
345
+ // }
346
+ // }
302
347
  }
303
348
  </script>