feat: 商品编辑功能
This commit is contained in:
@@ -105,16 +105,7 @@ async function handleAddClick() {
|
||||
}
|
||||
// 编辑
|
||||
async function handleEditClick(row: IObject) {
|
||||
console.log('handleEditClick')
|
||||
// editModalRef.value?.handleDisabled(false);
|
||||
// 加载部门下拉数据源
|
||||
// editModalConfig.formItems[2]!.attrs!.data = await UserAPI.getPage({ name: "" });
|
||||
// editModalConfig.formItems[2]!.attrs!.data = await DeptAPI.getOptions();
|
||||
// 根据id获取数据进行填充
|
||||
// const data = await UserAPI.getunitinfo(row.id);
|
||||
// editModalRef.value?.setFormData(data);
|
||||
// editModalRef.value?.setModalVisible();
|
||||
|
||||
router.push({ name: 'addgoods', query: { goods_id: row.id } });
|
||||
}
|
||||
const myDialogRef = ref(null)
|
||||
// 其他工具栏
|
||||
|
||||
Reference in New Issue
Block a user