mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-08-19 20:41:52 +08:00
✨ MALL:简化 SPU 属性的维护逻辑
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
label-width="68px"
|
||||
>
|
||||
<el-form-item label="属性项" prop="propertyId">
|
||||
<el-select v-model="queryParams.propertyId" class="!w-240px">
|
||||
<el-select v-model="queryParams.propertyId" class="!w-240px" disabled>
|
||||
<el-option
|
||||
v-for="item in propertyOptions"
|
||||
:key="item.id"
|
||||
@@ -158,6 +158,6 @@ const handleDelete = async (id: number) => {
|
||||
onMounted(async () => {
|
||||
await getList()
|
||||
// 属性项下拉框数据
|
||||
propertyOptions.value = await PropertyApi.getPropertyList({})
|
||||
propertyOptions.value.push(await PropertyApi.getProperty(queryParams.propertyId))
|
||||
})
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user