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
| <template>
| <wd-form ref="form" :model="model" class="relative form_box">
| <wd-cell-group :border="true">
| <wd-input
| v-model="model.plateType"
| label="盘具类型"
| label-width="100px"
| prop="plateType"
| clearable
| placeholder="请输入盘具类型"
| />
| <wd-input
| v-model="model.length"
| label="尺寸"
| label-width="100px"
| prop="length"
| clearable
| placeholder="请输入尺寸"
| />
| <wd-input
| v-model="model.weigth"
| label="重量"
| label-width="100px"
| prop="weigth"
| clearable
| placeholder="请输入重量"
| />
| </wd-cell-group>
| </wd-form>
| </template>
|
| <script setup lang="ts">
| import useFormData from "@/hooks/useFormData";
| const { form: model } = useFormData({
| plateType: undefined, // 盘具类型
| length: undefined, // 尺寸
| weigth: undefined, // 重量
| });
| </script>
| <style lang="scss" scoped>
| .form_box {
| }
| .submit_btn {
| position: absolute;
| bottom: 0;
| width: 100%;
| }
| </style>
|
|