- 在开发环境配置文件中启用API URL - 新增网站订单编辑组件,支持添加和修改订单功能 - 调整发货模态框宽度为50% - 将页面标题从"网宿软件"更新为"麦芽知电子商务" - 重构网站订单模型定义,增加多个订单相关字段 - 更新网站订单API接口,移除模块前缀 - 在商品模型中新增分销佣金相关字段 - 实现完整的网站订单管理页面,包含表格展示和操作功能
43 lines
848 B
Vue
43 lines
848 B
Vue
<!-- 搜索表单 -->
|
|
<template>
|
|
<a-space :size="10" style="flex-wrap: wrap">
|
|
<a-button type="primary" class="ele-btn-icon" @click="add">
|
|
<template #icon>
|
|
<PlusOutlined />
|
|
</template>
|
|
<span>添加</span>
|
|
</a-button>
|
|
</a-space>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { PlusOutlined } from '@ant-design/icons-vue';
|
|
import type { GradeParam } from '@/api/user/grade/model';
|
|
import { watch } from 'vue';
|
|
|
|
const props = withDefaults(
|
|
defineProps<{
|
|
// 选中的角色
|
|
selection?: [];
|
|
}>(),
|
|
{}
|
|
);
|
|
|
|
const emit = defineEmits<{
|
|
(e: 'search', where?: GradeParam): void;
|
|
(e: 'add'): void;
|
|
(e: 'remove'): void;
|
|
(e: 'batchMove'): void;
|
|
}>();
|
|
|
|
// 新增
|
|
const add = () => {
|
|
emit('add');
|
|
};
|
|
|
|
watch(
|
|
() => props.selection,
|
|
() => {}
|
|
);
|
|
</script>
|