曹睿
2025-04-21 1e5646aadae902d9f9043cc0d79395bf6b06a38c
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
<template>
  <wd-form ref="form" :model="model" class="relative form_box">
    <wd-cell-group :border="true">
      <wd-input
        v-model="model.contractNo"
        label="合同号"
        label-width="100px"
        prop="contractNo"
        clearable
        placeholder="请输入合同号"
      />
      <wd-input
        v-model="model.clientName"
        label="客户名称"
        label-width="100px"
        prop="clientName"
        clearable
        placeholder="请输入客户名称"
      />
      <wd-input
        v-model="model.workbench"
        label="机台"
        label-width="100px"
        prop="workbench"
        clearable
        placeholder="请输入机台"
      />
      <wd-input
        v-model="model.monofilNo"
        label="单体编号"
        label-width="100px"
        prop="monofilNo"
        clearable
        placeholder="请输入单体编号"
      />
      <wd-input
        v-model="model.specification"
        label="规格"
        label-width="100px"
        prop="specification"
        clearable
        placeholder="请输入规格"
      />
      <wd-input
        v-model="model.singleDisc"
        label="单丝盘长"
        label-width="100px"
        prop="singleDisc"
        clearable
        placeholder="请输入单丝盘长"
      />
    </wd-cell-group>
  </wd-form>
</template>
 
<script lang="ts" setup>
import useFormData from "@/hooks/useFormData";
 
const { form: model } = useFormData({
  contractNo: undefined, // 合同号
  clientName: undefined, // 客户名称
  workbench: undefined, // 机台
  monofilNo: undefined, // 单体编号
  specification: undefined, // 规格
  singleDisc: undefined, // 单丝盘长
});
</script>
 
<style lang="scss" scoped>
.form_box {
}
.submit_btn {
  position: absolute;
  bottom: 0;
  width: 100%;
}
</style>