feat: add order detail

This commit is contained in:
2025-10-10 05:49:55 +08:00
parent 67c9e0c24e
commit 3bd8d12d09
4 changed files with 185 additions and 98 deletions

View File

@@ -6,7 +6,7 @@ export default {
searchMenuSpan: 6,
border: true,
index: true,
addBtn: true,
addBtn: false,
delBtn: false,
editBtn: false,
viewBtn: false,
@@ -46,6 +46,7 @@ export default {
label: "Email",
prop: "userEmail",
type: "input",
overHidden: true,
},
{
label: "Amount",
@@ -71,7 +72,7 @@ export default {
hide: true,
},
{
label: "创建时间",
label: "CreateTime",
prop: "createTime",
type: "input",
addDisplay: false,
@@ -107,6 +108,7 @@ export default {
value: 'dictKey'
},
dataType: 'number',
search: true,
},
{
label: "是否已删除",

View File

@@ -1,5 +1,5 @@
export default {
height:'auto',
height: 'auto',
calcHeight: 30,
tip: false,
searchShow: true,
@@ -14,44 +14,35 @@ export default {
menuWidth: 300,
column: [
{
label: "Id",
prop: "id",
type: "input",
label: 'Id',
prop: 'id',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
hide: true
},
{
label: "TenantId",
prop: "tenantId",
type: "input",
label: 'TenantId',
prop: 'tenantId',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
hide: true
},
{
label: "oid",
prop: "orderId",
type: "input",
label: 'oid',
prop: 'orderId',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
hide: true
},
{
label: "cid",
prop: "categoryId",
type: "input",
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
{
label: "CategoryType",
prop: "categoryType",
label: 'Type',
prop: 'categoryType',
type: 'radio',
dicUrl: '/blade-system/dict-biz/dictionary?code=category_type',
props: {
@@ -59,25 +50,32 @@ export default {
value: 'dictKey'
},
dataType: 'number',
hide: true
},
{
label: "Material",
prop: "material",
type: "input",
label: 'Category',
prop: 'categoryName',
type: 'input'
},
{
label: "Size",
prop: "size",
type: "input",
label: 'Material',
prop: 'material',
type: 'input',
overHidden: true
},
{
label: "Shape",
prop: "shape",
type: "input",
label: 'Size',
prop: 'size',
type: 'input'
},
{
label: "Snapshot",
prop: "snapshotLink",
label: 'Shape',
prop: 'shape',
type: 'input'
},
{
label: 'Snapshot',
prop: 'snapshotLink',
type: 'upload',
listType: 'picture-img',
dataType: 'string',
@@ -85,77 +83,110 @@ export default {
propsHttp: {
res: 'data',
url: 'link'
}
},
align: 'center',
},
{
label: "Amount",
prop: "totalAmount",
type: "number",
label: 'Photos',
prop: 'photos',
type: 'upload',
multiple: true,
listType: 'picture-card',
dataType: 'string',
action: '/blade-resource/oss/endpoint/put-file',
propsHttp: {
res: 'data',
url: 'link'
},
overHidden: true,
align: 'center',
value: []
},
{
label: "创建人",
prop: "createUser",
type: "input",
label: 'Stickers',
prop: 'stickers',
type: 'upload',
multiple: true,
listType: 'picture-card',
dataType: 'string',
action: '/blade-resource/oss/endpoint/put-file',
propsHttp: {
res: 'data',
url: 'link'
},
overHidden: true,
align: 'center',
value: []
},
{
label: 'Amount',
prop: 'totalAmount',
type: 'number'
},
{
label: '创建人',
prop: 'createUser',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
hide: true
},
{
label: "创建部门",
prop: "createDept",
type: "input",
label: '创建部门',
prop: 'createDept',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
hide: true
},
{
label: "创建时间",
prop: "createTime",
type: "input",
label: '创建时间',
prop: 'createTime',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
hide: true
},
{
label: "修改人",
prop: "updateUser",
type: "input",
label: '修改人',
prop: 'updateUser',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
hide: true
},
{
label: "修改时间",
prop: "updateTime",
type: "input",
label: '修改时间',
prop: 'updateTime',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
hide: true
},
{
label: "Status",
prop: "status",
label: 'Status',
prop: 'status',
type: 'radio',
dicUrl: '/blade-system/dict-biz/dictionary?code=production_status',
props: {
label: 'dictValue',
value: 'dictKey'
},
dataType: 'number',
dataType: 'number'
},
{
label: "是否已删除",
prop: "isDeleted",
type: "input",
label: '是否已删除',
prop: 'isDeleted',
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
},
hide: true
}
]
}
};