apply-clients 5.0.361 → 6.0.3

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 (192) hide show
  1. package/build/css-loaders.js +34 -0
  2. package/build/dev-android.js +101 -0
  3. package/build/dev-client.js +8 -0
  4. package/build/dev-server-app.js +76 -0
  5. package/build/dev-server.js +72 -0
  6. package/build/example-server.js +80 -0
  7. package/build/release.sh +28 -0
  8. package/build/utils.js +80 -0
  9. package/build/webpack.base.conf.js +83 -0
  10. package/build/webpack.baseandroid.conf.js +84 -0
  11. package/build/webpack.dev.conf.js +39 -0
  12. package/build/webpack.devandroid.conf.js +34 -0
  13. package/build/webpack.example.conf.js +49 -0
  14. package/build/webpack.prod.conf.js +60 -0
  15. package/build/webpack.prodandroid.conf.js +60 -0
  16. package/build/webpack.test.conf.js +31 -0
  17. package/dist-android/static/.gitkeep +0 -0
  18. package/dist-android/static/batchleft.png +0 -0
  19. package/dist-android/static/batchright.png +0 -0
  20. package/dist-android/static/bluemainbg.jpg +0 -0
  21. package/dist-android/static/huangtengbiaozhi.png +0 -0
  22. package/dist-android/static/login_bg.jpg +0 -0
  23. package/dist-android/static/login_title.png +0 -0
  24. package/dist-android/static/login_title1.png +0 -0
  25. package/dist-android/static/loginbg.jpg +0 -0
  26. package/dist-android/static/loginlogo.png +0 -0
  27. package/dist-android/static/main_logo.png +0 -0
  28. package/dist-android/static/mainbg.jpg +0 -0
  29. package/dist-android/static/menulogo.png +0 -0
  30. package/dist-android/static/newmainbg.jpg +0 -0
  31. package/dist-android/static/psicon.png +0 -0
  32. package/dist-android/static/singleleft.png +0 -0
  33. package/dist-android/static/singleright.png +0 -0
  34. package/dist-android/static/treeopen.png +0 -0
  35. package/dist-android/static/treeout.png +0 -0
  36. package/dist-android/static/treeset.png +0 -0
  37. package/dist-android/static/usericon.png +0 -0
  38. package/dist-android/static/xinxi.png +0 -0
  39. package/package.json +5 -10
  40. package/src/AndroidApp.vue +1 -1
  41. package/src/App.vue +0 -1
  42. package/src/apply.js +172 -104
  43. package/src/applyAndroid.js +0 -5
  44. package/src/assets/shipin1.mp4 +0 -0
  45. package/src/bootstrap/less/bootstrap.less +2 -1
  46. package/src/components/Hello.vue +39 -0
  47. package/src/components/Table.js +2 -2
  48. package/src/components/Test.vue +26 -0
  49. package/src/components/Util.js +6 -11
  50. package/src/components/app_apply/Acceptance.vue +2 -7
  51. package/src/components/app_apply/ApplyApp.vue +6 -16
  52. package/src/components/app_apply/ApplyInfo.vue +1 -1
  53. package/src/components/app_apply/ApplyListUpload.vue +3 -3
  54. package/src/components/app_apply/ApplyToDoList.vue +3 -3
  55. package/src/components/app_apply/ApplyUserInfo.vue +3 -2
  56. package/src/components/app_apply/FieldExploration.vue +1 -3
  57. package/src/components/app_apply/PlaceControler.vue +49 -38
  58. package/src/components/{product/VueUtils → apply/base}/rightview/InstallCardList2.vue +38 -29
  59. package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/ReduceFeeDetail2.vue +77 -77
  60. package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/StopApplyDetail2.vue +1 -1
  61. package/src/components/build/Install/ApplyChargeSearch.vue +210 -0
  62. package/src/components/build/Install/ExplorationSelect.vue +308 -0
  63. package/src/components/build/Install/ExplorationUser.vue +315 -0
  64. package/src/components/build/Install/InstallFee/AddContract.vue +257 -0
  65. package/src/components/build/Install/InstallFee/InstallFee.vue +929 -0
  66. package/src/components/build/Install/InstallFee/InstallFee2.vue +291 -0
  67. package/src/components/{product/Function/functions → build/Install/InstallFee}/InstallFeeInfo.vue +11 -42
  68. package/src/components/build/Install/InstallFee/InstallFunction.vue +242 -0
  69. package/src/components/build/Install/InstallFee/InstallInfoSelect.vue +232 -0
  70. package/src/components/{product/Process → build/Install}/ModifyUserFiles.vue +1 -1
  71. package/src/components/build/Install/Process/BuildJob.vue +242 -0
  72. package/src/components/build/Install/Process/ContratSigne.vue +283 -0
  73. package/src/components/build/Install/Process/CustomerEssentialInfo.vue +325 -0
  74. package/src/components/build/Install/Process/CustomerFile.vue +423 -0
  75. package/src/components/build/Install/Process/CustomerMaterialMessage.vue +414 -0
  76. package/src/components/build/Install/Process/CustomerRecordMessage.vue +749 -0
  77. package/src/components/build/Install/Process/DispatchingJob.vue +261 -0
  78. package/src/components/build/Install/Process/FeeNorme.vue +252 -0
  79. package/src/components/build/Install/Process/FeeNormeAndContratSigne.vue +376 -0
  80. package/src/components/build/Install/Process/FeeVerifier.vue +199 -0
  81. package/src/components/build/Install/Process/IgnitionVentilation.vue +232 -0
  82. package/src/components/build/Install/Process/MeterType.vue +379 -0
  83. package/src/components/build/Install/Process/PlaceControler.vue +304 -0
  84. package/src/components/build/Install/Process/ProjeterFigure.vue +211 -0
  85. package/src/components/build/Install/Process/ReceivingNote.vue +317 -0
  86. package/src/components/build/Install/Process/boneng/qbj_placecontroler.vue +370 -0
  87. package/src/components/build/Install/Process/zhongran/ZR_Construction.vue +388 -0
  88. package/src/components/build/Install/Process/zhongran/ZR_ContratSigne.vue +496 -0
  89. package/src/components/build/Install/Process/zhongran/ZR_CustomerEssentialInfo.vue +415 -0
  90. package/src/components/build/Install/Process/zhongran/ZR_DispatchingJob.vue +409 -0
  91. package/src/components/build/Install/Process/zhongran/ZR_FeeNorme.vue +342 -0
  92. package/src/components/build/Install/Process/zhongran/ZR_IgnitionVentilation.vue +253 -0
  93. package/src/components/build/Install/Process/zhongran/ZR_IgnitionVentilation_transfer.vue +198 -0
  94. package/src/components/build/Install/Process/zhongran/ZR_MaterialPlan.vue +259 -0
  95. package/src/components/build/Install/Process/zhongran/ZR_MaterialPlanExamine.vue +243 -0
  96. package/src/components/build/Install/Process/zhongran/ZR_PlaceControler.vue +426 -0
  97. package/src/components/build/Install/Process/zhongran/ZR_PlaceControler_print.vue +187 -0
  98. package/src/components/build/Install/Process/zhongran/ZR_ReceivingNote.vue +404 -0
  99. package/src/components/build/Install/Process/zhongran/ZR_ReceivingNote1.vue +301 -0
  100. package/src/components/build/Install/Process/zhongran/ZR_TestDesign.vue +441 -0
  101. package/src/components/build/Install/Process/zhongran/ZR_end.vue +20 -0
  102. package/src/components/build/Install/ProcessInfo/BasicInfo.vue +68 -0
  103. package/src/components/build/Install/ProcessInfo/BuildInfo.vue +110 -0
  104. package/src/components/build/Install/ProcessInfo/ContratProcessInfo.vue +116 -0
  105. package/src/components/build/Install/ProcessInfo/DispatchingInfo.vue +114 -0
  106. package/src/components/build/Install/ProcessInfo/FeeNormeInfo.vue +108 -0
  107. package/src/components/build/Install/ProcessInfo/FeeVerifierInfo.vue +102 -0
  108. package/src/components/build/Install/ProcessInfo/IgnitionInfo.vue +99 -0
  109. package/src/components/build/Install/ProcessInfo/MeterProcessInfo.vue +114 -0
  110. package/src/components/build/Install/ProcessInfo/PlaceProcessInfo.vue +115 -0
  111. package/src/components/build/Install/ProcessInfo/ProjeterProcessInfo.vue +107 -0
  112. package/src/components/build/Install/ProcessInfo/ReceivingInfo.vue +107 -0
  113. package/src/components/build/Install/ProcessInfo/zhongran/ZR_BasicInfo.vue +74 -0
  114. package/src/components/build/Install/ProcessInfo/zhongran/ZR_BuildInfo.vue +114 -0
  115. package/src/components/build/Install/ProcessInfo/zhongran/ZR_ContratProcessInfo.vue +114 -0
  116. package/src/components/build/Install/ProcessInfo/zhongran/ZR_DispatchingInfo.vue +119 -0
  117. package/src/components/build/Install/ProcessInfo/zhongran/ZR_FeeNormeInfo.vue +105 -0
  118. package/src/components/build/Install/ProcessInfo/zhongran/ZR_IgnitionInfo.vue +99 -0
  119. package/src/components/build/Install/ProcessInfo/zhongran/ZR_MaterialPlan_info.vue +104 -0
  120. package/src/components/build/Install/ProcessInfo/zhongran/ZR_PlaceProcessInfo.vue +109 -0
  121. package/src/components/build/Install/ProcessInfo/zhongran/ZR_ReceivingInfo.vue +102 -0
  122. package/src/components/build/Install/ProcessInfo/zhongran/ZR_ignition_transfer_info.vue +104 -0
  123. package/src/components/{product/Bill → build/Install/bill}/BillXSDMakeInfo.vue +1 -1
  124. package/src/components/build/Install/monitor/SupervisoryControl.vue +178 -0
  125. package/src/components/build/Install/monitor/SupervisoryList.vue +209 -0
  126. package/src/components/{product/Supervisory → build/Install/monitor}/SupervisoryhCart.vue +3 -29
  127. package/src/components/product/Process/Processes/Service/ServiceControl.vue +91 -1718
  128. package/src/main.js +2 -9
  129. package/src/stores/ApplyLoadParams.js +1 -1
  130. package/src/bootstrap/less/standard.less +0 -208
  131. package/src/components/app_apply/ServiceControl.vue +0 -442
  132. package/src/components/app_apply/ServiceView.vue +0 -356
  133. package/src/components/product/Common/ApplyValidateBill.vue +0 -55
  134. package/src/components/product/Common/PrintBill.vue +0 -120
  135. package/src/components/product/Function/InstallFunction.vue +0 -142
  136. package/src/components/product/Function/InstallInfoSelect.vue +0 -254
  137. package/src/components/product/Function/Service/FunctionServiceControl.vue +0 -328
  138. package/src/components/product/Function/functions/AddContract.vue +0 -301
  139. package/src/components/product/Function/functions/BuyerMessage.vue +0 -512
  140. package/src/components/product/Function/functions/InstallFee.vue +0 -919
  141. package/src/components/product/Function/functions/material_recording.vue +0 -237
  142. package/src/components/product/MaterialBatchList.vue +0 -109
  143. package/src/components/product/MaterialBatchManage.vue +0 -34
  144. package/src/components/product/Process/ExplorationSelect.vue +0 -636
  145. package/src/components/product/Process/ExplorationUser.vue +0 -131
  146. package/src/components/product/Process/MaterialUseList.vue +0 -159
  147. package/src/components/product/Process/ProcessInfo/history_control.vue +0 -134
  148. package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +0 -776
  149. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +0 -910
  150. package/src/components/product/Process/Processes/ProjectSettlement.vue +0 -383
  151. package/src/components/product/Process/Processes/ReceiveBatch.vue +0 -957
  152. package/src/components/product/Process/Processes/SendOrder.vue +0 -47
  153. package/src/components/product/Process/Processes/Service/ApplyAcceptBill.vue +0 -89
  154. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +0 -305
  155. package/src/components/product/Process/Processes/Service/GasStop.vue +0 -96
  156. package/src/components/product/Process/ShowBackReason.vue +0 -18
  157. package/src/components/product/ServiceView.vue +0 -800
  158. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +0 -407
  159. package/src/components/product/Supervisory/SupervisoryControl.vue +0 -130
  160. package/src/components/product/Supervisory/SupervisoryList.vue +0 -349
  161. package/src/components/product/stopInfo/ApplyStopInfo.vue +0 -280
  162. package/src/plugins/commonService.js +0 -229
  163. package/yarn.lock +0 -8072
  164. /package/src/components/{product/VueUtils → apply/base}/ToolsPage.vue +0 -0
  165. /package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/BuildFeeDetail2.vue +0 -0
  166. /package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/ChangeFeeDetail2.vue +0 -0
  167. /package/src/components/{product/Function/functions → build/Install/InstallFee}/AllSelect.vue +0 -0
  168. /package/src/components/{product/Function → build/Install/InstallFee}/InstallInfoDown.vue +0 -0
  169. /package/src/components/{product/Function/functions → build/Install/InstallFee}/PreparationFee.vue +0 -0
  170. /package/src/components/{product/Function/functions → build/Install/InstallFee}/PrestoreFee.vue +0 -0
  171. /package/src/components/{product/Function/functions → build/Install/InstallFee}/ReduceFee.vue +0 -0
  172. /package/src/components/{product/Function/functions → build/Install/InstallFee}/StopInstall.vue +0 -0
  173. /package/src/components/{product/Function/functions → build/Install/InstallFee}/UpdateFee.vue +0 -0
  174. /package/src/components/{product/Process/Processes → build/Install/Process}/CustomerBuildingMessage.vue +0 -0
  175. /package/src/components/{product/Process/Processes → build/Install/Process}/CustomerEquipmentMessage.vue +0 -0
  176. /package/src/components/{product/Function/functions → build/Install/ProcessInfo}/ApplyRecordCancel.vue +0 -0
  177. /package/src/components/{product/Bill → build/Install/bill}/BillGZK.vue +0 -0
  178. /package/src/components/{product/Bill → build/Install/bill}/BillGZKMakeInfo.vue +0 -0
  179. /package/src/components/{product/Bill → build/Install/bill}/BillGZKRecordInfo.vue +0 -0
  180. /package/src/components/{product/Bill → build/Install/bill}/BillJLB.vue +0 -0
  181. /package/src/components/{product/Bill → build/Install/bill}/BillJLBMakeInfo.vue +0 -0
  182. /package/src/components/{product/Bill → build/Install/bill}/BillJLBRecordInfo.vue +0 -0
  183. /package/src/components/{product/Bill → build/Install/bill}/BillKTK.vue +0 -0
  184. /package/src/components/{product/Bill → build/Install/bill}/BillKTKMakeInfo.vue +0 -0
  185. /package/src/components/{product/Bill → build/Install/bill}/BillKTKRecordInfo.vue +0 -0
  186. /package/src/components/{product/Bill → build/Install/bill}/BillQRK.vue +0 -0
  187. /package/src/components/{product/Bill → build/Install/bill}/BillQRKMakeInfo.vue +0 -0
  188. /package/src/components/{product/Bill → build/Install/bill}/BillQRKRecordInfo.vue +0 -0
  189. /package/src/components/{product/Bill → build/Install/bill}/BillSelect.vue +0 -0
  190. /package/src/components/{product/Bill → build/Install/bill}/BillXSD.vue +0 -0
  191. /package/src/components/{product/Bill → build/Install/bill}/BillXSDRecordInfo.vue +0 -0
  192. /package/src/components/{product/Supervisory → build/Install/monitor}/SupervisoryBaseInfo.vue +0 -0
@@ -1,237 +0,0 @@
1
- <template>
2
- <div class="col-sm-12 auto select-overspread">
3
- <div class="auto select-overspread">
4
- <div class="panel panel-info">
5
- <div class="panel-heading auto">
6
- <h3 class="panel-title">材料记录展示</h3>
7
- </div>
8
- </div>
9
- </div>
10
-
11
-
12
- <div class="col-sm-12 span recordTable " style="margin-top: 10px;min-height: 80px;max-height:200px;">
13
- <partial-view v-ref:single-load>
14
- <data-grid :model="model" v-ref:grid>
15
- <template partial='head'>
16
- <tr>
17
- <th>序号</th>
18
- <th>材料批次id</th>
19
- <th>分公司</th>
20
- <th>操作部门</th>
21
- <th>领料批次操作人</th>
22
- <th>导入时间</th>
23
- <!--<th >操作</th>-->
24
- </tr>
25
- </template>
26
- <template partial='body' >
27
- <td @click="$parent.$parent.$parent.showdetail(row.id,$index)">{{$index+1}}</td>
28
- <td @click="$parent.$parent.$parent.showdetail(row.id,$index)">{{row.f_batch_id}}</td>
29
- <td @click="$parent.$parent.$parent.showdetail(row.id,$index)">{{row.f_filiale}}</td>
30
- <td @click="$parent.$parent.$parent.showdetail(row.id,$index)">{{row.f_parentname}}</td>
31
- <td @click="$parent.$parent.$parent.showdetail(row.id,$index)">{{row.f_sheet_operator}}</td>
32
- <td @click="$parent.$parent.$parent.showdetail(row.id,$index)">{{row.f_batch_importdate}}</td>
33
-
34
-
35
- </template>
36
- </data-grid>
37
-
38
- </partial-view>
39
- </div>
40
-
41
-
42
-
43
- <div class="col-sm-12 span recordTable " style="margin-top: 10px;min-height: 100px;max-height:300px;" v-if="isShowdetail" >
44
- <p>材料清单
45
- <button type="button" class="close" @click="isShowdetail=false" aria-hidden="true">&times;</button>
46
- </p>
47
- <partial-view v-ref:single-load>
48
- <data-grid :model="detailModel" v-ref:batchgrid>
49
- <template partial='head'>
50
- <tr>
51
- <th>序号</th>
52
- <th>领取数量</th>
53
- <th>材料类型</th>
54
- <th>材料编码</th>
55
- <th>材料名称</th>
56
- <th>材料规格</th>
57
- <th>材料单位</th>
58
- <th>分公司</th>
59
- <th>操作部门</th>
60
- <th >领料明细操作人</th>
61
- <th >导入时间</th>
62
- </tr>
63
- </template>
64
- <template partial='body'style="min-height: 100px;max-height:200px;">
65
- <td>{{$index+1}}</td>
66
- <td>{{row.f_receipt_num}}</td>
67
- <td>{{row.f_batch_type}}</td>
68
- <td>{{row.f_batch_code}}</td>
69
- <td>{{row.f_batch_name}}</td>
70
- <td>{{row.f_batch_norms}}</td>
71
- <td>{{row.f_batch_company}}</td>
72
- <td>{{row.f_filiale}}</td>
73
- <td>{{row.f_parentname}}</td>
74
- <td>{{row.f_detail_operator}}</td>
75
- <td>{{row.f_batch_importdate}}</td>
76
- <!--<td><input type="text" class="form-control" :placeholder=row.f_surplus_num v-model="row.f_receive_num"/></td>-->
77
-
78
- </template>
79
- </data-grid>
80
-
81
- </partial-view>
82
- </div>
83
-
84
-
85
-
86
-
87
- <!--<div class="form-group col-sm-12">
88
- <div class="col-sm-6">
89
- <label class="control-label col-sm-4">分公司:</label>
90
- <div class="col-sm-8">
91
- <input class="form-control" type="text" v-model="model.f_filiale" disabled>
92
- </div>
93
- </div>
94
- <div class="col-sm-6">
95
- <label class="control-label col-sm-4">操作日期:</label>
96
- <div class="col-sm-8">
97
- <input class="form-control" type="text" v-model="model.f_payfee_date" disabled>
98
- </div>
99
- </div>
100
- </div>
101
- <div class="form-group col-sm-12">
102
- <div class="col-sm-6">
103
- <label class="control-label col-sm-4">部门:</label>
104
- <div class="col-sm-8">
105
- <input class="form-control" type="text" v-model="model.f_payfee_department" disabled>
106
- </div>
107
- </div>
108
- <div class="col-sm-6">
109
- <label class="control-label col-sm-4">操作人:</label>
110
- <div class="col-sm-8">
111
- <input class="form-control" type="text" v-model="model.f_payfee_operator" disabled>
112
- </div>
113
- </div>
114
- </div>
115
- -->
116
-
117
-
118
- <!-- <div class="from-group col-sm-12">
119
- <center>
120
- <button type="button" @click="goback()" class="btn btn-primary" style="width:80px; margin-left:50px;"
121
- :disabled="$v.invalid">
122
- 保存
123
- </button>
124
- <button type="button" @click="reset()" class="btn btn-warning" style="width:80px; margin-left:50px;">
125
- 撤销
126
- </button>
127
- </center>
128
- </div>-->
129
-
130
- </div>
131
- </template>
132
- <script>
133
- import {HttpResetClass} from 'vue-client'
134
- import InputAndSelect from "vue-client/src/vue-strap/src/InputAndSelect";
135
-
136
- let gen = function* (self, val) {
137
- val.f_actualfee_type = val.f_actualfee_type[0]
138
- val.f_bill_type = val.f_bill_type[0]
139
- yield self.$resetpost('rs/logic/saveentity', {data:{tablename:'t_apply',parameters:val}})
140
- delete val.id
141
- self.$resetpost('rs/logic/saveentity', {data:{tablename:'t_record',parameters:val}})
142
- .then(() => {
143
- self.reset()
144
- })
145
- }
146
- export default {
147
- components: {InputAndSelect},
148
- title: '报装收费',
149
- data() {
150
- return {
151
-
152
- model: {
153
- f_payfee_operator: '',//操作人
154
- f_payfee_department: '',//操作部门
155
- f_filiale: '',//分公司
156
- f_payfee_date: '',//操作日期
157
- rows: [] // 材料批次记录
158
- },
159
- detailModel:{
160
- rows:[]
161
- },
162
- isShowdetail:false
163
- }
164
- },
165
- props: ['infee'],
166
- ready() {
167
- this.load() // 初始化数据
168
- this.model.f_payfee_operator = this.$login.f.name
169
- this.model.f_payfee_department = this.$login.f.f_parentname
170
- this.model.f_filiale = this.$login.f.f_fengongsi
171
- this.model.f_payfee_date = this.$login.toStandardDateString()
172
-
173
- },
174
- methods: {
175
-
176
- async showdetail(val,index) {
177
- console.log(val)
178
- this.isShowdetail=true
179
- let http = new HttpResetClass()
180
-
181
- let data = {
182
- tablename: 't_receipt_detail',
183
- condition: `f_sheet_id = '${val}'`
184
- }
185
-
186
-
187
- console.log('即将获取材料明细记录数据')
188
- let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null, rejectMsg: '获取材料明细记录数据失败'})
189
- console.log('获取材料明细记录数据结果=>' + JSON.stringify(res.data))
190
- // 去除付款时间的时分秒
191
- for (var i = 0; i < res.data.length; i++) {
192
- res.data[i].f_batch_importdate = res.data[i].f_batch_importdate.substring(0, 11)
193
- }
194
- this.detailModel.rows = res.data
195
-
196
- },
197
-
198
-
199
-
200
- goback(){
201
- this.$dispatch('hiddenbtn')
202
- this.showview= false
203
- },
204
-
205
-
206
-
207
- reset() {
208
- this.$dispatch('close')
209
- this.$dispatch('selfsearch')
210
- },
211
-
212
-
213
- // 获取数据
214
- async load() {
215
- let http = new HttpResetClass()
216
-
217
-
218
-
219
-
220
- let data = {
221
- tablename: 't_receipt_sheet',
222
- condition: `f_apply_num = '${this.infee.f_apply_num}'`
223
- }
224
-
225
-
226
- console.log('即将获取材料批次记录数据')
227
- let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null, rejectMsg: '获取材料批次记录数据失败'})
228
- console.log('获取材料批次记录数据响应结果=>' + JSON.stringify(res.data))
229
- // 去除付款时间的时分秒
230
- for (var i = 0; i < res.data.length; i++) {
231
- res.data[i].f_batch_importdate = res.data[i].f_batch_importdate.substring(0, 11)
232
- }
233
- this.model.rows = res.data
234
- }
235
- }
236
- }
237
- </script>
@@ -1,109 +0,0 @@
1
- <template>
2
- <div>
3
-
4
- <div class="flex bg-white p-10 datapanel" style="height: 50%;overflow-y: scroll ">
5
- <div style="width: 100%;height: 50%;max-height: 50%" v-for="row in modeltwo.rows">
6
- <div style="width: 100%;height: 170px;border: solid 1px;margin:20px 20px " @click="jump(row.id)">
7
- <div style="width: 100%;font-weight: bold;height: 30px;background-color: #eaf4ff;text-align: center;font-size: 17px; ">
8
- 预算批次编号:{{row.id}}
9
- </div>
10
- <div class="a000">&nbsp;&nbsp;报建编号:{{row.f_apply_num}}</div> <br>
11
- <div class="a000">&nbsp;&nbsp;部门:{{row.f_parentname}}</div><br>
12
- <div class="a000">&nbsp;&nbsp;操作日期:{{row.f_batch_importdate}}</div><br>
13
- <div class="a000">&nbsp;&nbsp;状态:{{row.f_effective_state}}</div><br>
14
- </div>
15
- </div>
16
- <br>
17
-
18
- </div>
19
- <div style="flex: 1.5;height: 50%" class="flex bg-white p-10 datapanel" v-show="show" >
20
- <p class="bg-info text-center" style="padding: 8px;font-size: 20px">预算单详细
21
- </p>
22
- <div class="flex">
23
- <criteria-paged :model="model" :pager="false" v-ref:paged >
24
- <data-grid :model="model" v-ref:grid partial='list'>
25
- <template partial='head'>
26
- <tr>
27
- <th><nobr>序号</nobr></th>
28
- <th><nobr>材料名称</nobr></th>
29
- <th><nobr>数量</nobr></th>
30
- <th><nobr>单位</nobr></th>
31
- </tr>
32
- </template>
33
- <template partial='body'>
34
- <td style="text-align: center;">{{$index + 1}}</td>
35
- <td style="text-align: center;">{{row.f_batch_name}}</td>
36
- <td style="text-align: center;">{{row.f_surplus_num}}</td>
37
- <td style="text-align: center;">{{row.f_batch_company}}</td>
38
- </template>
39
- </data-grid>
40
- </criteria-paged>
41
- </div>
42
- </div>
43
- </div>
44
- </template>
45
-
46
- <script>
47
- import { PagedList } from 'vue-client'
48
- export default {
49
- 'title': '库存列表',
50
- data () {
51
- return {
52
-
53
-
54
- model: new PagedList('rs/sql/getMaterialXx', 999999, { orderitem: '`id`'}),
55
- modeltwo: new PagedList('rs/sql/getMaterialList', 999999, { orderitem: '`id`'}),
56
- f_operator: this.$login.f.name,
57
- f_filiale: this.$login.f.f_fengongsi,
58
- f_outlets: this.$login.f.f_parentname,
59
- f_orgstr:this.$login.f.orgpathstr,
60
- f_filialeids:this.$login.f.f_orgids,
61
- show:false
62
- }
63
- },
64
- async ready () {
65
- this.search()
66
- },
67
- methods: {
68
- async search () {
69
- let condition = ` f_filiale = '${this.$login.f.f_fengongsi}'`
70
- this.modeltwo.search(condition)
71
-
72
-
73
- },
74
- jump(val){
75
- let condition = ` f_batch_id = '${val}'`
76
- this.model.search(condition)
77
- this.show = true
78
- }
79
- },
80
- events: {
81
-
82
- },
83
- watch: {
84
-
85
- }
86
- }
87
- </script>
88
- <style>
89
- .datapanel {
90
- color: #333;
91
- background-color: white;
92
- padding: 10px 20px;
93
- border-radius:15px;
94
- }
95
- .a000 {
96
- width: 40%;
97
- height: 14px;
98
- margin:10px 5%;
99
- font-family: PingFang-SC-Medium;
100
- float: left;
101
- font-size: 15px;
102
- font-weight: normal;
103
- font-stretch: normal;
104
- line-height: 45px;
105
- text-align: center;
106
- letter-spacing: 0px;
107
- color: #333333;
108
- }
109
- </style>
@@ -1,34 +0,0 @@
1
- <template>
2
-
3
- <div class="col-sm-6">
4
- <budget-list v-ref:budgetlist></budget-list>
5
- </div>
6
-
7
- <div class="col-sm-6" >
8
- <material-batch-list v-ref:budgetlist></material-batch-list>
9
- </div>-->
10
-
11
- </template>
12
- <script>
13
-
14
- export default {
15
- title: '预算材料清单',
16
- name: 'MaterialBatchManage',
17
- data () {
18
- return {
19
-
20
- }
21
- },
22
- created () {
23
- },
24
- ready () {
25
- },
26
- methods: {
27
- },
28
- events: {
29
- }
30
- }
31
- </script>
32
- <style lang="less">
33
-
34
- </style>