This commit is contained in:
余同学 2024-08-18 14:33:37 +08:00
parent 948f724245
commit 7616190cd2
1 changed files with 38 additions and 0 deletions

View File

@ -323,6 +323,44 @@ export default {
); );
}, },
}, },
{
title: "重量",
field: "stockNum",
align: "center",
"min-width": "160px",
type: "jsx",
render: ({ row }) => {
return (
<div>
<el-input-number
min={0}
size="small"
v-model={row.stockNum}
placeholder="请输入重量"
></el-input-number>
</div>
);
},
},
{
title: "体积",
field: "volume",
align: "center",
"min-width": "160px",
type: "jsx",
render: ({ row }) => {
return (
<div>
<el-input-number
min={0}
size="small"
v-model={row.volume}
placeholder="请输入体积"
></el-input-number>
</div>
);
},
},
{ {
title: "操作", title: "操作",
fixed: "right", fixed: "right",