sale-client 3.6.50 → 3.6.52

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.50",
3
+ "version": "3.6.52",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -5,13 +5,13 @@
5
5
  <div class="row" style="margin-top:10px;">
6
6
  <div class="col-sm-4" :class="[$v.f_pregas.required || $v.f_pregas.dctest ? 'has-error' : 'has-success']">
7
7
  <label class=" font_normal_body" >*补气量</label>
8
- <input class="input_search" style="width:60%" type="text" v-model="model.f_pregas"
8
+ <input class="input_search" style="width:60%" type="text" v-model="model.f_pregas" :readonly="!applyButtonShow"
9
9
  v-validate:f_pregas='{required: true, dctest: [0, ">=" ]}' placeholder="补气量">
10
10
  </div>
11
11
  <div class="col-sm-4">
12
12
  <label for="f_pregas" class=" font_normal_body" >补气金额</label>
13
13
  <input class="input_search" style="width:60%" type="text" v-model="model.f_fillamount"
14
- v-validate:f_pregas='{required: true }' placeholder="补气金额">
14
+ v-validate:f_pregas='{required: true }' :readonly="!applyButtonShow" placeholder="补气金额">
15
15
  </div>
16
16
  <div class="col-sm-4">
17
17
  <label for="f_reason" class=" font_normal_body" >补气原因</label>
@@ -20,6 +20,7 @@
20
20
  placeholder='补气原因'
21
21
  :value.sync="model.f_reason"
22
22
  :options='addGasReason'
23
+ :disabled="!applyButtonShow"
23
24
  close-on-select ></v-select>
24
25
  </div>
25
26
  <div class="col-sm-4">
@@ -30,6 +31,7 @@
30
31
  value-single
31
32
  :value.sync="model.f_write_card"
32
33
  :options='writecard'
34
+ :disabled="!applyButtonShow"
33
35
  close-on-select clear-button></v-select>
34
36
  </div>
35
37
  </div>
@@ -37,7 +39,7 @@
37
39
  <div class="row" style="margin-top:10px;" v-if="model.f_reason[0] ==='其他'">
38
40
  <div class="col-sm-offset-2 col-sm-8" :class="[$v.f_othereason.required ? 'has-error' : '']">
39
41
  <label for="f_reason" class=" font_normal_body" >其他原因</label>
40
- <input class="input_search" style="width:60%" v-validate:f_othereason='{required: true }' rows="3" v-model="model.f_othereason" placeholder="请填写补气原因">
42
+ <input class="input_search" style="width:60%" v-validate:f_othereason='{required: true }' rows="3" :readonly="!applyButtonShow" v-model="model.f_othereason" placeholder="请填写补气原因">
41
43
  </div>
42
44
  </div>
43
45
  </form>
@@ -237,6 +239,7 @@ export default {
237
239
  async apply () {
238
240
  this.addTaskModel.f_task_name = `用户:${this.row.f_user_name},编号:${this.row.f_userinfo_code} 申请掉气补气`
239
241
  this.addTaskModel.f_userinfo_code = this.row.f_userinfo_code
242
+ this.addTaskModel.f_memorandum = this.model.f_othereason
240
243
  this.addTaskModalShow = true
241
244
  },
242
245
  close () {
@@ -6,7 +6,7 @@
6
6
  <div class="row" v-if="isGas">
7
7
  <div class="col-sm-4" :class="[$v.f_pregas.dctest ? 'has-error' : 'has-success']">
8
8
  <label class="font_normal_body">应补气量</label>
9
- <input class="input_search" style="width:60%" type="number" @blur="pregas"
9
+ <input class="input_search" style="width:60%" type="number" @blur="pregas" :readonly="!applyButtonShow"
10
10
  v-validate:f_pregas='{ dctest: [0, ">=" ]}' v-model="model.f_pregas" placeholder="应补气量" v-ref:f_pregas>
11
11
  </div>
12
12
  <div class="col-sm-4">
@@ -16,6 +16,7 @@
16
16
  placeholder='请选择'
17
17
  :value.sync="model.f_add_gas"
18
18
  :options='addGas'
19
+ :disabled="!applyButtonShow"
19
20
  close-on-select clear-button>
20
21
  </v-select>
21
22
  </div>
@@ -25,6 +26,7 @@
25
26
  v-model="model.f_write_card"
26
27
  placeholder='是否写卡'
27
28
  value-single
29
+ :disabled="!applyButtonShow"
28
30
  :value.sync="model.f_write_card"
29
31
  :options='writecard'
30
32
  close-on-select clear-button></v-select>
@@ -33,7 +35,7 @@
33
35
  <div class="row" v-if="!isGas">
34
36
  <div class="col-sm-4">
35
37
  <label for="f_preamount" class=" font_normal_body">应补金额:</label>
36
- <input class="input_search" style="width:60%" type="number" min = "0" v-model="model.f_preamount" placeholder="金额">
38
+ <input class="input_search" style="width:60%" type="number" min = "0" v-model="model.f_preamount" :readonly="!applyButtonShow" placeholder="金额">
37
39
  </div>
38
40
  <div class="col-sm-4">
39
41
  <label for="f_add_gas" class="font_normal_body">是否入累计:</label>
@@ -41,13 +43,14 @@
41
43
  placeholder='请选择'
42
44
  :value.sync="model.f_add_gas"
43
45
  :options='addGas'
46
+ :disabled="!applyButtonShow"
44
47
  close-on-select clear-button>
45
48
  </v-select>
46
49
  </div>
47
50
  </div>
48
51
  <div class="row" style="margin-top:10px;">
49
52
  <label for="f_reason" class=" font_normal_body">备&emsp;&emsp;注</label>
50
- <input class="input_search" style="width:55%" rows="1" v-model="model.f_reason" placeholder="备注">
53
+ <input class="input_search" style="width:55%" rows="1" v-model="model.f_reason" :readonly="!applyButtonShow" placeholder="备注">
51
54
  </div>
52
55
  </form>
53
56
  <print-bill :show="print" :bill-config='config' :bill-data='billData' :data='row' @toggle="close" @printok="printok" v-ref:printbill></print-bill>
@@ -326,6 +329,7 @@
326
329
  async apply () {
327
330
  this.addTaskModel.f_task_name = `用户:${this.row.f_user_name},编号:${this.row.f_userinfo_code} 申请其他补气`
328
331
  this.addTaskModel.f_userinfo_code = this.row.f_userinfo_code
332
+ this.addTaskModel.f_memorandum = this.model.f_reason
329
333
  this.addTaskModalShow = true
330
334
  },
331
335
  accept () {
@@ -290,6 +290,16 @@
290
290
  <input class="input_search" condition="f_meternumber ='{}'" placeholder='表号' style="width:60%"
291
291
  type="text" v-model="model.f_meternumber">
292
292
  </div>
293
+ <div
294
+ :class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
295
+ class="form-group" >
296
+ <label class="font_normal_body">表前阀状态</label>
297
+ <v-select :options='$parent.$parent.bqfstates' :search='true'
298
+ :value.sync="model.f_bqf_state"
299
+ close-on-select
300
+ condition="f_bqf_state = '{}'" placeholder='表前阀状态'
301
+ v-model='model.f_bqf_state'></v-select>
302
+ </div>
293
303
  </div>
294
304
  </div>
295
305
  </criteria>
@@ -341,6 +351,9 @@
341
351
  <th >
342
352
  <nobr>客户等级</nobr>
343
353
  </th>
354
+ <th v-if="!$parent.$parent.$parent.createFile">
355
+ <nobr>表前阀状态</nobr>
356
+ </th>
344
357
  <!--<th>-->
345
358
  <!--<nobr v-if="this.$login.r.includes('通知单打印')||this.$login.r.includes('流程表打印') ">下载</nobr>-->
346
359
  <!--</th>-->
@@ -370,6 +383,7 @@
370
383
  <td style="text-align: center;" v-if="!$parent.$parent.$parent.createFile">{{row.f_userfiles_address}}</td>
371
384
  <td style="text-align: center;" v-if="!$parent.$parent.$parent.createFile">{{row.f_user_state}}</td>
372
385
  <td style="text-align: center;" >{{row.f_user_level}}</td>
386
+ <td style="text-align: center;" v-if="!$parent.$parent.$parent.createFile">{{row.f_bqf_state}}</td>
373
387
  <td style="text-align: center;">
374
388
  <button type="button" name="button" class="button_search-2 button_spacing width-60"
375
389
  v-if="row.f_user_state === '正常' || row.f_user_state==='预备'"
@@ -881,6 +895,9 @@ let loadParamGem = async function (self) {
881
895
  userstates () {
882
896
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
883
897
  },
898
+ bqfstates () {
899
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('表前阀状态')]
900
+ },
884
901
  usegas () {
885
902
  return [{label: '全部', value: ''}, {label: '是', value: '是'}, {label: '否', value: '否'}]
886
903
  },