|
|
@ -56,7 +56,7 @@
|
|
|
|
name: {
|
|
|
|
name: {
|
|
|
|
type: String,
|
|
|
|
type: String,
|
|
|
|
default: '',
|
|
|
|
default: '',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
setup(props, context) {
|
|
|
|
setup(props, context) {
|
|
|
|
const { t } = useI18n()
|
|
|
|
const { t } = useI18n()
|
|
|
@ -74,6 +74,7 @@
|
|
|
|
required: item.required || false,
|
|
|
|
required: item.required || false,
|
|
|
|
colProps: item.colProps || { span: 24 },
|
|
|
|
colProps: item.colProps || { span: 24 },
|
|
|
|
component: item.component,
|
|
|
|
component: item.component,
|
|
|
|
|
|
|
|
slot: item.slot,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 定义默认显示字段
|
|
|
|
// 定义默认显示字段
|
|
|
|
if (item.show !== false) {
|
|
|
|
if (item.show !== false) {
|
|
|
@ -95,12 +96,11 @@
|
|
|
|
columns: columns,
|
|
|
|
columns: columns,
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
editCodeGoodsType(Apidata)
|
|
|
|
editCodeGoodsType(Apidata).then((res) => {
|
|
|
|
.then((res) => {
|
|
|
|
if (res.succeeded) {
|
|
|
|
if (res.succeeded) {
|
|
|
|
createMessage.success('添加成功!')
|
|
|
|
createMessage.success('添加成功!')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
t,
|
|
|
|
t,
|
|
|
|