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
| <template>
| <wd-form ref="form" :model="model" class="relative form_box">
| <wd-cell-group :border="true">
| <wd-input
| v-model="model.steelCoreName"
| label="钢芯名称"
| label-width="100px"
| prop="steelCoreName"
| clearable
| placeholder="请输入钢芯名称"
| />
| <wd-input
| v-model="model.plateNo"
| label="盘号"
| label-width="100px"
| prop="plateNo"
| clearable
| placeholder="请输入盘号"
| />
| <wd-input
| v-model="model.length"
| label="长度"
| label-width="100px"
| prop="length"
| clearable
| placeholder="请输入长度"
| />
| <wd-input
| v-model="model.weight"
| label="重量"
| label-width="100px"
| prop="weight"
| clearable
| placeholder="请输入重量"
| />
| <wd-input
| v-model="model.manufacturers"
| label="厂家"
| label-width="100px"
| prop="manufacturers"
| clearable
| placeholder="请输入厂家"
| />
| </wd-cell-group>
| </wd-form>
| </template>
|
| <script lang="ts" setup>
| import useFormData from "@/hooks/useFormData";
|
| const { form: model } = useFormData({
| steelCoreName: undefined, // 钢芯名称
| plateNo: undefined, // 盘号
| length: undefined, // 长度
| weight: undefined, // 重量
| manufacturers: undefined, // 厂家
| });
| </script>
|
| <style lang="scss" scoped>
| .form_box {
| }
| .submit_btn {
| position: absolute;
| bottom: 0;
| width: 100%;
| }
| </style>
|
|