|
|
@@ -1,112 +0,0 @@
|
|
1
|
|
-<template>
|
|
2
|
|
- <page-meta :root-font-size="getFontSizeValue"></page-meta>
|
|
3
|
|
- <view class="wrapper">
|
|
4
|
|
- <view class="form">
|
|
5
|
|
- <uni-forms ref="valiForm" :rules="rules" :modelValue="valiFormData">
|
|
6
|
|
- <table class="equipmentInfo">
|
|
7
|
|
- <thead style="background-color: #fafafa;">
|
|
8
|
|
- <tr class="trCon">
|
|
9
|
|
- <td class="tdCon">耗材名称</td>
|
|
10
|
|
- <td class="tdCon">规格型号</td>
|
|
11
|
|
- </tr>
|
|
12
|
|
- </thead>
|
|
13
|
|
- <tbody>
|
|
14
|
|
- <tr class="trCon" v-for="item in equipmentCon">
|
|
15
|
|
- <td class="tdCon">
|
|
16
|
|
- <uni-easyinput v-model="item.F_EquipAmount" placeholder="请输入数量" clear="false" @change="getAllprice(item)"/>
|
|
17
|
|
- </td>
|
|
18
|
|
- <td class="tdCon">{{item.F_EquipAllPrice}}</td>
|
|
19
|
|
- </tr>
|
|
20
|
|
- </tbody>
|
|
21
|
|
- </table>
|
|
22
|
|
- </uni-forms>
|
|
23
|
|
- <view class="btnClass">
|
|
24
|
|
- <button type="primary" :disabled="disabledButton" @click="submit('valiForm')">提交</button>
|
|
25
|
|
- </view>
|
|
26
|
|
-
|
|
27
|
|
- </view>
|
|
28
|
|
- </view>
|
|
29
|
|
-</template>
|
|
30
|
|
-
|
|
31
|
|
-<script>
|
|
32
|
|
- import upload from '@/pages/components/upload/upload.vue' //upload
|
|
33
|
|
- export default {
|
|
34
|
|
- components: {
|
|
35
|
|
- upload
|
|
36
|
|
- },
|
|
37
|
|
- data() {
|
|
38
|
|
- return {
|
|
39
|
|
- showBeforePic: 0,
|
|
40
|
|
- getFontSizeValue:'1rem',
|
|
41
|
|
- equipmentCon:[]
|
|
42
|
|
- }
|
|
43
|
|
- },
|
|
44
|
|
- onLoad(option) {
|
|
45
|
|
-
|
|
46
|
|
- // this.getFontSizeValue = uni.getStorageSync('fontSizeValue')+'rem'
|
|
47
|
|
- // this.valiFormData.workorderid = option.wid
|
|
48
|
|
- // this.showBeforePic = option.showBeforePic
|
|
49
|
|
- // this.getEquipment()
|
|
50
|
|
- // this.getExceptionType()
|
|
51
|
|
- },
|
|
52
|
|
- methods: {
|
|
53
|
|
-
|
|
54
|
|
- }
|
|
55
|
|
- }
|
|
56
|
|
-</script>
|
|
57
|
|
-
|
|
58
|
|
-<style lang="scss">
|
|
59
|
|
- @import '@/common/addFormDeep.scss';
|
|
60
|
|
- /deep/ .uni-data-checklist .checklist-group .checklist-box .checklist-content .checklist-text[data-v-84d5d996] {
|
|
61
|
|
- margin-top: -3px !important;
|
|
62
|
|
- line-height: 18px !important;
|
|
63
|
|
- }
|
|
64
|
|
- /deep/ .uni-data-checklist[data-v-84d5d996] {
|
|
65
|
|
- margin-top: 7px !important;
|
|
66
|
|
- }
|
|
67
|
|
-
|
|
68
|
|
- .wrapper {
|
|
69
|
|
- padding: 10px 15px;
|
|
70
|
|
- background-color: #fff;
|
|
71
|
|
-
|
|
72
|
|
- .form {
|
|
73
|
|
- .uni-stat__select {
|
|
74
|
|
- display: block;
|
|
75
|
|
- align-items: center;
|
|
76
|
|
- padding: 0px;
|
|
77
|
|
- cursor: pointer;
|
|
78
|
|
- width: 80%;
|
|
79
|
|
- }
|
|
80
|
|
- .equipmentInfo{
|
|
81
|
|
- width: 100%;
|
|
82
|
|
- margin-top: 15px;
|
|
83
|
|
- border: 1px solid rgb(229, 229, 229);
|
|
84
|
|
- box-shadow: 0px 4px 16px 0px rgba(69, 91, 99, 0.05);
|
|
85
|
|
- margin-bottom: 20px;
|
|
86
|
|
- border-radius: 5px;
|
|
87
|
|
-
|
|
88
|
|
- .trCon {
|
|
89
|
|
- width: 100%;
|
|
90
|
|
- font-size: 14px;
|
|
91
|
|
-
|
|
92
|
|
- .tdCon {
|
|
93
|
|
- display: inline-block;
|
|
94
|
|
- padding: 10px 0px;
|
|
95
|
|
- color: rgb(102, 102, 102);
|
|
96
|
|
- width: 16%;
|
|
97
|
|
- padding-right: 5px;
|
|
98
|
|
- text-align: center;
|
|
99
|
|
- }
|
|
100
|
|
-
|
|
101
|
|
- .tdCon:nth-child(1) {
|
|
102
|
|
- width: 20%;
|
|
103
|
|
-
|
|
104
|
|
- }
|
|
105
|
|
- }
|
|
106
|
|
-
|
|
107
|
|
- }
|
|
108
|
|
- }
|
|
109
|
|
-
|
|
110
|
|
- }
|
|
111
|
|
-</style>
|
|
112
|
|
--->
|