sale-client 3.5.290 → 3.5.291

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.5.290",
3
+ "version": "3.5.291",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -74,7 +74,7 @@
74
74
  "karma-sourcemap-loader": "^0.3.7",
75
75
  "karma-spec-reporter": "0.0.31",
76
76
  "karma-webpack": "^2.0.2",
77
- "ldap-clients": "3.0.62",
77
+ "ldap-clients": "3.0.48",
78
78
  "less": "^2.7.3",
79
79
  "manage-client": "3.1.8-88",
80
80
  "mkdirp": "^0.5.1",
@@ -89,7 +89,7 @@
89
89
  "sinon-chai": "^2.8.0",
90
90
  "style": "0.0.3",
91
91
  "style-loader": "^0.20.3",
92
- "system-clients": "3.2.64",
92
+ "system-clients": "3.2.55",
93
93
  "url-loader": "^0.5.7",
94
94
  "vue-client": "1.24.79",
95
95
  "vue-clipboard2": "0.3.1",
@@ -45,6 +45,7 @@ export default {
45
45
  id: obj.f_eticket_id,
46
46
  f_bill_code: obj.f_bill_code ? obj.f_bill_code : undefined,
47
47
  f_bill_number: obj.f_bill_number ? obj.f_bill_number : undefined,
48
+ f_fpqqlsh: obj.fpqqlsh ? obj.fpqqlsh : undefined,
48
49
  f_jym: obj.f_jym ? obj.f_jym : undefined,
49
50
  f_bill_url: obj.f_bill_url ? obj.f_bill_url : undefined,
50
51
  f_red_url: obj.f_red_url ? obj.f_red_url : undefined,
@@ -132,12 +133,11 @@ export default {
132
133
  id: ticket_id,
133
134
  f_bill_code: req.fpDm,
134
135
  f_bill_number: req.fpHm,
135
- f_bill_url: req.fileUrl.replace('d:\\qianNengInvoiceFile', '/Download'),
136
- f_sign_url: req.shareurl,
137
- f_sign_result: req.sharecode,
136
+ f_bill_url: req.shareurl.replace('/s/', `/s/downloadPdf?pwd=${req.sharecode}&authCode=`).replace('\\', ''),
137
+ f_sign_result: req.msg,
138
138
  f_bill_state: req.status
139
139
  }
140
- this.eticket_src = 'https://qnjtkf.cn:7400' + model.f_bill_url
140
+ this.eticket_src = req.shareurl.replace('/s/', `/s/downloadPdf?pwd=${req.sharecode}&authCode=`).replace('\\', '')
141
141
  } else if (req.status === '开票中') {
142
142
  model = {
143
143
  id: ticket_id,
@@ -202,6 +202,7 @@ export default {
202
202
  f_eticket_id: ticket_id,
203
203
  f_bill_code: req.fpDm,
204
204
  f_bill_number: req.fpHm,
205
+ fpqqlsh: req.fpqqlsh,
205
206
  f_bill_url: req.shareurl.replace('/s/', `/s/downloadPdf?pwd=${req.sharecode}&authCode=`).replace('\\', ''),
206
207
  f_sign_result: req.msg,
207
208
  f_bill_state: req.status
@@ -304,12 +305,12 @@ export default {
304
305
  f_eticket_id: ticket_id,
305
306
  f_bill_code: req.fpDm,
306
307
  f_bill_number: req.fpHm,
307
- f_bill_url: req.fileUrl.replace('d:\\qianNengInvoiceFile', '/Download'),
308
- f_sign_url: req.shareurl,
309
- f_sign_result: req.sharecode,
308
+ fpqqlsh: req.fpqqlsh,
309
+ f_bill_url: req.shareurl.replace('/s/', `/s/downloadPdf?pwd=${req.sharecode}&authCode=`).replace('\\', ''),
310
+ f_sign_result: req.msg,
310
311
  f_bill_state: req.status
311
312
  })
312
- this.eticket_src = 'https://qnjtkf.cn:7400' + req.fileUrl.replace('d:\\qianNengInvoiceFile', '/Download')
313
+ this.eticket_src = req.shareurl.replace('/s/', `/s/downloadPdf?pwd=${req.sharecode}&authCode=`).replace('\\', '')
313
314
  } else if (req && req.status !== '开票中') {
314
315
  clearInterval(interval)
315
316
  // TODO 失败后保存发票详情
@@ -156,6 +156,14 @@
156
156
  :options='row.pipetypes' placeholder='管道类型' :value-single="true"
157
157
  close-on-select></v-select>
158
158
  </div>
159
+ <div class="col-sm-6 form-group" style="padding-right: 5px;" title="参数名称:[连接方式]">
160
+ <label class="font_normal_body">连接方式</label>
161
+ <v-select :value.sync="row.f_pipe_way" v-model="row.f_pipe_way"
162
+ :options='row.pipeways' placeholder='连接方式' :value-single="true"
163
+ close-on-select></v-select>
164
+ </div>
165
+ </div>
166
+ <div class="row auto" style="margin-left: 10px;">
159
167
  <div class="col-sm-6 form-group" style="padding-right: 5px;">
160
168
  <label class="font_normal_body" title="连接管安装日期">安装日期</label>
161
169
  <datepicker placeholder="连接管安装日期" style="width: 60%"
@@ -165,8 +173,6 @@
165
173
  :format="'yyyy-MM-dd HH:mm:ss'">
166
174
  </datepicker>
167
175
  </div>
168
- </div>
169
- <div class="row auto" style="margin-left: 10px;">
170
176
  <div class="col-sm-6 form-group" style="padding-right: 5px;" v-if="pipeShow">
171
177
  <label class="font_normal_body" title="连接管到期日期">到期日期</label>
172
178
  <datepicker placeholder="连接管到期日期" style="width: 60%"
@@ -175,21 +181,22 @@
175
181
  :format="'yyyy-MM-dd HH:mm:ss'">
176
182
  </datepicker>
177
183
  </div>
184
+ </div>
185
+ <div class="row auto" style="margin-left: 10px;">
178
186
  <div class="col-sm-6 form-group" style="padding-right: 5px;">
179
187
  <label class="font_normal_body">使用年限</label>
180
188
  <input type="number" class="input_search" style="width: 60%" v-model="row.f_service_liferg"
181
189
  :value.sync="row.f_service_liferg"
182
190
  :onchange="pipeExpireDate($index)" >
183
191
  </div>
184
-
185
- </div>
186
- <div class="row auto" style="margin-left: 10px;">
187
192
  <div class="col-sm-6 form-group" style="padding-right: 5px;">
188
193
  <label class="font_normal_body">&nbsp;&nbsp;&nbsp;米&nbsp;&nbsp;&nbsp;数</label>
189
194
  <input type="text" class="input_search" style="width:60%" v-model="row.f_pipe_length"
190
195
  :value.sync="row.f_pipe_length"
191
196
  placeholder='米数'>
192
197
  </div>
198
+ </div>
199
+ <div class="row auto" style="margin-left: 10px;">
193
200
  <div class="col-sm-6 form-group" style="padding-right: 5px;">
194
201
  <label class="font_normal_body">&nbsp;&nbsp;&nbsp;材&nbsp;&nbsp;&nbsp;质</label>
195
202
  <input type="text" class="input_search" style="width:60%" v-model="row.f_pipe_material"
@@ -225,6 +232,7 @@
225
232
  <th style="text-align: center">设备品牌</th>
226
233
  <th style="text-align: center">设备型号</th>
227
234
  <th style="text-align: center">管道类型</th>
235
+ <th style="text-align: center">连接方式</th>
228
236
  <th style="text-align: center">管道米数</th>
229
237
  <th style="text-align: center">安装人</th>
230
238
  <th style="text-align: center">安装方式</th>
@@ -242,6 +250,7 @@
242
250
  <td style="text-align: center">{{row.f_brand}}</td>
243
251
  <td style="text-align: center">{{row.f_devices_model}}</td>
244
252
  <td style="text-align: center">{{row.f_pipe_type}}</td>
253
+ <td style="text-align: center">{{row.f_pipe_way}}</td>
245
254
  <td style="text-align: center">{{row.f_pipe_length}}</td>
246
255
  <td style="text-align:center">{{row.f_input_person}}</td>
247
256
  <td style="text-align:center">{{row.f_install_type}}</td>
@@ -285,6 +294,7 @@ export default {
285
294
  devicetypes: this.$appdata.getParam('设备类型'),
286
295
  devicebrands: [],
287
296
  pipetypes:[],
297
+ pipeways: this.$appdata.getParam('连接方式'),
288
298
  pipetypeparams: this.$appdata.getParam('管道类型'),
289
299
  WatchPurchases: this.$appdata.getParam('购买方式'),
290
300
  installperson: this.$appdata.getParam('安装人'),
@@ -404,6 +414,7 @@ export default {
404
414
  f_input_date: this.$login.toStandardTimeString(),
405
415
  devicetypes: this.$appdata.getParam('设备类型'),
406
416
  pipetypes:[],
417
+ pipeways: this.$appdata.getParam('连接方式'),
407
418
  devicebrands:[]
408
419
  })
409
420
  },
@@ -172,17 +172,20 @@
172
172
  }
173
173
  console.log('退费传参', param)
174
174
  let res = await this.$resetpost('rs/logic/iotRefund', {data: param}, {warnMsg: `确定要对用户${this.data.f_user_name}进行退费吗?`, resolveMsg: '退费成功!!', rejectMsg: '退费失败!!请重试!!'}).then((res) => {
175
- if (this.config.hasBillManage) {
176
- // 启用发票管理,获取票据管理中的票号并存储记录
177
- this.data.id = res.data.id
178
- this.data.f_bill_type = '退费'
179
- this.print = true
175
+ if (this.config.hasPrint) {
176
+ if (this.config.hasBillManage) {
177
+ // 启用发票管理,获取票据管理中的票号并存储记录
178
+ this.data.id = res.data.id
179
+ this.data.f_bill_type = '退费'
180
+ this.print = true
181
+ } else {
182
+ this.data.id = res.data.id
183
+ this.print = true
184
+ }
180
185
  } else {
181
- this.data.id = res.data.id
182
- this.print = true
186
+ this.$dispatch('success')
183
187
  }
184
188
  })
185
- this.$dispatch('success')
186
189
  },
187
190
  changeChoose () {
188
191
  this.$dispatch('changeChoose')