| | |
| | | <template> |
| | | <wd-card> |
| | | <wd-form :model="model"> |
| | | <wd-cell-group :border="true"> |
| | | <wd-input |
| | | v-model="model.monofilamentNumber" |
| | | label="单丝编号" |
| | | label-width="100px" |
| | | prop="no" |
| | | clearable |
| | | placeholder="请输入单丝编号" |
| | | /> |
| | | <wd-input |
| | | v-model="model.oneLength" |
| | | label="长度" |
| | | label-width="100px" |
| | | prop="length" |
| | | clearable |
| | | placeholder="请输入长度" |
| | | /> |
| | | </wd-cell-group> |
| | | </wd-form> |
| | | <wd-cell-group :border="true"> |
| | | <wd-cell title="单丝编号" :value="data.monofilamentNumber" /> |
| | | <wd-cell title="长度" :value="data.amount" /> |
| | | </wd-cell-group> |
| | | </wd-card> |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | const model: any = defineModel("value"); |
| | | defineProps({ |
| | | data: { |
| | | type: Object, |
| | | default: () => {}, |
| | | }, |
| | | }); |
| | | </script> |
| | | |
| | | <style lang="scss" scoped></style> |