apply-clients 3.3.36 → 3.3.40
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/build/css-loaders.js +34 -0
- package/build/dev-android.js +101 -0
- package/build/dev-client.js +8 -0
- package/build/dev-server-app.js +76 -0
- package/build/dev-server.js +130 -0
- package/build/example-server.js +80 -0
- package/build/release.sh +28 -0
- package/build/utils.js +80 -0
- package/build/webpack.base.conf.js +84 -0
- package/build/webpack.baseandroid.conf.js +84 -0
- package/build/webpack.dev.conf.js +39 -0
- package/build/webpack.devandroid.conf.js +34 -0
- package/build/webpack.example.conf.js +49 -0
- package/build/webpack.prod.conf.js +60 -0
- package/build/webpack.prodandroid.conf.js +60 -0
- package/build/webpack.test.conf.js +31 -0
- package/index.html +33 -33
- package/package.json +1 -1
- package/src/AndroidApp.vue +30 -30
- package/src/android.js +21 -21
- package/src/apply.js +1 -8
- package/src/applyAndroid.js +1 -8
- package/src/components/android/AppOnetomany.vue +305 -305
- package/src/components/android/AppServiceView.vue +1 -1
- package/src/components/android/AppTakePic.vue +143 -143
- package/src/components/android/Function/AppFunctionServiceControl.vue +344 -344
- package/src/components/android/Function/AppInstallFunction.vue +1 -1
- package/src/components/android/Process/AppExplorationUser.vue +1 -1
- package/src/components/android/Process/AppServiceControl.vue +1 -0
- package/src/components/android/Process/Processes/AppChargeManagement.vue +468 -468
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +508 -508
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +471 -471
- package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +297 -297
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +1 -1
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +115 -115
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +59 -13
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
- package/src/components/product/Function/InstallFunction.vue +10 -0
- package/src/components/product/Function/InstallInfoSelect.vue +4 -0
- package/src/components/product/Function/Service/FunctionServiceControl.vue +4 -4
- package/src/components/product/Install/InstallProject.vue +194 -194
- package/src/components/product/Material/MaterialDetailed.vue +12 -1
- package/src/components/product/OldApply/Handle/HandleApply.vue +3 -0
- package/src/components/product/OldApply/Monitor/MonitorApply.vue +3 -0
- package/src/components/product/OldApply/OldApply.vue +2 -2
- package/src/components/product/OldApply/OldApplyMessage.vue +411 -411
- package/src/components/product/Onetomany.vue +381 -381
- package/src/components/product/Order/OrderApply.vue +47 -47
- package/src/components/product/Order/OrderApplyList.vue +263 -263
- package/src/components/product/Order/OrderMessage.vue +237 -237
- package/src/components/product/Process/ExplorationSelect.vue +4 -0
- package/src/components/product/Process/ExplorationUser.vue +10 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +17 -3
- package/src/components/product/Process/Processes/Print/printBuildOrder.vue +8 -29
- package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
- package/src/components/product/Process/Processes/Print/printRefund.vue +1 -1
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +19 -3
- package/src/components/product/Process/Processes/chargeManagement.vue +1 -1
- package/src/components/product/Process/Processes/devicesManagement.vue +478 -478
- package/src/components/product/Process/Processes/selectApply.vue +250 -250
- package/src/components/product/Process/Processes/selectUserinfo.vue +182 -182
- package/src/components/product/Process/Processes/supplementalAgreement.vue +298 -298
- package/src/components/product/Process/Service/ServiceControl.vue +2 -1
- package/src/components/product/Process/ShowBackReason.vue +33 -33
- package/src/components/product/ServiceView.vue +1 -1
- package/src/components/product/Stop/StopApply.vue +101 -101
- package/src/components/product/Stop/StopApplyList.vue +271 -271
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +804 -804
- package/src/components/product/Supervisory/SupervisoryControl.vue +10 -0
- package/src/components/product/Supervisory/SupervisoryList.vue +4 -0
- package/src/components/product/Supervisory/SupervisoryhCart.vue +124 -124
- package/src/components/product/VueUtils/ApplyUpload.vue +262 -262
- package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -1090
- package/src/main.js +23 -23
- package/dist-android/index.html +0 -3
- package/dist-android/static/.gitkeep +0 -0
- package/dist-android/static/0.js +0 -2
- package/dist-android/static/0.js.map +0 -1
- package/dist-android/static/1.js +0 -2
- package/dist-android/static/1.js.map +0 -1
- package/dist-android/static/10.js +0 -2
- package/dist-android/static/10.js.map +0 -1
- package/dist-android/static/100.js +0 -2
- package/dist-android/static/100.js.map +0 -1
- package/dist-android/static/11.js +0 -2
- package/dist-android/static/11.js.map +0 -1
- package/dist-android/static/12.js +0 -2
- package/dist-android/static/12.js.map +0 -1
- package/dist-android/static/13.js +0 -2
- package/dist-android/static/13.js.map +0 -1
- package/dist-android/static/14.js +0 -2
- package/dist-android/static/14.js.map +0 -1
- package/dist-android/static/15.js +0 -2
- package/dist-android/static/15.js.map +0 -1
- package/dist-android/static/16.js +0 -2
- package/dist-android/static/16.js.map +0 -1
- package/dist-android/static/17.js +0 -2
- package/dist-android/static/17.js.map +0 -1
- package/dist-android/static/18.js +0 -2
- package/dist-android/static/18.js.map +0 -1
- package/dist-android/static/19.js +0 -2
- package/dist-android/static/19.js.map +0 -1
- package/dist-android/static/2.js +0 -2
- package/dist-android/static/2.js.map +0 -1
- package/dist-android/static/20.js +0 -2
- package/dist-android/static/20.js.map +0 -1
- package/dist-android/static/21.js +0 -2
- package/dist-android/static/21.js.map +0 -1
- package/dist-android/static/22.js +0 -2
- package/dist-android/static/22.js.map +0 -1
- package/dist-android/static/23.js +0 -2
- package/dist-android/static/23.js.map +0 -1
- package/dist-android/static/24.js +0 -2
- package/dist-android/static/24.js.map +0 -1
- package/dist-android/static/25.js +0 -2
- package/dist-android/static/25.js.map +0 -1
- package/dist-android/static/26.js +0 -2
- package/dist-android/static/26.js.map +0 -1
- package/dist-android/static/27.js +0 -2
- package/dist-android/static/27.js.map +0 -1
- package/dist-android/static/28.js +0 -2
- package/dist-android/static/28.js.map +0 -1
- package/dist-android/static/29.js +0 -2
- package/dist-android/static/29.js.map +0 -1
- package/dist-android/static/3.js +0 -2
- package/dist-android/static/3.js.map +0 -1
- package/dist-android/static/30.js +0 -2
- package/dist-android/static/30.js.map +0 -1
- package/dist-android/static/31.js +0 -2
- package/dist-android/static/31.js.map +0 -1
- package/dist-android/static/32.js +0 -2
- package/dist-android/static/32.js.map +0 -1
- package/dist-android/static/33.js +0 -2
- package/dist-android/static/33.js.map +0 -1
- package/dist-android/static/34.js +0 -2
- package/dist-android/static/34.js.map +0 -1
- package/dist-android/static/35.js +0 -2
- package/dist-android/static/35.js.map +0 -1
- package/dist-android/static/36.js +0 -2
- package/dist-android/static/36.js.map +0 -1
- package/dist-android/static/37.js +0 -2
- package/dist-android/static/37.js.map +0 -1
- package/dist-android/static/38.js +0 -2
- package/dist-android/static/38.js.map +0 -1
- package/dist-android/static/39.js +0 -2
- package/dist-android/static/39.js.map +0 -1
- package/dist-android/static/4.js +0 -2
- package/dist-android/static/4.js.map +0 -1
- package/dist-android/static/40.js +0 -2
- package/dist-android/static/40.js.map +0 -1
- package/dist-android/static/41.js +0 -2
- package/dist-android/static/41.js.map +0 -1
- package/dist-android/static/42.js +0 -2
- package/dist-android/static/42.js.map +0 -1
- package/dist-android/static/43.js +0 -2
- package/dist-android/static/43.js.map +0 -1
- package/dist-android/static/44.js +0 -2
- package/dist-android/static/44.js.map +0 -1
- package/dist-android/static/45.js +0 -2
- package/dist-android/static/45.js.map +0 -1
- package/dist-android/static/46.js +0 -2
- package/dist-android/static/46.js.map +0 -1
- package/dist-android/static/47.js +0 -2
- package/dist-android/static/47.js.map +0 -1
- package/dist-android/static/48.js +0 -2
- package/dist-android/static/48.js.map +0 -1
- package/dist-android/static/49.js +0 -2
- package/dist-android/static/49.js.map +0 -1
- package/dist-android/static/5.js +0 -2
- package/dist-android/static/5.js.map +0 -1
- package/dist-android/static/50.js +0 -2
- package/dist-android/static/50.js.map +0 -1
- package/dist-android/static/51.js +0 -2
- package/dist-android/static/51.js.map +0 -1
- package/dist-android/static/52.js +0 -2
- package/dist-android/static/52.js.map +0 -1
- package/dist-android/static/53.js +0 -2
- package/dist-android/static/53.js.map +0 -1
- package/dist-android/static/54.js +0 -2
- package/dist-android/static/54.js.map +0 -1
- package/dist-android/static/55.js +0 -2
- package/dist-android/static/55.js.map +0 -1
- package/dist-android/static/56.js +0 -2
- package/dist-android/static/56.js.map +0 -1
- package/dist-android/static/57.js +0 -2
- package/dist-android/static/57.js.map +0 -1
- package/dist-android/static/58.js +0 -2
- package/dist-android/static/58.js.map +0 -1
- package/dist-android/static/59.js +0 -2
- package/dist-android/static/59.js.map +0 -1
- package/dist-android/static/6.js +0 -2
- package/dist-android/static/6.js.map +0 -1
- package/dist-android/static/60.js +0 -2
- package/dist-android/static/60.js.map +0 -1
- package/dist-android/static/61.js +0 -2
- package/dist-android/static/61.js.map +0 -1
- package/dist-android/static/62.js +0 -2
- package/dist-android/static/62.js.map +0 -1
- package/dist-android/static/63.js +0 -2
- package/dist-android/static/63.js.map +0 -1
- package/dist-android/static/64.js +0 -2
- package/dist-android/static/64.js.map +0 -1
- package/dist-android/static/65.js +0 -2
- package/dist-android/static/65.js.map +0 -1
- package/dist-android/static/66.js +0 -2
- package/dist-android/static/66.js.map +0 -1
- package/dist-android/static/67.js +0 -2
- package/dist-android/static/67.js.map +0 -1
- package/dist-android/static/68.js +0 -2
- package/dist-android/static/68.js.map +0 -1
- package/dist-android/static/69.js +0 -2
- package/dist-android/static/69.js.map +0 -1
- package/dist-android/static/7.js +0 -6
- package/dist-android/static/7.js.map +0 -1
- package/dist-android/static/70.js +0 -2
- package/dist-android/static/70.js.map +0 -1
- package/dist-android/static/71.js +0 -2
- package/dist-android/static/71.js.map +0 -1
- package/dist-android/static/72.js +0 -2
- package/dist-android/static/72.js.map +0 -1
- package/dist-android/static/73.js +0 -2
- package/dist-android/static/73.js.map +0 -1
- package/dist-android/static/74.js +0 -2
- package/dist-android/static/74.js.map +0 -1
- package/dist-android/static/75.js +0 -2
- package/dist-android/static/75.js.map +0 -1
- package/dist-android/static/76.js +0 -2
- package/dist-android/static/76.js.map +0 -1
- package/dist-android/static/77.js +0 -2
- package/dist-android/static/77.js.map +0 -1
- package/dist-android/static/78.js +0 -2
- package/dist-android/static/78.js.map +0 -1
- package/dist-android/static/79.js +0 -2
- package/dist-android/static/79.js.map +0 -1
- package/dist-android/static/8.js +0 -2
- package/dist-android/static/8.js.map +0 -1
- package/dist-android/static/80.js +0 -2
- package/dist-android/static/80.js.map +0 -1
- package/dist-android/static/81.js +0 -2
- package/dist-android/static/81.js.map +0 -1
- package/dist-android/static/82.js +0 -2
- package/dist-android/static/82.js.map +0 -1
- package/dist-android/static/83.js +0 -2
- package/dist-android/static/83.js.map +0 -1
- package/dist-android/static/84.js +0 -2
- package/dist-android/static/84.js.map +0 -1
- package/dist-android/static/85.js +0 -2
- package/dist-android/static/85.js.map +0 -1
- package/dist-android/static/86.js +0 -2
- package/dist-android/static/86.js.map +0 -1
- package/dist-android/static/87.js +0 -2
- package/dist-android/static/87.js.map +0 -1
- package/dist-android/static/88.js +0 -2
- package/dist-android/static/88.js.map +0 -1
- package/dist-android/static/89.js +0 -2
- package/dist-android/static/89.js.map +0 -1
- package/dist-android/static/9.js +0 -3
- package/dist-android/static/9.js.map +0 -1
- package/dist-android/static/90.js +0 -2
- package/dist-android/static/90.js.map +0 -1
- package/dist-android/static/91.js +0 -2
- package/dist-android/static/91.js.map +0 -1
- package/dist-android/static/92.js +0 -2
- package/dist-android/static/92.js.map +0 -1
- package/dist-android/static/93.js +0 -2
- package/dist-android/static/93.js.map +0 -1
- package/dist-android/static/94.js +0 -2
- package/dist-android/static/94.js.map +0 -1
- package/dist-android/static/95.js +0 -2
- package/dist-android/static/95.js.map +0 -1
- package/dist-android/static/96.js +0 -2
- package/dist-android/static/96.js.map +0 -1
- package/dist-android/static/97.js +0 -2
- package/dist-android/static/97.js.map +0 -1
- package/dist-android/static/98.js +0 -2
- package/dist-android/static/98.js.map +0 -1
- package/dist-android/static/99.js +0 -2
- package/dist-android/static/99.js.map +0 -1
- package/dist-android/static/app.css +0 -2
- package/dist-android/static/app.css.map +0 -1
- package/dist-android/static/app.js +0 -80
- package/dist-android/static/app.js.map +0 -1
- package/dist-android/static/batchleft.png +0 -0
- package/dist-android/static/batchright.png +0 -0
- package/dist-android/static/bluemainbg.jpg +0 -0
- package/dist-android/static/config.json +0 -7
- package/dist-android/static/denglu.png +0 -0
- package/dist-android/static/glyphicons-halflings-regular.eot +0 -0
- package/dist-android/static/glyphicons-halflings-regular.svg +0 -288
- package/dist-android/static/glyphicons-halflings-regular.ttf +0 -0
- package/dist-android/static/glyphicons-halflings-regular.woff +0 -0
- package/dist-android/static/glyphicons-halflings-regular.woff2 +0 -0
- package/dist-android/static/huangtengbiaozhi.png +0 -0
- package/dist-android/static/jingyin.jpg +0 -0
- package/dist-android/static/login_bg.jpg +0 -0
- package/dist-android/static/login_title.png +0 -0
- package/dist-android/static/login_title1.png +0 -0
- package/dist-android/static/loginbg.jpg +0 -0
- package/dist-android/static/loginlogo.png +0 -0
- package/dist-android/static/main_logo.png +0 -0
- package/dist-android/static/mainbg.jpg +0 -0
- package/dist-android/static/menulogo.png +0 -0
- package/dist-android/static/newmainbg.jpg +0 -0
- package/dist-android/static/psicon.png +0 -0
- package/dist-android/static/singleleft.png +0 -0
- package/dist-android/static/singleright.png +0 -0
- package/dist-android/static/treeopen.png +0 -0
- package/dist-android/static/treeout.png +0 -0
- package/dist-android/static/treeset.png +0 -0
- package/dist-android/static/usericon.png +0 -0
- package/dist-android/static/workflow_apply.json +0 -766
- package/dist-android/static/xinxi.png +0 -0
- package/dist-android/static//344/277/256/346/224/271/345/257/206/347/240/201.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/257/274/350/210/252/347/253/226/345/261/2173.png +0 -0
- package/dist-android/static//345/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
- package/dist-android/static//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
- package/src/filiale/wuan/android.js +0 -0
- package/src/filiale/wuan/pc.js +0 -4
- package/src/filiale/yuchuan/android/AppServiceView.vue +0 -599
- package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +0 -414
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +0 -456
- package/src/filiale/yuchuan/android/Reserve/ApplyReserve.vue +0 -200
- package/src/filiale/yuchuan/android/SiteSurvey/TaskGraph.vue +0 -137
- package/src/filiale/yuchuan/android.js +0 -8
- package/src/filiale/yuchuan/pc/Order/OrderApply.vue +0 -517
- package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +0 -343
- package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +0 -356
- package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +0 -131
- package/src/filiale/yuchuan/pc/Process/Processes/MapCom.vue +0 -51
- package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +0 -517
- package/src/filiale/yuchuan/pc.js +0 -13
|
@@ -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>备  注</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>备  注</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>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
</div>
|
|
7
7
|
</div>
|
|
8
8
|
|
|
9
|
-
<modal :show.sync="showPrint" v-ref:modal :
|
|
9
|
+
<modal :show.sync="showPrint" v-ref:modal :backdrop="false" title="打印预览">
|
|
10
10
|
<header slot="modal-header" class="modal-header">
|
|
11
11
|
<button type="button" class="close" @click="showPrint = !showPrint"><span>×</span></button>
|
|
12
12
|
<h4 class="modal-title">打印预览</h4>
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<work-busy :is-busy="showWork" v-show="showWork"></work-busy>
|
|
3
|
+
|
|
2
4
|
<div class="col-sm-12" style="margin: 20px 0px;">
|
|
3
5
|
<criteria-paged :model="model" v-ref:cp>
|
|
4
6
|
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
@@ -117,7 +119,8 @@ export default {
|
|
|
117
119
|
f_filialeid: this.$login.f.orgid,
|
|
118
120
|
f_process_id: this.selectdata.f_process_id
|
|
119
121
|
}
|
|
120
|
-
})
|
|
122
|
+
}),
|
|
123
|
+
showWork: false
|
|
121
124
|
}
|
|
122
125
|
},
|
|
123
126
|
ready () {
|
|
@@ -132,6 +135,7 @@ export default {
|
|
|
132
135
|
},
|
|
133
136
|
// 关闭文件上传对话框
|
|
134
137
|
closeFile() {
|
|
138
|
+
this.showWork = false
|
|
135
139
|
this.showFile = false
|
|
136
140
|
// 将选的文件清空
|
|
137
141
|
this.$refs.file.$el.querySelector('input').value = ''
|
|
@@ -139,6 +143,9 @@ export default {
|
|
|
139
143
|
}
|
|
140
144
|
},
|
|
141
145
|
events: {
|
|
146
|
+
'beforeFileUpload' (file) {
|
|
147
|
+
this.showWork = true
|
|
148
|
+
},
|
|
142
149
|
async 'onFileUpload'(file, result) {
|
|
143
150
|
let data = {
|
|
144
151
|
selectdata: this.selectdata,
|
|
@@ -146,8 +153,17 @@ export default {
|
|
|
146
153
|
user: this.$login.f,
|
|
147
154
|
mark: this.mark
|
|
148
155
|
}
|
|
149
|
-
|
|
150
|
-
|
|
156
|
+
|
|
157
|
+
try {
|
|
158
|
+
let res = await this.$resetpost(`rs/logic/importAddressAndUserinfo`, {data: data}, {
|
|
159
|
+
resolveMsg: null,
|
|
160
|
+
rejectMsg: '导入失败!!!',
|
|
161
|
+
silent: true
|
|
162
|
+
}, 0)
|
|
163
|
+
} catch (e) {
|
|
164
|
+
this.closeFile()
|
|
165
|
+
}
|
|
166
|
+
|
|
151
167
|
}
|
|
152
168
|
},
|
|
153
169
|
computed: {
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
</modal>
|
|
289
289
|
</validator>
|
|
290
290
|
|
|
291
|
-
<modal v-if="showInvalid" :show.sync="showInvalid" v-ref:modal :
|
|
291
|
+
<modal v-if="showInvalid" :show.sync="showInvalid" v-ref:modal :backdrop="false" title="作废收费">
|
|
292
292
|
<header slot="modal-header" class="modal-header">
|
|
293
293
|
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
294
294
|
<h4 class="modal-title">作废收费</h4>
|