sale-client 3.6.243 → 3.6.246

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.243",
3
+ "version": "3.6.246",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -148,9 +148,16 @@ export default {
148
148
  i--
149
149
  continue
150
150
  }
151
+ if ((res.data.array[j].fusetype == '安检照片' && res.data.array[j].f_filename.includes('amr'))) {
152
+ continue
153
+ }
151
154
  let temp = res.data.array[j].f_downloadpath
152
155
  let URL = temp.substring(temp.lastIndexOf(':\\') + 2)
153
- res.data.array[j].f_downloadURL = 'http://' + location.host + '/' + URL
156
+ if (res.data.array[j].fusetype == '安检照片') {
157
+ res.data.array[j].f_downloadURL = 'http://' + location.host + '/rs/image/file/' + res.data.array[j].f_filename
158
+ } else {
159
+ res.data.array[j].f_downloadURL = 'http://' + location.host + '/' + URL
160
+ }
154
161
  this.files[i].arrays.push(res.data.array[j])
155
162
  }
156
163
  }
@@ -86,7 +86,7 @@
86
86
  <td style="text-align: center;"><nobr>{{row.f_operator}}</nobr></td>
87
87
  <td style="text-align: center;"><nobr>{{row.f_state}}</nobr></td>
88
88
  <td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
89
- <td style="text-align: center;"><nobr>{{row.f_reason}}/{{row.f_othereason}}</nobr></td>
89
+ <td style="text-align: center;"><nobr>{{row.f_changetables_reason}}/{{row.f_reason}}/{{row.f_othereason}}</nobr></td>
90
90
  </tr>
91
91
  </template>
92
92
  <template partial='foot'></template>
@@ -108,6 +108,16 @@
108
108
  <label class="font_normal_body_new">左&ensp;右&ensp;表</label>
109
109
  <input class="input-underline" style="width:60%" :value="row.f_aroundmeter" readonly>
110
110
  </div>
111
+ <div class="col-sm-4">
112
+ </div>
113
+ <div class="col-sm-4" v-if="row.f_last_check_date">
114
+ <label class="font_normal_body_new">最后安检时间</label>
115
+ <input class="input-underline" style="width:45%" :value="row.f_last_check_date" readonly>
116
+ </div>
117
+ <div class="col-sm-4" v-if="row.f_last_check_state">
118
+ <label class="font_normal_body_new">安检状态</label>
119
+ <input class="input-underline" style="width:45%" :value="row.f_last_check_state" readonly>
120
+ </div>
111
121
  </div>
112
122
  </div>
113
123
  <div class="auto" style="float: right;">
@@ -247,6 +247,7 @@ let CardService = {
247
247
  f_balance: row.f_balance,
248
248
  f_meter_type: row.f_meter_type,
249
249
  f_preamount: model.f_preamount,
250
+ isGasValue: model.f_pregas ? 0 : 1,
250
251
  f_total_gas: (row.f_total_gas - 0) + (model.f_pregas - 0),
251
252
  f_write_totalgas: (row.f_write_totalgas - 0) + (model.f_pregas - 0),
252
253
  f_write_totalfee: (row.f_write_totalfee - 0) + (model.xiekamoney - 0),
@@ -28,13 +28,13 @@
28
28
  <!-- style="width:60%"-->
29
29
  <!-- close-on-select></v-select>-->
30
30
  <!-- </div>-->
31
- <!-- <div v-if="this.data.f_collection_type==='按金额'" class="col-sm-4 form-group"-->
32
- <!-- :class="[$v.f_preamount.required || $v.f_preamount.dctest ? 'has-error' : 'has-success']">-->
33
- <!-- <label class="font_normal_body">&nbsp;金额&nbsp;</label>-->
34
- <!-- <input class="input_search" type="number" v-model="model.f_preamount" style="width:60%"-->
35
- <!-- v-validate:f_preamount='{required: true, dctest: [0, ">" ]}' placeholder="金额">-->
36
- <!-- </div>-->
37
- <div class="col-sm-4 form-group"
31
+ <div v-if="row.f_meter_type === '金额卡表'" class="col-sm-4 form-group"
32
+ :class="[$v.f_preamount.required || $v.f_preamount.dctest ? 'has-error' : 'has-success']">
33
+ <label class="font_normal_body">&nbsp;金额&nbsp;</label>
34
+ <input class="input_search" type="number" v-model="model.f_preamount" style="width:60%"
35
+ v-validate:f_preamount='{required: true, dctest: [0, ">" ]}' placeholder="金额">
36
+ </div>
37
+ <div v-if="row.f_meter_type === '气量卡表'" class="col-sm-4 form-group"
38
38
  :class="[$v.f_pregas.required || $v.f_pregas.dctest ? 'has-error' : 'has-success']">
39
39
  <label class="font_normal_body">&nbsp;气量&nbsp;</label>
40
40
  <input class="input_search" type="number" v-model="model.f_pregas" style="width:60%"
@@ -120,7 +120,7 @@ export default {
120
120
  f_purchase: 0,
121
121
  f_payment: ['现金收费'],
122
122
  f_pregas: '',
123
- f_preamount: 0,
123
+ f_preamount: '',
124
124
  f_totalcost: 0,
125
125
  f_curbalance: 0,
126
126
  f_collection: 0,
@@ -267,6 +267,7 @@ let CardService = {
267
267
  f_voucher_number: model.f_voucher_number,
268
268
  userinfo_version: row.userinfo_version,
269
269
  version: row.version,
270
+ isGasValue: model.f_pregas ? 0 : 1,
270
271
  f_meter_base: row.f_meter_base,
271
272
  f_operator: Vue.$login.f.name,
272
273
  f_operatorid: Vue.$login.f.id,
File without changes
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- #Tue Jan 23 18:15:26 CST 2024
2
- gradle.version=5.2.1
Binary file
File without changes