Commit 0c5b20c0 authored by daniel's avatar daniel

fix(bag): 新增衣服尺码

parent fe933bd5
......@@ -95,6 +95,10 @@ public class BagDelivery extends JaapRecord<BagDelivery> {
@ApiModelProperty(value = "状态(0:寄存,1:申请邮寄,2:已邮寄,3:已归还)", notes = "状态(0:寄存,1:申请邮寄,2:已邮寄,3:已归还)")
private Integer status;
@ApiModelProperty(value = "衣服尺码", notes = "衣服尺码 XS/S/M/L/XL/XXL/XXXL")
@ExcelField(title = "衣服尺码")
private String clothingSize;
@ApiModelProperty(value = "备注", notes = "备注")
@ExcelField(title = "备注")
private String remark;
......
......@@ -158,6 +158,9 @@
<n-form-item label="详细地址" >
<n-input v-model:value="formData.location" placeholder="请输入详细地址" />
</n-form-item>
<n-form-item label="衣服尺码" path="clothingSize">
<n-select v-model:value="formData.clothingSize" placeholder="请选择衣服尺码" :options="clothingSizeOptions" clearable />
</n-form-item>
<n-form-item label="赛包类型" path="invoiceType">
<n-radio-group v-model:value="formData.status" name="radiogroup">
<n-space>
......@@ -230,6 +233,7 @@
h(NText, {}, "姓名:" + row.name),
h(NText, {}, "参赛号:" + row.markNo),
h(NText, {}, "手机号:" + row.phone),
h(NText, {}, "衣服尺码:" + (row.clothingSize ?? '--')),
h(NText, {}, "申请时间:" + row.createDate),
h(NText, {}, "备注:" + row.remark),
])
......@@ -344,6 +348,15 @@
// 赛包的数据列表
const list = ref([])
// 赛包表单
const clothingSizeOptions = [
{ label: 'XS', value: 'XS' },
{ label: 'S', value: 'S' },
{ label: 'M', value: 'M' },
{ label: 'L', value: 'L' },
{ label: 'XL', value: 'XL' },
{ label: 'XXL', value: 'XXL' },
{ label: 'XXXL', value: 'XXXL' },
]
const formData = reactive({
id: null,
remarks: null,
......@@ -356,6 +369,7 @@
location: "",
deliveryNo: "",
expressCompany: "",
clothingSize: null,
status: StatusEnum.SUBMIT.value,
remark: ""
})
......@@ -413,6 +427,7 @@
location: "",
deliveryNo: "",
expressCompany: "",
clothingSize: null,
status: StatusEnum.SUBMIT.value,
remark: ""
})
......@@ -552,6 +567,7 @@
keyword,
fetchData,
exportList,
clothingSizeOptions,
// 公共数据
uploadUrl,
uploadFinish,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment