|
@@ -0,0 +1,641 @@
|
|
1
|
+<template>
|
|
2
|
+ <view class="Scanning_Result">
|
|
3
|
+ <view class="Scanning_top">
|
|
4
|
+ <view class="Scanning_top_icon">
|
|
5
|
+ 医废出库
|
|
6
|
+ </view>
|
|
7
|
+ <view class="Scanning_top_text">
|
|
8
|
+ 请确认填写以下医废信息,进行核对
|
|
9
|
+ </view>
|
|
10
|
+ </view>
|
|
11
|
+
|
|
12
|
+ <scroll-view scroll-y class="Scanning_cont">
|
|
13
|
+ <view class="Scanning_cont_list">
|
|
14
|
+ <view class="Scanning_cont_list_head">
|
|
15
|
+ <view class="Scanning_cont_list_title">运输内容</view>
|
|
16
|
+ </view>
|
|
17
|
+ <view class="Scanning_cont_list_body1">
|
|
18
|
+ <view class="Scanning_cont_list_body1_item" v-for="item in wastList" :key="item.id">
|
|
19
|
+ <view class="column1">{{item.name}}</view>
|
|
20
|
+ <view class="column2">{{item.wasteWeight}}kg</view>
|
|
21
|
+ <view class="column3">{{item.wasteCount}}袋</view>
|
|
22
|
+ </view>
|
|
23
|
+ <view class="Scanning_cont_list_body1_item">
|
|
24
|
+ <view class="column1">总计</view>
|
|
25
|
+ <view class="column2">{{wasteWeightTotal}}kg</view>
|
|
26
|
+ <view class="column3">{{wasteCountTotal}}袋</view>
|
|
27
|
+ </view>
|
|
28
|
+ <view class="Scanning_cont_list_body1_item" v-for="(item, index) in storageUnits" :key="index">
|
|
29
|
+ <view class="Scanning_cont_list_title">
|
|
30
|
+ {{item}}装数量:
|
|
31
|
+ </view>
|
|
32
|
+ <view class="Scanning_cont_list_desc" v-if="item == '箱'">
|
|
33
|
+ <input class="numInput" type="digit" v-model="totalBox" @blur="blurItem(item)" />{{item}}
|
|
34
|
+ </view>
|
|
35
|
+ <view class="Scanning_cont_list_desc" v-else-if="item == '桶'">
|
|
36
|
+ <input class="numInput" type="digit" v-model="totalBucket" @blur="blurItem(item)" />{{item}}
|
|
37
|
+ </view>
|
|
38
|
+ </view>
|
|
39
|
+ <view class="Scanning_cont_list_body1_item">
|
|
40
|
+ <view class="Scanning_cont_list_title">
|
|
41
|
+ 凭证编号:
|
|
42
|
+ </view>
|
|
43
|
+ <view class="Scanning_cont_list_desc">
|
|
44
|
+ <input class="textInput" v-model="credentialsNumber" placeholder="请输入凭证编号" />
|
|
45
|
+ </view>
|
|
46
|
+ </view>
|
|
47
|
+ </view>
|
|
48
|
+ </view>
|
|
49
|
+
|
|
50
|
+ <view class="Scanning_cont_list">
|
|
51
|
+ <view class="Scanning_cont_list_head">
|
|
52
|
+ <view class="Scanning_cont_list_title">运输信息</view>
|
|
53
|
+ </view>
|
|
54
|
+ <view class="Scanning_cont_list_body2">
|
|
55
|
+ <view class="Scanning_cont_list_body2_item">
|
|
56
|
+ <view class="Scanning_cont_list_title">
|
|
57
|
+ 运输单位:
|
|
58
|
+ </view>
|
|
59
|
+ <view class="Scanning_cont_list_desc">
|
|
60
|
+ <picker @change="bindTransCompany" :value="transCompanyIndex" :range="transCompanyList" range-key="name">
|
|
61
|
+ <view class="typeInput">{{transCompanyList[transCompanyIndex] ? transCompanyList[transCompanyIndex].name : ''}}</view>
|
|
62
|
+ <text class="newicon newicon-xiala1"></text>
|
|
63
|
+ </picker>
|
|
64
|
+ </view>
|
|
65
|
+ </view>
|
|
66
|
+
|
|
67
|
+ <view class="Scanning_cont_list_body2_item">
|
|
68
|
+ <view class="Scanning_cont_list_title">
|
|
69
|
+ 联系电话:
|
|
70
|
+ </view>
|
|
71
|
+ <view class="Scanning_cont_list_desc">
|
|
72
|
+ {{mphone}}
|
|
73
|
+ </view>
|
|
74
|
+ </view>
|
|
75
|
+
|
|
76
|
+ <view class="Scanning_cont_list_body2_item">
|
|
77
|
+ <view class="Scanning_cont_list_title">
|
|
78
|
+ 运营证件号:
|
|
79
|
+ </view>
|
|
80
|
+ <view class="Scanning_cont_list_desc">
|
|
81
|
+ {{businessCode}}
|
|
82
|
+ </view>
|
|
83
|
+ </view>
|
|
84
|
+
|
|
85
|
+ <view class="Scanning_cont_list_body2_item" v-if="address">
|
|
86
|
+ <view class="Scanning_cont_list_title">
|
|
87
|
+ 单位地址:
|
|
88
|
+ </view>
|
|
89
|
+ <view class="Scanning_cont_list_desc">
|
|
90
|
+ {{address}}
|
|
91
|
+ </view>
|
|
92
|
+ </view>
|
|
93
|
+ <view class="Scanning_cont_list_body2_item">
|
|
94
|
+ <view class="Scanning_cont_list_title">
|
|
95
|
+ 司机信息:
|
|
96
|
+ </view>
|
|
97
|
+ <view class="Scanning_cont_list_desc">
|
|
98
|
+ <picker @change="bindLaborer" :value="laborerIndex" :range="laborerList" range-key="name">
|
|
99
|
+ <view class="typeInput">{{laborerList[laborerIndex] ? laborerList[laborerIndex].name : ''}}</view>
|
|
100
|
+ <text class="newicon newicon-xiala1"></text>
|
|
101
|
+ </picker>
|
|
102
|
+ </view>
|
|
103
|
+ </view>
|
|
104
|
+ <view class="Scanning_cont_list_body2_item">
|
|
105
|
+ <view class="Scanning_cont_list_title">
|
|
106
|
+ 联系电话:
|
|
107
|
+ </view>
|
|
108
|
+ <view class="Scanning_cont_list_desc">
|
|
109
|
+ {{laborerList[laborerIndex].mphone}}
|
|
110
|
+ </view>
|
|
111
|
+ </view>
|
|
112
|
+ <view class="Scanning_cont_list_body2_item">
|
|
113
|
+ <view class="Scanning_cont_list_title">
|
|
114
|
+ 车牌号码:
|
|
115
|
+ </view>
|
|
116
|
+ <view class="Scanning_cont_list_desc">
|
|
117
|
+ <picker @change="bindCarNo" :value="carNoIndex" :range="carNoList" range-key="name">
|
|
118
|
+ <view class="typeInput">{{carNoList[carNoIndex] ? carNoList[carNoIndex].name : ''}}</view>
|
|
119
|
+ <text class="newicon newicon-xiala1"></text>
|
|
120
|
+ </picker>
|
|
121
|
+ </view>
|
|
122
|
+ </view>
|
|
123
|
+ </view>
|
|
124
|
+ </view>
|
|
125
|
+
|
|
126
|
+ <view class="Scanning_cont_list">
|
|
127
|
+ <view class="Scanning_cont_list_head">
|
|
128
|
+ <view class="Scanning_cont_list_title">接收单位</view>
|
|
129
|
+ </view>
|
|
130
|
+ <view class="Scanning_cont_list_body2">
|
|
131
|
+ <view class="Scanning_cont_list_body2_item">
|
|
132
|
+ <view class="Scanning_cont_list_title">
|
|
133
|
+ 接收公司:
|
|
134
|
+ </view>
|
|
135
|
+ <view class="Scanning_cont_list_desc">
|
|
136
|
+ <picker @change="bindReceiveCompany" :value="receiveCompanyIndex" :range="receiveCompanyList" range-key="name">
|
|
137
|
+ <view class="typeInput">{{receiveCompanyList[receiveCompanyIndex] ? receiveCompanyList[receiveCompanyIndex].name : ''}}</view>
|
|
138
|
+ <text class="newicon newicon-xiala1"></text>
|
|
139
|
+ </picker>
|
|
140
|
+ </view>
|
|
141
|
+ </view>
|
|
142
|
+
|
|
143
|
+ <view class="Scanning_cont_list_body2_item">
|
|
144
|
+ <view class="Scanning_cont_list_title">
|
|
145
|
+ 许可证编号:
|
|
146
|
+ </view>
|
|
147
|
+ <view class="Scanning_cont_list_desc">
|
|
148
|
+ {{businessCode2}}
|
|
149
|
+ </view>
|
|
150
|
+ </view>
|
|
151
|
+ <view class="Scanning_cont_list_body2_item" v-if="address2">
|
|
152
|
+ <view class="Scanning_cont_list_title">
|
|
153
|
+ 单位地址:
|
|
154
|
+ </view>
|
|
155
|
+ <view class="Scanning_cont_list_desc">
|
|
156
|
+ {{address2}}
|
|
157
|
+ </view>
|
|
158
|
+ </view>
|
|
159
|
+ </view>
|
|
160
|
+ </view>
|
|
161
|
+ </scroll-view>
|
|
162
|
+
|
|
163
|
+ <view class="foot_btn">
|
|
164
|
+ <view class="btn" @click="goBack()"> 取消 </view>
|
|
165
|
+ <view class="btn" @click="submitOk()"> 确定 </view>
|
|
166
|
+ </view>
|
|
167
|
+ <!-- 弹窗 -->
|
|
168
|
+ <showModel :title="models1.title" :icon="models1.icon" :disjunctor="models1.disjunctor" :content="models1.content"
|
|
169
|
+ @ok="ok1" @cancel="cancel1" :operate="models1.operate"></showModel>
|
|
170
|
+ </view>
|
|
171
|
+</template>
|
|
172
|
+<script>
|
|
173
|
+ import {
|
|
174
|
+ get,
|
|
175
|
+ post,
|
|
176
|
+ SM,
|
|
177
|
+ webHandle
|
|
178
|
+ } from "../../../http/http.js";
|
|
179
|
+ import Big from 'big.js';
|
|
180
|
+ export default {
|
|
181
|
+ data() {
|
|
182
|
+ return {
|
|
183
|
+ laborerIndex: 0,
|
|
184
|
+ laborerList: [{id: 0, name: '请选择司机信息'}],
|
|
185
|
+ carNoIndex: 0,
|
|
186
|
+ carNoList: [{id: 0, name: '请选择车牌号码'}],
|
|
187
|
+ mphone: '',
|
|
188
|
+ businessCode: '',
|
|
189
|
+ businessCode2: '',
|
|
190
|
+ address: '',
|
|
191
|
+ address2: '',
|
|
192
|
+ transCompanyIndex: 0,
|
|
193
|
+ transCompanyList: [],
|
|
194
|
+ receiveCompanyIndex: 0,
|
|
195
|
+ receiveCompanyList: [],
|
|
196
|
+ credentialsNumber: '',
|
|
197
|
+ totalBox: 0,//箱
|
|
198
|
+ totalBucket: 0,//桶
|
|
199
|
+ wasteWeightTotal: 0,
|
|
200
|
+ wasteCountTotal: 0,
|
|
201
|
+ storageUnits: [],
|
|
202
|
+ wastList: [],
|
|
203
|
+ hosId: uni.getStorageSync('userData').user.currentHospital.id,
|
|
204
|
+ queryObj: {}, //路由传递过来的数据
|
|
205
|
+ // 弹窗model
|
|
206
|
+ models1: {
|
|
207
|
+ disjunctor: false,
|
|
208
|
+ },
|
|
209
|
+ };
|
|
210
|
+ },
|
|
211
|
+ methods: {
|
|
212
|
+ submitOk(){
|
|
213
|
+ if(this.transCompanyIndex == 0){
|
|
214
|
+ uni.showModal({
|
|
215
|
+ title: "提示",
|
|
216
|
+ content: "请选择运输单位!",
|
|
217
|
+ showCancel: false,
|
|
218
|
+ success: function(res) {
|
|
219
|
+ if (res.confirm) {
|
|
220
|
+ console.log("用户点击确定");
|
|
221
|
+ } else if (res.cancel) {
|
|
222
|
+ console.log("用户点击取消");
|
|
223
|
+ }
|
|
224
|
+ },
|
|
225
|
+ });
|
|
226
|
+ return;
|
|
227
|
+ }
|
|
228
|
+ if(this.laborerIndex == 0){
|
|
229
|
+ uni.showModal({
|
|
230
|
+ title: "提示",
|
|
231
|
+ content: "请选择司机信息!",
|
|
232
|
+ showCancel: false,
|
|
233
|
+ success: function(res) {
|
|
234
|
+ if (res.confirm) {
|
|
235
|
+ console.log("用户点击确定");
|
|
236
|
+ } else if (res.cancel) {
|
|
237
|
+ console.log("用户点击取消");
|
|
238
|
+ }
|
|
239
|
+ },
|
|
240
|
+ });
|
|
241
|
+ return;
|
|
242
|
+ }
|
|
243
|
+ if(this.carNoIndex == 0){
|
|
244
|
+ uni.showModal({
|
|
245
|
+ title: "提示",
|
|
246
|
+ content: "请选择车牌号码!",
|
|
247
|
+ showCancel: false,
|
|
248
|
+ success: function(res) {
|
|
249
|
+ if (res.confirm) {
|
|
250
|
+ console.log("用户点击确定");
|
|
251
|
+ } else if (res.cancel) {
|
|
252
|
+ console.log("用户点击取消");
|
|
253
|
+ }
|
|
254
|
+ },
|
|
255
|
+ });
|
|
256
|
+ return;
|
|
257
|
+ }
|
|
258
|
+ if(this.receiveCompanyIndex == 0){
|
|
259
|
+ uni.showModal({
|
|
260
|
+ title: "提示",
|
|
261
|
+ content: "请选择接收单位!",
|
|
262
|
+ showCancel: false,
|
|
263
|
+ success: function(res) {
|
|
264
|
+ if (res.confirm) {
|
|
265
|
+ console.log("用户点击确定");
|
|
266
|
+ } else if (res.cancel) {
|
|
267
|
+ console.log("用户点击取消");
|
|
268
|
+ }
|
|
269
|
+ },
|
|
270
|
+ });
|
|
271
|
+ return;
|
|
272
|
+ }
|
|
273
|
+ this.showModel1()
|
|
274
|
+ },
|
|
275
|
+ goBack(){
|
|
276
|
+ uni.navigateBack();
|
|
277
|
+ },
|
|
278
|
+ //确定
|
|
279
|
+ ok1() {
|
|
280
|
+ this.models1.disjunctor = false;
|
|
281
|
+ uni.showLoading({
|
|
282
|
+ title: "加载中",
|
|
283
|
+ mask: true,
|
|
284
|
+ });
|
|
285
|
+ post("/medicalWaste/complete", {
|
|
286
|
+ wasteOutInfo:{
|
|
287
|
+ credentialsNumber: this.credentialsNumber,
|
|
288
|
+ totalBox: +this.totalBox,
|
|
289
|
+ totalBucket: +this.totalBucket,
|
|
290
|
+ transportCompany: this.transCompanyList[this.transCompanyIndex],
|
|
291
|
+ receptionCompany: this.receiveCompanyList[this.receiveCompanyIndex],
|
|
292
|
+ hosId: this.hosId,
|
|
293
|
+ driver: this.laborerList[this.laborerIndex],
|
|
294
|
+ carNo: this.carNoList[this.carNoIndex].name,
|
|
295
|
+ }
|
|
296
|
+ }).then((res) => {
|
|
297
|
+ uni.hideLoading();
|
|
298
|
+ if (res.status == 200) {
|
|
299
|
+ uni.showModal({
|
|
300
|
+ title: "提示",
|
|
301
|
+ content: "操作成功",
|
|
302
|
+ showCancel: false,
|
|
303
|
+ success: (result) => {
|
|
304
|
+ if (result.confirm) {
|
|
305
|
+ console.log("用户点击确定");
|
|
306
|
+ uni.navigateTo({
|
|
307
|
+ url: `/pages/receiptpage/receiptpage`,
|
|
308
|
+ });
|
|
309
|
+ }
|
|
310
|
+ },
|
|
311
|
+ });
|
|
312
|
+ }else{
|
|
313
|
+ uni.showToast({
|
|
314
|
+ icon: "none",
|
|
315
|
+ title: res.msg || "接口获取数据失败!",
|
|
316
|
+ });
|
|
317
|
+ }
|
|
318
|
+ });
|
|
319
|
+ },
|
|
320
|
+ //取消
|
|
321
|
+ cancel1() {
|
|
322
|
+ this.models1.disjunctor = false;
|
|
323
|
+ },
|
|
324
|
+ // 被服回收弹窗
|
|
325
|
+ showModel1() {
|
|
326
|
+ this.models1 = {
|
|
327
|
+ disjunctor: true,
|
|
328
|
+ title: "提示",
|
|
329
|
+ content: `您确认要出库吗?`,
|
|
330
|
+ icon: "warn",
|
|
331
|
+ operate: {
|
|
332
|
+ ok: "确定",
|
|
333
|
+ cancel: "取消",
|
|
334
|
+ },
|
|
335
|
+ };
|
|
336
|
+ },
|
|
337
|
+ getCompanyTransType(){
|
|
338
|
+ post("/common/common/getDictionary", {
|
|
339
|
+ key: 'company_trans_type',
|
|
340
|
+ type: 'list',
|
|
341
|
+ }).then((result) => {
|
|
342
|
+ let company_trans_types = result || [];
|
|
343
|
+ let transCompany = company_trans_types.find(v => v.value == 1);//运输单位
|
|
344
|
+ let receiveCompany = company_trans_types.find(v => v.value == 2);//接收单位
|
|
345
|
+ transCompany && this.getCompany(transCompany);
|
|
346
|
+ receiveCompany && this.getCompany(receiveCompany);
|
|
347
|
+ });
|
|
348
|
+ },
|
|
349
|
+ getCompany(dictionary){
|
|
350
|
+ post("/simple/data/fetchDataList/company", {
|
|
351
|
+ idx: 0,
|
|
352
|
+ sum: 9999,
|
|
353
|
+ company: {
|
|
354
|
+ hosId: this.hosId,
|
|
355
|
+ transType: dictionary,
|
|
356
|
+ }
|
|
357
|
+ }).then((result) => {
|
|
358
|
+ if (result.status == 200) {
|
|
359
|
+ if(dictionary.value == 1){
|
|
360
|
+ // 运输单位
|
|
361
|
+ let transCompanyList = result.list || [];
|
|
362
|
+ transCompanyList.unshift({id: 0, name: '请选择运输单位'});
|
|
363
|
+ this.transCompanyList = transCompanyList;
|
|
364
|
+ } else if(dictionary.value == 2){
|
|
365
|
+ // 接收单位
|
|
366
|
+ let receiveCompanyList = result.list || [];
|
|
367
|
+ receiveCompanyList.unshift({id: 0, name: '请选择接收单位'});
|
|
368
|
+ this.receiveCompanyList = receiveCompanyList;
|
|
369
|
+ }
|
|
370
|
+ } else {
|
|
371
|
+ uni.showToast({
|
|
372
|
+ icon: "none",
|
|
373
|
+ title: result.msg || "接口获取数据失败!",
|
|
374
|
+ });
|
|
375
|
+ }
|
|
376
|
+ });
|
|
377
|
+ },
|
|
378
|
+ blurItem(type){
|
|
379
|
+ if(type == '桶'){
|
|
380
|
+ this.totalBucket = Math.abs(this.totalBucket).toFixed(0);
|
|
381
|
+ }else if(type == '箱'){
|
|
382
|
+ this.totalBox = Math.abs(this.totalBox).toFixed(0);
|
|
383
|
+ }
|
|
384
|
+ },
|
|
385
|
+ bindTransCompany: function(e) {
|
|
386
|
+ console.log('picker发送选择改变,携带值为', e.detail.value)
|
|
387
|
+ this.transCompanyIndex = e.detail.value;
|
|
388
|
+ let transCompany = this.transCompanyList[this.transCompanyIndex];
|
|
389
|
+ let laborerList = transCompany.laborers || [];
|
|
390
|
+ laborerList.unshift({id: 0, name: '请选择司机信息'});
|
|
391
|
+ this.laborerList = laborerList;
|
|
392
|
+ this.laborerIndex = 0;
|
|
393
|
+
|
|
394
|
+ let carNoList = transCompany.carNo ? transCompany.carNo.split(',').map((v, index) => ({id: index + 1, name: v})) : [];
|
|
395
|
+ carNoList.unshift({id: 0, name: '请选择车牌号码'});
|
|
396
|
+ this.carNoList = carNoList;
|
|
397
|
+ this.carNoIndex = 0;
|
|
398
|
+
|
|
399
|
+ this.mphone = transCompany.mphone;
|
|
400
|
+ this.businessCode = transCompany.businessCode;
|
|
401
|
+ this.address = transCompany.address;
|
|
402
|
+ },
|
|
403
|
+ bindReceiveCompany: function(e) {
|
|
404
|
+ console.log('picker发送选择改变,携带值为', e.detail.value)
|
|
405
|
+ this.receiveCompanyIndex = e.detail.value;
|
|
406
|
+ let receiveCompany = this.receiveCompanyList[this.receiveCompanyIndex];
|
|
407
|
+
|
|
408
|
+ this.businessCode2 = receiveCompany.businessCode;
|
|
409
|
+ this.address2 = receiveCompany.address;
|
|
410
|
+ },
|
|
411
|
+ bindLaborer: function(e) {
|
|
412
|
+ console.log('picker发送选择改变,携带值为', e.detail.value)
|
|
413
|
+ this.laborerIndex = e.detail.value;
|
|
414
|
+ },
|
|
415
|
+ bindCarNo: function(e) {
|
|
416
|
+ console.log('picker发送选择改变,携带值为', e.detail.value)
|
|
417
|
+ this.carNoIndex = e.detail.value;
|
|
418
|
+ },
|
|
419
|
+ getInfo(){
|
|
420
|
+ uni.showLoading({
|
|
421
|
+ title: "加载中",
|
|
422
|
+ mask: true,
|
|
423
|
+ });
|
|
424
|
+ post("/medicalWaste/info", {
|
|
425
|
+ hosId: this.hosId,
|
|
426
|
+ clinicalWasteTypeIds: this.queryObj.clinicalWasteTypeIds,
|
|
427
|
+ }).then((result) => {
|
|
428
|
+ uni.hideLoading();
|
|
429
|
+ if (result.status == 200) {
|
|
430
|
+ this.wastList = result.data || [];
|
|
431
|
+ this.storageUnits = result.storageUnits || [];
|
|
432
|
+ this.wasteWeightTotal = this.wastList.reduce((pre,cur) => Big(pre).plus(cur.wasteWeight), 0);
|
|
433
|
+ this.wasteCountTotal = this.wastList.reduce((pre,cur) => Big(pre).plus(cur.wasteCount), 0);
|
|
434
|
+ } else {
|
|
435
|
+ uni.showToast({
|
|
436
|
+ icon: "none",
|
|
437
|
+ title: result.msg || "接口获取数据失败!",
|
|
438
|
+ });
|
|
439
|
+ }
|
|
440
|
+ });
|
|
441
|
+ },
|
|
442
|
+ },
|
|
443
|
+ onLoad(options) {
|
|
444
|
+ console.log(options, "result");
|
|
445
|
+ this.queryObj = options;
|
|
446
|
+ this.getCompanyTransType();
|
|
447
|
+ this.getInfo();
|
|
448
|
+ // #ifdef APP-PLUS
|
|
449
|
+ webHandle("no", "app");
|
|
450
|
+ // #endif
|
|
451
|
+ // #ifdef H5
|
|
452
|
+ webHandle("no", "wx");
|
|
453
|
+ // #endif
|
|
454
|
+ },
|
|
455
|
+ };
|
|
456
|
+</script>
|
|
457
|
+<style lang="less" scoped>
|
|
458
|
+ .Scanning_Result {
|
|
459
|
+ height: 100vh;
|
|
460
|
+ display: flex;
|
|
461
|
+ flex-direction: column;
|
|
462
|
+ background-color: #fff;
|
|
463
|
+ .typeInput{
|
|
464
|
+ font-size: 28rpx;
|
|
465
|
+ width: 260rpx;
|
|
466
|
+ height: 56rpx;
|
|
467
|
+ border: 1rpx solid #D9D9D9;
|
|
468
|
+ padding: 8rpx;
|
|
469
|
+ padding-right: 50rpx;
|
|
470
|
+ box-sizing: border-box;
|
|
471
|
+ line-height: 38rpx;
|
|
472
|
+ text-overflow: ellipsis;
|
|
473
|
+ overflow: hidden;
|
|
474
|
+ white-space: nowrap;
|
|
475
|
+ }
|
|
476
|
+ .numInput{
|
|
477
|
+ width: 110rpx;
|
|
478
|
+ height: 56rpx;
|
|
479
|
+ border: 1rpx solid #D9D9D9;
|
|
480
|
+ margin-right: 12rpx;
|
|
481
|
+ padding: 8rpx;
|
|
482
|
+ font-size: 28rpx;
|
|
483
|
+ box-sizing: border-box;
|
|
484
|
+ }
|
|
485
|
+ .textInput{
|
|
486
|
+ width: 260rpx;
|
|
487
|
+ height: 56rpx;
|
|
488
|
+ border: 1rpx solid #D9D9D9;
|
|
489
|
+ padding: 8rpx;
|
|
490
|
+ font-size: 28rpx;
|
|
491
|
+ box-sizing: border-box;
|
|
492
|
+ }
|
|
493
|
+ .Scanning_top {
|
|
494
|
+ flex-shrink: 0;
|
|
495
|
+ .Scanning_top_icon {
|
|
496
|
+ padding-top: 26rpx;
|
|
497
|
+ display: flex;
|
|
498
|
+ flex-direction: column;
|
|
499
|
+ justify-content: center;
|
|
500
|
+ align-items: center;
|
|
501
|
+ font-size: 40rpx;
|
|
502
|
+ font-weight: bold;
|
|
503
|
+
|
|
504
|
+ .cubeic-ok {
|
|
505
|
+ font-size: 100rpx;
|
|
506
|
+ color: #35b34a;
|
|
507
|
+ }
|
|
508
|
+
|
|
509
|
+ .text1 {
|
|
510
|
+ font-size: 28rpx;
|
|
511
|
+ font-weight: bold;
|
|
512
|
+ }
|
|
513
|
+ }
|
|
514
|
+ .Scanning_top_text{
|
|
515
|
+ text-align: center;
|
|
516
|
+ font-size: 34rpx;
|
|
517
|
+ font-weight: bold;
|
|
518
|
+ padding: 26rpx 0 38rpx 0;
|
|
519
|
+ }
|
|
520
|
+ }
|
|
521
|
+
|
|
522
|
+ .Scanning_cont {
|
|
523
|
+ flex: 1;
|
|
524
|
+ min-height: 0;
|
|
525
|
+ display: flex;
|
|
526
|
+ flex-direction: column;
|
|
527
|
+ width: 710rpx;
|
|
528
|
+ margin: 0 20rpx;
|
|
529
|
+ padding: 6rpx;
|
|
530
|
+ background-color: #FBFCFE;
|
|
531
|
+ box-shadow: 0rpx 3rpx 6rpx 1rpx rgba(0,0,0,0.16);
|
|
532
|
+ font-size: 28rpx;
|
|
533
|
+ line-height: 1;
|
|
534
|
+ .Scanning_cont_list{
|
|
535
|
+ padding: 20rpx;
|
|
536
|
+ border-bottom: 1rpx solid #D9D9D9;
|
|
537
|
+ &:last-of-type{
|
|
538
|
+ border-bottom: none;
|
|
539
|
+ }
|
|
540
|
+ .Scanning_cont_list_head{
|
|
541
|
+ display: flex;
|
|
542
|
+ align-items: center;
|
|
543
|
+ .Scanning_cont_list_title{
|
|
544
|
+ position: relative;
|
|
545
|
+ font-size: 30rpx;
|
|
546
|
+ font-weight: bold;
|
|
547
|
+ &::after{
|
|
548
|
+ content: '';
|
|
549
|
+ position: absolute;
|
|
550
|
+ top: 35rpx;
|
|
551
|
+ left: 50%;
|
|
552
|
+ transform: translateX(-50%);
|
|
553
|
+ width: 70rpx;
|
|
554
|
+ height: 10rpx;
|
|
555
|
+ background-color: #49B856;
|
|
556
|
+ border-radius: 6rpx;
|
|
557
|
+ }
|
|
558
|
+ }
|
|
559
|
+ }
|
|
560
|
+ .Scanning_cont_list_body1{
|
|
561
|
+ padding: 18rpx;
|
|
562
|
+ font-size: 28rpx;
|
|
563
|
+ .Scanning_cont_list_body1_item{
|
|
564
|
+ height: 56rpx;
|
|
565
|
+ display: flex;
|
|
566
|
+ justify-content: space-between;
|
|
567
|
+ align-items: center;
|
|
568
|
+ margin-top: 10rpx;
|
|
569
|
+ .column1,.column2,.column3{
|
|
570
|
+ flex: 1;
|
|
571
|
+ text-align: left;
|
|
572
|
+ }
|
|
573
|
+ .column1{
|
|
574
|
+ flex: 2;
|
|
575
|
+ white-space: nowrap;
|
|
576
|
+ overflow: hidden;
|
|
577
|
+ text-overflow: ellipsis;
|
|
578
|
+ }
|
|
579
|
+ .column3{
|
|
580
|
+ text-align: right;
|
|
581
|
+ }
|
|
582
|
+ .Scanning_cont_list_desc{
|
|
583
|
+ display: flex;
|
|
584
|
+ align-items: center;
|
|
585
|
+ }
|
|
586
|
+ }
|
|
587
|
+ }
|
|
588
|
+ .Scanning_cont_list_body2{
|
|
589
|
+ padding: 18rpx;
|
|
590
|
+ font-size: 28rpx;
|
|
591
|
+ .Scanning_cont_list_body2_item{
|
|
592
|
+ height: 56rpx;
|
|
593
|
+ display: flex;
|
|
594
|
+ justify-content: space-between;
|
|
595
|
+ align-items: center;
|
|
596
|
+ margin-top: 10rpx;
|
|
597
|
+ .Scanning_cont_list_title{
|
|
598
|
+ flex-shrink: 0;
|
|
599
|
+ }
|
|
600
|
+ .Scanning_cont_list_desc{
|
|
601
|
+ text-align: right;
|
|
602
|
+ position: relative;
|
|
603
|
+ .newicon-xiala1{
|
|
604
|
+ position: absolute;
|
|
605
|
+ top: 50%;
|
|
606
|
+ right: 16rpx;
|
|
607
|
+ color:#C3BFBF;
|
|
608
|
+ transform: translateY(-50%);
|
|
609
|
+ }
|
|
610
|
+ }
|
|
611
|
+ }
|
|
612
|
+ }
|
|
613
|
+ }
|
|
614
|
+ }
|
|
615
|
+
|
|
616
|
+ .foot_btn {
|
|
617
|
+ margin: 57rpx 20rpx 10rpx;
|
|
618
|
+ flex-shrink: 0;
|
|
619
|
+ display: flex;
|
|
620
|
+ justify-content: center;
|
|
621
|
+
|
|
622
|
+ .btn {
|
|
623
|
+ height: 88rpx;
|
|
624
|
+ line-height: 1;
|
|
625
|
+ display: flex;
|
|
626
|
+ justify-content: center;
|
|
627
|
+ align-items: center;
|
|
628
|
+ flex: 1;
|
|
629
|
+ margin-right: 32rpx;
|
|
630
|
+ background-image: linear-gradient(to right, #72c172, #3bb197);
|
|
631
|
+ color: #fff;
|
|
632
|
+ border-radius: 8rpx;
|
|
633
|
+ font-size: 34rpx;
|
|
634
|
+ font-weight: bold;
|
|
635
|
+ &:last-of-type{
|
|
636
|
+ margin-right: 0;
|
|
637
|
+ }
|
|
638
|
+ }
|
|
639
|
+ }
|
|
640
|
+ }
|
|
641
|
+</style>
|