apply-clients 3.3.42 → 3.3.46

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,142 +1,142 @@
1
- <template>
2
- <style id="printChargeStyle">
3
- td{
4
- height: 30px;
5
- text-align: center;
6
- }
7
- table{
8
- margin: auto;
9
- /*width: 100%;*/
10
- border-collapse:collapse;
11
- border: 1px solid black;
12
- }
13
- h1,h2,h3,h4,h5,h6 {
14
- text-align: center;
15
- }
16
- .orgs {
17
- border-bottom: 2px solid;
18
- padding: 5px;
19
- }
20
- .date {
21
- float: left;
22
- padding-left: 10px;
23
- }
24
- .status {
25
- float: right;
26
- padding-right: 10px;
27
- }
28
- .seal {
29
- position: absolute;
30
- right: 100px;
31
- top: 120px;
32
- width: 150px;
33
- height: 150px;
34
- /*opacity: 0.5;*/
35
- z-index: -1;
36
- }
37
- </style>
38
- <div id="printCharge">
39
- <h4>
40
- <span class="orgs">
41
- {{orgs}}统一收据
42
- </span>
43
- </h4>
44
- <table border="1" width="100%">
45
- <tr>
46
- <td colspan="2" style="border: none">
47
- 开票日期:{{ new Date().Format('yyyy年MM月dd日') }}
48
- </td>
49
- <td colspan="2" style="border: none">
50
- 收据编码:{{ charge.f_charge_number }}
51
- </td>
52
- <td colspan="2" style="border: none">
53
- 状态:{{ charge.f_charge_status }}
54
- </td>
55
- </tr>
56
- <tr>
57
- <td style="width: 17%">用户姓名</td>
58
- <td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
59
- <td style="width: 17%">用户编号</td>
60
- <td colspan="2" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
61
- </tr>
62
- <tr>
63
- <td>用户地址</td>
64
- <td colspan="5">{{ selectdata.f_address }}</td>
65
- </tr>
66
- <tr>
67
- <td>收款项目</td>
68
- <td colspan="2">{{ charge.f_payment_term }}</td>
69
- <td>收款方式</td>
70
- <td colspan="2">{{ charge.f_payment_method }}</td>
71
- </tr>
72
- <tr>
73
- <td>金额</td>
74
- <td colspan="2">{{ charge.f_charge_money }}</td>
75
- <td>金额大写</td>
76
- <td colspan="2">{{ charge.f_amount_words }}</td>
77
- </tr>
78
- <tr>
79
- <td>收款人</td>
80
- <td colspan="2">{{ charge.f_charge_collectors }}</td>
81
- <td>销售方(章)</td>
82
- <td colspan="2"></td>
83
- </tr>
84
- <tr>
85
- <td>备&emsp;&emsp;注</td>
86
- <td colspan="5">{{ selectdata.f_entry_name }}</td>
87
- </tr>
88
- <tr>
89
- <td colspan="6">
90
- 请持此收据到{{orgs}}营业厅换取发票
91
- </td>
92
- </tr>
93
- </table>
94
- <img class="seal" border="0" :src="src" alt="">
95
- </div>
96
-
97
- <print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
98
- top='20' left='30' width='100%' height='100%'>
99
- </print-element>
100
- </template>
101
-
102
- <script>
103
- import { isEmpty } from '../../../../Util'
104
- Date.prototype.Format = function (fmt) {
105
- var o = {
106
- "M+": this.getMonth() + 1, //月份
107
- "d+": this.getDate(), //日
108
- "H+": this.getHours(), //小时
109
- "m+": this.getMinutes(), //分
110
- "s+": this.getSeconds(), //秒
111
- "q+": Math.floor((this.getMonth() + 3) / 3), //季度
112
- "S": this.getMilliseconds() //毫秒
113
- };
114
- if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
115
- for (var k in o)
116
- if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
117
- return fmt;
118
- }
119
- export default {
120
- title: '打印收费票据',
121
- props: ['selectdata', 'charge'],
122
- data () {
123
- return {}
124
- },
125
- ready () {
126
- },
127
- methods: {
128
- },
129
- computed: {
130
- orgs () {
131
- return this.$login.f.orgs
132
- },
133
- src () {
134
- return require(`./img/${this.$login.f.number}.png`)
135
- }
136
- }
137
- }
138
- </script>
139
-
140
- <style scoped>
141
-
142
- </style>
1
+ <template>
2
+ <style id="printChargeStyle">
3
+ td{
4
+ height: 30px;
5
+ text-align: center;
6
+ }
7
+ table{
8
+ margin: auto;
9
+ /*width: 100%;*/
10
+ border-collapse:collapse;
11
+ border: 1px solid black;
12
+ }
13
+ h1,h2,h3,h4,h5,h6 {
14
+ text-align: center;
15
+ }
16
+ .orgs {
17
+ border-bottom: 2px solid;
18
+ padding: 5px;
19
+ }
20
+ .date {
21
+ float: left;
22
+ padding-left: 10px;
23
+ }
24
+ .status {
25
+ float: right;
26
+ padding-right: 10px;
27
+ }
28
+ .seal {
29
+ position: absolute;
30
+ right: 100px;
31
+ top: 120px;
32
+ width: 150px;
33
+ height: 150px;
34
+ /*opacity: 0.5;*/
35
+ z-index: -1;
36
+ }
37
+ </style>
38
+ <div id="printCharge">
39
+ <h4>
40
+ <span class="orgs">
41
+ {{orgs}}统一收据
42
+ </span>
43
+ </h4>
44
+ <table border="1" width="100%">
45
+ <tr>
46
+ <td colspan="2" style="border: none">
47
+ 开票日期:{{ new Date().Format('yyyy年MM月dd日') }}
48
+ </td>
49
+ <td colspan="2" style="border: none">
50
+ 收据编码:{{ charge.f_charge_number }}
51
+ </td>
52
+ <td colspan="2" style="border: none">
53
+ 状态:{{ charge.f_charge_status }}
54
+ </td>
55
+ </tr>
56
+ <tr>
57
+ <td style="width: 17%">用户姓名</td>
58
+ <td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
59
+ <td style="width: 17%">用户编号</td>
60
+ <td colspan="2" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
61
+ </tr>
62
+ <tr>
63
+ <td>用户地址</td>
64
+ <td colspan="5">{{ selectdata.f_address }}</td>
65
+ </tr>
66
+ <tr>
67
+ <td>收款项目</td>
68
+ <td colspan="2">{{ charge.f_payment_term }}</td>
69
+ <td>收款方式</td>
70
+ <td colspan="2">{{ charge.f_payment_method }}</td>
71
+ </tr>
72
+ <tr>
73
+ <td>金额</td>
74
+ <td colspan="2">{{ charge.f_charge_money }}</td>
75
+ <td>金额大写</td>
76
+ <td colspan="2">{{ charge.f_amount_words }}</td>
77
+ </tr>
78
+ <tr>
79
+ <td>收款人</td>
80
+ <td colspan="2">{{ charge.f_charge_collectors }}</td>
81
+ <td>销售方(章)</td>
82
+ <td colspan="2"></td>
83
+ </tr>
84
+ <tr>
85
+ <td>备&emsp;&emsp;注</td>
86
+ <td colspan="5">{{ charge.f_charge_remarks }}</td>
87
+ </tr>
88
+ <tr>
89
+ <td colspan="6">
90
+ 请持此收据到{{orgs}}营业厅换取发票
91
+ </td>
92
+ </tr>
93
+ </table>
94
+ <img class="seal" border="0" :src="src" alt="">
95
+ </div>
96
+
97
+ <print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
98
+ top='20' left='30' width='100%' height='100%'>
99
+ </print-element>
100
+ </template>
101
+
102
+ <script>
103
+ import { isEmpty } from '../../../../Util'
104
+ Date.prototype.Format = function (fmt) {
105
+ var o = {
106
+ "M+": this.getMonth() + 1, //月份
107
+ "d+": this.getDate(), //日
108
+ "H+": this.getHours(), //小时
109
+ "m+": this.getMinutes(), //分
110
+ "s+": this.getSeconds(), //秒
111
+ "q+": Math.floor((this.getMonth() + 3) / 3), //季度
112
+ "S": this.getMilliseconds() //毫秒
113
+ };
114
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
115
+ for (var k in o)
116
+ if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
117
+ return fmt;
118
+ }
119
+ export default {
120
+ title: '打印收费票据',
121
+ props: ['selectdata', 'charge'],
122
+ data () {
123
+ return {}
124
+ },
125
+ ready () {
126
+ },
127
+ methods: {
128
+ },
129
+ computed: {
130
+ orgs () {
131
+ return this.$login.f.orgs
132
+ },
133
+ src () {
134
+ return require(`./img/${this.$login.f.number}.png`)
135
+ }
136
+ }
137
+ }
138
+ </script>
139
+
140
+ <style scoped>
141
+
142
+ </style>
@@ -1,6 +1,4 @@
1
1
  <template>
2
- <work-busy :is-busy="showWork" v-show="showWork"></work-busy>
3
-
4
2
  <div class="select-overspread" style="background-color: #ffffff;padding: 20px;overflow: scroll">
5
3
  <form class="form-horizontal">
6
4
  <div class="form-group">
@@ -275,7 +273,6 @@
275
273
  </modal>
276
274
  </form>
277
275
  </div>
278
-
279
276
  </template>
280
277
  <script>
281
278
  import Vue from 'vue'
@@ -310,8 +307,7 @@ export default {
310
307
  model: {}, // 公司等属性
311
308
  disable_button: true, // 控制按钮禁用
312
309
  disable_modal_button: true, // 控制按钮禁用
313
- showButModal: false,
314
- showWork: false
310
+ showButModal: false
315
311
  }
316
312
  },
317
313
  watch: {
@@ -436,7 +432,6 @@ export default {
436
432
  // 点击按钮组按钮
437
433
  async click_but (button) {
438
434
  this.disable_button = true
439
- this.showWork = true
440
435
 
441
436
  this.data.fields.forEach(item => {
442
437
  this.data[item.field] = item.value
@@ -446,7 +441,6 @@ export default {
446
441
 
447
442
  if (button.button_fields && button.button_fields.length > 0) {
448
443
  this.showButModal = true
449
- this.showWork = false
450
444
  return
451
445
  }
452
446
 
@@ -457,7 +451,6 @@ export default {
457
451
  }
458
452
  },
459
453
  confirmModal () {
460
- this.showWork = true
461
454
  this.closeModal()
462
455
 
463
456
  this.data.button.button_fields.forEach(item => {
@@ -283,7 +283,7 @@
283
283
  computed: {
284
284
  getCondition () {
285
285
  return {
286
- condition: this.$refs.cp.$refs.cri.condition,
286
+ condition: this.model.condition,
287
287
  data: {
288
288
  orgid: this.$login.f.orgid
289
289
  }