sale-client 3.6.184 → 3.6.185

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.184",
3
+ "version": "3.6.185",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -213,6 +213,7 @@
213
213
  },
214
214
  async chargecal (row) {
215
215
  let param = {
216
+ f_operator: Vue.$login.f.name,
216
217
  f_sell_id: row.maxid,
217
218
  f_cancel_reason: '',
218
219
  f_orgid: Vue.$login.f.orgid,
@@ -148,7 +148,7 @@
148
148
  </data-grid>
149
149
  </criteria-paged>
150
150
  <print-data :sum-field="getfield" :model="printModel" :thead="getHead"
151
- :starthead="starthead"
151
+ :starthead="getStarthead"
152
152
  :field="getfield" :printview="true"
153
153
  :sumsmodel="{'f_oughtfee':printModel.sums.f_oughtfee}"
154
154
  :defaultfield="defaultfield"
@@ -263,6 +263,12 @@ export default {
263
263
  },
264
264
  getHead () {
265
265
  return `团缴号:${this.row.f_customer}`
266
+ },
267
+ getStarthead () {
268
+ return `<div style="display: inline-block;width: 100%;">
269
+ <div style="text-align: left;display: inline-block;width: 49%;float: left;">&nbsp;团缴编号: ${this.row.f_customer}</div>
270
+ <div style="text-align: right;display: inline-block;width: width: 49%;float: right;">总欠费金额: ${this.row.f_oughtfee_all}元&nbsp;</div>
271
+ </div>`
266
272
  }
267
273
  },
268
274
  watch: {
@@ -338,10 +344,6 @@ export default {
338
344
  this.row = row
339
345
  let condition = `p.f_civill_id = ${row.id}`
340
346
  await this.printModel.search(condition)
341
- this.starthead = `<div style="display: inline-block;width: 100%;">
342
- <div style="text-align: left;display: inline-block;width: 49%;float: left;">&nbsp;团缴编号: ${row.f_customer}</div>
343
- <div style="text-align: right;display: inline-block;width: width: 49%;float: right;">总欠费金额: ${row.f_oughtfee_all}元&nbsp;</div>
344
- </div>`
345
347
  this.$refs.printdata.printData()
346
348
  },
347
349
  // 导出
@@ -349,7 +351,6 @@ export default {
349
351
  this.row = row
350
352
  this.getotherfooter(row)
351
353
  this.getCondition = {condition: `p.f_civill_id = ${row.id}`}
352
- this.starthead = `团缴编号: ${row.f_customer},总欠费金额: ${row.f_oughtfee_all}元`
353
354
  this.excelhead = []
354
355
  let headData = []
355
356
  headData.push(this.starthead)