sale-client 3.6.174 → 3.6.176

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.
@@ -1,5 +1,5 @@
1
1
  var path = require('path')
2
- const [ serverRul, localUrl ] = ['http://192.168.50.4:8400/', 'http://192.168.50.4:8400/']
2
+ const [ serverRul, localUrl ] = ['http://192.168.3.82:8400/#', 'http://192.168.3.82:8400/#']
3
3
  var merge = require('webpack-merge')
4
4
  var baseConfig = require('./webpack.dev.conf')
5
5
  var devConfig = {
@@ -73,13 +73,13 @@ var devConfig = {
73
73
  target: serverRul
74
74
  },
75
75
  '/rs/logic': {
76
- target: 'http://127.0.0.1:8080'
76
+ target: serverRul
77
77
  },
78
78
  '/rs/sql': {
79
- target: 'http://127.0.0.1:8080'
79
+ target: serverRul
80
80
  },
81
81
  '/rs/entity': {
82
- target: 'http://127.0.0.1:8080'
82
+ target: serverRul
83
83
  },
84
84
  '/webmeter': {
85
85
  target: serverRul
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.174",
3
+ "version": "3.6.176",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -622,7 +622,8 @@
622
622
  }
623
623
  },
624
624
  'model.f_payment' (val) {
625
- if (val == '免交') {
625
+ let _payment = this.$appdata.getSingleValue('需要输入业务单号的付款方式') || ''
626
+ if (val == '免交' || _payment.includes(val)) {
626
627
  this.mjshow = true
627
628
  } else if (val == '赠气' && (this.model.f_preamount || this.model.f_preamount != '')) {
628
629
  if (this.row.f_collection_type == '按气量') {
@@ -587,7 +587,8 @@
587
587
  this.getPrivilegeList()
588
588
  },
589
589
  'model.f_payment' (val) {
590
- if (val == '免交') {
590
+ let _payment = this.$appdata.getSingleValue('需要输入业务单号的付款方式') || ''
591
+ if (val == '免交' || _payment.includes(val)) {
591
592
  this.mjshow = true
592
593
  } else if (val == '赠气' && (this.model.f_preamount || this.model.f_preamount != '')) {
593
594
  if (this.row.f_collection_type == '按气量') {
@@ -139,6 +139,16 @@
139
139
  close-on-select clear-button>
140
140
  </v-select>
141
141
  </div>
142
+ <div class="col-sm-4" v-if="!mjshow" >
143
+ <label for="f_serial_number" class=" font_normal_body">业务单号</label>
144
+ <input class="input_search" style="width:60%" type="text"
145
+ v-model="model.f_serial_number" placeholder="业务单号">
146
+ </div>
147
+ <div class="col-sm-4" v-if="mjshow" :class="[$v.f_serial_number.required || $v.f_serial_number.dctest ? 'has-error' : 'has-success']">
148
+ <label for="f_serial_number" class=" font_normal_body">业务单号</label>
149
+ <input class="input_search" style="width:60%" type="text" v-validate:f_serial_number='{required: true }'
150
+ v-model="model.f_serial_number" placeholder="业务单号">
151
+ </div>
142
152
  <div class="col-sm-8">
143
153
  <label for="f_comments" class=" font_normal_body">&nbsp;备&emsp;&emsp;注</label>
144
154
  <input type="text" class="input_search" style="width:80%" v-model="model.f_comments" rows="1"
@@ -326,6 +336,7 @@ export default {
326
336
  otherdetail: [{f_brand_spec: [''], typeNameList: [], f_typenumber: '', typenumberList: [], f_unitprice: '', f_number: ''}]
327
337
  },
328
338
  eticket_msg: false,
339
+ mjshow: false,
329
340
  eticket_show: false,
330
341
  invoice_is_pax: '征税',
331
342
  is_pax: [{label: '征税', value: '征税'}, {label: '不征税', value: '不征税'}],
@@ -362,6 +373,10 @@ export default {
362
373
  if (val[0]) {
363
374
  this.userfees(this.row.f_userinfo_id, val[0])
364
375
  }
376
+ },
377
+ 'model.f_payment' (val) {
378
+ let _payment = this.$appdata.getSingleValue('需要输入业务单号的付款方式') || ''
379
+ this.mjshow = (val === '免交' || _payment.includes(val))
365
380
  }
366
381
  },
367
382
  events: {
@@ -652,7 +652,8 @@ let asyncMachineMeterCenter = async function (self) {
652
652
  'data.f_payment' (val) {
653
653
  this.getPrivilegeList()
654
654
  // 根据付款方式增加业务单号
655
- if (val == '免交') {
655
+ let _payment = this.$appdata.getSingleValue('需要输入业务单号的付款方式') || ''
656
+ if (val == '免交' || _payment.includes(val)) {
656
657
  this.mjshow = true
657
658
  } else {
658
659
  this.mjshow = false
@@ -190,7 +190,7 @@ let asyncCardMeterCenter = async function (self) {
190
190
  data: {
191
191
  items: 'sum(f_real_amount) f_real_amount,sum(f_surplus_fee) f_surplus_fee',
192
192
  tablename: 't_surplus_detail',
193
- condition: `f_userinfo_id = any(select f_userinfo_id from t_userfiles where f_civill_id = '${self.civill}') and f_state='有效' and f_whether_pay = '否' `,
193
+ condition: `f_userinfo_id = any(select f_userinfo_id from t_userfiles where f_civill_id = '${self.civill.id}') and f_state='有效' and f_whether_pay = '否' `,
194
194
  orderitem: 'f_surplus_fee'
195
195
  }
196
196
  },
@@ -157,7 +157,7 @@ export default {
157
157
  // 处理按钮样式
158
158
  this.styleChange(btn.name)
159
159
  this.chargeShow = true
160
- this.$refs.route.init(btn.value.routeName, {row: this.row, data: this.model, owe: this.owe, civill: this.f_civill_id})
160
+ this.$refs.route.init(btn.value.routeName, {row: this.row, data: this.model, owe: this.owe, civill: this.civill})
161
161
  },
162
162
  styleChange (name) {
163
163
  this.operBtns.forEach((res) => {
@@ -129,6 +129,17 @@
129
129
  <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
130
130
  condition="f_meternumber = '{}' " placeholder="表号">
131
131
  </div>
132
+ <div class="col-sm-2 form-group">
133
+ <label class="font_normal_body">机表未抄期数</label>
134
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_hand_month"
135
+ condition="f_hand_month >= '{}' " placeholder="机表未抄期数">
136
+ </div>
137
+ <div class="col-sm-2 form-group">
138
+ <label class="font_normal_body">物联未报天数</label>
139
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_webhand_day"
140
+ condition="f_webhand_day >= '{}' " placeholder="物联未报天数">
141
+ </div>
142
+
132
143
 
133
144
  <!--表册片区-->
134
145
  <!--<div class="col-sm-2 form-group">-->
@@ -612,7 +612,8 @@ export default {
612
612
  }
613
613
  },
614
614
  'model.f_payment' (val) {
615
- if (val == '免交') {
615
+ let _payment = this.$appdata.getSingleValue('需要输入业务单号的付款方式') || ''
616
+ if (val == '免交' || _payment.includes(val)) {
616
617
  this.mjshow = true
617
618
  } else if (val == '赠气' && (this.model.f_preamount || this.model.f_preamount != '')) {
618
619
  if (this.row.f_collection_type == '按气量') {
@@ -581,7 +581,8 @@
581
581
  this.getPrivilegeList()
582
582
  },
583
583
  'model.f_payment' (val) {
584
- if (val == '免交') {
584
+ let _payment = this.$appdata.getSingleValue('需要输入业务单号的付款方式') || ''
585
+ if (val == '免交' || _payment.includes(val)) {
585
586
  this.mjshow = true
586
587
  } else if (val == '赠气' && (this.model.f_preamount || this.model.f_preamount != '')) {
587
588
  if (this.row.f_collection_type == '按气量') {
package/src/main.js CHANGED
@@ -4,7 +4,7 @@ import App from './App'
4
4
  import system from 'system-clients/src/system'
5
5
  import sale from './sale'
6
6
  // import wenxi from './filiale/rizhao/sale'
7
- import FilialeSale from './filiale/yuansheng/sale'
7
+ import FilialeSale from './filiale/gehua/sale'
8
8
  import address from 'address-client/src/address'
9
9
  import ldap from 'ldap-clients/src/ldap'
10
10
  import VueClipboard from 'vue-clipboard2'