telephone-clients 3.0.102 → 3.0.103

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 (39) hide show
  1. package/package.json +1 -1
  2. package/src/App.vue +56 -52
  3. package/src/components/MaterialsManage/MaterialsBase.vue +177 -177
  4. package/src/components/Util/RightTreeSafe.vue +346 -346
  5. package/src/components/pc/NewRepairPaper.vue +370 -370
  6. package/src/components/pc/SiteSend.vue +281 -281
  7. package/src/components/pc/WorkCenterList.vue +292 -292
  8. package/src/components/pc/WorkListAllNew.vue +700 -700
  9. package/src/components/temp/ChangemeterInfo.vue +87 -87
  10. package/src/components/temp/DeviceInfo.vue +82 -82
  11. package/src/components/workorder/FaultAll.vue +826 -826
  12. package/src/components/workorder/PhoneStandWork.vue +354 -354
  13. package/src/components/workorder/RepairOrderV.vue +1446 -1446
  14. package/src/filiale/furuike/pc/ComplainWork.vue +348 -348
  15. package/src/filiale/furuike/pc/Seekwork.vue +352 -352
  16. package/src/filiale/gongyi/android/RepairOrderV.vue +1415 -1415
  17. package/src/filiale/liaoyuan/android/RepairOrderV.vue +831 -831
  18. package/src/filiale/qianneng/android/FaultAll.vue +883 -883
  19. package/src/filiale/qianneng/android/MaterIialOne.vue +123 -123
  20. package/src/filiale/qianneng/android/RepairOrderV.vue +874 -874
  21. package/src/filiale/qianneng/android/chargesList.vue +161 -161
  22. package/src/filiale/qianneng/pc/NewRepairPaper.vue +467 -467
  23. package/src/filiale/qianneng/pc/RepairsWork.vue +982 -982
  24. package/src/filiale/qianneng/pc/WorkListAllNew.vue +701 -701
  25. package/src/filiale/shanxian/pc/WorkList.vue +823 -823
  26. package/src/filiale/shanxian/telephone.js +12 -12
  27. package/src/filiale/shexian/android/AddMyTask.vue +347 -0
  28. package/src/filiale/shexian/android/Outlay.vue +249 -249
  29. package/src/filiale/shexian/pc/WorkList.vue +740 -0
  30. package/src/filiale/shexian/telephone.js +18 -17
  31. package/src/filiale/shexian/telephoneAndroid.js +26 -23
  32. package/src/filiale/tongchuan/pc/UserWork.vue +805 -805
  33. package/src/filiale/wenxi/android/RepairOrderV.vue +1419 -1419
  34. package/src/filiale/wuan/android/RepairOrderV.vue +1384 -1384
  35. package/src/filiale/zhongsheng/android/RepairOrderV.vue +1430 -1430
  36. package/src/filiale/zhongsheng/pc/RepairsWork.vue +775 -775
  37. package/src/filiale/zhongsheng/telephone.js +23 -23
  38. package/src/main.js +1 -1
  39. package/yarn-error.log +7872 -0
@@ -1,161 +1,161 @@
1
- <template>
2
- <div id="tel-charges-list">
3
-
4
- <div class="list" v-show="changeModel">
5
- <div style="display: flex;justify-content: center;">
6
- <button type="button" name="button" class="btn btn-primary btn-sm fr btn-img-cl" @click="open()" style="margin: 5px ">
7
- 新增收费
8
- </button>
9
- </div>
10
- <div>
11
- <data-grid partial='list' v-ref:grid :model="model" class="list_area table_sy">
12
- <template partial='body'>
13
- <td style="text-align: center;">
14
- <nobr>{{ row.f_payment }}</nobr>
15
- </td>
16
- <td style="text-align: center;">
17
- <nobr>¥{{ row.f_collection }}</nobr>
18
- </td>
19
- <td style="text-align: center;">
20
- <nobr><button @click="$parent.$parent.getAllMaterial(row)">查看</button></nobr>
21
- </td>
22
- </template>
23
- </data-grid>
24
- </div>
25
- <div class="">
26
- <data-grid partial='list' v-ref:grid :model="material" class="list_area table_sy">
27
- <template partial='head'>
28
- <tr>
29
- <th>
30
- <nobr>品名规格</nobr>
31
- </th>
32
- <th>
33
- <nobr>型号</nobr>
34
- </th>
35
- <th>
36
- <nobr>单价</nobr>
37
- </th>
38
- <th>
39
- <nobr>数量</nobr>
40
- </th>
41
- </tr>
42
- </template>
43
- <template partial='body'>
44
- <td style="text-align: center;">
45
- <nobr>{{row.f_material_name }}</nobr>
46
- </td>
47
- <td style="text-align: center;">
48
- <nobr>{{ row.f_typenumber }}</nobr>
49
- </td>
50
- <td style="text-align: center;">
51
- <nobr>{{ row.f_material_price }}</nobr>
52
- </td>
53
- <td style="text-align: center;">
54
- <nobr>{{ row.f_material_number }}</nobr>
55
- </td>
56
- </template>
57
- </data-grid>
58
- </div>
59
- </div>
60
- <div class="material_service" v-show="!changeModel">
61
- <appinstallation-material v-if="!changeModel" :selectdata = "selectdata" @valueChange="change" @aftersave="aftersave()"></appinstallation-material>
62
- </div>
63
- </div>
64
- </template>
65
-
66
- <script>
67
- import Vue from 'vue'
68
- import {HttpResetClass} from 'vue-client'
69
- import QRCode from 'qrcodejs2'
70
- import {isEmpty} from '../../../components/Util'
71
- import AppInstallationMaterial from './AppInstallationMaterial'
72
- import FailureEdit from 'telephone-clients/src/filiale/qianneng/pc/FailureEdit'
73
- export default {
74
- title: '材料添加',
75
- props: {
76
- selectdata: {
77
- type: Object
78
- }
79
- },
80
- data() {
81
- return {
82
- model:{rows:[]},
83
- material:{rows:[]},
84
- showmaterial:false,
85
- changeModel:true
86
- }
87
- },
88
- ready() {
89
- this.getAllOthercharge()
90
- // this.getmaterial()
91
- // this.getmaterialTYPE()
92
-
93
- },
94
- methods: {
95
- open(){
96
- this.changeModel=false
97
- },
98
- aftersave(){
99
- this.getAllOthercharge()
100
- this.changeModel=true
101
- },
102
- getAllOthercharge(){
103
- new HttpResetClass().load('POST',this.$androidUtil.getProxyUrl() +`/rs/sql/tel_singleTable_OrderBy?pageNo=1&pageSize=10`, {data: {
104
- items: '*',
105
- tablename: 't_othercharge',
106
- condition: ` f_voucher_number='${this.selectdata.f_process_id}' and f_state='有效'`,
107
- orderitem: 'id desc'
108
- }},{resolveMsg:null,rejectMsg:null}).then(res=>{
109
- console.log(res)
110
- this.model.rows=res.data
111
- }).catch((e)=>{
112
- console.log("933",e)
113
- })
114
- },
115
- getAllMaterial(row){
116
- new HttpResetClass().load('POST',this.$androidUtil.getProxyUrl() +`/rs/sql/tel_singleTable_OrderBy?pageNo=1&pageSize=100`, {data: {
117
- items: '*',
118
- tablename: 't_material_service',
119
- condition: ` f_othercharge_id='${row.id}'`,
120
- orderitem: 'id desc'
121
- }},{resolveMsg:null,rejectMsg:null}).then(res=>{
122
- console.log(res)
123
- this.material.rows=res.data
124
- }).catch((e)=>{
125
- console.log("933",e)
126
- })
127
- },
128
- },
129
- events: {},
130
- computed: {},
131
- watch: {},
132
- components: {
133
- 'appinstallation-material': AppInstallationMaterial
134
- }
135
- }
136
- </script>
137
- <style lang="less" scoped>
138
- .head-but {
139
- margin-left: 5px;
140
- height: 34px;
141
- /*background-color: #6aa6e2;*/
142
- border-radius: 4px;
143
- font-family: PingFang;
144
- color: #ffffff;
145
- }
146
-
147
- /*清除model中的浮动*/
148
- .clearfix:after, .clearfix:before {
149
- display: table;
150
- }
151
-
152
- .clearfix:after {
153
- clear: both;
154
- }
155
- #tel-charges-list{
156
- .list{
157
- display: flex;
158
- flex-direction: column;
159
- }
160
- }
161
- </style>
1
+ <template>
2
+ <div id="tel-charges-list">
3
+
4
+ <div class="list" v-show="changeModel">
5
+ <div style="display: flex;justify-content: center;">
6
+ <button type="button" name="button" class="btn btn-primary btn-sm fr btn-img-cl" @click="open()" style="margin: 5px ">
7
+ 新增收费
8
+ </button>
9
+ </div>
10
+ <div>
11
+ <data-grid partial='list' v-ref:grid :model="model" class="list_area table_sy">
12
+ <template partial='body'>
13
+ <td style="text-align: center;">
14
+ <nobr>{{ row.f_payment }}</nobr>
15
+ </td>
16
+ <td style="text-align: center;">
17
+ <nobr>¥{{ row.f_collection }}</nobr>
18
+ </td>
19
+ <td style="text-align: center;">
20
+ <nobr><button @click="$parent.$parent.getAllMaterial(row)">查看</button></nobr>
21
+ </td>
22
+ </template>
23
+ </data-grid>
24
+ </div>
25
+ <div class="">
26
+ <data-grid partial='list' v-ref:grid :model="material" class="list_area table_sy">
27
+ <template partial='head'>
28
+ <tr>
29
+ <th>
30
+ <nobr>品名规格</nobr>
31
+ </th>
32
+ <th>
33
+ <nobr>型号</nobr>
34
+ </th>
35
+ <th>
36
+ <nobr>单价</nobr>
37
+ </th>
38
+ <th>
39
+ <nobr>数量</nobr>
40
+ </th>
41
+ </tr>
42
+ </template>
43
+ <template partial='body'>
44
+ <td style="text-align: center;">
45
+ <nobr>{{row.f_material_name }}</nobr>
46
+ </td>
47
+ <td style="text-align: center;">
48
+ <nobr>{{ row.f_typenumber }}</nobr>
49
+ </td>
50
+ <td style="text-align: center;">
51
+ <nobr>{{ row.f_material_price }}</nobr>
52
+ </td>
53
+ <td style="text-align: center;">
54
+ <nobr>{{ row.f_material_number }}</nobr>
55
+ </td>
56
+ </template>
57
+ </data-grid>
58
+ </div>
59
+ </div>
60
+ <div class="material_service" v-show="!changeModel">
61
+ <appinstallation-material v-if="!changeModel" :selectdata = "selectdata" @valueChange="change" @aftersave="aftersave()"></appinstallation-material>
62
+ </div>
63
+ </div>
64
+ </template>
65
+
66
+ <script>
67
+ import Vue from 'vue'
68
+ import {HttpResetClass} from 'vue-client'
69
+ import QRCode from 'qrcodejs2'
70
+ import {isEmpty} from '../../../components/Util'
71
+ import AppInstallationMaterial from './AppInstallationMaterial'
72
+ import FailureEdit from 'telephone-clients/src/filiale/qianneng/pc/FailureEdit'
73
+ export default {
74
+ title: '材料添加',
75
+ props: {
76
+ selectdata: {
77
+ type: Object
78
+ }
79
+ },
80
+ data() {
81
+ return {
82
+ model:{rows:[]},
83
+ material:{rows:[]},
84
+ showmaterial:false,
85
+ changeModel:true
86
+ }
87
+ },
88
+ ready() {
89
+ this.getAllOthercharge()
90
+ // this.getmaterial()
91
+ // this.getmaterialTYPE()
92
+
93
+ },
94
+ methods: {
95
+ open(){
96
+ this.changeModel=false
97
+ },
98
+ aftersave(){
99
+ this.getAllOthercharge()
100
+ this.changeModel=true
101
+ },
102
+ getAllOthercharge(){
103
+ new HttpResetClass().load('POST',this.$androidUtil.getProxyUrl() +`/rs/sql/tel_singleTable_OrderBy?pageNo=1&pageSize=10`, {data: {
104
+ items: '*',
105
+ tablename: 't_othercharge',
106
+ condition: ` f_voucher_number='${this.selectdata.f_process_id}' and f_state='有效'`,
107
+ orderitem: 'id desc'
108
+ }},{resolveMsg:null,rejectMsg:null}).then(res=>{
109
+ console.log(res)
110
+ this.model.rows=res.data
111
+ }).catch((e)=>{
112
+ console.log("933",e)
113
+ })
114
+ },
115
+ getAllMaterial(row){
116
+ new HttpResetClass().load('POST',this.$androidUtil.getProxyUrl() +`/rs/sql/tel_singleTable_OrderBy?pageNo=1&pageSize=100`, {data: {
117
+ items: '*',
118
+ tablename: 't_material_service',
119
+ condition: ` f_othercharge_id='${row.id}'`,
120
+ orderitem: 'id desc'
121
+ }},{resolveMsg:null,rejectMsg:null}).then(res=>{
122
+ console.log(res)
123
+ this.material.rows=res.data
124
+ }).catch((e)=>{
125
+ console.log("933",e)
126
+ })
127
+ },
128
+ },
129
+ events: {},
130
+ computed: {},
131
+ watch: {},
132
+ components: {
133
+ 'appinstallation-material': AppInstallationMaterial
134
+ }
135
+ }
136
+ </script>
137
+ <style lang="less" scoped>
138
+ .head-but {
139
+ margin-left: 5px;
140
+ height: 34px;
141
+ /*background-color: #6aa6e2;*/
142
+ border-radius: 4px;
143
+ font-family: PingFang;
144
+ color: #ffffff;
145
+ }
146
+
147
+ /*清除model中的浮动*/
148
+ .clearfix:after, .clearfix:before {
149
+ display: table;
150
+ }
151
+
152
+ .clearfix:after {
153
+ clear: both;
154
+ }
155
+ #tel-charges-list{
156
+ .list{
157
+ display: flex;
158
+ flex-direction: column;
159
+ }
160
+ }
161
+ </style>