apply-clients 3.5.4-82 → 3.5.4-84

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.
Files changed (44) hide show
  1. package/build/dev-server.js +10 -5
  2. package/package.json +1 -1
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +137 -137
  5. package/src/components/android/AppCheckTakePic.vue +168 -168
  6. package/src/components/android/AppTakePic.vue +182 -181
  7. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  8. package/src/components/android/Process/Processes/AppChargeManagement.vue +1 -3
  9. package/src/components/android/Process/Processes/AppChargeManagementNew.vue +1 -3
  10. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  11. package/src/components/product/PcZhihuanManagement.vue +160 -160
  12. package/src/components/product/Process/Processes/chargeManagement.vue +1 -1
  13. package/src/filiale/fugou/android/AppAddMaterialScience.vue +2 -2
  14. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -341
  15. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  16. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
  17. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
  18. package/src/filiale/fugou/android/AppServiceControl.vue +4 -2
  19. package/src/filiale/fugou/android/AppZhihuanManagement.vue +8 -2
  20. package/src/filiale/fugou/android/printCharge.vue +162 -0
  21. package/src/filiale/fugou/android.js +2 -1
  22. package/src/filiale/fugou/pc/AddReplacement.vue +340 -340
  23. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  24. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1703
  25. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  26. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  27. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
  28. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  29. package/src/filiale/fugou/pc/printChargepc.vue +148 -0
  30. package/src/filiale/fugou/pc.js +14 -13
  31. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  32. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +203 -0
  33. package/src/filiale/jinhuang/pc.js +1 -0
  34. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  35. package/src/filiale/qianneng/android.js +15 -15
  36. package/src/filiale/qianneng/pc/Applydetail.vue +378 -378
  37. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  38. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -527
  39. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +639 -639
  40. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1681 -1681
  41. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +548 -548
  42. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2075 -2075
  43. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1059 -1059
  44. package/src/main.js +3 -2
@@ -0,0 +1,148 @@
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;width: 33%;">
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">{{ selectdata.f_payment_ratio }}</td>
81
+ <td>累计付款金额</td>
82
+ <td colspan="2">{{ selectdata.f_cumulative_payment_money }}</td>
83
+ </tr>
84
+ <tr>
85
+ <td>收款人</td>
86
+ <td colspan="2">{{ charge.f_charge_collectors }}</td>
87
+ <td>销售方(章)</td>
88
+ <td colspan="2"></td>
89
+ </tr>
90
+ <tr>
91
+ <td>备&emsp;&emsp;注</td>
92
+ <td colspan="5">{{ charge.f_charge_remarks }}</td>
93
+ </tr>
94
+ <tr>
95
+ <td colspan="6">
96
+ 请持此收据到{{orgs}}营业厅换取发票
97
+ </td>
98
+ </tr>
99
+ </table>
100
+ <img class="seal" border="0" :src="src" alt="">
101
+ </div>
102
+
103
+ <print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
104
+ top='20' left='30' width='100%' height='100%'>
105
+ </print-element>
106
+ </template>
107
+
108
+ <script>
109
+ import { isEmpty } from '../../../components/Util'
110
+ Date.prototype.Format = function (fmt) {
111
+ var o = {
112
+ "M+": this.getMonth() + 1, //月份
113
+ "d+": this.getDate(), //日
114
+ "H+": this.getHours(), //小时
115
+ "m+": this.getMinutes(), //分
116
+ "s+": this.getSeconds(), //秒
117
+ "q+": Math.floor((this.getMonth() + 3) / 3), //季度
118
+ "S": this.getMilliseconds() //毫秒
119
+ };
120
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
121
+ for (var k in o)
122
+ if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
123
+ return fmt;
124
+ }
125
+ export default {
126
+ title: '打印收费票据',
127
+ props: ['selectdata', 'charge'],
128
+ data () {
129
+ return {}
130
+ },
131
+ ready () {
132
+ },
133
+ methods: {
134
+ },
135
+ computed: {
136
+ orgs () {
137
+ return this.$login.f.orgs
138
+ },
139
+ src () {
140
+ return require(`../../../assets/${this.$login.f.number}.png`)
141
+ }
142
+ }
143
+ }
144
+ </script>
145
+
146
+ <style scoped>
147
+
148
+ </style>
@@ -1,13 +1,14 @@
1
- import Vue from 'vue'
2
-
3
- let specialComp = {
4
- 'service-control': (resolve) => { require(['./pc/ServiceControl'], resolve) },
5
- 'exploration-select': (resolve) => { require(['./pc/ExplorationSelect'], resolve) },
6
- 'installation-details': (resolve) => { require(['./pc/InstallationDetails'], resolve) },
7
- 'add-material-science': (resolve) => { require(['./pc/addMaterialScience'], resolve) },
8
- 'apply-address-userinfo-management': (resolve) => { require(['./pc/addressAndUserinfoManagement'], resolve) },
9
- 'apply-replacement': (resolve) => { require(['./pc/AddReplacement'], resolve) },
10
- 'apply-devices-management': (resolve) => { require(['./pc/devicesManagement'], resolve) },
11
- 'service-view': (resolve) => { require(['./pc/serviceview'], resolve) }
12
- }
13
- exports.specialComp = specialComp
1
+ import Vue from 'vue'
2
+
3
+ let specialComp = {
4
+ 'service-control': (resolve) => { require(['./pc/ServiceControl'], resolve) },
5
+ 'exploration-select': (resolve) => { require(['./pc/ExplorationSelect'], resolve) },
6
+ 'installation-details': (resolve) => { require(['./pc/InstallationDetails'], resolve) },
7
+ 'add-material-science': (resolve) => { require(['./pc/addMaterialScience'], resolve) },
8
+ 'apply-address-userinfo-management': (resolve) => { require(['./pc/addressAndUserinfoManagement'], resolve) },
9
+ 'apply-replacement': (resolve) => { require(['./pc/AddReplacement'], resolve) },
10
+ 'apply-devices-management': (resolve) => { require(['./pc/devicesManagement'], resolve) },
11
+ 'service-view': (resolve) => { require(['./pc/serviceview'], resolve) },
12
+ 'apply-print-chargepc': (resolve) => { require(['./pc/printChargepc'], resolve) }
13
+ }
14
+ exports.specialComp = specialComp