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