1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
| <!-- 物料资料 -->
| <script lang="ts" setup>
| import { ref } from 'vue';
| const name = ref('')
| const productName = ref('')
| const salId = ref('')
| let tableData = ref([
| {
| "自序":'1',
| "物料编码":'700900000000941',
| "物料名称":'丝袜防晒手套套袖',
| "产地":'00',
| "宽度":'0.00',
| "高度":'0.00',
| "厚度":'0.00',
| "型号":'',
| "换算率":'1000',
| "单位":'双',
| "换算单位":'1',
| "保质期":'12',
| "重量":'0.0000',
| "数量":'2016-10-17',
| "库存组织":'人工库',
| "备注":'',
| },
| {
| "自序":'2',
| "物料编码":'700900000000940',
| "物料名称":'自复位按钮开关',
| "产地":'00',
| "宽度":'0.00',
| "高度":'0.00',
| "厚度":'0.00',
| "型号":'',
| "换算率":'1000',
| "单位":'件',
| "换算单位":'1',
| "保质期":'12',
| "重量":'0.0000',
| "数量":'2016-10-17',
| "库存组织":'人工库',
| "备注":'',
| },
| {
| "自序":'3',
| "物料编码":'700900000001189',
| "物料名称":'户外明装防水插座',
| "产地":'00',
| "宽度":'0.00',
| "高度":'0.00',
| "厚度":'0.00',
| "型号":'',
| "换算率":'1000',
| "单位":'个',
| "换算单位":'1',
| "保质期":'12',
| "重量":'0.0000',
| "数量":'2016-10-17',
| "库存组织":'人工库',
| "备注":'',
| },
| {
| "自序":'4',
| "物料编码":'700900000001188',
| "物料名称":'平板地拖',
| "产地":'00',
| "宽度":'0.00',
| "高度":'0.00',
| "厚度":'0.00',
| "型号":'',
| "换算率":'1000',
| "单位":'把',
| "换算单位":'1',
| "保质期":'12',
| "重量":'0.0000',
| "数量":'2016-10-17',
| "库存组织":'人工库',
| "备注":'',
| },
| ])
| </script>
| <template>
| <div>
| <!-- 表单开始 -->
| <div>
| <el-form size="medium" >
|
| <!-- <el-row gutter="5">-->
| <!-- <el-col :span="4">-->
| <!-- <el-input v-model="name" placeholder="请输入物料编码" style="width: 200px; height: 30px;" />-->
| <!-- </el-col>-->
| <!-- <el-col :span="4">-->
| <!-- <el-input v-model="productName" placeholder="请输入物料名称" style="width: 200px; height: 30px;" />-->
| <!-- </el-col>-->
| <!-- <el-col :span="4">-->
| <!-- <el-input v-model="salId" placeholder="请输入宽度" style="width: 200px; height: 30px;" />-->
| <!-- </el-col>-->
| <!-- <el-col :span="4">-->
| <!-- <el-input v-model="salId" placeholder="请输入高度" style="width: 200px; height: 30px;" />-->
| <!-- </el-col>-->
|
| <!-- </el-row>-->
|
| <!-- <!– <el-form-item size="large">-->
| <!-- <el-button type="primary" @click="submitForm">查询</el-button>-->
| <!-- <el-button @click="resetForm">重置</el-button>-->
| <!-- </el-form-item>–>-->
| <!-- <el-row gutter="5">-->
| <!-- <el-col :span="4">-->
| <!-- <el-dropdown>-->
| <!-- <el-button type="primary">-->
| <!-- 请选择库存组织<el-icon class="el-icon--right" style="width: 66px;"><arrow-down /></el-icon>-->
| <!-- </el-button>-->
| <!-- <template #dropdown>-->
| <!-- <el-dropdown-menu>-->
| <!-- <el-dropdown-item>Action 1</el-dropdown-item>-->
| <!-- <el-dropdown-item>Action 2</el-dropdown-item>-->
| <!-- <el-dropdown-item>Action 3</el-dropdown-item>-->
| <!-- <el-dropdown-item>Action 4</el-dropdown-item>-->
| <!-- <el-dropdown-item>Action 5</el-dropdown-item>-->
| <!-- </el-dropdown-menu>-->
| <!-- </template>-->
| <!-- </el-dropdown>-->
| <!-- </el-col>-->
|
| <!-- <el-col :span="4">-->
| <!-- <el-input v-model="name" placeholder="请输宽度" style="width: 200px; height: 30px;" />-->
| <!-- </el-col>-->
| <!-- <el-col :span="4">-->
| <!-- <el-input v-model="name" placeholder="请输型号" style="width: 200px; height: 30px;" />-->
| <!-- </el-col>-->
|
| <!-- <el-col :span="4">-->
| <!-- <el-button id="searchButton" type="primary" :icon="Search">查询</el-button>-->
| <!-- </el-col>-->
|
| <!-- </el-row>-->
| </el-form>
| </div>
| <!-- 表单结束 -->
| <!-- 表格开始 -->
| <div>
| <el-table :data="tableData" border style="width: 100%">
| <el-table-column prop="自序" label="自序" width="180" />
| <el-table-column prop="物料编码" label="物料编码" width="180" />
| <el-table-column prop="物料名称" label="物料名称" width="180"/>
| <el-table-column prop="产地" label="产地" width="180"/>
| <el-table-column prop="宽度" label="宽度" width="180"/>
| <el-table-column prop="高度" label="高度" width="180"/>
| <el-table-column prop="厚度" label="厚度" width="180"/>
| <el-table-column prop="型号" label="型号" width="180"/>
| <el-table-column prop="换算率" label="换算率" width="180"/>
| <el-table-column prop="单位" label="单位" width="180"/>
| <el-table-column prop="换算单位" label="换算单位" width="180"/>
| <el-table-column prop="保质期" label="保质期" width="180"/>
| <el-table-column prop="重量" label="重量" width="180"/>
| <el-table-column prop="数量" label="数量" width="180"/>
| <el-table-column prop="库存组织" label="库存组织" width="180"/>
| <el-table-column prop="备注" label="备注" width="180"/>
| <el-table-column fixed="left" label="操作" width="120">
| <template #default>
| <el-button link type="primary" size="small" @click="handleClick"
| >编辑</el-button
| >
| <el-button link type="primary" size="small">删除</el-button>
| </template>
| </el-table-column>
| </el-table>
| </div>
| </div>
| </template>
|
| <style>
| </style>
|
|